cloud-server-activity/src/main/resources/mapper/UserPointsMerchandiseMapper.xml
@@ -18,7 +18,7 @@ <select id="getAmount" resultType="com.dsh.activity.model.PointMerchandiseIncomeVo"> select COALESCE(t1.paymentTime, t1.insertTime) as insertTime, t1.cash from t_user_points_merchandise t1 select COALESCE(t1.paymentTime, t1.insertTime) as insertTime, t1.cash, t1.userCouponId from t_user_points_merchandise t1 left join t_points_merchandise t2 on t1.pointsMerchandiseId = t2.id where t1.payStatus = 2 and (t1.state is null or t1.state = 1)