From 8e524f6e570fca66f670a8072edefc6ca2d4e2f9 Mon Sep 17 00:00:00 2001 From: 44323 <443237572@qq.com> Date: 星期三, 01 十一月 2023 08:55:02 +0800 Subject: [PATCH] Merge branch 'master' of http://120.76.84.145:10101/gitblit/r/java/PlayPai --- cloud-server-activity/src/main/resources/mapper/UserPointsMerchandiseMapper.xml | 16 ++++++++++++++++ 1 files changed, 16 insertions(+), 0 deletions(-) diff --git a/cloud-server-activity/src/main/resources/mapper/UserPointsMerchandiseMapper.xml b/cloud-server-activity/src/main/resources/mapper/UserPointsMerchandiseMapper.xml index fff3a7b..5db81fc 100644 --- a/cloud-server-activity/src/main/resources/mapper/UserPointsMerchandiseMapper.xml +++ b/cloud-server-activity/src/main/resources/mapper/UserPointsMerchandiseMapper.xml @@ -1,6 +1,22 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> <mapper namespace="com.dsh.activity.mapper.UserPointsMerchandiseMapper"> + <update id="changeState"> + update t_benefits_videos set + state = #{state} + <where> + <if test="ids != null and ids.size()>0"> + AND t_benefits_videos.id IN + <foreach collection="ids" separator="," item="id" open="(" close=")"> + #{id} + </foreach> + </if> + </where> + + + + + </update> <select id="getAmount" resultType="com.dsh.activity.model.PointMerchandiseIncomeVo"> -- Gitblit v1.7.1