|
|
@ -272,8 +272,8 @@ public class TaskRecordDao { |
|
|
|
* @return |
|
|
|
* @return |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
public static TaskRecordStatus getTaskRecordState(String procName,String procDate){ |
|
|
|
public static TaskRecordStatus getTaskRecordState(String procName,String procDate){ |
|
|
|
String sql = String.format("SELECT * FROM eamp_hive_log_hd WHERE PROC_NAME='%s' and PROC_DATE='%s'" |
|
|
|
String sql = String.format("SELECT * FROM eamp_hive_log_hd WHERE PROC_NAME='%s' and PROC_DATE like '%s'" |
|
|
|
,procName,procDate); |
|
|
|
,procName,procDate + "%"); |
|
|
|
List<TaskRecord> taskRecordList = getQueryResult(sql); |
|
|
|
List<TaskRecord> taskRecordList = getQueryResult(sql); |
|
|
|
|
|
|
|
|
|
|
|
// contains no record and sql exception
|
|
|
|
// contains no record and sql exception
|
|
|
@ -297,5 +297,4 @@ public class TaskRecordDao { |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|