调试修改爬虫
This commit is contained in:
@@ -99,6 +99,20 @@
|
||||
</trim>
|
||||
</insert>
|
||||
|
||||
<!-- updateLog -->
|
||||
|
||||
<update id="updateLog">
|
||||
UPDATE tb_crontab_log
|
||||
SET
|
||||
<if test="log.executeStatus != null">execute_status = #{log.executeStatus},</if>
|
||||
<if test="log.executeMessage != null">execute_message = #{log.executeMessage},</if>
|
||||
<if test="log.exceptionInfo != null">exception_info = #{log.exceptionInfo},</if>
|
||||
<if test="log.endTime != null">end_time = #{log.endTime},</if>
|
||||
<if test="log.executeDuration != null">execute_duration = #{log.executeDuration},</if>
|
||||
update_time = NOW()
|
||||
WHERE id = #{log.ID} AND deleted = 0
|
||||
</update>
|
||||
|
||||
<!-- 根据ID查询日志 -->
|
||||
<select id="selectLogById" resultMap="BaseResultMap">
|
||||
SELECT
|
||||
|
||||
Reference in New Issue
Block a user