张延森 пре 5 година
родитељ
комит
d37020d632
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1
    1
      src/main/resources/mapper/TaRecommendCustomerMapper.xml

+ 1
- 1
src/main/resources/mapper/TaRecommendCustomerMapper.xml Прегледај датотеку

@@ -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 &gt;= #{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