审核表更新

Change-Id: I77c59281f85ca01175db68a22a68a09f868b68f4
diff --git a/src/main/resources/mapper/PromotionMapper.xml b/src/main/resources/mapper/PromotionMapper.xml
index 72ffd95..9808333 100644
--- a/src/main/resources/mapper/PromotionMapper.xml
+++ b/src/main/resources/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>