| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051 |
- package cn.com.goldenwater.dcproj.dao;
- import cn.com.goldenwater.core.persistence.CrudDao;
- import cn.com.goldenwater.dcproj.dto.UserDto;
- import cn.com.goldenwater.dcproj.model.User;
- import cn.com.goldenwater.dcproj.param.UserParam;
- import org.springframework.stereotype.Repository;
- import java.util.List;
- @Repository
- public interface UserDao extends CrudDao<User, UserParam> {
- public User getByLoginName(String loginName);
- public User getByMobile(String userMobile);
- /**
- * 根据用户ID查询用户(级联:机构、角色、岗位) lhc 2018-02-23
- *
- * @param id
- * @return
- */
- public UserDto getCascade(String id);
- /**
- * 分页获取用户列表
- * @param userParam
- * @return
- */
- public List<UserDto> findPageDto(UserParam userParam);
- /**
- * 查询符合条件的数量
- * @param userParam
- * @return
- */
- public Long findPageInfoListCount(UserParam userParam);
- /**
- * 分页获取用户列表
- * @param userParam
- * @return
- */
- public List<UserDto> findPageInfoList(UserParam userParam);
- }
|