Sfoglia il codice sorgente

[首页统计][修改][修改出租信息]

release_toaliyun_real
luozukai 7 anni fa
parent
commit
8ee8560480
1 ha cambiato i file con 6 aggiunte e 1 eliminazioni
  1. +6
    -1
      mallinkService/src/main/resources/mapper/WxCouponMapper.xml

+ 6
- 1
mallinkService/src/main/resources/mapper/WxCouponMapper.xml Vedi File

@@ -765,7 +765,12 @@
</select>

<select id="findCouponByTopic" parameterType="com.iformall.domain.po.WxTopic" resultType="com.iformall.domain.po.WxCoupon">
select wc.*,ct.id as couponId from wx_coupon_channel ct left join
select ct.id as id,wc.id as couponId
wc.tenant_id,wc.`type`,wc.`cover_img`,wc.`title`,wc.`sub_title`,wc.`sale_price`,wc.`use_price`,wc.`use_limit_quantity`,wc.`send_type`,
wc.`valid_type`,wc.`valid_start_date`,wc.`valid_end_date`,wc.`valid_days`,wc.`detail`,wc.`price`,wc.`unit`,wc.`remain_inventory`,wc.`inventory`,
wc.`remark`,wc.`status`,wc.`create_date`,wc.`update_date`,wc.`business`,wc.`sub_business`,wc.`support_transfer`,wc.`subsidy_num`,wc.`subsidy_type`,
wc.`press_limit_num`, wc.`press_limit_hours`, wc.`auto_refund`,wc.`credit_price`,wc.`credit_refund`
,wc.title as couponName,wc.`cover_img` as couponPic,wc.id as couponId from wx_coupon_channel ct left join
wx_coupon wc on wc.id = ct.coupon_id
where ct.`sub_target_id` = #{id}
</select>


Caricamento…
Annulla
Salva