Commit 5ec19a55 authored by fangxinjiang's avatar fangxinjiang

基础档案新增字段及必填调整

parent 7b97eab7
......@@ -27,6 +27,7 @@
<id property="id" column="ID"/>
<result property="empId" column="EMP_ID"/>
<result property="empName" column="EMP_NAME"/>
<result property="empIdcard" column="EMP_IDCARD"/>
<result property="relationType" column="RELATION_TYPE"/>
<result property="address" column="ADDRESS"/>
<result property="tel" column="TEL"/>
......@@ -60,6 +61,9 @@
<if test="tEmpContactInfo.empName != null and tEmpContactInfo.empName.trim() != ''">
AND a.EMP_NAME = #{tEmpContactInfo.empName}
</if>
<if test="tEmpContactInfo.empIdcard != null and tEmpContactInfo.empIdcard.trim() != ''">
AND a.EMP_IDCARD = #{tEmpContactInfo.empIdcard}
</if>
<if test="tEmpContactInfo.relationType != null and tEmpContactInfo.relationType.trim() != ''">
AND a.RELATION_TYPE = #{tEmpContactInfo.relationType}
</if>
......
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