From ffab76344576bdd096fbe1b0c9fb31bd110c41ca Mon Sep 17 00:00:00 2001
From: yz <yz_0812@outlook.com>
Date: 星期二, 09 三月 2021 01:05:50 +0800
Subject: [PATCH] 修改bug

---
 febs-server/febs-server-hr/src/main/java/cc/mrbird/febs/server/hr/mapper/EmpBaseInfoMapper.xml |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/febs-server/febs-server-hr/src/main/java/cc/mrbird/febs/server/hr/mapper/EmpBaseInfoMapper.xml b/febs-server/febs-server-hr/src/main/java/cc/mrbird/febs/server/hr/mapper/EmpBaseInfoMapper.xml
index 958b05e..8e7c98f 100644
--- a/febs-server/febs-server-hr/src/main/java/cc/mrbird/febs/server/hr/mapper/EmpBaseInfoMapper.xml
+++ b/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&gt;=${manOld},1,null))+count( if(t.sex is not null and t.age !=0 and t.sex=2 and t.age&gt;=${womanOld},1,null)) clyg
         FROM
             t_emp_baseinfo t where 1=1 and t.delFlag=0 and t.empStatus = 0

--
Gitblit v1.8.0