Merge remote-tracking branch 'origin/dev_20230912_Platform' into dev_20230912_Platform
This commit is contained in:
+3
@@ -543,4 +543,7 @@ public class ProjectLawsInventoryEO implements Serializable {
|
|||||||
|
|
||||||
@TableField(exist = false)
|
@TableField(exist = false)
|
||||||
private List<ProjectLawsInventoryEO> projectLawsInventoryEOS;
|
private List<ProjectLawsInventoryEO> projectLawsInventoryEOS;
|
||||||
|
|
||||||
|
@TableField(exist = false)
|
||||||
|
private String platformIds;//项目名称
|
||||||
}
|
}
|
||||||
|
|||||||
+3
@@ -514,6 +514,9 @@ public class ProjectLawsInventoryEOServiceImpl extends ServiceImpl<ProjectLawsIn
|
|||||||
@Override
|
@Override
|
||||||
public void editById(ProjectLawsInventoryEO projectLawsInventoryEO) {
|
public void editById(ProjectLawsInventoryEO projectLawsInventoryEO) {
|
||||||
this.editService.editById(projectLawsInventoryEO);
|
this.editService.editById(projectLawsInventoryEO);
|
||||||
|
if(StringUtils.isNotBlank(projectLawsInventoryEO.getPlatformIds())){
|
||||||
|
lawsInventoryPlatformEOService.deleteByIds(Arrays.asList(projectLawsInventoryEO.getPlatformIds().split(",")));
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user