From cecaeae91b7d68eb6ef6897445b73acbcea3aa4f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=A9=AC=E4=B8=89=E7=82=AE?= <15856818120@163.com> Date: Mon, 23 Jun 2025 14:29:39 +0800 Subject: [PATCH] =?UTF-8?q?=E9=9A=8F=E6=89=8B=E6=8B=8D=E4=BF=AE=E6=94=B9bu?= =?UTF-8?q?g=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/java/com/bonus/app/mapper/AppSnapshotMapper.java | 2 ++ .../src/main/resources/mapper/snapshot/AppSnapshotMapper.xml | 3 +++ 2 files changed, 5 insertions(+) diff --git a/bonus-modules/bonus-app/src/main/java/com/bonus/app/mapper/AppSnapshotMapper.java b/bonus-modules/bonus-app/src/main/java/com/bonus/app/mapper/AppSnapshotMapper.java index f140f15..9eb0feb 100644 --- a/bonus-modules/bonus-app/src/main/java/com/bonus/app/mapper/AppSnapshotMapper.java +++ b/bonus-modules/bonus-app/src/main/java/com/bonus/app/mapper/AppSnapshotMapper.java @@ -53,4 +53,6 @@ public interface AppSnapshotMapper { int addSnapshotPhoto(@Param("list") List list,@Param("dto") SnapshotBean dto); int updateSnapshotForm(@Param("bean") SnapshotBean dto,@Param("userInfo") SnapshotBean userInfo); + + void delSnapshotPhoto(SnapshotBean dto); } diff --git a/bonus-modules/bonus-app/src/main/resources/mapper/snapshot/AppSnapshotMapper.xml b/bonus-modules/bonus-app/src/main/resources/mapper/snapshot/AppSnapshotMapper.xml index cdc243e..c29a0e8 100644 --- a/bonus-modules/bonus-app/src/main/resources/mapper/snapshot/AppSnapshotMapper.xml +++ b/bonus-modules/bonus-app/src/main/resources/mapper/snapshot/AppSnapshotMapper.xml @@ -31,6 +31,9 @@ description = #{bean.description} where id = #{bean.snapshotId} + + update st_file set is_active = '0' where st_id = #{snapshotId} +