Commit 2c111f40 by guominglei

修改参数类型

parent 51563f3a
...@@ -668,8 +668,8 @@ public class ApiFlowServiceImpl implements ApiFlowService { ...@@ -668,8 +668,8 @@ public class ApiFlowServiceImpl implements ApiFlowService {
if(StringUtils.isNotEmpty(executeStatus)){ if(StringUtils.isNotEmpty(executeStatus)){
executeStatusList = Arrays.asList(executeStatus.split(",")); executeStatusList = Arrays.asList(executeStatus.split(","));
} }
String startDate = dateTimeFormat.format(new Date(startTime)); Date startDate = new Date(startTime);
String endDate = dateTimeFormat.format(new Date(endTime)); Date endDate = new Date(endTime);
List<RunRecording> runRecordList = runRecordingMapper.findByStartAndEndTime(startDate, endDate, flowIds, scheduleStatusList, executeStatusList); List<RunRecording> runRecordList = runRecordingMapper.findByStartAndEndTime(startDate, endDate, flowIds, scheduleStatusList, executeStatusList);
return runRecordList; return runRecordList;
......
...@@ -139,8 +139,8 @@ public interface RunRecordingMapper { ...@@ -139,8 +139,8 @@ public interface RunRecordingMapper {
*/ */
List<RunRecording> findUnFinishByRunId(String runId); List<RunRecording> findUnFinishByRunId(String runId);
List<RunRecording> findByStartAndEndTime(@Param("startDate")String startDate, List<RunRecording> findByStartAndEndTime(@Param("startDate")Date startDate,
@Param("endDate")String endDate, @Param("endDate")Date endDate,
@Param("flowIds")List<Integer> flowIds, @Param("flowIds")List<Integer> flowIds,
@Param("scheduleStatusList")List<String> scheduleStatusList, @Param("scheduleStatusList")List<String> scheduleStatusList,
@Param("executeStatusList")List<String> executeStatusList); @Param("executeStatusList")List<String> executeStatusList);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment