Mysql中substring 处理日期的时候 是从 1开始的而不是 从0开始的。。

 
  
  1. SELECT * FROM crm_company_user c where 1=1 and SUBSTRING(personBirth,6,10)>='03-31' and  SUBSTRING(personBirth,6,10)<='04-10'