67335 认证参数收集清单,填写人提交问题修改。
This commit is contained in:
+14
-2
@@ -1704,8 +1704,20 @@ public class ParamsCollectManifestEOServiceImpl extends ServiceImpl<ParamsCollec
|
||||
paramsCollectManifestLogEOList.add(paramsCollectManifestLogEO);
|
||||
}
|
||||
|
||||
// 批量更新
|
||||
paramsConfigDataEOService.saveOrUpdateBatch(newConfigDataEOList);
|
||||
if(CollectionUtils.isNotEmpty(newConfigDataEOList)){
|
||||
List<String> paramsCollectManifestIdList = newConfigDataEOList.stream().map(ParamsConfigDataEO::getParamsCollectManifestId).distinct().collect(Collectors.toList());
|
||||
QueryWrapper<ParamsConfigDataEO> pcdRemoveWrap = new QueryWrapper<>();
|
||||
pcdRemoveWrap.lambda().in(ParamsConfigDataEO::getParamsCollectManifestId,paramsCollectManifestIdList);
|
||||
this.paramsConfigDataEOService.remove(pcdRemoveWrap);
|
||||
|
||||
newConfigDataEOList.forEach(newConfigDataEO -> {
|
||||
newConfigDataEO.setId(UUID.randomUUID().toString().replace("-",""));
|
||||
});
|
||||
this.paramsConfigDataEOService.saveOrUpdateBatch(newConfigDataEOList);
|
||||
}
|
||||
|
||||
// // 批量更新
|
||||
// paramsConfigDataEOService.saveOrUpdateBatch(newConfigDataEOList);
|
||||
|
||||
if (CollectionUtils.isNotEmpty(paramsCollectManifestLogEOList)) {
|
||||
this.paramsCollectManifestLogEOService.saveBatch(paramsCollectManifestLogEOList);
|
||||
|
||||
Reference in New Issue
Block a user