Commit e5df24b8 by guominglei

修改参数类型

parent 2c111f40
......@@ -44,7 +44,6 @@ import static com.alibaba.fastjson.serializer.SerializerFeature.WriteClassName;
@Transactional(rollbackFor = Exception.class)
public class ApiFlowServiceImpl implements ApiFlowService {
private final static SimpleDateFormat sdf = new SimpleDateFormat("yyyyMMdd");
private final static SimpleDateFormat dateTimeFormat = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
@Resource
private FlowMapper flowMapper;
......@@ -668,9 +667,7 @@ public class ApiFlowServiceImpl implements ApiFlowService {
if(StringUtils.isNotEmpty(executeStatus)){
executeStatusList = Arrays.asList(executeStatus.split(","));
}
Date startDate = new Date(startTime);
Date endDate = new Date(endTime);
List<RunRecording> runRecordList = runRecordingMapper.findByStartAndEndTime(startDate, endDate, flowIds, scheduleStatusList, executeStatusList);
List<RunRecording> runRecordList = runRecordingMapper.findByStartAndEndTime(new Date(startTime), new Date(endTime), flowIds, scheduleStatusList, executeStatusList);
return runRecordList;
}
......
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