批量文件上传

1、EB表调整为花名册
2、数据同步更新到人事档案-人员信息表
This commit is contained in:
dxfeng 2025-08-15 18:16:51 +08:00 committed by 李栋
parent 71bbde850b
commit 6e08229f5a
1 changed files with 20 additions and 1 deletions

View File

@ -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>