select id, user_name, gender, age, birthday,dept_id, id_card, phone_num, code, house_type, rlr, rl_time, yhzgx
, work_unit, province_id, province, city_id, city, region_id, region, village_towns_id, village_towns
, village_id, village, villager_group_id, villager_group, now_in, remark,grid_id, status,is_confirm,confirm_info_user,confirm_info_user_time, create_by, create_time
, update_by, update_time, is_del, delete_reason, dept_id, is_rl, key_industries from czrk
insert into czrk
user_name,
gender,
age,
birthday,
dept_id,
id_card,
phone_num,
code,
key_Industries,
house_type,
rlr,
is_rl,
rl_time,
yhzgx,
work_unit,
province_id,
province,
city_id,
city,
region_id,
region,
village_towns_id,
village_towns,
village_id,
village,
villager_group_id,
villager_group,
now_in,
remark,
grid_id,
status,
is_confirm,
confirm_info_user,
confirm_info_user_time,
create_by,
update_by,
is_del,
delete_reason,
create_time, update_time
#{userName},
#{gender},
#{age},
#{birthday},
#{deptId},
#{idCard},
#{phoneNum},
#{code},
#{keyIndustries},
#{houseType},
#{rlr},
#{isRl},
#{rlTime},
#{yhzgx},
#{workUnit},
#{provinceId},
#{province},
#{cityId},
#{city},
#{regionId},
#{region},
#{villageTownsId},
#{villageTowns},
#{villageId},
#{village},
#{villagerGroupId},
#{villagerGroup},
#{nowIn},
#{remark},
#{gridId},
#{status},
#{isConfirm},
#{confirmInfoUser},
#{confirmInfoUserTime},
#{createBy},
#{updateBy},
#{isDel},
#{deleteReason},
sysdate(), sysdate()
update czrk
user_name = #{userName},
gender = #{gender},
age = #{age},
birthday = #{birthday},
id_card = #{idCard},
phone_num = #{phoneNum},
code = #{code},
key_industries = #{keyIndustries},
house_type = #{houseType},
rlr = #{rlr},
is_rl = #{isRl},
rl_time = #{rlTime},
yhzgx = #{yhzgx},
work_unit = #{workUnit},
province_id = #{provinceId},
province = #{province},
city_id = #{cityId},
city = #{city},
region_id = #{regionId},
region = #{region},
village_towns_id = #{villageTownsId},
village_towns = #{villageTowns},
village_id = #{villageId},
village = #{village},
villager_group_id = #{villagerGroupId},
villager_group = #{villagerGroup},
now_in = #{nowIn},
remark = #{remark},
grid_id = #{gridId},
status = #{status},
is_confirm = #{isConfirm},
confirm_info_user = #{confirmInfoUser},
confirm_info_user_time = #{confirmInfoUserTime},
create_by = #{createBy},
create_time = #{createTime},
update_by = #{updateBy},
update_time = sysdate(),
is_del = #{isDel},
delete_reason = #{deleteReason},
where id = #{id}
delete from czrk where id = #{id}
update czrk
set is_del = 'N'
, update_by = #{updateBy}
, update_time = sysdate()
where id = #{id}
update czrk
set is_del = 'Y'
, delete_reason = #{deleteReason}
, update_by = #{updateBy}
, update_time = sysdate()
where id = #{id}
update czrk
is_confirm = 'Y',
confirm_info_user = #{userName},
confirm_info_user_time = sysdate()
where id in
#{id}
insert into confim_info_user
confirm_info_user,
czrk_id,
create_time
#{confirmInfoUser},
#{czrkId},
sysdate()