zhangfufeng 2 hónapja
szülő
commit
d4d511c60f

+ 1 - 1
src/main/resources/mybatis/mapper/jz/JzbmLeadMapper.xml

@@ -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 &lt;=now() - interval  1 year ))
+    and (state in (1,2,6)  or (state =4 and create_time >=now() - interval  3 month ))
     </select>
 </mapper>