...
|
...
|
@@ -42,10 +42,14 @@ public class FFMResolveImpl implements FFMResolve { |
|
|
for (FFMInfo ffm : ffmInfoList) {
|
|
|
//todo:国际转运判定,需要维护机场代码静态表
|
|
|
List<TBBaseAirportInfo> airportInfoList= airportInfoDao.checkInternal(ffm.getOriginatingstationBill(),ffm.getDestinationstationBill());
|
|
|
if (!airportInfoList.isEmpty() && airportInfoList.get(0).getInternal().equals(airportInfoList.get(1).getInternal()) && "1".equals(airportInfoList.get(1).getInternal())){
|
|
|
if (!airportInfoList.isEmpty() && airportInfoList.size()>1){
|
|
|
if (airportInfoList.get(0).getInternal().equals(airportInfoList.get(1).getInternal()) && "1".equals(airportInfoList.get(1).getInternal())){
|
|
|
ffm.setCustomsstatus("002");
|
|
|
log.info("运单{}为国际转运货物",ffm.getWaybillnomaster());
|
|
|
}
|
|
|
}else {
|
|
|
log.error("{}{}机场代码未备案",ffm.getOriginatingstationBill(),ffm.getDestinationstationBill());
|
|
|
}
|
|
|
int result = ffmInfoDao.insertSelective(ffm);
|
|
|
if (result <=0){
|
|
|
log.error("{}入库失败",ffm.getWaybillnomaster());
|
...
|
...
|
|