fix(wms): 修正转库订单审批状态判断逻辑

- 将审批通过状态从 1 修改为 2
- 确保只有在正确审批状态下才批量更新钢卷信息
This commit is contained in:
2026-04-10 13:19:35 +08:00
parent 509c41a4d4
commit 92441e569e

View File

@@ -165,7 +165,7 @@ public class WmsTransferOrderServiceImpl implements IWmsTransferOrderService {
boolean updateResult = baseMapper.updateById(order) > 0;
// 3. 如果审批通过,批量更新钢卷信息
if (updateResult && approveStatus != null && approveStatus == 1) {
if (updateResult && approveStatus != null && approveStatus == 2) {
batchUpdateCoilsOnApprove(orderId, order.getTransferType());
}