This commit is contained in:
马三炮 2025-04-29 10:33:22 +08:00
parent 46f3a7fdbf
commit 7f7c163e79
1 changed files with 2 additions and 3 deletions

View File

@ -52,10 +52,9 @@ public class TbProjectServiceImpl implements TbProjectService {
@Override
public ServerResponse getTbProjectList(TbProjectVo data) {
try {
Long deptId = UserUtil.getLoginUser().getDept();
List<Long> deptIds = tbProjectMapper.getDataAuthByDeptId(deptId);
List<Long> deptIds = UserUtil.getLoginUser().getDeparts();
//List<Long> deptIds = tbProjectMapper.getDataAuthByDeptId(deptId);
data.setDeptIds(deptIds);
PageHelper.startPage(data.getPageNum(), data.getPageSize());
//获取工程列表
List<TbProjectVo> tbProjectVoList = tbProjectMapper.getTbProjectList(data);