Browse Source

更新文件 adminManagerAction.java

陈士柏 2 years ago
parent
commit
5ac4b201a5
1 changed files with 5 additions and 0 deletions
  1. 5 0
      mhotel/src/com/happy/action/adminManagerAction.java

+ 5 - 0
mhotel/src/com/happy/action/adminManagerAction.java

@@ -700,6 +700,11 @@ public class adminManagerAction extends ActionSupport implements ServletRequestA
             s1.append(" and level = '").append(level).append("'");
         }
         IPage<AdminManager> adminIPage = adminManagerService.queryPage(s1.toString(),page,rows);
+        if (adminIPage.getPageList() != null && adminIPage.getPageList().size() > 0) {
+            for (AdminManager adminManager : adminIPage.getPageList()) {
+                adminManager.setFileInfoList(fileService.queryListByLinkId(adminManager.getId() + ""));
+            }
+        }
         if(adminIPage!=null && !"".equals(adminIPage)){
             resultJson.put("message", "查询分页成功");
             resultJson.put("code", 200);