|
@@ -36,10 +36,10 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
AND invoke_target like concat('%', #{invokeTarget}, '%')
|
|
AND invoke_target like concat('%', #{invokeTarget}, '%')
|
|
</if>
|
|
</if>
|
|
<if test="params.beginTime != null and params.beginTime != ''"><!-- 开始时间检索 -->
|
|
<if test="params.beginTime != null and params.beginTime != ''"><!-- 开始时间检索 -->
|
|
- and date_format(create_time,'%y%m%d') >= date_format(#{params.beginTime},'%y%m%d')
|
|
|
|
|
|
+ and to_date(create_time,'YY-MM-DD') >= to_date(#{params.beginTime},'YY-MM-DD')
|
|
</if>
|
|
</if>
|
|
<if test="params.endTime != null and params.endTime != ''"><!-- 结束时间检索 -->
|
|
<if test="params.endTime != null and params.endTime != ''"><!-- 结束时间检索 -->
|
|
- and date_format(create_time,'%y%m%d') <= date_format(#{params.endTime},'%y%m%d')
|
|
|
|
|
|
+ and to_date(create_time,'YY-MM-DD') <= to_date(#{params.endTime},'YY-MM-DD')
|
|
</if>
|
|
</if>
|
|
</where>
|
|
</where>
|
|
</select>
|
|
</select>
|
|
@@ -86,7 +86,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
<if test="jobMessage != null and jobMessage != ''">#{jobMessage},</if>
|
|
<if test="jobMessage != null and jobMessage != ''">#{jobMessage},</if>
|
|
<if test="status != null and status != ''">#{status},</if>
|
|
<if test="status != null and status != ''">#{status},</if>
|
|
<if test="exceptionInfo != null and exceptionInfo != ''">#{exceptionInfo},</if>
|
|
<if test="exceptionInfo != null and exceptionInfo != ''">#{exceptionInfo},</if>
|
|
- sysdate()
|
|
|
|
|
|
+ now()
|
|
)
|
|
)
|
|
</insert>
|
|
</insert>
|
|
|
|
|