Commit 09de76ba authored by hongguangwu's avatar hongguangwu

合同优化

parent af064acd
...@@ -75,6 +75,9 @@ ...@@ -75,6 +75,9 @@
<result property="applyNo" column="APPLY_NO"/> <result property="applyNo" column="APPLY_NO"/>
<result property="auditStatus" column="AUDIT_STATUS"/> <result property="auditStatus" column="AUDIT_STATUS"/>
<result property="deleteFlag" column="DELETE_FLAG"/> <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> </resultMap>
<sql id="Base_Column_List"> <sql id="Base_Column_List">
a.ID, a.ID,
...@@ -127,7 +130,11 @@ ...@@ -127,7 +130,11 @@
a.DEPT_NO, a.DEPT_NO,
a.AUDIT_STATUS, a.AUDIT_STATUS,
a.APPLY_NO, a.APPLY_NO,
a.DELETE_FLAG a.DELETE_FLAG,
a.EMP_NATRUE,
a.CONTRACT_PARTY,
a.CONTRACT_SUB_NAME
</sql> </sql>
<sql id="tEmployeeContractInfo_where"> <sql id="tEmployeeContractInfo_where">
<if test="tEmployeeContractInfo != null"> <if test="tEmployeeContractInfo != null">
...@@ -284,7 +291,16 @@ ...@@ -284,7 +291,16 @@
<if test="tEmployeeContractInfo.auditStatus != null"> <if test="tEmployeeContractInfo.auditStatus != null">
AND a.AUDIT_STATUS = #{tEmployeeContractInfo.auditStatus} AND a.AUDIT_STATUS = #{tEmployeeContractInfo.auditStatus}
</if> </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> </if>
</sql> </sql>
<!--tEmployeeContractInfo简单分页查询--> <!--tEmployeeContractInfo简单分页查询-->
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment