From 09de76bad39a22c6afb72c5851bf63c73d952c4c Mon Sep 17 00:00:00 2001 From: hongguangwu <3004403350@qq.com> Date: Fri, 1 Jul 2022 14:38:54 +0800 Subject: [PATCH] =?UTF-8?q?=E5=90=88=E5=90=8C=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../mapper/TEmployeeContractInfoMapper.xml | 20 +++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) diff --git a/yifu-archives/yifu-archives-biz/src/main/resources/mapper/TEmployeeContractInfoMapper.xml b/yifu-archives/yifu-archives-biz/src/main/resources/mapper/TEmployeeContractInfoMapper.xml index bfc6f65d4..9ef114bc1 100644 --- a/yifu-archives/yifu-archives-biz/src/main/resources/mapper/TEmployeeContractInfoMapper.xml +++ b/yifu-archives/yifu-archives-biz/src/main/resources/mapper/TEmployeeContractInfoMapper.xml @@ -75,6 +75,9 @@ <result property="applyNo" column="APPLY_NO"/> <result property="auditStatus" column="AUDIT_STATUS"/> <result property="deleteFlag" column="DELETE_FLAG"/> + <result property="empNatrue" column="EMP_NATRUE"/> + <result property="contractParty" column="CONTRACT_PARTY"/> + <result property="contractSubName" column="CONTRACT_SUB_NAME"/> </resultMap> <sql id="Base_Column_List"> a.ID, @@ -127,7 +130,11 @@ a.DEPT_NO, a.AUDIT_STATUS, a.APPLY_NO, - a.DELETE_FLAG + a.DELETE_FLAG, + a.EMP_NATRUE, + a.CONTRACT_PARTY, + a.CONTRACT_SUB_NAME + </sql> <sql id="tEmployeeContractInfo_where"> <if test="tEmployeeContractInfo != null"> @@ -284,7 +291,16 @@ <if test="tEmployeeContractInfo.auditStatus != null"> AND a.AUDIT_STATUS = #{tEmployeeContractInfo.auditStatus} </if> - + <if test="tEmployeeContractInfo.empNatrue != null and tEmployeeContractInfo.empNatrue.trim() != ''"> + AND a.EMP_NATRUE = #{tEmployeeContractInfo.empNatrue} + </if> + <if test="tEmployeeContractInfo.contractParty != null and tEmployeeContractInfo.contractParty.trim() != ''"> + AND a.CONTRACT_PARTY = #{tEmployeeContractInfo.contractParty} + </if> + <if test="tEmployeeContractInfo.contractSubName != null and tEmployeeContractInfo.contractSubName.trim() != ''"> + AND a.CONTRACT_SUB_NAME = #{tEmployeeContractInfo.contractSubName} + </if> + </if> </sql> <!--tEmployeeContractInfo简å•åˆ†é¡µæŸ¥è¯¢--> -- 2.18.1