...
|
...
|
@@ -49,7 +49,10 @@ public class TALLYSECONDARY extends WlptBaseModel { |
|
|
|
|
|
private String receiptinformation;
|
|
|
|
|
|
private TALLYMASTER master;
|
|
|
|
|
|
private CustomReception customReceptionT;
|
|
|
|
|
|
public String getAutoid() {
|
|
|
return autoid;
|
|
|
}
|
...
|
...
|
@@ -211,12 +214,19 @@ public class TALLYSECONDARY extends WlptBaseModel { |
|
|
this.waybillnosecondary = customReception.getWayBillSecond().split("_")[1];
|
|
|
this.status = AWBTools.transCusRspCode(customReception.getResponseCode());
|
|
|
this.receiptinformation = customReception.getResponseText();
|
|
|
this.master = new TALLYMASTER(customReception);
|
|
|
}
|
|
|
|
|
|
@Override
|
|
|
public int secondAnalysisReception() {
|
|
|
|
|
|
//todo:这里要根据回执的航班信息取到主单的autoid,设置到分单中。做到精确解析
|
|
|
List<TALLYMASTER> masterlist = tallymasterMapper.selectAutoIdByAwb(this.master);
|
|
|
if(!masterlist.isEmpty()){
|
|
|
TALLYMASTER masterResult = masterlist.get(0);
|
|
|
this.tallymasterid = masterResult.getAutoid();
|
|
|
|
|
|
}
|
|
|
//更新分单回执
|
|
|
int i = tallysecondaryMapper.updateRECEIPTION(this);
|
|
|
//获取分单autoid
|
...
|
...
|
|