commit | edbf91ec1aadaadb9fcaa9ad3799ed139ca349f1 | [log] [tgz] |
---|---|---|
author | YelinCui <22301115@bjtu.edu.cn> | Sun Jun 08 23:56:51 2025 +0800 |
committer | YelinCui <22301115@bjtu.edu.cn> | Mon Jun 09 00:33:36 2025 +0800 |
tree | b0287263332aec8d6102ffeabda077a07c592a8c | |
parent | a08f5f00f31b42dc7877d03e5da420171936ab44 [diff] |
审核表更新 Change-Id: I77c59281f85ca01175db68a22a68a09f868b68f4
diff --git a/target/classes/mapper/PromotionMapper.xml b/target/classes/mapper/PromotionMapper.xml index 72ffd95..9808333 100644 --- a/target/classes/mapper/PromotionMapper.xml +++ b/target/classes/mapper/PromotionMapper.xml
@@ -10,5 +10,13 @@ #{name}, #{description}, #{startTime}, #{endTime}, #{discountPercentage}, #{applicableTorrentIds} ) </insert> + <update id="updateById" parameterType="com.example.myproject.entity.Promotion"> + update promotion + set is_deleted = #{isDeleted}, + update_time = #{updateTime} + where id = #{id} + </update> + + </mapper>