Commit f0406f68 authored by kongfm's avatar kongfm

更新到达时间

parent d7d08e65
......@@ -253,7 +253,7 @@ public class DispatchTaskServiceImpl extends BaseService<DispatchTaskDto,Dispatc
Date now = new Date();
// 首先更新任务到达时间
DispatchTask task = this.getById(taskId);
this.update(new LambdaUpdateWrapper<DispatchTask>().set(DispatchTask::getDispatchTime,now).eq(DispatchTask::getSequenceNbr,taskId));
this.update(new LambdaUpdateWrapper<DispatchTask>().set(DispatchTask::getArriveTime,now).eq(DispatchTask::getSequenceNbr,taskId));
// 其次更新派遣单中相关信息
dispatchPaperServiceImpl.update(new LambdaUpdateWrapper<DispatchPaper>().
set(DispatchPaper::getArriveTime,now).
......
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