diff --git a/jeecg-boot/jeecg-module-demo/src/main/java/org/jeecg/modules/demo/instrument/controller/InstrumentController.java b/jeecg-boot/jeecg-module-demo/src/main/java/org/jeecg/modules/demo/instrument/controller/InstrumentController.java index 7ddfd6b..142518f 100644 --- a/jeecg-boot/jeecg-module-demo/src/main/java/org/jeecg/modules/demo/instrument/controller/InstrumentController.java +++ b/jeecg-boot/jeecg-module-demo/src/main/java/org/jeecg/modules/demo/instrument/controller/InstrumentController.java @@ -205,7 +205,7 @@ public class InstrumentController extends JeecgController pageList = instrumentService.page(page, queryWrapper); return Result.OK(pageList); } - if(loginUser.getRoleCode().indexOf("yuwukeshi_admin")!= -1){ + if(loginUser.getRoleCode().indexOf("kejiju_admin")!= -1){ //市直业务科室管理员角色 queryWrapper.in("state",2,3); queryWrapper.in("flag",0,2);