This commit is contained in:
zhn
2023-08-29 13:48:38 +08:00
parent 059bbed2ce
commit 22484b6cf9
@@ -267,13 +267,10 @@ public class ProjectRxswinEOServiceImpl extends ServiceImpl<ProjectRxswinEOMappe
wrapper.in(ProjectRxswinEO::getId, Arrays.asList(ids.split(","))); wrapper.in(ProjectRxswinEO::getId, Arrays.asList(ids.split(",")));
List<ProjectRxswinEO> rxswinEOList = this.list(wrapper); List<ProjectRxswinEO> rxswinEOList = this.list(wrapper);
for (ProjectRxswinEO projectRxswinEO : rxswinEOList) { for (ProjectRxswinEO projectRxswinEO : rxswinEOList) {
projectRxswinEO.setId(UUID.randomUUID().toString().replaceAll("-","")); projectRxswinEO.setUpdateBy(user.getUsername());
projectRxswinEO.setProjectId(projectId);
projectRxswinEO.setCreateTime(new Date());
projectRxswinEO.setCreateBy(user.getUsername());
projectRxswinEO.setState(StatusEnum.SUBMIT.getValue()); projectRxswinEO.setState(StatusEnum.SUBMIT.getValue());
} }
this.saveBatch(rxswinEOList); this.updateBatchById(rxswinEOList);
} }
/** /**
* 覆盖验证 * 覆盖验证