public class UserInfoDaoHB extends AbstractBaseDao<UserInfo> implements UserInfoDao
logger
Constructor and Description |
---|
UserInfoDaoHB() |
Modifier and Type | Method and Description |
---|---|
boolean |
existUserName(java.lang.String username,
java.lang.String uid)
检查参数username是否存在,如果uid为空则表示检查所有,否则为排除指定uid的自身再检查。
|
int |
getCountByStatusAndMobile(int status,
int mobileLogin)
根据人员状态和手机终端登录用户数确定个数
|
static int |
getMobileCountByStatusAndMobile(JdbcTemplate jdbcTemp,
int status) |
static java.util.List<java.lang.String> |
getMobileUsersByStatusAndMobile(JdbcTemplate jdbcTemp,
int status,
int rows) |
static int |
getPCUserCountByStatus(JdbcTemplate jdbcTemp,
int status) |
static java.util.List<java.lang.String> |
getPCUsersByStatus(JdbcTemplate jdbcTemp,
int status,
int rows) |
Staff |
getStaffById(java.lang.String staffid) |
java.util.List<Staff> |
getSubordinate(java.lang.String staffId,
boolean isAll)
获取下级列表
|
UserInfo |
getUserByName(java.lang.String userName) |
UserInfo |
getUserByStaffid(java.lang.String staffid) |
int |
getUserCountByStatus(int status)
根据人员状态获取用户个数
|
boolean |
verifyPass(java.lang.String username,
java.lang.String pass) |
evict, evict, evictAll, executeUpdate, executeUpdate, flush, getBrowserWhere, getBrowserWhere2, getById, getById, getByQuery, getByWhere, getByWhere, getByWhere, getByWhere, getCounts, getCounts, getCountsWhere, getEntityClass, getEntityObject, getJdbcDao, getJdbcTemplate, getList, getListByWhere, getListByWhere, getListByWhere, getListByWhere, getListForQuery, getListForQuery, getNewItem, getPageList, getPageList, getPageListForQuery, Log, remove, removeById, removeByObject, replicate, save, saveOrUpdate, saveOrUpdateByObject, setMySessionFactory, update, updateLabelByOldLabel
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
evict, evict, evictAll, flush, getByWhere, getByWhere, getListByWhere, getListByWhere, replicate, update
executeUpdate, executeUpdate, getById, getById, getByQuery, getByWhere, getByWhere, getCounts, getCounts, getJdbcDao, getJdbcTemplate, getList, getListByWhere, getListByWhere, getListForQuery, getListForQuery, getNewItem, getPageList, getPageList, getPageListForQuery, remove, removeById, removeByObject, save, saveOrUpdate, saveOrUpdateByObject, updateLabelByOldLabel
public UserInfo getUserByName(java.lang.String userName)
getUserByName
in interface UserInfoDao
public UserInfo getUserByStaffid(java.lang.String staffid)
getUserByStaffid
in interface UserInfoDao
public boolean verifyPass(java.lang.String username, java.lang.String pass)
verifyPass
in interface UserInfoDao
public java.util.List<Staff> getSubordinate(java.lang.String staffId, boolean isAll)
UserInfoDao
getSubordinate
in interface UserInfoDao
isAll
- as boolean //表示是否所有下级public Staff getStaffById(java.lang.String staffid)
getStaffById
in interface UserInfoDao
public boolean existUserName(java.lang.String username, java.lang.String uid)
UserInfoDao
existUserName
in interface UserInfoDao
username
- as Stringuid
- as Userinfo.idpublic int getUserCountByStatus(int status)
UserInfoDao
getUserCountByStatus
in interface UserInfoDao
public static int getPCUserCountByStatus(JdbcTemplate jdbcTemp, int status)
public static java.util.List<java.lang.String> getPCUsersByStatus(JdbcTemplate jdbcTemp, int status, int rows)
public int getCountByStatusAndMobile(int status, int mobileLogin)
UserInfoDao
getCountByStatusAndMobile
in interface UserInfoDao
status
- as intmobileLogin
- as intpublic static int getMobileCountByStatusAndMobile(JdbcTemplate jdbcTemp, int status)
public static java.util.List<java.lang.String> getMobileUsersByStatusAndMobile(JdbcTemplate jdbcTemp, int status, int rows)
Copyright © 2019 by Sucang.cn