fix:项目任务达成统计新增工位和学科多选筛选 & 文件每日操作统计新增项目号筛选
This commit is contained in:
@@ -84,4 +84,18 @@ public class SimulationTaskFeignClientImpl implements ISimulationTaskFeignClient
|
||||
return SdmResponse.failed("内部调用根据学科获取所有的任务失败");
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public SdmResponse<List<String>> getUuidsByTag1s(String tag1s) {
|
||||
try {
|
||||
SdmResponse<List<String>> response = simulationTaskFeignClient.getUuidsByTag1s(tag1s);
|
||||
if(!response.isSuccess() || ObjectUtils.isEmpty(response.getData())){
|
||||
return SdmResponse.failed("内部调用根据tag1获取任务uuid列表失败");
|
||||
}
|
||||
return response;
|
||||
} catch (Exception e) {
|
||||
log.error("内部调用根据tag1获取任务uuid列表失败", e);
|
||||
return SdmResponse.failed("内部调用根据tag1获取任务uuid列表失败");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -47,4 +47,12 @@ public interface ISimulationTaskFeignClient {
|
||||
*/
|
||||
@PostMapping("/task/getAllTasksByDiscipline")
|
||||
SdmResponse<Map<String, List<String>>> getAllTasksByDiscipline(@RequestBody GetAllTasksByDisciplineReq req);
|
||||
|
||||
/**
|
||||
* 根据tag1列表获取对应的任务uuid列表
|
||||
* @param tag1s tag1列表(逗号分隔)
|
||||
* @return 任务uuid列表
|
||||
*/
|
||||
@GetMapping("/task/getUuidsByTag1s")
|
||||
SdmResponse<List<String>> getUuidsByTag1s(@RequestParam(value = "tag1s") String tag1s);
|
||||
}
|
||||
@@ -100,5 +100,7 @@ public class SysLogDTO {
|
||||
private String businessId;
|
||||
// 文件id
|
||||
private Long fileId;
|
||||
// 项目uuid列表(逗号分隔),用于筛选指定项目下的文件下载和预览次数
|
||||
private String tag1;
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user