generated from dxfeng/secondev-wugang-dxfeng
parent
71bbde850b
commit
6e08229f5a
|
|
@ -2,8 +2,27 @@
|
|||
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
||||
<mapper namespace="com.weaver.seconddev.entry.mapper.EntryManageMapper">
|
||||
|
||||
|
||||
<update id="updateFilesInfo">
|
||||
update ${param.e10_other_business}.${param.table_hr_cus} as c
|
||||
join ${param.e10_other_business}.hr_userinfo as b on c.id = b.form_data
|
||||
join ${param.e10_common}.uf_jcl_employee_information as a on b.user = a.id
|
||||
set c.sfzzpzfm = a.sfzzpzfm,
|
||||
c.sfzfmghm = a.sfzfmghm,
|
||||
c.hzzp = a.hzzp,
|
||||
c.zgxlbyzszp = a.zgxlbyzszp,
|
||||
c.xxzbs = a.xxzbs,
|
||||
c.czycbdz = a.czycbdz,
|
||||
c.yxkzm = a.yxkzm,
|
||||
c.tjbg = a.tjbg,
|
||||
c.jkz = a.jkz,
|
||||
c.sjdwlzzm = a.sjdwlzzm,
|
||||
c.qtfj = a.qtfj
|
||||
where a.id = #{employeeId}
|
||||
</update>
|
||||
|
||||
<select id="getEntryRecordIdByJobNum" resultType="java.lang.Long">
|
||||
select t1.id from ${param.e10_common}.uf_jcl_rzgl t1
|
||||
select t1.id from ${param.e10_common}.uf_jcl_employee_information t1
|
||||
where t1.tenant_key = #{param.tenantKey} and t1.delete_type = 0
|
||||
and t1.job_num = #{jobNum}
|
||||
</select>
|
||||
|
|
|
|||
Loading…
Reference in New Issue