法规清单编辑中删除取消关联的平台件数据
This commit is contained in:
+3
@@ -543,4 +543,7 @@ public class ProjectLawsInventoryEO implements Serializable {
|
||||
|
||||
@TableField(exist = false)
|
||||
private List<ProjectLawsInventoryEO> projectLawsInventoryEOS;
|
||||
|
||||
@TableField(exist = false)
|
||||
private String platformIds;//项目名称
|
||||
}
|
||||
|
||||
+3
@@ -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(",")));
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user