select id, unit_id, people_id, duty, whether, grade, house_type, birth_date, enlist_date, job_time, entrance_date, job_date, jobs_date, whethers, rank_id, rank_date, remark, createtime, updatetime, admin_id, p_name, p_unit, p_account, p_time, p_time_one, p_ceace, type,people_name,unit_name from bdgl_flats
insert into bdgl_flats
unit_id,
people_id,
duty,
whether,
grade,
house_type,
birth_date,
enlist_date,
job_time,
entrance_date,
job_date,
jobs_date,
whethers,
rank_id,
rank_date,
remark,
createtime,
updatetime,
admin_id,
p_name,
p_unit,
p_account,
p_time,
p_time_one,
p_ceace,
type,
people_name,
unit_name,
#{unitId},
#{peopleId},
#{duty},
#{whether},
#{grade},
#{houseType},
#{birthDate},
#{enlistDate},
#{jobTime},
#{entranceDate},
#{jobDate},
#{jobsDate},
#{whethers},
#{rankId},
#{rankDate},
#{remark},
#{createtime},
#{updatetime},
#{adminId},
#{pName},
#{pUnit},
#{pAccount},
#{pTime},
#{pTimeOne},
#{pCeace},
#{type},
#{peopleName},
#{unitName},
update bdgl_flats
unit_id = #{unitId},
people_id = #{peopleId},
duty = #{duty},
whether = #{whether},
grade = #{grade},
house_type = #{houseType},
birth_date = #{birthDate},
enlist_date = #{enlistDate},
job_time = #{jobTime},
entrance_date = #{entranceDate},
job_date = #{jobDate},
jobs_date = #{jobsDate},
whethers = #{whethers},
rank_id = #{rankId},
rank_date = #{rankDate},
remark = #{remark},
createtime = #{createtime},
updatetime = #{updatetime},
admin_id = #{adminId},
p_name = #{pName},
p_unit = #{pUnit},
p_account = #{pAccount},
p_time = #{pTime},
p_time_one = #{pTimeOne},
p_ceace = #{pCeace},
type = #{type},
people_name = #{peopleName},
unit_name = #{unitName},
where id = #{id}
delete from bdgl_flats where id = #{id}
delete from bdgl_flats where id in
#{id}