作者 shenhailong

修改 operType 返回不为空

@@ -96,6 +96,8 @@ public class MT2201ServiceImp extends CustomXmlMaker implements MT2201Service { @@ -96,6 +96,8 @@ public class MT2201ServiceImp extends CustomXmlMaker implements MT2201Service {
96 map.put("busType","MT2201"); 96 map.put("busType","MT2201");
97 System.out.println(); 97 System.out.println();
98 NMMS_CUSTOM_RESPONSE nmmsCustomResponse = ReturnUtil.nmmsCustomResponse(map); 98 NMMS_CUSTOM_RESPONSE nmmsCustomResponse = ReturnUtil.nmmsCustomResponse(map);
  99 + // 操作类型
  100 + nmmsCustomResponse.setOpertype("删除");
99 hashMap.put("status", "1"); 101 hashMap.put("status", "1");
100 hashMap.put("customResponse", nmmsCustomResponse); 102 hashMap.put("customResponse", nmmsCustomResponse);
101 return hashMap; 103 return hashMap;
@@ -149,6 +151,8 @@ public class MT2201ServiceImp extends CustomXmlMaker implements MT2201Service { @@ -149,6 +151,8 @@ public class MT2201ServiceImp extends CustomXmlMaker implements MT2201Service {
149 nmmsCustomResponse.setBuspiece(Integer.valueOf(custom_mt2201.getPiece().toString())); 151 nmmsCustomResponse.setBuspiece(Integer.valueOf(custom_mt2201.getPiece().toString()));
150 // 重量 152 // 重量
151 nmmsCustomResponse.setBusweight(Long.valueOf(custom_mt2201.getWeight().toString())); 153 nmmsCustomResponse.setBusweight(Long.valueOf(custom_mt2201.getWeight().toString()));
  154 + // 操作类型
  155 + nmmsCustomResponse.setOpertype("新增");
152 maps.put("status", "1"); 156 maps.put("status", "1");
153 maps.put("customResponse", nmmsCustomResponse); 157 maps.put("customResponse", nmmsCustomResponse);
154 158
@@ -64,6 +64,8 @@ public class MT3201ServiceImp extends CustomXmlMaker implements MT3201Service { @@ -64,6 +64,8 @@ public class MT3201ServiceImp extends CustomXmlMaker implements MT3201Service {
64 nmmsCustomResponse.setBuspiece(Integer.valueOf(customMt3201.getPiece().toString())); 64 nmmsCustomResponse.setBuspiece(Integer.valueOf(customMt3201.getPiece().toString()));
65 // 重量 65 // 重量
66 nmmsCustomResponse.setBusweight(Long.valueOf(customMt3201.getWeight().toString())); 66 nmmsCustomResponse.setBusweight(Long.valueOf(customMt3201.getWeight().toString()));
  67 + // 操作类型
  68 + nmmsCustomResponse.setOpertype("新增");
67 map3201.put("status", "1"); 69 map3201.put("status", "1");
68 map3201.put("customResponse", nmmsCustomResponse); 70 map3201.put("customResponse", nmmsCustomResponse);
69 71
@@ -92,6 +94,8 @@ public class MT3201ServiceImp extends CustomXmlMaker implements MT3201Service { @@ -92,6 +94,8 @@ public class MT3201ServiceImp extends CustomXmlMaker implements MT3201Service {
92 map.put("functionCode", "3"); 94 map.put("functionCode", "3");
93 map.put("busType","MT3201"); 95 map.put("busType","MT3201");
94 NMMS_CUSTOM_RESPONSE nmmsCustomResponse = ReturnUtil.nmmsCustomResponse(map); 96 NMMS_CUSTOM_RESPONSE nmmsCustomResponse = ReturnUtil.nmmsCustomResponse(map);
  97 + // 操作类型
  98 + nmmsCustomResponse.setOpertype("删除");
95 map3201.put("status", "1"); 99 map3201.put("status", "1");
96 map3201.put("customResponse", nmmsCustomResponse); 100 map3201.put("customResponse", nmmsCustomResponse);
97 return map3201; 101 return map3201;
@@ -65,6 +65,8 @@ public class MT4201ServiceImp extends CustomXmlMaker implements MT4201Service { @@ -65,6 +65,8 @@ public class MT4201ServiceImp extends CustomXmlMaker implements MT4201Service {
65 nmmsCustomResponse.setBuspiece(Integer.valueOf(customMt4201.getLodingpiece().toString())); 65 nmmsCustomResponse.setBuspiece(Integer.valueOf(customMt4201.getLodingpiece().toString()));
66 // 重量 66 // 重量
67 nmmsCustomResponse.setBusweight(Long.valueOf(customMt4201.getLodingweight().toString())); 67 nmmsCustomResponse.setBusweight(Long.valueOf(customMt4201.getLodingweight().toString()));
  68 + // 操作类型
  69 + nmmsCustomResponse.setOpertype("新增");
68 map4201.put("status", "1"); 70 map4201.put("status", "1");
69 map4201.put("customResponse", nmmsCustomResponse); 71 map4201.put("customResponse", nmmsCustomResponse);
70 72
@@ -94,6 +96,8 @@ public class MT4201ServiceImp extends CustomXmlMaker implements MT4201Service { @@ -94,6 +96,8 @@ public class MT4201ServiceImp extends CustomXmlMaker implements MT4201Service {
94 map.put("functionCode", "3"); 96 map.put("functionCode", "3");
95 map.put("busType","MT4201"); 97 map.put("busType","MT4201");
96 NMMS_CUSTOM_RESPONSE nmmsCustomResponse = ReturnUtil.nmmsCustomResponse(map); 98 NMMS_CUSTOM_RESPONSE nmmsCustomResponse = ReturnUtil.nmmsCustomResponse(map);
  99 + // 操作类型
  100 + nmmsCustomResponse.setOpertype("删除");
97 map4201.put("status", "1"); 101 map4201.put("status", "1");
98 map4201.put("customResponse", nmmsCustomResponse); 102 map4201.put("customResponse", nmmsCustomResponse);
99 return map4201; 103 return map4201;
@@ -90,6 +90,8 @@ public class MT520XServiceImp extends CustomXmlMaker implements MT520XService{ @@ -90,6 +90,8 @@ public class MT520XServiceImp extends CustomXmlMaker implements MT520XService{
90 nmmsCustomResponse.setBuspiece(customMt520X.getPiece()); 90 nmmsCustomResponse.setBuspiece(customMt520X.getPiece());
91 // 重量 91 // 重量
92 nmmsCustomResponse.setBusweight(customMt520X.getWeight()); 92 nmmsCustomResponse.setBusweight(customMt520X.getWeight());
  93 + // 操作类型
  94 + nmmsCustomResponse.setOpertype("新增");
93 maps.put("status", "1"); 95 maps.put("status", "1");
94 maps.put("customResponse", nmmsCustomResponse); 96 maps.put("customResponse", nmmsCustomResponse);
95 97
@@ -144,6 +146,8 @@ public class MT520XServiceImp extends CustomXmlMaker implements MT520XService{ @@ -144,6 +146,8 @@ public class MT520XServiceImp extends CustomXmlMaker implements MT520XService{
144 map.put("functionCode", "3"); 146 map.put("functionCode", "3");
145 map.put("busType","MT5202"); 147 map.put("busType","MT5202");
146 NMMS_CUSTOM_RESPONSE nmmsCustomResponse = ReturnUtil.nmmsCustomResponse(map); 148 NMMS_CUSTOM_RESPONSE nmmsCustomResponse = ReturnUtil.nmmsCustomResponse(map);
  149 + // 操作类型
  150 + nmmsCustomResponse.setOpertype("删除");
147 maps.put("status", "1"); 151 maps.put("status", "1");
148 maps.put("customResponse", nmmsCustomResponse); 152 maps.put("customResponse", nmmsCustomResponse);
149 153