Commit 014d2e06 authored by zhengyi's avatar zhengyi

入仓修改或入仓追加审批通过后,需要重置可能存在的提单

parent 14e7e9f8
......@@ -6,6 +6,7 @@ import cn.hutool.core.collection.CollectionUtil;
import cn.hutool.core.date.DateTime;
import cn.hutool.core.date.DateUtil;
import cn.hutool.core.util.StrUtil;
import cn.iocoder.yudao.framework.apollo.core.event.box.BoxCheckOrderRemoveLadingBillEvent;
import cn.iocoder.yudao.framework.apollo.core.event.box.BoxCheckOrderSchedulingEvent;
import cn.iocoder.yudao.framework.apollo.core.event.Order.OrderApprovalTypeCheckEvent;
import cn.iocoder.yudao.framework.apollo.core.event.QueryChannelInfoEvent;
......@@ -4344,6 +4345,8 @@ public class OrderWarehouseInServiceImpl extends AbstractService<OrderWarehouseI
applicationContext.publishEvent(new BoxOrderShipmentWarehouseInEvent(orderId));
}
// 入仓修改或入仓追加审批通过后,需要重置可能存在的提单(当订单已经开始出货了就可能已制作提单)
applicationContext.publishEvent(new BoxCheckOrderRemoveLadingBillEvent(orderId));
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment