Merge remote-tracking branch 'origin/dev_20230912_Platform' into dev_20230912_Platform

This commit is contained in:
zyx.net
2023-09-20 14:26:06 +08:00
2 changed files with 6 additions and 0 deletions
@@ -543,4 +543,7 @@ public class ProjectLawsInventoryEO implements Serializable {
@TableField(exist = false)
private List<ProjectLawsInventoryEO> projectLawsInventoryEOS;
@TableField(exist = false)
private String platformIds;//项目名称
}
@@ -514,6 +514,9 @@ public class ProjectLawsInventoryEOServiceImpl extends ServiceImpl<ProjectLawsIn
@Override
public void editById(ProjectLawsInventoryEO projectLawsInventoryEO) {
this.editService.editById(projectLawsInventoryEO);
if(StringUtils.isNotBlank(projectLawsInventoryEO.getPlatformIds())){
lawsInventoryPlatformEOService.deleteByIds(Arrays.asList(projectLawsInventoryEO.getPlatformIds().split(",")));
}
}
/**