提交 4fa8771a authored 作者: aiqingguo's avatar aiqingguo

运单流程

上级 ca6d18d6
......@@ -326,7 +326,7 @@ public class OrderChildServiceImpl implements OrderChildService {
throw new ServiceSystemException(PerformanceResultEnum.ORDER_CHILD_CANCELED);
}
if (loadCheck(param.getLoadNet(), orderChild.getTruckLoad())){
if (!loadCheck(param.getLoadNet(), orderChild.getTruckLoad())){
throw new ServiceSystemException(PerformanceResultEnum.ORDER_CHILD_LOAD_WEIGHT_ERROR);
}
......@@ -428,7 +428,7 @@ public class OrderChildServiceImpl implements OrderChildService {
throw new ServiceSystemException(PerformanceResultEnum.ORDER_CHILD_CANCELED);
}
if (loadCheck(param.getUnloadNet(), orderChild.getTruckLoad())){
if (!loadCheck(param.getUnloadNet(), orderChild.getTruckLoad())){
throw new ServiceSystemException(PerformanceResultEnum.ORDER_CHILD_UNLOAD_WEIGHT_ERROR);
}
......@@ -555,10 +555,10 @@ public class OrderChildServiceImpl implements OrderChildService {
throw new ServiceSystemException(PerformanceResultEnum.ORDER_CHILD_STATUS_CHANGED);
}
if (loadCheck(param.getLoadNet(), orderChild.getTruckLoad())){
if (!loadCheck(param.getLoadNet(), orderChild.getTruckLoad())){
throw new ServiceSystemException(PerformanceResultEnum.ORDER_CHILD_LOAD_WEIGHT_ERROR);
}
if (loadCheck(param.getUnloadNet(), orderChild.getTruckLoad())){
if (!loadCheck(param.getUnloadNet(), orderChild.getTruckLoad())){
throw new ServiceSystemException(PerformanceResultEnum.ORDER_CHILD_UNLOAD_WEIGHT_ERROR);
}
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论