张延森 hace 5 años
padre
commit
d1f3001d22
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1
    1
      src/main/resources/mapper/TaPersonMapper.xml

+ 1
- 1
src/main/resources/mapper/TaPersonMapper.xml Ver fichero

@@ -565,7 +565,7 @@ FROM
565 565
     <select id="judgeBindStatusByCondition" resultType="java.lang.Integer">
566 566
         select count(1) from ta_user a
567 567
         LEFT JOIN ta_person b on a.user_id = b.user_id
568
-        where a.org_id = #{orgId} and b.user_id = #{userId} and a.phone = #{phone} and a.is_consultant = '1'
568
+        where a.org_id = #{orgId} and b.user_id = #{userId} and a.phone = #{phone}
569 569
     </select>
570 570
 
571 571
     <select id="selectDriftCustomerPageList" resultType="com.huiju.estateagents.entity.TaPerson">