|
|
|
@ -1276,6 +1276,11 @@ public class ProductionPlanServiceImpl implements ProductionPlanService { |
|
|
|
checkNodeAssigneePermission(data.getOrderNo(), orderType, data.getNodeCode()); |
|
|
|
Long userId = getCurrentUserId(); |
|
|
|
String userName = getCurrentUserName(); |
|
|
|
if (isHomeLiftStockingNode(orderType, node.getNodeCode(), node.getNodeName()) |
|
|
|
&& !STATUS_PROCESSING.equals(order.getStatus())) { |
|
|
|
// HOME_LIFT 仓库配料仅记录步骤(未报工)时,订单也应进入“进行中” |
|
|
|
productionPlanMapper.updateOrderStatus(data.getOrderNo(), STATUS_PROCESSING, null, userId); |
|
|
|
} |
|
|
|
data.setOrderType(orderType); |
|
|
|
data.setProjectNo(order.getProjectNo()); |
|
|
|
data.setNodeName(node.getNodeName()); |
|
|
|
|