Commit 2c416476 by 董有沛

冲突解决

parent ddbebabf
......@@ -185,6 +185,9 @@ public class LzKpiController extends BaseController {
@RequestParam(name = "schoolName", required = false) String schoolName,@RequestParam(name = "month", required = false) String month,
@RequestParam(name = "pageNo") int pageNo, @RequestParam(name = "pageSize") int pageSize) {
ShiroUser user = getShiroUser();
if (!user.getRoleNames().stream().anyMatch(roleName -> StringUtils.equalsAny(roleName, "超级管理员"))) {
return ResponseData.error("无数据权限");
}
Page<Map<String,Object>> page = new Page<>(pageNo, pageSize);
List<Map<String,Object>> dataList = new ArrayList<>();
......
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