这里根据“起始时间”查询请假统计(事假病假等),查询的结果不准确,是不是因为时间的格式,应该怎么改?select 请假人,单位,count(*) as 请假次数,sum(请假天数) as 请假天数 ,(select count(*) from 请假申请 a where 请假人=请假申请.请假人 and 审核结果='通过' and 起始时间>='${dateEditor0}' and 起始时间 <='${dateEditor1}' ${if(len(单位_c)=="",""," and 单位 like '%"+单位_c+"%'")}) as 通过次数,(select count(*) from 请假申请 a where 请假人=请假申请.请假人 and 审核结果='驳回' and 起始时间>='${dateEditor0}' and 起始时间 <='${dateEditor1}' ${if(len(单位_c)=="",""," and 单位 like '%"+单位_c+"%'")} ) as 驳回次数,(select sum(请假天数) from 请假申请 a where 请假人=请假申请.请假人 and 请假类型='事假' and 起始时间>='${dateEditor0}' and 起始时间 <='${dateEditor1}' ${if(len(单位_c)=="",""," and 单位 like '%"+单位_c+"%'")}) as 事假,(select sum(请假天数) from 请假申请 a where 请假人=请假申请.请假人 and 请假类型='病假' and 起始时间>='${dateEditor0}' and 起始时间 <='${dateEditor1}' ${if(len(单位_c)=="",""," and 单位 like '%"+单位_c+"%'")}) as 病假,(select sum(请假天数) from 请假申请 a where 请假人=请假申请.请假人 and 请假类型='婚假' and 起始时间>='${dateEditor0}' and 起始时间 <='${dateEditor1}' ${if(len(单位_c)=="",""," and 单位 like '%"+单位_c+"%'")}) as 婚假,(select sum(请假天数) from 请假申请 a where 请假人=请假申请.请假人 and 请假类型='产假' and 起始时间>='${dateEditor0}' and 起始时间 <='${dateEditor1}' ${if(len(单位_c)=="",""," and 单位 like '%"+单位_c+"%'")} ) as 产假,(select sum(请假天数) from 请假申请 a where 请假人=请假申请.请假人 and 请假类型='丧假' and 起始时间>='${dateEditor0}' and 起始时间 <='${dateEditor1}' ${if(len(单位_c)=="",""," and 单位 like '%"+单位_c+"%'")} ) as 丧假,(select sum(请假天数) from 请假申请 a where 请假人=请假申请.请假人 and 请假类型='会假' and 起始时间>='${dateEditor0}' and 起始时间 <='${dateEditor1}' ${if(len(单位_c)=="",""," and 单位 like '%"+单位_c+"%'")}) as 会假,(select sum(请假天数) from 请假申请 a where 请假人=请假申请.请假人 and 请假类型='其他' and 起始时间>='${dateEditor0}' and 起始时间 <='${dateEditor1}' ${if(len(单位_c)=="",""," and 单位 like '%"+单位_c+"%'")}) as 其他from 请假申请 where 起始时间>='${dateEditor0}' and 起始时间 <='${dateEditor1}' ${if(len(单位_c)=="",""," and 单位 like '%"+单位_c+"%'")}group by 请假人,单位