|
|
@@ -263,47 +263,6 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<select id="selectMetaEmployeetClueReporting" parameterType="MetaEmployeeDiy" resultMap="MetaEmployeeDiyResult">
|
|
|
<include refid="selectMetaEmployeeDiyVo"/>
|
|
|
<where>
|
|
|
- <if test="name != null and name != ''"> and name = #{name}</if>
|
|
|
- <if test="loginName != null and loginName != ''"> and login_name = #{loginName}</if>
|
|
|
- <if test="email != null and email != ''"> and email = #{email}</if>
|
|
|
- <if test="mobile != null and mobile != ''"> and mobile = #{mobile}</if>
|
|
|
- <if test="sapEmployeeId != null and sapEmployeeId != ''"> and sap_employee_id = #{sapEmployeeId}</if>
|
|
|
- <if test="sapCostCenterCode != null and sapCostCenterCode != ''"> and sap_cost_center_code = #{sapCostCenterCode}</if>
|
|
|
- <if test="sapCostCenter != null and sapCostCenter != ''"> and sap_cost_center = #{sapCostCenter}</if>
|
|
|
- <if test="sapCompanyCode != null and sapCompanyCode != ''"> and sap_company_code = #{sapCompanyCode}</if>
|
|
|
- <if test="status != null "> and status = #{status}</if>
|
|
|
- <if test="objid1 != null and objid1 != ''"> and objid_1 = #{objid1}</if>
|
|
|
- <if test="contract != null and contract != ''"> and contract = #{contract}</if>
|
|
|
- <if test="contractName != null and contractName != ''"> and contract_name = #{contractName}</if>
|
|
|
- <if test="contractBegin != null and contractBegin != ''"> and contract_begin = #{contractBegin}</if>
|
|
|
- <if test="duty != null and duty != ''"> and duty = #{duty}</if>
|
|
|
- <if test="dutyName != null and dutyName != ''"> and duty_name = #{dutyName}</if>
|
|
|
- <if test="org != null and org != ''"> and org = #{org}</if>
|
|
|
- <if test="orgName != null and orgName != ''"> and org_name = #{orgName}</if>
|
|
|
- <if test="employeePost != null and employeePost != ''"> and employee_post = #{employeePost}</if>
|
|
|
- <if test="employeePostName != null and employeePostName != ''"> and employee_post_name = #{employeePostName}</if>
|
|
|
- <if test="posty != null and posty != ''"> and posty = #{posty}</if>
|
|
|
- <if test="poste != null and poste != ''"> and poste = #{poste}</if>
|
|
|
- <if test="posnc != null and posnc != ''"> and posnc = #{posnc}</if>
|
|
|
- <if test="bossEmployeeId != null and bossEmployeeId != ''"> and boss_employee_id = #{bossEmployeeId}</if>
|
|
|
- <if test="bossName != null and bossName != ''"> and boss_name = #{bossName}</if>
|
|
|
- <if test="bossEmployeePost != null and bossEmployeePost != ''"> and boss_employee_post = #{bossEmployeePost}</if>
|
|
|
- <if test="sex != null and sex != ''"> and sex = #{sex}</if>
|
|
|
- <if test="stext1 != null and stext1 != ''"> and stext_1 = #{stext1}</if>
|
|
|
- <if test="objid2 != null and objid2 != ''"> and objid_2 = #{objid2}</if>
|
|
|
- <if test="stext2 != null and stext2 != ''"> and stext_2 = #{stext2}</if>
|
|
|
- <if test="objid3 != null and objid3 != ''"> and objid_3 = #{objid3}</if>
|
|
|
- <if test="stext3 != null and stext3 != ''"> and stext_3 = #{stext3}</if>
|
|
|
- <if test="objid4 != null and objid4 != ''"> and objid_4 = #{objid4}</if>
|
|
|
- <if test="stext4 != null and stext4 != ''"> and stext_4 = #{stext4}</if>
|
|
|
- <if test="objid5 != null and objid5 != ''"> and objid_5 = #{objid5}</if>
|
|
|
- <if test="stext5 != null and stext5 != ''"> and stext_5 = #{stext5}</if>
|
|
|
- <if test="objid6 != null and objid6 != ''"> and objid_6 = #{objid6}</if>
|
|
|
- <if test="stext6 != null and stext6 != ''"> and stext_6 = #{stext6}</if>
|
|
|
- <if test="dataversion != null and dataversion != ''"> and dataversion = #{dataversion}</if>
|
|
|
- <if test="etlCreatime != null "> and etl_creatime = #{etlCreatime}</if>
|
|
|
- <if test="lineId != null and lineId != ''"> and line_id = #{lineId}</if>
|
|
|
- <if test="packageId != null and packageId != ''"> and package_id = #{packageId}</if>
|
|
|
and business_unit not in
|
|
|
<foreach collection="businessUnitList" item="businessUnit" index="index" open="(" close=")" separator=",">
|
|
|
#{businessUnit}
|