master
Gitea 2 weeks ago
parent 1aff2f1fc2
commit 0ea060af95
  1. 2
      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<Instrument, IInstrumen
IPage<Instrument> pageList = instrumentService.page(page, queryWrapper); IPage<Instrument> pageList = instrumentService.page(page, queryWrapper);
return Result.OK(pageList); 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("state",2,3);
queryWrapper.in("flag",0,2); queryWrapper.in("flag",0,2);

Loading…
Cancel
Save