insert into third_part_info(cremation_certificate,
cremation_time,
user_name,
id_card,
age,
gender,
nation,
township,
village_group,
home_phone,
is_deposit,
is_cold_storage,
cause_of_death,
is_hmbz,
sjgm,
jzdx,
remarks,
is_local_account,
status,
create_by,
update_by,
is_del,
province_id,
province,
city_id,
city,
region_id,
region,
village_towns_id,
village_towns,
village_id,
village,
is_local,source,create_time,update_time)
values
(#{thirdPartInfo.cremationCertificate},
#{thirdPartInfo.cremationTime},
#{thirdPartInfo.userName},
#{thirdPartInfo.idCard},
#{thirdPartInfo.age},
#{thirdPartInfo.gender},
#{thirdPartInfo.nation},
#{thirdPartInfo.township},
#{thirdPartInfo.villageGroup},
#{thirdPartInfo.homePhone},
#{thirdPartInfo.isDeposit},
#{thirdPartInfo.isColdStorage},
#{thirdPartInfo.causeOfDeath},
#{thirdPartInfo.isHmbz},
#{thirdPartInfo.sjgm},
#{thirdPartInfo.jzdx},
#{thirdPartInfo.remarks},
#{thirdPartInfo.isLocalAccount},
#{thirdPartInfo.status},
#{thirdPartInfo.createBy},
#{thirdPartInfo.updateBy},
#{thirdPartInfo.isDel},
#{thirdPartInfo.provinceId},
#{thirdPartInfo.province},
#{thirdPartInfo.cityId},
#{thirdPartInfo.city},
#{thirdPartInfo.regionId},
#{thirdPartInfo.region},
#{thirdPartInfo.villageTownsId},
#{thirdPartInfo.villageTowns},
#{thirdPartInfo.villageId},
#{thirdPartInfo.village},
#{thirdPartInfo.isLocal},
#{thirdPartInfo.source},
sysdate(),sysdate())
update third_part_info set is_del='Y' where id_card = #{idCard}