|
|
@@ -1171,9 +1171,9 @@ public class LogisticsConsignmentService {
|
|
|
// if (amount.compareTo(orderFinishDTO.getLoadAmount()) < 0) {
|
|
|
// throw new BusinessException("完结订单,装货量不能大于运输总量");
|
|
|
// }
|
|
|
- if (orderFinishDTO.getUnloadAmount().compareTo(orderFinishDTO.getLoadAmount()) > 0) {
|
|
|
- throw new BusinessException("完结订单,填写卸货量不能大于装货量");
|
|
|
- }
|
|
|
+// if (orderFinishDTO.getUnloadAmount().compareTo(orderFinishDTO.getLoadAmount()) > 0) {
|
|
|
+// throw new BusinessException("完结订单,填写卸货量不能大于装货量");
|
|
|
+// }
|
|
|
/**订单状态验证*/
|
|
|
if (!LogisticsOrderEnum.WAIT_DELIVERY.getStatus().equals(String.valueOf(logisticsOrder.getStatus()))
|
|
|
&& !LogisticsOrderEnum.IN_TRANSIT.getStatus().equals(String.valueOf(logisticsOrder.getStatus()))) {
|