‘linchangsheng’ 7 月之前
父节点
当前提交
7c5a5a1e50
共有 1 个文件被更改,包括 4 次插入4 次删除
  1. 4 4
      mall-server-api/src/main/resources/mapper/workorder/IncreMapper.xml

+ 4 - 4
mall-server-api/src/main/resources/mapper/workorder/IncreMapper.xml

@@ -33,15 +33,15 @@
         c.id as orderSmallId,
         d.name as categoryName,
         d.category_id,
-        e.dict_value as order_source,
-        e.dict_code as order_source_id
+        e.dict_value as saleTypeName,
+        e.dict_code as saleTypeId
         FROM
         region a
-        join order_small_type c and
+        join order_small_type c on
         a.city_name IN ( '广州市', '清远市', '韶关市', '佛山市', '肇庆市', '云浮市' )
         AND a.`level` = 4
         <if test="adminCompanyIds != null and adminCompanyIds.size > 0">
-            AND b.company_wechat_id IN
+            AND c.company_wechat_id IN
             <foreach item="item" index="index" collection="adminCompanyIds" open="(" separator="," close=")">
                 #{item}
             </foreach>