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