Jiaqi.xu

BASF接口

...@@ -78,12 +78,12 @@ public class BasfDataInterface { ...@@ -78,12 +78,12 @@ public class BasfDataInterface {
78 78
79 79
80 //2、TODO 校验主单 80 //2、TODO 校验主单
81 - /*sw.start("checkMawb"); 81 + sw.start("checkBasfMawb");
82 result=basfService.checkBasfMawb(saveMawbBasfResult); 82 result=basfService.checkBasfMawb(saveMawbBasfResult);
83 if(!result.getSuccess()){ 83 if(!result.getSuccess()){
84 return result; 84 return result;
85 } 85 }
86 - sw.stop();*/ 86 + sw.stop();
87 87
88 // //3、TODO 校验子单 88 // //3、TODO 校验子单
89 // sw.start("checkMawbDetail"); 89 // sw.start("checkMawbDetail");
......
...@@ -240,7 +240,7 @@ public class ChmConsignmentService { ...@@ -240,7 +240,7 @@ public class ChmConsignmentService {
240 //运单号 240 //运单号
241 result.setConsignmentCode(mawb.getBillNo()); 241 result.setConsignmentCode(mawb.getBillNo());
242 //运单类型 242 //运单类型
243 - DictionaryEntries consType = Constant.dictionaryEntriesCache.get(Constant.MSG_TYPE_C); 243 + DictionaryEntries consType = Constant.dictionaryEntriesCache.get(Constant.consType_C);
244 if(consType != null){ 244 if(consType != null){
245 result.setConsTypeId(consType); 245 result.setConsTypeId(consType);
246 result.setConsType(consType.getChineseName()); 246 result.setConsType(consType.getChineseName());
...@@ -586,10 +586,10 @@ public class ChmConsignmentService { ...@@ -586,10 +586,10 @@ public class ChmConsignmentService {
586 } 586 }
587 //更新: 587 //更新:
588 //如果有数据并且满足条件后才能更新数据 588 //如果有数据并且满足条件后才能更新数据
589 - //条件1、状态为 待申报海关 589 + //条件1、状态为 C类待申报
590 //条件2、本次推送时间 > 上次推送的时间 590 //条件2、本次推送时间 > 上次推送的时间
591 }else if(!Objects.equals(chmConsignmentDB,null) 591 }else if(!Objects.equals(chmConsignmentDB,null)
592 - && Objects.equals(chmConsignmentDB.getConsStatusDic().getCode(),"transferWaybillStatus_5") 592 + && Objects.equals(chmConsignmentDB.getConsStatusDic().getCode(),"transferWaybillStatus_16")
593 //TODO 提交时需要打开 593 //TODO 提交时需要打开
594 && pushTime.getTime()>chmConsignmentDB.getUpdateTime().getTime() 594 && pushTime.getTime()>chmConsignmentDB.getUpdateTime().getTime()
595 ){ 595 ){
......