张延森 5 年之前
父節點
當前提交
d37020d632
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1
    1
      src/main/resources/mapper/TaRecommendCustomerMapper.xml

+ 1
- 1
src/main/resources/mapper/TaRecommendCustomerMapper.xml 查看文件

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