select id, czrk_id, id_card, user_name, sort, dept_id, province_id, province, city_id, city, region_id, region, town_id, town, village_id, village, now_in, create_by, create_time, update_by, update_time, status from czrk_jzdz
insert into czrk_jzdz
czrk_id,
id_card,
user_name,
sort,
dept_id,
province_id,
province,
city_id,
city,
region_id,
region,
town_id,
town,
village_id,
village,
now_in,
create_by,
update_by,
update_time,
status,
create_time
#{czrkId},
#{idCard},
#{userName},
#{sort},
#{deptId},
#{provinceId},
#{province},
#{cityId},
#{city},
#{regionId},
#{region},
#{townId},
#{town},
#{villageId},
#{village},
#{nowIn},
#{createBy},
#{updateBy},
#{updateTime},
#{status},
sysdate()
update czrk_jzdz
czrk_id = #{czrkId},
id_card = #{idCard},
user_name = #{userName},
sort = #{sort},
dept_id = #{deptId},
province_id = #{provinceId},
province = #{province},
city_id = #{cityId},
city = #{city},
region_id = #{regionId},
region = #{region},
town_id = #{townId},
town = #{town},
village_id = #{villageId},
village = #{village},
now_in = #{nowIn},
create_by = #{createBy},
create_time = #{createTime},
update_by = #{updateBy},
update_time = #{updateTime},
status = #{status},
where id = #{id}
delete from czrk_jzdz where id = #{id}
delete from czrk_jzdz where id in
#{id}