Ver Fonte

增加字段

yumeng há 3 anos atrás
pai
commit
a7cfd4f9d8

+ 4 - 0
ruixuan-live/src/main/resources/mapper/isc/SupplyChainMapper.xml

@@ -33,6 +33,7 @@
         from
         (select item_id as 'itemId',
         item_title as 'itemTitle',
+        image_url  as 'imageUrl',
         count(oid) as 'orderNum'
         from kuaishou_supply_chain
         where promoter_id = #{promoterId}
@@ -50,6 +51,7 @@
         from (select
         item_title as 'itemTitle',
         item_id as 'itemId',
+        image_url 'imageUrl',
         count(oid) as 'orderNum',
         sum(case when order_status != 80 then 1 else 0 end) as 'validOrderNUm',
         sum(case when order_status != 80 then pay_amount else 0 end) as 'payAmount',
@@ -101,6 +103,7 @@
         select
         item_id as 'itemId',
         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'
         from kuaishou_supply_chain
@@ -174,6 +177,7 @@
         select
         item_id as 'itemId',
         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',
         sum(case when order_status = 80 then 1 else 0 end) as 'invalidOrderNUm',