|
@@ -812,7 +812,7 @@ FROM
|
812
|
812
|
<select id="getCustomersIRecommended" resultType="com.huiju.estateagents.entity.TaRecommendCustomer">
|
813
|
813
|
select a.*,b.avatarurl from ta_recommend_customer a left join ta_person b on a.person_id = b.person_id
|
814
|
814
|
where a.recommend_person = #{customerId}
|
815
|
|
- and a.status = #{status}
|
|
815
|
+ and a.status >= #{status}
|
816
|
816
|
and a.org_id = #{orgId}
|
817
|
817
|
<if test="personBuildingList != null and personBuildingList.size > 0">
|
818
|
818
|
AND a.building_id in
|