febs-server/febs-server-hr/src/main/java/cc/mrbird/febs/server/hr/mapper/EmpBaseInfoMapper.xml
@@ -47,8 +47,8 @@ <select id="countBaseInfoList" resultType="java.util.Map"> SELECT count(1) zzyg, count(IF(t.empType = '1', 1, NULL)) zsyg, count(IF(t.empType = '2', 1, NULL)) lsyg, count(IF(t.empType = '01', 1, NULL)) zsyg, count(IF(t.empType = '02', 1, NULL)) lsyg, count( if(t.sex is not null and t.age !=0 and t.sex=1 and t.age>=${manOld},1,null))+count( if(t.sex is not null and t.age !=0 and t.sex=2 and t.age>=${womanOld},1,null)) clyg FROM t_emp_baseinfo t where 1=1 and t.delFlag=0 and t.empStatus = 0