|
@@ -326,6 +326,6 @@
|
|
|
<select id="selectByCustomerTelAndServiceModel" resultType="int">
|
|
|
select count(1) from jlife_nurse.jzbm_lead where customer_tel = #{customerTel,jdbcType=VARCHAR}
|
|
|
and service_city = #{serviceCity,jdbcType=INTEGER}
|
|
|
- and (state in (1,2,6) or (state =4 and create_time <=now() - interval 1 year ))
|
|
|
+ and (state in (1,2,6) or (state =4 and create_time >=now() - interval 3 month ))
|
|
|
</select>
|
|
|
</mapper>
|