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