insert into light_strip_group(areaid,sectionid,name,number,
light_strip_ids,
createtime,updatetime)
values (#{areaId},#{sectionId},#{name},#{number},
#{lightStripIds},
#{createTime},#{updateTime})
update
light_strip_group l
set
l.areaid = #{areaId},
l.sectionid = #{sectionId},
l.name = #{name},
l.light_strip_ids = #{lightStripIds},
l.number = #{number},
l.updatetime = #{updateTime}
where
l.id = #{id}
delete
from light_strip_group
where id in
#{item}