...
|
...
|
@@ -101,12 +101,15 @@ public class Custom_Response_Processor { |
|
|
log.info("4-循环处理消息[{}]--->{}<---",i,msg);
|
|
|
JSONObject rootJson = JSON.parseObject(msg);
|
|
|
JSONObject msgJson = rootJson.getJSONObject("MSG");
|
|
|
//报头
|
|
|
HEADER msgHeader = msgJson.getObject("HEADER",HEADER.class);
|
|
|
|
|
|
log.info("4.1-消息序号[SEQN]:{},[DDTM]:{}",msgHeader.getSEQNO(),msgHeader.getDDTM());
|
|
|
|
|
|
//回执实体
|
|
|
JSONObject body = msgJson.getJSONObject("BODY");
|
|
|
|
|
|
//报头
|
|
|
HEADER msgHeader = msgJson.getObject("HEADER",HEADER.class);
|
|
|
|
|
|
|
|
|
//判断类型
|
|
|
if ("CDHZ".equals(msgHeader.getSTYPE())){
|
...
|
...
|
|