|
@@ -481,8 +481,17 @@ public class NoCarServiceImpl implements NoCarService{
|
|
}catch (Exception e){
|
|
}catch (Exception e){
|
|
return new RespR(false,"有重复运单,请联系管理员删除");
|
|
return new RespR(false,"有重复运单,请联系管理员删除");
|
|
}
|
|
}
|
|
|
|
+ if(noCarWayBillDb == null){
|
|
|
|
+ try{
|
|
|
|
+ noCarWayBillDb = (NoCarWayBill)noCarWayBill.clone();
|
|
|
|
+ }catch (Exception e){
|
|
|
|
+ e.printStackTrace();
|
|
|
|
+ return new RespR(false,"系统异常,请重试");
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ }
|
|
log.info("历史运单结束上传:NoCarServiceImpl.noCarHisWaybillEnd{},msg{}",noCarWayBill,"开始");
|
|
log.info("历史运单结束上传:NoCarServiceImpl.noCarHisWaybillEnd{},msg{}",noCarWayBill,"开始");
|
|
- if(noCarWayBillDb!=null && noCarWayBillDb.getBillwayStatus()>1){
|
|
|
|
|
|
+ if(noCarWayBillDb.getBillwayStatus()>1){
|
|
return new RespR(false,"结束运单已经上传,无需再次上传");
|
|
return new RespR(false,"结束运单已经上传,无需再次上传");
|
|
}
|
|
}
|
|
noCarWayBillDb.setPreEndTime(noCarWayBillDb.getPredictEndTime());
|
|
noCarWayBillDb.setPreEndTime(noCarWayBillDb.getPredictEndTime());
|