|
|
|
@ -26,6 +26,7 @@ |
|
|
|
retry_interval AS retryInterval, |
|
|
|
next_retry_time AS nextRetryTime, |
|
|
|
last_retry_time AS lastRetryTime, |
|
|
|
warehouse_id AS warehouseId, |
|
|
|
created_by AS createdBy, |
|
|
|
created_date AS createdDate |
|
|
|
FROM api_log |
|
|
|
@ -54,6 +55,9 @@ |
|
|
|
<if test="needRetryFlag != null"> |
|
|
|
AND need_retry_flag = #{needRetryFlag} |
|
|
|
</if> |
|
|
|
<if test="warehouseId != null and warehouseId.trim() != ''"> |
|
|
|
AND warehouse_id = #{warehouseId} |
|
|
|
</if> |
|
|
|
<if test="startDate != null and startDate.trim() != ''"> |
|
|
|
AND CONVERT(varchar(10), created_date, 23) >= #{startDate} |
|
|
|
</if> |
|
|
|
@ -97,6 +101,9 @@ |
|
|
|
<if test="needRetryFlag != null"> |
|
|
|
AND need_retry_flag = #{needRetryFlag} |
|
|
|
</if> |
|
|
|
<if test="warehouseId != null and warehouseId.trim() != ''"> |
|
|
|
AND warehouse_id = #{warehouseId} |
|
|
|
</if> |
|
|
|
<if test="startDate != null and startDate.trim() != ''"> |
|
|
|
AND CONVERT(varchar(10), created_date, 23) >= #{startDate} |
|
|
|
</if> |
|
|
|
|