weichaochao преди 5 години
родител
ревизия
790a191b31
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1
    1
      src/main/resources/mapper/TaRecommendCustomerMapper.xml

+ 1
- 1
src/main/resources/mapper/TaRecommendCustomerMapper.xml Целия файл

@@ -116,7 +116,7 @@ FROM
116 116
         c.building_name as intentionName
117 117
         FROM
118 118
         ta_recommend_customer a
119
-        LEFT JOIN ta_person b ON a.realty_consultant = b.person_id
119
+        LEFT JOIN ta_person b ON (a.realty_consultant = b.person_id or a.realty_consultant = b.user_id)
120 120
         LEFT JOIN ta_building c ON a.building_id = c.building_id
121 121
         <where>
122 122
             a.status > 0