Commit 17c32aca authored by 梁光意's avatar 梁光意

修改系统管理员参数

parent febe83f1
Pipeline #9488 passed with stages
in 1 minute 18 seconds
......@@ -15,5 +15,5 @@ public class CurrentUser {
private String platformId;
private String name;
private String token;
private Boolean isAdmin;
private Boolean admin;
}
......@@ -64,7 +64,7 @@ public class InstrumentPanelDraftServiceImpl extends ServiceImpl<InstrumentPanel
@Override
public List<InstrumentPanelDraft> selectDraftList(CurrentUser currentUser,String appId, Set<String> panelIds, String officeIds, String userId, String roleId) {
if (currentUser.getIsAdmin()){
if (currentUser.getAdmin()){
return baseMapper.selectDraftListByAdmin(appId,panelIds);
}else {
return baseMapper.selectDraftList(appId, panelIds, officeIds, userId, roleId);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment