leoone8322 преди 2 месеца
родител
ревизия
e72a812ae2
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      src/main/resources/mybatis/mapper/douyin/DouyinSalesMapper.xml

+ 1 - 1
src/main/resources/mybatis/mapper/douyin/DouyinSalesMapper.xml

@@ -62,7 +62,7 @@
                left join jlife_nurse.sys_city e on a.city_id = e.id
                left join jlife_nurse.jz_mall_aftersale af on a.id = af.order_id and af.`status` = 3 and af.`deleted` = 0
                left join jlife_nurse.jz_shop shop on a.poi_id = shop.poi_id and ifnull(shop.poi_id, '') != '' and shop.`deleted` = 0
-               left join crm_dy_talent_base_info sa on d.commission_user_douyinid = sa.talent_id
+               left join crm_dy_talent_base_info sa on d.commission_id = sa.id
                left join jlife_nurse.jz_dm_refund_type re on af.type = re.id
                left join jlife_nurse.jz_dm_channel ch on a.order_channel = ch.id
                left join jlife_worker.fra_franchisee fra on a.fra_id = fra.id and a.order_channel=5 and a.fra_id!=10418