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