Prechádzať zdrojové kódy

客户新表关联修改

qin 1 rok pred
rodič
commit
4a226242ff

+ 2 - 2
src/main/resources/mapper/statistics/OrderMapper.xml

@@ -111,8 +111,8 @@
             c.now_street_id as nowStreetId,
             c.now_street_name as nowStreetName,
             c.customer_sign_id as customerSignId,
-            cs.customer_type_id as customerTypeId,
-            cs.customer_type as customerType,
+            CONCAT_WS(',',cs.customer_type_id) as customerTypeId,
+            CONCAT_WS(',',cs.customer_type) as customerType,
             c.age as age,
             c.sex as sex,
             if(sum(IF( d.settlement = 1, 1, 0 ) )>0,1,0) as category