Ver Fonte

过滤了重复数据

jinshihui há 1 semana atrás
pai
commit
472f899b67

+ 1 - 1
nightFragrance-massage/src/main/resources/mapper/massage/CouponReceiveMapper.xml

@@ -27,7 +27,7 @@
     </resultMap>
 
     <sql id="selectCouponReceiveVo">
-        a.id, a.receive_open_id, a.coupon_id, b.coupon_name,a.coupon_type,a.validity_type,a.valid_start_time,a.expiration_time,a.coupon_status,b.market_price,a.create_time, a.update_time, a.is_delete,
+        distinct a.id, a.receive_open_id, a.coupon_id, b.coupon_name,a.coupon_type,a.validity_type,a.valid_start_time,a.expiration_time,a.coupon_status,b.market_price,a.create_time, a.update_time, a.is_delete,
   b.rule_min_spend_amount,b.rule_discount_rate,b.rule_discount_cap_amount,b.rule_reduction_amount,b.country,b.country_all,b.locality,b.related_type,b.related_id,b.related_name
     </sql>