Browse Source

[修改][首页列表缓存][优化代码]

release_toaliyun_real
luozukai 6 years ago
parent
commit
74276228a4
1 changed files with 5 additions and 1 deletions
  1. +5
    -1
      mallinkService/src/main/resources/mapper/WxMerchantMapper.xml

+ 5
- 1
mallinkService/src/main/resources/mapper/WxMerchantMapper.xml View File

@@ -480,7 +480,11 @@
left join wx_coupon co on(o.`coupon_id`=co.id) left join wx_coupon co on(o.`coupon_id`=co.id)
left join wx_coupon_merchant cm on(cm.product_id=co.id) left join wx_coupon_merchant cm on(cm.product_id=co.id)
inner join wx_c_user_basic_info c on(o.c_user_id=c.id) inner join wx_c_user_basic_info c on(o.c_user_id=c.id)
where o.coupon_order_status=1 and o.tenant_id=#{tenantId} order by o.create_date desc
where o.coupon_order_status=1 and o.tenant_id=#{tenantId}
<if test=" null != id ">
and co.`id` = #{id}
</if>
order by o.create_date desc
</select> </select>






Loading…
Cancel
Save