巡查功能的bug修改。(在修改时,删除图片、视频等数据时,并不会在数据库删除)

This commit is contained in:
Renpc-kilig 2021-10-22 17:14:52 +08:00
parent 9bdbed5175
commit b0eb55eaa0
3 changed files with 57 additions and 0 deletions

View File

@ -120,6 +120,25 @@
<if test="remake != null and remake != ''">
remake = #{remake},
</if>
<if test="patrolTime == null or patrolTime == ''">
patrol_time = '',
</if>
<if test="patrolContent == null or patrolContent == ''">
patrol_content = '',
</if>
<if test="patrolResult == null or patrolResult == ''">
patrol_result = '',
</if>
<if test="patrolPhoto == null or patrolPhoto == ''">
patrol_photo = '',
</if>
<if test="patrolVideo == null or patrolVideo == ''">
patrol_video = '',
</if>
<if test="remake == null or remake == ''">
remake = '',
</if>
gmt_modified = #{gmtModified},
modifier = #{modifier},
homicide_patrol_id = homicide_patrol_id

View File

@ -120,6 +120,25 @@
<if test="remake != null and remake != ''">
remake = #{remake},
</if>
<if test="patrolTime == null or patrolTime == ''">
patrol_time = '',
</if>
<if test="patrolContent == null or patrolContent == ''">
patrol_content = '',
</if>
<if test="patrolResult == null or patrolResult == ''">
patrol_result = '',
</if>
<if test="patrolPhoto == null or patrolPhoto == ''">
patrol_photo = '',
</if>
<if test="patrolVideo == null or patrolVideo == ''">
patrol_video = '',
</if>
<if test="remake == null or remake == ''">
remake = '',
</if>
gmt_modified = #{gmtModified},
modifier = #{modifier},
key_area_check_renovation_patrol_id = key_area_check_renovation_patrol_id

View File

@ -120,6 +120,25 @@
<if test="remake != null and remake != ''">
remake = #{remake},
</if>
<if test="patrolTime == null or patrolTime == ''">
patrol_time = '',
</if>
<if test="patrolContent == null or patrolContent == ''">
patrol_content = '',
</if>
<if test="patrolResult == null or patrolResult == ''">
patrol_result = '',
</if>
<if test="patrolPhoto == null or patrolPhoto == ''">
patrol_photo = '',
</if>
<if test="patrolVideo == null or patrolVideo == ''">
patrol_video = '',
</if>
<if test="remake == null or remake == ''">
remake = '',
</if>
gmt_modified = #{gmtModified},
modifier = #{modifier},
logistics_safe_patrol_id = logistics_safe_patrol_id