Commit 0116df3f authored by 罗林杰's avatar 罗林杰

修改定时任务缓存

parent 08012f74
...@@ -43,10 +43,10 @@ public class SysScheduledTaskLog extends CyIdNotDataEntity<SysScheduledTaskLog> ...@@ -43,10 +43,10 @@ public class SysScheduledTaskLog extends CyIdNotDataEntity<SysScheduledTaskLog>
* @default * @default
*/ */
@JsonFormat( @JsonFormat(
pattern = "yyyy-MM-dd HH-mm-ss" pattern = "yyyy-MM-dd HH:mm:ss"
) )
@Excel(name = "创建时间", orderNum = "2", width = 20, format = "yyyy-MM-dd HH-mm-ss") @Excel(name = "创建时间", orderNum = "2", width = 20, format = "yyyy-MM-dd HH:mm:ss")
@DateTimeFormat(pattern = "yyyy-MM-dd HH-mm-ss") @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
private Date createDate; private Date createDate;
/** /**
......
...@@ -19,10 +19,10 @@ ...@@ -19,10 +19,10 @@
and task_name like concat('%',#{entity.taskName},'%') and task_name like concat('%',#{entity.taskName},'%')
</if> </if>
<if test="entity.beginTime !=null and entity.beginTime != '' "> <if test="entity.beginTime !=null and entity.beginTime != '' ">
and task_time &gt;= #{entity.beginTime} and create_date &gt;= #{entity.beginTime}
</if> </if>
<if test="entity.endTime !=null and entity.endTime != '' "> <if test="entity.endTime !=null and entity.endTime != '' ">
and task_time &lt;= #{entity.endTime} and create_date &lt;= #{entity.endTime}
</if> </if>
<if test="entity.taskState !=null and entity.taskState != '' "> <if test="entity.taskState !=null and entity.taskState != '' ">
and task_state like concat('%',#{entity.taskState},'%') and task_state like concat('%',#{entity.taskState},'%')
......
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