随手拍修改bug修复

This commit is contained in:
马三炮 2025-06-23 14:29:39 +08:00
parent b1596c6b81
commit cecaeae91b
2 changed files with 5 additions and 0 deletions

View File

@ -53,4 +53,6 @@ public interface AppSnapshotMapper {
int addSnapshotPhoto(@Param("list") List<SysFileInfo> list,@Param("dto") SnapshotBean dto); int addSnapshotPhoto(@Param("list") List<SysFileInfo> list,@Param("dto") SnapshotBean dto);
int updateSnapshotForm(@Param("bean") SnapshotBean dto,@Param("userInfo") SnapshotBean userInfo); int updateSnapshotForm(@Param("bean") SnapshotBean dto,@Param("userInfo") SnapshotBean userInfo);
void delSnapshotPhoto(SnapshotBean dto);
} }

View File

@ -31,6 +31,9 @@
description = #{bean.description} description = #{bean.description}
where id = #{bean.snapshotId} where id = #{bean.snapshotId}
</update> </update>
<delete id="delSnapshotPhoto">
update st_file set is_active = '0' where st_id = #{snapshotId}
</delete>
<select id="getSnapshotList" resultType="com.bonus.common.safetycheck.SnapshotBean"> <select id="getSnapshotList" resultType="com.bonus.common.safetycheck.SnapshotBean">
select select