浏览代码

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>