|
|
@ -17,6 +17,7 @@ |
|
|
|
package cn.escheduler.dao; |
|
|
|
package cn.escheduler.dao; |
|
|
|
|
|
|
|
|
|
|
|
import cn.escheduler.common.Constants; |
|
|
|
import cn.escheduler.common.Constants; |
|
|
|
|
|
|
|
import cn.escheduler.common.utils.DateUtils; |
|
|
|
import cn.escheduler.dao.model.TaskRecord; |
|
|
|
import cn.escheduler.dao.model.TaskRecord; |
|
|
|
import org.apache.commons.configuration.Configuration; |
|
|
|
import org.apache.commons.configuration.Configuration; |
|
|
|
import org.apache.commons.configuration.ConfigurationException; |
|
|
|
import org.apache.commons.configuration.ConfigurationException; |
|
|
@ -201,8 +202,8 @@ public class TaskRecordDao { |
|
|
|
taskRecord.setProcId(resultSet.getInt("PROC_ID")); |
|
|
|
taskRecord.setProcId(resultSet.getInt("PROC_ID")); |
|
|
|
taskRecord.setProcName(resultSet.getString("PROC_NAME")); |
|
|
|
taskRecord.setProcName(resultSet.getString("PROC_NAME")); |
|
|
|
taskRecord.setProcDate(resultSet.getString("PROC_DATE")); |
|
|
|
taskRecord.setProcDate(resultSet.getString("PROC_DATE")); |
|
|
|
taskRecord.setStartDate(resultSet.getDate("STARTDATE")); |
|
|
|
taskRecord.setStartTime(DateUtils.stringToDate(resultSet.getString("STARTDATE"))); |
|
|
|
taskRecord.setEndDate(resultSet.getDate("ENDDATE")); |
|
|
|
taskRecord.setEndTime(DateUtils.stringToDate(resultSet.getString("ENDDATE"))); |
|
|
|
taskRecord.setResult(resultSet.getString("RESULT")); |
|
|
|
taskRecord.setResult(resultSet.getString("RESULT")); |
|
|
|
taskRecord.setDuration(resultSet.getInt("DURATION")); |
|
|
|
taskRecord.setDuration(resultSet.getInt("DURATION")); |
|
|
|
taskRecord.setNote(resultSet.getString("NOTE")); |
|
|
|
taskRecord.setNote(resultSet.getString("NOTE")); |
|
|
|