|
|
|
@ -471,6 +471,8 @@ public class IoCollectOrderService extends ServiceImpl<IoCollectOrderMapper, IoC
|
|
|
|
|
IoCollectOrder old = this.getById(collectOrderRequest.getId());
|
|
|
|
|
Assert.notNull(old,"不存在该库存预警设置");
|
|
|
|
|
//TODO 新建单据未赋值排序时间
|
|
|
|
|
//1.获取tagStatus = 1的单据最早orderTime时间,往前移1分钟,
|
|
|
|
|
//2.在赋值给当前
|
|
|
|
|
this.lambdaUpdate()
|
|
|
|
|
.set(IoCollectOrder::getUpdateTime, new Date())
|
|
|
|
|
.set(collectOrderRequest.getUpdateUser() != null, IoCollectOrder::getUpdateUser, collectOrderRequest.getUpdateUser())
|
|
|
|
|