Example #1
0
 /*
  * 登录判断
  */
 public PageData getUserByNameAndPwd(PageData pd) throws Exception {
   return (PageData) dao.findForObject("AppuserMapper.getUserInfo", pd);
 }
Example #2
0
 /*
  *用户列表(用户组)
  */
 public List<PageData> listPdPageUser(Page page) throws Exception {
   return (List<PageData>) dao.findForList("AppuserMapper.userlistPage", page);
 }
Example #3
0
 /*
  * 保存用户IP
  */
 public void saveIP(PageData pd) throws Exception {
   dao.update("AppuserMapper.saveIP", pd);
 }
Example #4
0
 /*
  * 批量删除用户
  */
 public void deleteAllU(String[] USER_IDS) throws Exception {
   dao.delete("AppuserMapper.deleteAllU", USER_IDS);
 }
Example #5
0
 /*
  *用户列表(全部)
  */
 public List<PageData> listAllUser(PageData pd) throws Exception {
   return (List<PageData>) dao.findForList("AppuserMapper.listAllUser", pd);
 }
Example #6
0
 /*
  * 删除用户
  */
 public void deleteU(PageData pd) throws Exception {
   dao.delete("AppuserMapper.deleteU", pd);
 }
Example #7
0
 /*
  * 修改用户
  */
 public void editU(PageData pd) throws Exception {
   dao.update("AppuserMapper.editU", pd);
 }
Example #8
0
 /*
  * 保存用户
  */
 public void saveU(PageData pd) throws Exception {
   dao.save("AppuserMapper.saveU", pd);
 }
Example #9
0
 /*
  * 通过编号获取数据
  */
 public PageData findByUN(PageData pd) throws Exception {
   return (PageData) dao.findForObject("AppuserMapper.findByUN", pd);
 }
Example #10
0
 /*
  * 跟新登录时间
  */
 public void updateLastLogin(PageData pd) throws Exception {
   dao.update("AppuserMapper.updateLastLogin", pd);
 }