Преглед изворни кода

[营销分析][添加][卡营销列表]

release_toaliyun_real
luozukai пре 7 година
родитељ
комит
eb2376580f
1 измењених фајлова са 1 додато и 6 уклоњено
  1. +1
    -6
      mallinkService/src/main/resources/mapper/WxCouponMapper.xml

+ 1
- 6
mallinkService/src/main/resources/mapper/WxCouponMapper.xml Прегледај датотеку

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


<select id="findPressData" parameterType="com.iformall.domain.po.WxCoupon" resultMap="BaseResultMap"> <select id="findPressData" parameterType="com.iformall.domain.po.WxCoupon" resultMap="BaseResultMap">
select
c.`id`,c.`tenant_id`,c.`type`,c.`cover_img`,c.`title`,c.`sub_title`,c.sale_price/100,c.`use_price`,c.`use_limit_quantity`,c.`send_type`,
c.`valid_type`,c.`valid_start_date`,c.`valid_end_date`,c.`valid_days`,c.`detail`,c.price/100,c.`unit`,c.`remain_inventory`,c.`inventory`,
c.`remark`,c.`status`,c.`create_date`,c.`update_date`,c.`business`,c.`support_transfer`,c.`subsidy_num`,c.`subsidy_type`,
c.`press_limit_num`, c.`press_limit_hours`, c.`auto_refund`

select c.*
,(select count(wop.id) from wx_coupon wc ,(select count(wop.id) from wx_coupon wc
left join wx_order wo on wo.product_id = wc.id left join wx_order wo on wo.product_id = wc.id
left join wx_order_press wop on wop.order_id = wo.id left join wx_order_press wop on wop.order_id = wo.id


Loading…
Откажи
Сачувај