夏文涛 1 год назад
Родитель
Сommit
0551cab6d2
1 измененных файлов с 1 добавлено и 0 удалено
  1. 1 0
      src/main/resources/mapper/order/OrderMapper.xml

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

@@ -92,6 +92,7 @@
         tiu.user_name as riderNickName,tiu.phone as riderPhone,ti.indent_id as indentId,ti.is_rider as isRider,
         ti.rider_user_id as riderUserId, tcu.money as couponMoney,
         apr.discount_amount as activityDiscountAmount, ai.title activityTitle,tiu.rider_station_id as riderStationId,
+        (select station_name from rider_station where 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) as couponTypeRemark,
         pd.trade_no as transactionId