cup 3 жил өмнө
parent
commit
301a76ae48

+ 1 - 1
mp-service/src/main/resources/mapper/user/UserHitPrizeMapper.xml

@@ -30,7 +30,7 @@
                  LEFT JOIN sys_user su ON muhp.user_id = su.user_id
         WHERE muhp.prize_id != ''
         AND muhp.user_id != #{userId}
-        AND ((mtap.prize_type = 'coin' AND mtap.quantity >= 100) OR mtap.prize_type='goods')
+        AND ((mtap.prize_type = 'coin' AND mtap.value >= 100) OR mtap.prize_type='goods')
         ORDER BY muhp.created_time DESC
         LIMIT 20
     </select>