bug52681下拉选项重复修改
This commit is contained in:
+5
@@ -168,6 +168,11 @@ public class ProjectLibraryBaseServiceImpl extends ServiceImpl<ProjectLibraryBas
|
||||
public List<ProjectLibraryBase> queryById(String id) {
|
||||
List<ProjectLibraryBase> records = projectLibraryBaseMapper.queryById(id);
|
||||
disposeData(records);
|
||||
for(ProjectLibraryBase projectLibraryBase: records){
|
||||
if(StringUtils.isNotBlank(projectLibraryBase.getYearName())){
|
||||
projectLibraryBase.setProjectName(projectLibraryBase.getProjectName() + "-" + projectLibraryBase.getYearName());
|
||||
}
|
||||
}
|
||||
return records;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user