| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546 | 
							- ### AccountService    
 
-     /** 
 
-      * 带分页查询帐号信息
 
-      * @param map
 
-      * @return
 
-      */
 
-     PageBean<Account> queryAccountByPage(Map<String, Object> map);
 
- ### AccountServiceImpl
 
-     /**
 
-      * QueryAccountByPage
 
-      * 实现按页查询的功能
 
-      */
 
-     @Override
 
-     public PageBean<Account> queryAccountByPage(Map<String, Object> map) {
 
-         int page = (Integer) map.get("page");
 
-         int limit = (Integer) map.get("limit");
 
-         Page<Account> p = new Page<>(page, limit);
 
-         p.setRecords(accountMapper.queryAccountByPage(p, map));
 
-         return p;
 
-     }
 
- ###AccountMapper        
 
-     List<Account> queryAccountByPage(Page<Account> page, Map<String, Object> map);
 
-     
 
- ###action    
 
-  
 
-     /**
 
-      * 分页查询
 
-      * @return
 
-      */
 
-     @RequestMapping(value = "/query", method = RequestMethod.GET)
 
-     @ResponseBody
 
-     public LayPageResult querySysArea(@RequestParam Map<String,Object> map) {
 
-         PageBean<SysArea> pageInfo = sysAreaService.queryAreaByPage(map);
 
-         return layPageResult(pageInfo);
 
-     }
 
- #### 表名变更
 
- sys_risk => ent_risk
 
- ent_risk_record
 
- s_position 管控岗位
 
- ent_risk_ctrl_level 管控层级
 
- ### 删除redis 缓存
 
- SELECT GROUP_CONCAT(s_group_id,"_curGroup" SEPARATOR ' ') from s_group WHERE company_id='f031d15e-4b50-4e60-a287-a9742837411c';
 
-   
 
 
  |