weichaochao 5 년 전
부모
커밋
790a191b31
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1
    1
      src/main/resources/mapper/TaRecommendCustomerMapper.xml

+ 1
- 1
src/main/resources/mapper/TaRecommendCustomerMapper.xml 파일 보기

116
         c.building_name as intentionName
116
         c.building_name as intentionName
117
         FROM
117
         FROM
118
         ta_recommend_customer a
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
         LEFT JOIN ta_building c ON a.building_id = c.building_id
120
         LEFT JOIN ta_building c ON a.building_id = c.building_id
121
         <where>
121
         <where>
122
             a.status > 0
122
             a.status > 0