yumeng 1 year ago
parent
commit
bb043d8db0
1 changed files with 2 additions and 3 deletions
  1. 2 3
      ruixuan-live/src/main/resources/mapper/isc/SupplyChainMapper.xml

+ 2 - 3
ruixuan-live/src/main/resources/mapper/isc/SupplyChainMapper.xml

@@ -273,9 +273,8 @@
         %H:%i:%s')
         ) t1
         left join
-        (select item_id as 'itemId',
+        (select item_id as 'orderItemId',
         reserve_price as 'reservePrice',
-        item_title as 'itemTitle',
         image_url as 'imageUrl',
         count(oid) as 'orderNum',
         sum(case when order_status != 80 then 1 else 0 end) as 'validOrderNUm',
@@ -295,7 +294,7 @@
         item_commission_rate as 'itemCommissionRate'
         from kuaishou_supply_chain
         where stat_date >= #{start}
-        group by item_id) t2 on t1.itemId = t2.itemId
+        group by item_id) t2 on t1.itemId = t2.orderItemId
         left join kuaishou_activity_open_item_list t3
         on t1.itemId = t3.item_id
         left join kuaishou_item_list t4