作者 shenhailong

修改 出港装载生成报文 map 获取messageId 为null 问题

  1 +FROM java:8u111
  2 +VOLUME /tmp
  3 +ADD *.jar app.jar
  4 +EXPOSE 4559
  5 +ENTRYPOINT ["java","-jar","/app.jar"]
  6 +# Ubuntu 时区
  7 +RUN cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime
@@ -50,7 +50,7 @@ public class MT4201ServiceImp extends CustomXmlMaker implements MT4201Service { @@ -50,7 +50,7 @@ public class MT4201ServiceImp extends CustomXmlMaker implements MT4201Service {
50 50
51 51
52 Map<String, Object> map4201 = new HashMap<>(); 52 Map<String, Object> map4201 = new HashMap<>();
53 - if (makeXmlToFile("/manifest/MT4201.ftlx", map.get("messageID").toString()+".xml", map, "./send/add/")>0){ 53 + if (makeXmlToFile("/manifest/MT4201.ftlx", mt4201.get("messageID").toString()+".xml", map, "./send/add/")>0){
54 map.put("functionCode", "2"); 54 map.put("functionCode", "2");
55 map.put("busType","MT4201"); 55 map.put("busType","MT4201");
56 NMMS_CUSTOM_RESPONSE nmmsCustomResponse = ReturnUtil.nmmsCustomResponse(map); 56 NMMS_CUSTOM_RESPONSE nmmsCustomResponse = ReturnUtil.nmmsCustomResponse(map);