|
|
@@ -286,7 +286,6 @@ public class KwtAcceptCarriageOrderService {
|
|
|
//修改上级分配量以及可分配量委托量等
|
|
|
logisticsOrder.setSubcontractAmount(logisticsOrder.getSubcontractAmount().add(bo.getCarryingCapacity()));
|
|
|
// logisticsOrder.setIgnoreAmount(logisticsOrder.getIgnoreAmount().subtract(bo.getCarryingCapacity()));
|
|
|
- logisticsOrder.setEntrustAmount(logisticsOrder.getEntrustAmount().add(bo.getCarryingCapacity()));
|
|
|
logisticsOrderMapper.updateById(logisticsOrder);
|
|
|
|
|
|
/**数据发送至消息列表*/
|
|
|
@@ -797,7 +796,7 @@ public class KwtAcceptCarriageOrderService {
|
|
|
.eq(KwtLogisticsOrder::getId, logisticsOrder.getPid())
|
|
|
);
|
|
|
if (kwtLogisticsOrder != null) {
|
|
|
- kwtLogisticsOrder.setEntrustAmount(kwtLogisticsOrder.getEntrustAmount().subtract(logisticsOrder.getAmount()));
|
|
|
+// kwtLogisticsOrder.setEntrustAmount(kwtLogisticsOrder.getEntrustAmount().subtract(logisticsOrder.getAmount()));
|
|
|
kwtLogisticsOrder.setSubcontractAmount(kwtLogisticsOrder.getSubcontractAmount().subtract(logisticsOrder.getAmount()));
|
|
|
kwtLogisticsOrder.setUpdateBy(LoginUserHolder.getUserId());
|
|
|
kwtLogisticsOrder.setUpdateTime(new Date());
|