insert into bns_smz_own_job_record(
work_id,
job_time,
job_unit,
job_name,
type,
crate_time,
update_time
)
values (
#{workerId},
#{gzTime},
#{gzUnit},
#{gzPosition},
#{type},
#{createTime},
NOW()
)
insert into bns_smz_own_education_record(
worker_id,
education_time,
education,
specialized_subject,
type,
crate_time,
update_time
)
values (
#{workerId},
#{jyTime},
#{jySchool},
#{jySpeciality},
#{type},
#{createTime},
NOW()
)
insert into bns_smz_own_worker_certificate(
worker_id,
name,
level,
acquisition_time,
file_path,
createTime,
type,
updateTime
)
values (
#{workerId},
#{zsName},
#{zsLevel},
#{giveTime},
#{filePath},
#{createTime},
'5',
NOW()
)
insert into bns_smz_own_family_record(
worker_id,
name,
relation,
job_unit,
phone,
type,
crate_time,
update_time
)
values (
#{workerId},
#{jtName},
#{jtRelation},
#{jtUnit},
#{jtPhone},
#{type},
#{createTime},
NOW()
)
update bns_smz_own_worker set
mail=#{mail},
zzmm=#{zzmm},
hyzk=#{hyzk},
nation=#{nation},
health=#{health},
lxdz=#{address},
is_sbk=#{sbCard},
is_ybk=#{ybCard},
hkxz=#{hkxz},
hkdz=#{hkdz},
signPath=#{signPath},
writeTime=#{writeTime},
update_time=NOW()
where id=#{workerId}
and is_active='1'