安全证书查询bug修改

This commit is contained in:
liang.chao 2024-12-27 16:16:43 +08:00
parent 7cc2b1410c
commit f72c6fc29d
1 changed files with 2 additions and 2 deletions

View File

@ -8,7 +8,7 @@
values(#{code},#{maId},#{uploadPerson},now(),#{uploadCom})
</insert>
<update id="updateTime">
update safe_book set update_time = now() where ma_id = #{maId}
update safe_book set create_time = now() where ma_id = #{maId}
</update>
<delete id="delSafeBook">
@ -37,7 +37,7 @@
<if test="startTime != null and startTime != '' and endTime != null and endTime != ''">
AND sb.create_time BETWEEN CONCAT(#{startTime}, ' 00:00:00') AND CONCAT(#{endTime}, ' 23:59:59')
</if>
order by sb.update_time desc
order by sb.create_time desc
</select>
<select id="selectTaskNumByMonth" resultType="java.lang.String">