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 6d5364a..1f66896 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 @@ -163,7 +163,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);