From 640ff18d2d7f4be02ddb7f8f75e899f05545eb98 Mon Sep 17 00:00:00 2001 From: puzhibing <393733352@qq.com> Date: 星期一, 05 二月 2024 11:56:52 +0800 Subject: [PATCH] 更新bug修改 --- cloud-server-activity/src/main/resources/mapper/UserPointsMerchandiseMapper.xml | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/cloud-server-activity/src/main/resources/mapper/UserPointsMerchandiseMapper.xml b/cloud-server-activity/src/main/resources/mapper/UserPointsMerchandiseMapper.xml index 6c653cc..bf457a0 100644 --- a/cloud-server-activity/src/main/resources/mapper/UserPointsMerchandiseMapper.xml +++ b/cloud-server-activity/src/main/resources/mapper/UserPointsMerchandiseMapper.xml @@ -2,11 +2,11 @@ <!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 + update t_user_points_merchandise set state = #{state} <where> <if test="ids != null and ids.size()>0"> - AND t_benefits_videos.id IN + AND t_user_points_merchandise.id IN <foreach collection="ids" separator="," item="id" open="(" close=")"> #{id} </foreach> @@ -18,7 +18,7 @@ <select id="getAmount" resultType="com.dsh.activity.model.PointMerchandiseIncomeVo"> - select t1.*,t2.cash from t_user_points_merchandise t1 + select t1.insertTime,t2.cash from t_user_points_merchandise t1 left join t_points_merchandise t2 on t1.pointsMerchandiseId = t2.id where t1.payStatus =2 </select> -- Gitblit v1.7.1