select id, name, sn, model, organization_id, usage, status, maintainer, maintainer_phone, del_flag, revision, create_by, create_time, update_by, update_time, remark from t_device
insert into t_device
name,
sn,
model,
organization_id,
usage,
status,
maintainer,
maintainer_phone,
del_flag,
revision,
create_by,
create_time,
update_by,
update_time,
remark,
#{name},
#{sn},
#{model},
#{organizationId},
#{usage},
#{status},
#{maintainer},
#{maintainerPhone},
#{delFlag},
#{revision},
#{createBy},
#{createTime},
#{updateBy},
#{updateTime},
#{remark},
update t_device
name = #{name},
sn = #{sn},
model = #{model},
organization_id = #{organizationId},
usage = #{usage},
status = #{status},
maintainer = #{maintainer},
maintainer_phone = #{maintainerPhone},
del_flag = #{delFlag},
revision = #{revision},
create_by = #{createBy},
create_time = #{createTime},
update_by = #{updateBy},
update_time = #{updateTime},
remark = #{remark},
where id = #{id}
delete from t_device where id = #{id}
delete from t_device where id in
#{id}