'提交代码'

dev-discount
= 3 years ago
parent 7239e578f6
commit 0680386600
  1. 2
      hai-service/src/main/java/com/hai/dao/HighCouponCodeMapperExt.java

@ -57,7 +57,7 @@ public interface HighCouponCodeMapperExt {
})
void insertList(@Param(value = "list") List<HighCouponCode> list);
@Select("select * from high_coupon_code where child_order_id = (SELECT b.id child_order_id FROM high_order a,high_child_order b where a.mem_discount_id = #{discountUserRelId} and a.id = b.order_id and b.goods_type = 1 and b.child_orde_status in (2,3,4))")
@Select("select * from high_coupon_code where child_order_id = (SELECT b.id child_order_id FROM high_order a,high_child_order b where a.mem_discount_id = #{discountUserRelId} and a.id = b.order_id and b.goods_type = 1 and b.child_orde_status in (2,3,4) GROUP BY a.mem_discount_id)")
@Results({
@Result(column="id", property="id", jdbcType= JdbcType.BIGINT, id=true),
@Result(column="coupon_id", property="couponId", jdbcType=JdbcType.BIGINT),

Loading…
Cancel
Save