| | |
| | | import com.doumee.dao.system.model.SystemUser; |
| | | import com.doumee.dao.system.vo.SystemDepartmentListVO; |
| | | import com.doumee.dao.system.vo.SystemUserListVO; |
| | | import com.doumee.dao.system.vo.UserResponse; |
| | | import com.doumee.service.aware.DepartmentDataPermissionAware; |
| | | import com.doumee.service.system.SystemDepartmentService; |
| | | import com.doumee.service.system.SystemPositionService; |
| | |
| | | Wrapper<SystemUser> wrapper = new QueryWrapper<>(systemUser); |
| | | return systemUserMapper.selectList(wrapper); |
| | | } |
| | | |
| | | @Override |
| | | public List<UserResponse> getUserList(Integer bookingsId) { |
| | | return systemUserMapper.getUserList(new QueryWrapper<UserResponse>() |
| | | .exists(" select 1 from meeting_user_rel u where u.USER_ID = c.id and u.ISDELETED = 0 and u.OBJ_ID = "+bookingsId+" and u.OBJ_TYPE = 1 ") |
| | | ); |
| | | } |
| | | |
| | | @Override |
| | | public PageData<SystemUserListVO> findPage(PageWrap<QuerySystemUserDTO> pageWrap) { |
| | |
| | | .or().like(SystemUser::getRealname,pageWrap.getUsername()) |
| | | ); |
| | | queryWrapper.orderByDesc(SystemUser::getCreateTime); |
| | | |
| | | |
| | | |
| | | List<SystemUser> result = systemUserJoinMapper.selectJoinList( SystemUser.class, queryWrapper); |
| | | |