master
tianxinlei 2026-06-01 11:00:16 +08:00
parent 858306e9a1
commit 2f8b4b4df5
1 changed files with 0 additions and 9 deletions

View File

@ -52,15 +52,6 @@ public class TaskListQueryExe {
*/
public PageResponse<TaskListCO> listPage(TaskListPageQry qry) {
if (qry.getExecuteCorpId() == null) {
SSOUser ssoUser = AuthContext.getCurrentUser();
if (ssoUser == null) {
throw new BizException("请先未登录");
}
// 获取当前登录用户所属公司ID
qry.setExecuteCorpId(ssoUser.getTenantId());
}
Map<String, Object> params = PageQueryHelper.toHashMap(qry);
PageResponse<TaskListDO> pageResponse = taskListRepository.listPage(params);
List<TaskListCO> coList = taskListCoConvertor.converDOsToCOs(pageResponse.getData());