Explorar el Código

[拼团][修改][查询]

release_toaliyun_real
gongbiao hace 7 años
padre
commit
e49ba80c81
Se han modificado 1 ficheros con 3 adiciones y 1 borrados
  1. +3
    -1
      mallinkService/src/main/resources/mapper/WxOrderGroupMapper.xml

+ 3
- 1
mallinkService/src/main/resources/mapper/WxOrderGroupMapper.xml Ver fichero

@@ -69,11 +69,13 @@
select o.id orderId,o.order_status orderStatus,o.order_group_id orderGroupId,c.title,c.sub_title subTitle, select o.id orderId,o.order_status orderStatus,o.order_group_id orderGroupId,c.title,c.sub_title subTitle,
c.sale_price salePrice,c.cover_img coverImg,g.remain_people remainPeople,c.id couponId,g.expired_date c.sale_price salePrice,c.cover_img coverImg,g.remain_people remainPeople,c.id couponId,g.expired_date
expiredDate,g.status,g.user_id firstUser,u.nick_name nickName,u.avatar_url avatarUrl,o.tenant_id tenantId
expiredDate,g.status,g.user_id firstUser,u.nick_name nickName,u.avatar_url avatarUrl,o.tenant_id tenantId,
cc.id couponChannelId
from wx_order o from wx_order o
left join wx_coupon c on o.product_id=c.id left join wx_coupon c on o.product_id=c.id
left join wx_order_group g on o.order_group_id=g.id left join wx_order_group g on o.order_group_id=g.id
left join wx_c_user u on o.c_user_id=u.id left join wx_c_user u on o.c_user_id=u.id
left join wx_coupon_channel cc on c.id=cc.coupon_id
where o.tenant_id=#{tenantId} where o.tenant_id=#{tenantId}
<if test=" null != cUserId "> <if test=" null != cUserId ">
and o.c_user_id=#{cUserId} and o.c_user_id=#{cUserId}


Cargando…
Cancelar
Guardar