|
|
|
@ -2,7 +2,9 @@ package com.glxp.api.service.auth.impl;
|
|
|
|
|
|
|
|
|
|
import cn.hutool.core.collection.CollUtil;
|
|
|
|
|
import com.github.pagehelper.PageHelper;
|
|
|
|
|
import com.glxp.api.dao.auth.DeptDao;
|
|
|
|
|
import com.glxp.api.dao.auth.DeptUserDao;
|
|
|
|
|
import com.glxp.api.entity.auth.DeptEntity;
|
|
|
|
|
import com.glxp.api.entity.auth.DeptUserEntity;
|
|
|
|
|
import com.glxp.api.req.auth.FilterDeptUserReqeust;
|
|
|
|
|
import com.glxp.api.res.auth.DeptUserResponse;
|
|
|
|
@ -19,6 +21,9 @@ public class DeptUserServiceImpl implements DeptUserService {
|
|
|
|
|
|
|
|
|
|
@Resource
|
|
|
|
|
DeptUserDao deptUserDao;
|
|
|
|
|
@Resource
|
|
|
|
|
DeptDao deptDao;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Override
|
|
|
|
@ -37,6 +42,11 @@ public class DeptUserServiceImpl implements DeptUserService {
|
|
|
|
|
return deptUserDao.selectJoinDeptUser(filterDeptUserReqeust);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@Override
|
|
|
|
|
public List<DeptEntity> getDeptById(List<Integer> ids) {
|
|
|
|
|
return deptDao.getDeptById(ids);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@Override
|
|
|
|
|
public List<DeptUserResponse> selectJoinDeptUser(FilterDeptUserReqeust filterDeptUserReqeust) {
|
|
|
|
|
if (filterDeptUserReqeust.getPage() != null) {
|
|
|
|
|