专家管理

dev
Gitea 1 year ago
parent 44328e98ce
commit eeb23bb5be
  1. 2
      jeecg-boot-master/jeecg-module-demo/src/main/java/org/jeecg/modules/demo/annualcompgroup/controller/AnnualCompGroupController.java

@ -158,7 +158,7 @@ public class AnnualCompGroupController extends JeecgController<AnnualCompGroup,
LoginUser user = (LoginUser) SecurityUtils.getSubject().getPrincipal(); LoginUser user = (LoginUser) SecurityUtils.getSubject().getPrincipal();
Comp comp = new Comp(); Comp comp = new Comp();
QueryWrapper<Comp> queryWrapper = QueryGenerator.initQueryWrapper(comp, req.getParameterMap()); QueryWrapper<Comp> queryWrapper = QueryGenerator.initQueryWrapper(comp, req.getParameterMap());
queryWrapper.like("comp_admin",user.getId()); queryWrapper.like("comp_admin",user.getUsername());
List<Comp> list = compService.list(queryWrapper); List<Comp> list = compService.list(queryWrapper);
String str = ""; String str = "";
for(int i = 0 ; i < list.size() ; i++){ for(int i = 0 ; i < list.size() ; i++){

Loading…
Cancel
Save