傅行帆 5 vuotta sitten
vanhempi
commit
192289e0b4
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1
    1
      src/main/resources/mapper/TaBuildingMapper.xml

+ 1
- 1
src/main/resources/mapper/TaBuildingMapper.xml Näytä tiedosto

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