소스 검색

Merge branch 'dev' of http://git.ycjcjy.com/zhiyuxing/estateagents into dev

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

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

@@ -432,7 +432,7 @@
432 432
                     b.STATUS > 0
433 433
                     AND b.org_id = #{orgId}
434 434
                     AND IFNULL( b.person_type, '' ) IN ( 'estate agent', 'customer' )
435
-                    AND b.person_id NOT IN ( SELECT c.person_id FROM ta_recommend_customer c WHERE c.org_id = 84 AND person_id IS NOT NULL AND person_id != '' )
435
+                    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 != '' )
436 436
                     <if test="startDate != null">
437 437
                         and  TO_DAYS(b.create_date) >= TO_DAYS(#{startDate})
438 438
                     </if>