public interface IPeopleDao
extends net.mingsoft.base.dao.IBaseDao
| 限定符和类型 | 方法和说明 |
|---|---|
void |
deletePeoples(int[] peopleIds)
根据用户id集合批量删除用户
|
PeopleEntity |
getByPeople(PeopleEntity people,
int appId)
根据用户信息查询对应用户
|
int |
getCount(Integer appId,
Map where)
查找总数
|
int |
getCountByAppIdAndMap(int appId,
Map whereMap)
根据应用id和其他查询条件查询用户总数
|
PeopleEntity |
getEntityByCode(String userName,
String peopleCode,
int appId)
根据用户的验证码和用户名(:手机号,邮箱,用户名称都可作为用户名登录)
|
PeopleEntity |
getEntityByMailOrPhone(String userName,
int appId)
根据用户用户名查询用户实体
|
PeopleEntity |
getEntityByUserName(String userName,
int appId)
根据用户用户名查询用户实体
|
List<PeopleEntity> |
query(int appId,
Map where)
用户查询
|
List<PeopleEntity> |
queryByAppIdAndMap(int appId,
Map whereMap)
根据应用id和其他查询条件查询用户列表信息
|
int |
queryCountByAppId(int appId)
根据应用ID查询用户总数
|
List<PeopleEntity> |
queryPageListByAppId(int appId)
根据AppId查询用户列表并进行分页
|
PeopleEntity getEntityByUserName(@Param(value="userName") String userName, @Param(value="appId") int appId)
userName - 用户名(注:手机号,邮箱,用户名称都可作为用户名登录)appId - 应用IdPeopleEntity getEntityByMailOrPhone(@Param(value="userName") String userName, @Param(value="appId") int appId)
userName - 用户名(注:手机号,邮箱)appId - 应用IdPeopleEntity getByPeople(@Param(value="people") PeopleEntity people, @Param(value="appId") int appId)
people - 用户信息appId - 应用idList<PeopleEntity> queryPageListByAppId(@Param(value="appId") int appId)
appId - 应用Idpage - 分页int queryCountByAppId(@Param(value="appId")
int appId)
appId - 应用IDPeopleEntity getEntityByCode(@Param(value="userName") String userName, @Param(value="peopleCode") String peopleCode, @Param(value="appId") int appId)
userName - peopleCode - appId - int getCount(@Param(value="appId")
Integer appId,
@Param(value="where")
Map where)
appId - :应用idwhere - :查询条件void deletePeoples(@Param(value="peopleIds")
int[] peopleIds)
peopleIds - 用户id集合List<PeopleEntity> queryByAppIdAndMap(@Param(value="appId") int appId, @Param(value="whereMap") Map whereMap)
appId - 应用idwhereMap - 其他查询条件 key:字段属性名 value:字段属性值int getCountByAppIdAndMap(@Param(value="appId")
int appId,
@Param(value="whereMap")
Map whereMap)
appId - 应用idwhereMap - 其他查询条件 key:字段属性名 value:字段属性值List<PeopleEntity> query(@Param(value="appId") int appId, @Param(value="where") Map where)
appId - 应用编号where - 查询条件Copyright © 2019. All rights reserved.