...
|
...
|
@@ -29,6 +29,8 @@ public class MT8205ServiceImp extends CustomXmlMaker implements MT8205Service { |
|
|
@Override
|
|
|
public Map<String, Object> create8205(Map<String, Object> map) throws IOException, ParseException {
|
|
|
ObjectMapper objectMapper = new ObjectMapper();
|
|
|
|
|
|
|
|
|
// 转运记录
|
|
|
CUSTOM_MT8205 customMt8205 = objectMapper.convertValue(map.get("mt8205"), CUSTOM_MT8205.class);
|
|
|
// 关区代码
|
...
|
...
|
@@ -38,8 +40,11 @@ public class MT8205ServiceImp extends CustomXmlMaker implements MT8205Service { |
|
|
// 封装实体
|
|
|
map.put("mt8205", customMt8205);
|
|
|
map.put("orgCode", orgCode);
|
|
|
// 回执主单号带-
|
|
|
String originawbano = customMt8205.getOriginawbano();
|
|
|
// 处理主单号 -
|
|
|
customMt8205.setOriginawbano(ReturnUtil.awbaReplace(customMt8205.getOriginawbano()));
|
|
|
customMt8205.setOriginawbano(ReturnUtil.awbaReplace(originawbano));
|
|
|
|
|
|
// 处理主单号 -
|
|
|
customMt8205.setTransawbano(ReturnUtil.awbaReplace(customMt8205.getTransawbano()));
|
|
|
// 生成报文头部
|
...
|
...
|
@@ -66,7 +71,7 @@ public class MT8205ServiceImp extends CustomXmlMaker implements MT8205Service { |
|
|
// 航班承运人
|
|
|
nmmsCustomResponse.setCarrier(customMt8205.getOrigincarrier());
|
|
|
// 主单号
|
|
|
nmmsCustomResponse.setAwbano(customMt8205.getOriginawbano());
|
|
|
nmmsCustomResponse.setAwbano(originawbano);
|
|
|
// 分单号
|
|
|
nmmsCustomResponse.setAwbhno(AwbaUtils.awbh(customMt8205.getOriginawbhno()));
|
|
|
// 件数
|
...
|
...
|
|