项目库queryById接口更改
This commit is contained in:
+7
-1
@@ -108,6 +108,12 @@ public class LawsProjectLibraryServiceImpl extends ServiceImpl<LawsProjectLibrar
|
|||||||
*/
|
*/
|
||||||
@Override
|
@Override
|
||||||
public LawsProjectLibrary queryById(String id) {
|
public LawsProjectLibrary queryById(String id) {
|
||||||
return getById(id);
|
LawsProjectLibrary library = getById(id);
|
||||||
|
String projectLeader = library.getProjectLeader();
|
||||||
|
if (StringUtils.isNotBlank(projectLeader)){
|
||||||
|
SysUser user = sysUserService.getById(projectLeader);
|
||||||
|
library.setNameWorkNo(user.getNameWorkNo());
|
||||||
|
}
|
||||||
|
return library;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user