select id, resource_group_name, devices_quantity, theory_hours, rest_days, theory_capacity, request_date, del_flag, create_by, create_time, update_by, update_time, batch_number, plant from aps_resource_group_temp
insert into aps_resource_group_temp
id,
resource_group_name,
devices_quantity,
theory_hours,
rest_days,
theory_capacity,
request_date,
del_flag,
create_by,
create_time,
update_by,
update_time,
batch_number,
plant,
#{id},
#{resourceGroupName},
#{devicesQuantity},
#{theoryHours},
#{restDays},
#{theoryCapacity},
#{requestDate},
#{delFlag},
#{createBy},
#{createTime},
#{updateBy},
#{updateTime},
#{batchNumber},
#{plant},
update aps_resource_group_temp
resource_group_name = #{resourceGroupName},
devices_quantity = #{devicesQuantity},
theory_hours = #{theoryHours},
rest_days = #{restDays},
theory_capacity = #{theoryCapacity},
request_date = #{requestDate},
del_flag = #{delFlag},
create_by = #{createBy},
create_time = #{createTime},
update_by = #{updateBy},
update_time = #{updateTime},
batch_number = #{batchNumber},
plant = #{plant},
where id = #{id}
delete from aps_resource_group_temp where id = #{id}
delete from aps_resource_group_temp where id in
#{id}