| | |
| | | import com.doumee.dao.system.dto.QuerySystemUserDTO; |
| | | import com.doumee.dao.system.model.SystemUser; |
| | | import com.doumee.dao.system.vo.SystemUserListVO; |
| | | import com.doumee.dao.system.vo.UserResponse; |
| | | import com.github.yulichang.base.MPJBaseMapper; |
| | | import org.apache.ibatis.annotations.Param; |
| | | import org.apache.ibatis.annotations.Select; |
| | | |
| | |
| | | /** |
| | | * @author T14 |
| | | */ |
| | | public interface SystemUserMapper extends BaseMapper<SystemUser> { |
| | | public interface SystemUserMapper extends MPJBaseMapper<SystemUser> { |
| | | |
| | | /** |
| | | * 查询用户列表 |
| | |
| | | List<SystemUserListVO> selectManageList(@Param("dto") QuerySystemUserDTO dto, @Param("orderByClause") String orderByClause); |
| | | |
| | | |
| | | void insertBatchSomeColumn(List<SystemUser> userList); |
| | | |
| | | |
| | | |
| | | @Select(" select c.id , c.type , c.REALNAME as realName , c.userName as userName , c.avatar ," + |
| | | " c.wechat_name as wechatName , c.mobile , c.sex , c.birthday , c.avatar , d.COMPANY_NAME_PATH as departmentName " + |
| | | " from system_user c " + |
| | | " INNER JOIN company d on c.COMPANY_ID = d.id " + |
| | | " LEFT JOIN member m on c.member_id = m.id " + |
| | | " ${ew.customSqlSegment} ") |
| | | IPage<UserResponse> getUserPage(IPage<UserResponse> page, @Param(Constants.WRAPPER) Wrapper wrapper); |
| | | |
| | | @Select(" select c.id , c.type , c.REALNAME as realName , c.userName as userName , c.avatar ," + |
| | | " c.wechat_name as wechatName , c.mobile , c.sex , c.birthday , c.avatar , d.COMPANY_NAME_PATH as departmentName " + |
| | | " from system_user c " + |
| | | " INNER JOIN company d on c.COMPANY_ID = d.id " + |
| | | " ${ew.customSqlSegment} ") |
| | | List<UserResponse> getUserList(@Param(Constants.WRAPPER) Wrapper wrapper); |
| | | |
| | | |
| | | @Select(" select c.id , c.type , c.REALNAME as realName , c.userName as userName , c.avatar ," + |
| | | " c.wechat_name as wechatName , c.mobile , c.sex , c.birthday , c.avatar , d.COMPANY_NAME_PATH as departmentName " + |
| | | " from system_user c " + |
| | | " INNER JOIN company d on c.COMPANY_ID = d.id " + |
| | | " where c.id = #{id} ") |
| | | UserResponse getUserInfo(@Param("id") Integer id); |
| | | } |