|
|
@@ -149,16 +149,12 @@ public class CoreMonitoringRetrievalTaskServiceImpl extends ServiceImpl<CoreMoni
|
|
|
@Override
|
|
|
public TableDataInfo selectListApp(CoreMonitoringTaskRegistrationDTO coreMonitoringTaskRegistrationDTO) {
|
|
|
LoginUser loginUser = SecurityUtils.getLoginUser();
|
|
|
+ coreMonitoringTaskRegistrationDTO.setRetrievalUser(SecurityUtils.getUserId());
|
|
|
if (null == coreMonitoringTaskRegistrationDTO.getOrgId()) {
|
|
|
coreMonitoringTaskRegistrationDTO.setOrgId(loginUser.getOrgId());
|
|
|
}
|
|
|
Page<AppCoreMonitoringRetrievalTaskVO> coreMonitoringRetrievalTaskPage = baseMapper.selectListApp(coreMonitoringTaskRegistrationDTO.getPageRequest(), coreMonitoringTaskRegistrationDTO);
|
|
|
- TableDataInfo<AppCoreMonitoringRetrievalTaskVO> tableDataInfo = new TableDataInfo();
|
|
|
- tableDataInfo.setMsg("操作成功");
|
|
|
- tableDataInfo.setCode(200);
|
|
|
- tableDataInfo.setTotal(coreMonitoringRetrievalTaskPage.getTotal());
|
|
|
- tableDataInfo.setRows(coreMonitoringRetrievalTaskPage.getRecords());
|
|
|
- return tableDataInfo;
|
|
|
+ return TableDataInfo.build(coreMonitoringRetrievalTaskPage);
|
|
|
}
|
|
|
|
|
|
|
|
|
@@ -175,7 +171,6 @@ public class CoreMonitoringRetrievalTaskServiceImpl extends ServiceImpl<CoreMoni
|
|
|
|
|
|
@Override
|
|
|
public List<CoreMonitoringRetrievalTask> selectComplete(Long planId) {
|
|
|
-
|
|
|
return coreMonitoringRetrievalTaskMapper.selectCompleteByPlanId(planId);
|
|
|
}
|
|
|
|