修改ExchangeService 抽象定义msg , xml ,json 间的转换

This commit is contained in:
zhouxiunai
2019-01-08 14:56:52 +08:00
parent 6b4fb1ac60
commit f4613f219e
11 changed files with 136 additions and 14 deletions
@@ -75,7 +75,7 @@ public class CminmsgServiceImpl implements ICminmsgService {
.stream()
.filter(x->{
String msgBlob = x.getCminmsgsClobMsg();
MSG msg = exchangeService.xmlstrToObject(msgBlob, MSG.class);
MSG msg = exchangeService.xmlToMsg(msgBlob);
String type = msg.getMETA().getTYPE().name();
String subType = msg.getMETA().getSTYP().name();
return type.equals("SCHD") && subType.equals("RESP");