select id, cfgId, devId, autoType, certUrl, checkDate, devCode, devShadow, devType, devTypeName, `key`, manufacturer, name, orgId, parent, parentIds, productType, position, status, structureId, structureName, typeCategory, typeName, verifyDate, state, remark, is_del, create_by, create_time, update_by, update_time from dev_pitmonit_southsmos_device
insert into dev_pitmonit_southsmos_device
cfgId,
devId,
autoType,
certUrl,
checkDate,
devCode,
devShadow,
devType,
devTypeName,
`key`,
manufacturer,
name,
orgId,
parent,
parentIds,
productType,
position,
status,
structureId,
structureName,
typeCategory,
typeName,
verifyDate,
state,
remark,
is_del,
create_by,
create_time,
update_by,
update_time,
#{cfgId},
#{devId},
#{autoType},
#{certUrl},
#{checkDate},
#{devCode},
#{devShadow},
#{devType},
#{devTypeName},
#{key},
#{manufacturer},
#{name},
#{orgId},
#{parent},
#{parentIds},
#{productType},
#{position},
#{status},
#{structureId},
#{structureName},
#{typeCategory},
#{typeName},
#{verifyDate},
#{state},
#{remark},
#{isDel},
#{createBy},
#{createTime},
#{updateBy},
#{updateTime},
update dev_pitmonit_southsmos_device
cfgId = #{cfgId},
devId = #{devId},
autoType = #{autoType},
certUrl = #{certUrl},
checkDate = #{checkDate},
devCode = #{devCode},
devShadow = #{devShadow},
devType = #{devType},
devTypeName = #{devTypeName},
`key` = #{key},
manufacturer = #{manufacturer},
name = #{name},
orgId = #{orgId},
parent = #{parent},
parentIds = #{parentIds},
productType = #{productType},
position = #{position},
status = #{status},
structureId = #{structureId},
structureName = #{structureName},
typeCategory = #{typeCategory},
typeName = #{typeName},
verifyDate = #{verifyDate},
state = #{state},
remark = #{remark},
is_del = #{isDel},
create_by = #{createBy},
create_time = #{createTime},
update_by = #{updateBy},
update_time = #{updateTime},
where id = #{id}
delete from dev_pitmonit_southsmos_device where id = #{id}
delete from dev_pitmonit_southsmos_device where id in
#{id}