Pārlūkot izejas kodu

解决订单查询问题

wanxl 1 gadu atpakaļ
vecāks
revīzija
2222b26690
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      src/main/resources/mapper/order/OrderMapper.xml

+ 1 - 1
src/main/resources/mapper/order/OrderMapper.xml

@@ -89,7 +89,7 @@
         apr.discount_amount as activityDiscountAmount, ai.title activityTitle,tiu.rider_station_id as riderStationId,
         (select rs.station_name from rider_station rs where  rs.id =tiu.rider_station_id ) as stationName,
         (select st.shop_type_name from shop_type st where  st.id =gs.shop_type_id ) as shopTypeName,
-        (case when tcu.shop_id =0 then '平台' else gs2.shop_name end) couponTypeRemark,
+        (case when tcu.shop_id =0 then '平台' else gs2.shop_name end) couponTypeRemark
         from tb_order tor
         left join tb_user tu on tor.user_id = tu.user_id
         left join goods_shop gs on tor.shop_id = gs.shop_id