This commit is contained in:
parent
c7a465cd46
commit
f34e8613f5
|
|
@ -361,7 +361,9 @@ public class BackReceiveServiceImpl implements BackReceiveService {
|
||||||
int postStoreNum = backReceiveMapper.getmaChineByCt(record);
|
int postStoreNum = backReceiveMapper.getmaChineByCt(record);
|
||||||
record.setPostStoreNum(postStoreNum);
|
record.setPostStoreNum(postStoreNum);
|
||||||
}
|
}
|
||||||
List<BackApplyInfo> endList = receiveView2(record);
|
BackApplyInfo backApplyInfo = new BackApplyInfo();
|
||||||
|
backApplyInfo.setId(record.getParentId());
|
||||||
|
List<BackApplyInfo> endList = receiveView2(backApplyInfo);
|
||||||
// 如果endList中所有数据的backStatus都为1,则修改任务状态为完成
|
// 如果endList中所有数据的backStatus都为1,则修改任务状态为完成
|
||||||
boolean allFinished = endList.stream().allMatch(n -> "1".equals(n.getBackStatus()));
|
boolean allFinished = endList.stream().allMatch(n -> "1".equals(n.getBackStatus()));
|
||||||
if (allFinished) {
|
if (allFinished) {
|
||||||
|
|
|
||||||
|
|
@ -585,7 +585,8 @@
|
||||||
|
|
||||||
<update id="updateTaskStatus">
|
<update id="updateTaskStatus">
|
||||||
update tm_task
|
update tm_task
|
||||||
set task_status=#{status}
|
set task_status=#{status},
|
||||||
|
update_time = now()
|
||||||
where task_id = #{taskId}
|
where task_id = #{taskId}
|
||||||
</update>
|
</update>
|
||||||
<update id="updateMaStatus">
|
<update id="updateMaStatus">
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue