魏超 5 лет назад
Родитель
Сommit
315842280a
1 измененных файлов: 1 добавлений и 1 удалений
  1. 1
    1
      src/main/resources/mapper/TaRecommendCustomerMapper.xml

+ 1
- 1
src/main/resources/mapper/TaRecommendCustomerMapper.xml Просмотреть файл

@@ -230,7 +230,7 @@ FROM
230 230
             b.status > 0
231 231
             and b.org_id = #{orgId}
232 232
             AND IFNULL(b.person_type, '') in ('estate agent', 'customer')
233
-            AND b.person_id not IN ( SELECT c.person_id FROM ta_recommend_customer c WHERE c.org_id = #{orgId} AND person_id is not null AND person_id = ''  )
233
+            AND b.person_id not IN ( SELECT c.person_id FROM ta_recommend_customer c WHERE c.org_id = #{orgId} AND person_id is not null AND person_id != ''  )
234 234
             <if test="name != null and name !=''">
235 235
                 and b.nickname like CONCAT('%',#{name}, '%')
236 236
             </if>