select id, task_id, model, nameplate, capacity, interface_disk, length, voltage, programme, quantity, sparea, spareb, sparec, remark,
create_by_id, create_by, create_time, update_by_id, update_by, update_time, del_flag, data_approval_status, process_key,
task_process_key, task_node_key, plan_id, material_id, material_name, model_number, specification, material_unit, demand_document,
time_of_request, customer_model, power, colour, mingpai, shuomingshu, hegezheng, description, baozhuangxiang,status
from fjqydb.plan_task_details
insert into fjqydb.plan_task_details
task_id,
model,
nameplate,
capacity,
interface_disk,
`length`,
voltage,
programme,
quantity,
sparea,
spareb,
sparec,
remark,
create_by_id,
create_by,
create_time,
update_by_id,
update_by,
update_time,
del_flag,
data_approval_status,
process_key,
task_process_key,
task_node_key,
plan_id,
material_id,
material_name,
model_number,
specification,
material_unit,
demand_document,
time_of_request,
customer_model,
power,
colour,
mingpai,
shuomingshu,
hegezheng,
description,
baozhuangxiang,
switch_box,
scheduled_commencement,
scheduled_completion,
status
#{taskId},
#{model},
#{nameplate},
#{capacity},
#{interfaceDisk},
#{lengthString},
#{voltage},
#{programme},
#{quantity},
#{sparea},
#{spareb},
#{sparec},
#{remark},
#{createById},
#{createBy},
#{createTime},
#{updateById},
#{updateBy},
#{updateTime},
#{delFlag},
#{dataApprovalStatus},
#{processKey},
#{taskProcessKey},
#{taskNodeKey},
#{planId},
#{materialId},
#{materialName},
#{modelNumber},
#{specification},
#{materialUnit},
#{demandDocument},
#{timeOfRequest},
#{customerModel},
#{power},
#{colour},
#{mingpai},
#{shuomingshu},
#{hegezheng},
#{description},
#{baozhuangxiang},
#{switchBox},
#{scheduledCommencement},
#{scheduledCompletion},
#{status},
update fjqydb.plan_task_details
task_id = #{taskId},
model = #{model},
nameplate = #{nameplate},
capacity = #{capacity},
interface_disk = #{interfaceDisk},
`length` = #{lengthString},
voltage = #{voltage},
programme = #{programme},
quantity = #{quantity},
sparea = #{sparea},
spareb = #{spareb},
sparec = #{sparec},
remark = #{remark},
create_by_id = #{createById},
create_by = #{createBy},
create_time = #{createTime},
update_by_id = #{updateById},
update_by = #{updateBy},
update_time = #{updateTime},
del_flag = #{delFlag},
data_approval_status = #{dataApprovalStatus},
process_key = #{processKey},
task_process_key = #{taskProcessKey},
task_node_key = #{taskNodeKey},
plan_id = #{planId},
material_id = #{materialId},
material_name = #{materialName},
model_number = #{modelNumber},
specification = #{specification},
material_unit = #{materialUnit},
demand_document = #{demandDocument},
time_of_request = #{timeOfRequest},
customer_model = #{customerModel},
power = #{power},
colour = #{colour},
mingpai = #{mingpai},
shuomingshu = #{shuomingshu},
hegezheng = #{hegezheng},
description = #{description},
baozhuangxiang = #{baozhuangxiang},
status=#{status},
where demand_document = #{demandDocument}
update {DBNAME}.plan_task_details
task_id = #{taskId},
model = #{model},
nameplate = #{nameplate},
capacity = #{capacity},
interface_disk = #{interfaceDisk},
`length` = #{lengthString},
voltage = #{voltage},
programme = #{programme},
quantity = #{quantity},
sparea = #{sparea},
spareb = #{spareb},
sparec = #{sparec},
remark = #{remark},
create_by_id = #{createById},
create_by = #{createBy},
create_time = #{createTime},
update_by_id = #{updateById},
update_by = #{updateBy},
update_time = #{updateTime},
del_flag = #{delFlag},
data_approval_status = #{dataApprovalStatus},
process_key = #{processKey},
task_process_key = #{taskProcessKey},
task_node_key = #{taskNodeKey},
plan_id = #{planId},
material_id = #{materialId},
material_name = #{materialName},
model_number = #{modelNumber},
specification = #{specification},
material_unit = #{materialUnit},
demand_document = #{demandDocument},
time_of_request = #{timeOfRequest},
customer_model = #{customerModel},
power = #{power},
colour = #{colour},
mingpai = #{mingpai},
shuomingshu = #{shuomingshu},
hegezheng = #{hegezheng},
description = #{description},
baozhuangxiang = #{baozhuangxiang},
status=#{status},
where id = #{id}
delete from {DBNAME}.plan_task_details where id = #{id}
delete from {DBNAME}.plan_task_details where id in
#{id}