select project_id, work_order_id, project_seq, project_name, project_type,
project_content, technical_requirement, plan_hours, actual_hours,
execution_status, executor, quality_level, remark,
create_by, create_time, update_by, update_time
from dms_repair_project
select HAIWEI.SEQ_DMS_REPAIR_PROJECT.nextval as projectId from DUAL
insert into dms_repair_project
project_id,
work_order_id,
project_seq,
project_name,
project_type,
project_content,
technical_requirement,
plan_hours,
actual_hours,
execution_status,
executor,
quality_level,
remark,
create_by,
create_time
#{projectId},
#{workOrderId},
#{projectSeq},
#{projectName},
#{projectType},
#{projectContent},
#{technicalRequirement},
#{planHours},
#{actualHours},
#{executionStatus},
#{executor},
#{qualityLevel},
#{remark},
#{createBy},
sysdate
update dms_repair_project
work_order_id = #{workOrderId},
project_seq = #{projectSeq},
project_name = #{projectName},
project_type = #{projectType},
project_content = #{projectContent},
technical_requirement = #{technicalRequirement},
plan_hours = #{planHours},
actual_hours = #{actualHours},
execution_status = #{executionStatus},
executor = #{executor},
quality_level = #{qualityLevel},
remark = #{remark},
update_by = #{updateBy},
update_time = sysdate
where project_id = #{projectId}
delete from dms_repair_project where project_id = #{projectId}
delete from dms_repair_project where project_id in
#{projectId}
delete from dms_repair_project where work_order_id = #{workOrderId}