This commit is contained in:
zhangchenbiao
2024-05-08 16:02:51 +08:00
parent 11a248d312
commit ea2f8aedb8
3 changed files with 29 additions and 27 deletions

View File

@@ -274,9 +274,8 @@ public class PointServiceImpl implements PointService {
//获取审批节点上的数据
List<PointAuditRecordDO> recordList = AuditNodeDTO.convertDO(pointId, submitAuditCount, auditNode);
pointAuditRecordDAO.addPointAuditRecord(recordList);
//获取待办数据
List<PointTodoInfoDO> todoList = AuditNodeDTO.convertTODO(pointId, submitAuditCount, auditNode);
pointTodoInfoDAO.addPointTodoInfo(todoList);
Map<Integer, PointAuditRecordDO> pointAuditRecordMap = recordList.stream().collect(Collectors.toMap(k -> k.getNodeNo(), v -> v));
dealNextAuditRecord(pointInfo, pointAuditRecordMap, NodeNoEnum.NODE_NO_0.getCode());
return pointInfoDAO.updatePointInfo(updatePoint);
}