weichaochao hace 5 años
padre
commit
790a191b31
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1
    1
      src/main/resources/mapper/TaRecommendCustomerMapper.xml

+ 1
- 1
src/main/resources/mapper/TaRecommendCustomerMapper.xml Ver fichero

@@ -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