no message

This commit is contained in:
cb 2025-05-08 18:05:13 +08:00
parent f8a987a0f6
commit 806e5e700e
1 changed files with 1 additions and 1 deletions

View File

@ -1191,7 +1191,7 @@ public class OrderDetailController extends BaseController {
orderMaster2Update.setOrderStatus(OrderStatus.PLAIN.code()); orderMaster2Update.setOrderStatus(OrderStatus.PLAIN.code());
// 查询是否还有派单记录没有的话需要重置主单是否自己承接的字段为NULL // 查询是否还有派单记录没有的话需要重置主单是否自己承接的字段为NULL
List<OrderGoods> existOrderGoods = orderGoodsService.selectByOrderMasterId(od.getOrderMasterId()); List<OrderGoods> existOrderGoods = orderGoodsService.selectByOrderMasterId(od.getOrderMasterId());
if (CollectionUtils.isEmpty(existOrderGoods)) { if (CollectionUtils.isNotEmpty(existOrderGoods)&&existOrderGoods.size()==1) {
orderMaster2Update.setResetAllSelfAssigned(true); orderMaster2Update.setResetAllSelfAssigned(true);
} }
// 更新主单是否全部派完 // 更新主单是否全部派完