select apply_id,
apply_type,
apply_number,
member_user_id,
resource_class_id,
resource_class_name,
company_name,
dept_id,
dept_name,
company_class_id,
company_class_name,
name,
professional_title,
occupation,
phone,
email,
project_name,
project_number,
project_source,
project_class_id,
project_class_name,
project_cycle_begin,
project_cycle_end,
major_field,
use_demand,
workload_estimate,
contract_name,
contract_number,
contract_annex,
demand_content,
order_title,
order_class_id,
order_class_name,
problem_describe,
apply_status,
network_type,
status,
is_draft,
sort,
is_upload,
upload_url,
order_profile,
parallel_programming,
other_demand,
use_time_begin,
use_time_end,
use_frequency,
use_frequency_detail,
refuse_reason,
storage_limit,
storage_limit_unit,
create_at,
update_at,
complete_at,
del_flag
from cs_resource_order_apply
insert into cs_resource_order_apply
apply_id,
apply_type,
apply_number,
member_user_id,
resource_class_id,
resource_class_name,
company_name,
dept_id,
dept_name,
company_class_id,
company_class_name,
name,
professional_title,
occupation,
phone,
email,
project_name,
project_number,
project_source,
project_class_id,
project_class_name,
project_cycle_begin,
project_cycle_end,
major_field,
use_demand,
workload_estimate,
contract_name,
contract_number,
contract_annex,
demand_content,
order_title,
order_class_id,
order_class_name,
problem_describe,
apply_status,
network_type,
status,
is_draft,
sort,
is_upload,
upload_url,
order_profile,
parallel_programming,
other_demand,
use_time_begin,
use_time_end,
use_frequency,
create_at,
update_at,
complete_at,
del_flag,
storage_limit,
storage_limit_unit,
#{applyId},
#{applyType},
#{applyNumber},
#{memberUserId},
#{resourceClassId},
#{resourceClassName},
#{companyName},
#{deptId},
#{deptName},
#{companyClassId},
#{companyClassName},
#{name},
#{professionalTitle},
#{occupation},
#{phone},
#{email},
#{projectName},
#{projectNumber},
#{projectSource},
#{projectClassId},
#{projectClassName},
#{projectCycleBegin},
#{projectCycleEnd},
#{majorField},
#{useDemand},
#{workloadEstimate},
#{contractName},
#{contractNumber},
#{contractAnnex},
#{demandContent},
#{orderTitle},
#{orderClassId},
#{orderClassName},
#{problemDescribe},
#{applyStatus},
#{networkType},
#{status},
#{isDraft},
#{sort},
#{isUpload},
#{uploadUrl},
#{orderProfile},
#{parallelProgramming},
#{otherDemand},
#{useTimeBegin},
#{useTimeEnd},
#{useFrequency},
#{createAt},
#{updateAt},
#{completeAt},
#{delFlag},
#{storageLimit},
#{storageLimitUnit},
update cs_resource_order_apply
apply_type = #{applyType},
apply_number = #{applyNumber},
resource_class_id = #{resourceClassId},
resource_class_name = #{resourceClassName},
company_name = #{companyName},
dept_id = #{deptId},
dept_name = #{deptName},
company_class_id = #{companyClassId},
company_class_name = #{companyClassName},
name = #{name},
professional_title = #{professionalTitle},
occupation = #{occupation},
phone = #{phone},
email = #{email},
project_name = #{projectName},
project_number = #{projectNumber},
project_source = #{projectSource},
project_class_id = #{projectClassId},
project_class_name = #{projectClassName},
project_cycle_begin = #{projectCycleBegin},
project_cycle_end = #{projectCycleEnd},
major_field = #{majorField},
use_demand = #{useDemand},
workload_estimate = #{workloadEstimate},
contract_name = #{contractName},
contract_number = #{contractNumber},
contract_annex = #{contractAnnex},
demand_content = #{demandContent},
order_title = #{orderTitle},
order_class_id = #{orderClassId},
order_class_name = #{orderClassName},
problem_describe = #{problemDescribe},
apply_status = #{applyStatus},
network_type = #{networkType},
status = #{status},
is_draft = #{isDraft},
sort = #{sort},
is_upload = #{isUpload},
upload_url = #{uploadUrl},
order_profile = #{orderProfile},
parallel_programming = #{parallelProgramming},
other_demand = #{otherDemand},
use_time_begin = #{useTimeBegin},
use_time_end = #{useTimeEnd},
use_frequency = #{useFrequency},
use_frequency_detail = #{useFrequencyDetail},
refuse_reason = #{refuseReason},
create_at = #{createAt},
update_at = #{updateAt},
complete_at = #{completeAt},
del_flag = #{delFlag},
evaluate_star = #{evaluateStar},
storage_limit = #{storageLimit},
storage_limit_unit = #{storageLimitUnit},
user_confirm = #{userConfirm},
where apply_id = #{applyId}
update cs_resource_order_apply set del_flag = '1' where apply_id = #{applyId}
update cs_resource_order_apply set del_flag = '1' where apply_id in
#{applyId}