Commit e4233942 authored by zhengyi's avatar zhengyi

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

parent 70ebd8e1
......@@ -6,6 +6,8 @@ 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;
import cn.iocoder.yudao.framework.apollo.core.event.box.BoxCheckOrderSchedulingEvent;
......@@ -4488,6 +4490,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