select id, door_name, area__id, area_name, organization_name, organization_id, brand, model, door_description, door_before_id, create_time, update_time, create_by, update_by, del_flag, expand_status, expand_status1,hnwe_id,hnwe_ip,hid1,hid2,hid3,hid4,hid5,hid6,hid7,hid8 from mj_door
insert into mj_door
id,
door_name,
area__id,
area_name,
organization_name,
organization_id,
brand,
model,
door_description,
door_before_id,
create_time,
update_time,
create_by,
update_by,
del_flag,
expand_status,
expand_status1,
hnwe_ip,
hnwe_id,
hid1,
hid2,
hid3,
hid4,
hid5,
hid6,
hid7,
hid8,
#{id},
#{doorName},
#{areaId},
#{areaName},
#{organizationName},
#{organizationId},
#{brand},
#{model},
#{doorDescription},
#{doorBeforeId},
#{createTime},
#{updateTime},
#{createBy},
#{updateBy},
#{delFlag},
#{expandStatus},
#{expandStatus1},
#{hnweIp},
#{hnweId},
#{hid1},
#{hid2},
#{hid3},
#{hid4},
#{hid5},
#{hid6},
#{hid7},
#{hid8},
update mj_door
door_name = #{doorName},
area__id = #{areaId},
area_name = #{areaName},
organization_name = #{organizationName},
organization_id = #{organizationId},
brand = #{brand},
model = #{model},
door_description = #{doorDescription},
door_before_id = #{doorBeforeId},
create_time = #{createTime},
update_time = #{updateTime},
create_by = #{createBy},
update_by = #{updateBy},
del_flag = #{delFlag},
expand_status = #{expandStatus},
expand_status1 = #{expandStatus1},
hnwe_ip = #{hnweIp},
hnwe_id = #{hnweId},
hid1 = #{hid1},
hid2 = #{hid2},
hid3 = #{hid3},
hid4 = #{hid4},
hid5 = #{hid5},
hid6 = #{hid6},
hid7 = #{hid7},
hid8 = #{hid8},
where id = #{id}
delete from mj_door where id = #{id}
delete from mj_door where id in
#{id}