select group_id, parent_id, dept_id, group_name, description, sort, user_id, create_by, create_time from cms_material_group
insert into cms_material_group
parent_id,
dept_id,
group_name,
description,
sort,
user_id,
create_by,
create_time,
#{parentId},
#{deptId},
#{groupName},
#{description},
#{sort},
#{userId},
#{createBy},
#{createTime},
update cms_material_group
parent_id = #{parentId},
dept_id = #{deptId},
group_name = #{groupName},
description = #{description},
sort = #{sort},
user_id = #{userId},
create_by = #{createBy},
create_time = #{createTime},
where group_id = #{groupId}
delete from cms_material_group where group_id = #{groupId}
delete from cms_material_group where group_id in
#{groupId}