id, order_no, main, super_id, commodity_id, commodity_name, commodity_quantity, commodity_mode, commodity_price, task_status, task_distribution_time, task_allocator, task_receiver, task_comment, task_start_time, task_end_time, attachment_url, project_status, accept_time, review_time, publicity_time, licence_time, certificate_number, status, form_retrieve, task_refund, refund_content, retrieve_content, declare_user, declare_pwd, set_up_amount, arrival_money, outsource_name, outsource_price, consultant_id, manager_id, outsource, split_super, split_status, split_id, split_aid, split_time, cname, receiver_name, declaration_batch, cost_reduction, official_cost, set_up_status, set_up_time, spot_check_status, high_tech_status, special_comment, if_certification_fee, certification_fee, certification_corporate, time_record, if_publicity, check_status, patent_type, pubicity_url, process_status, member_type, picture_url, satisfaction_degree, satisfaction_degree_url, examine_type, approval, complete_date, complete_status, score_status, score_number, ht_member, additional_deduction, rd_awardsubsidy, technology_project_Type, ordinary_risk, days, scheme, progress_tid
insert into t_order_task(order_no, main, super_id, commodity_id, commodity_name, commodity_quantity,
commodity_mode, commodity_price, task_status, task_distribution_time, task_allocator,
task_receiver, task_comment, task_start_time, task_end_time, attachment_url,
project_status, accept_time, review_time, publicity_time, licence_time,
certificate_number, status, form_retrieve, task_refund, refund_content,
retrieve_content, declare_user, declare_pwd, set_up_amount, arrival_money,
outsource_name, outsource_price, consultant_id, manager_id, outsource, split_super,
split_status, split_id, split_aid, split_time, cname, receiver_name, declaration_batch,
cost_reduction, official_cost, set_up_status, set_up_time, spot_check_status,
high_tech_status, special_comment, if_certification_fee, certification_fee,
certification_corporate, time_record, if_publicity, check_status, patent_type,
pubicity_url, process_status, member_type, picture_url, satisfaction_degree,
satisfaction_degree_url, examine_type, approval, complete_date, complete_status,
score_status, score_number, ht_member, additional_deduction, rd_awardsubsidy,
technology_project_Type, ordinary_risk, days, scheme, progress_tid)
values (#{orderNo}, #{main}, #{superId}, #{commodityId}, #{commodityName}, #{commodityQuantity},
#{commodityMode}, #{commodityPrice}, #{taskStatus}, #{taskDistributionTime}, #{taskAllocator},
#{taskReceiver}, #{taskComment}, #{taskStartTime}, #{taskEndTime}, #{attachmentUrl}, #{projectStatus},
#{acceptTime}, #{reviewTime}, #{publicityTime}, #{licenceTime}, #{certificateNumber}, #{status},
#{formRetrieve}, #{taskRefund}, #{refundContent}, #{retrieveContent}, #{declareUser}, #{declarePwd},
#{setUpAmount}, #{arrivalMoney}, #{outsourceName}, #{outsourcePrice}, #{consultantId}, #{managerId},
#{outsource}, #{splitSuper}, #{splitStatus}, #{splitId}, #{splitAid}, #{splitTime}, #{cname},
#{receiverName}, #{declarationBatch}, #{costReduction}, #{officialCost}, #{setUpStatus}, #{setUpTime},
#{spotCheckStatus}, #{highTechStatus}, #{specialComment}, #{ifCertificationFee}, #{certificationFee},
#{certificationCorporate}, #{timeRecord}, #{ifPublicity}, #{checkStatus}, #{patentType}, #{pubicityUrl},
#{processStatus}, #{memberType}, #{pictureUrl}, #{satisfactionDegree}, #{satisfactionDegreeUrl},
#{examineType}, #{approval}, #{completeDate}, #{completeStatus}, #{scoreStatus}, #{scoreNumber},
#{htMember}, #{additionalDeduction}, #{rdAwardsubsidy}, #{technologyProjectType}, #{ordinaryRisk},
#{days}, #{scheme}, #{progressTid})
insert into t_order_task(order_no, main, super_id, commodity_id, commodity_name, commodity_quantity,
commodity_mode, commodity_price, task_status, task_distribution_time, task_allocator, task_receiver,
task_comment, task_start_time, task_end_time, attachment_url, project_status, accept_time, review_time,
publicity_time, licence_time, certificate_number, status, form_retrieve, task_refund, refund_content,
retrieve_content, declare_user, declare_pwd, set_up_amount, arrival_money, outsource_name, outsource_price,
consultant_id, manager_id, outsource, split_super, split_status, split_id, split_aid, split_time, cname,
receiver_name, declaration_batch, cost_reduction, official_cost, set_up_status, set_up_time, spot_check_status,
high_tech_status, special_comment, if_certification_fee, certification_fee, certification_corporate,
time_record, if_publicity, check_status, patent_type, pubicity_url, process_status, member_type, picture_url,
satisfaction_degree, satisfaction_degree_url, examine_type, approval, complete_date, complete_status,
score_status, score_number, ht_member, additional_deduction, rd_awardsubsidy, technology_project_Type,
ordinary_risk, days, scheme, progress_tid)
values
(#{entity.orderNo}, #{entity.main}, #{entity.superId}, #{entity.commodityId}, #{entity.commodityName},
#{entity.commodityQuantity}, #{entity.commodityMode}, #{entity.commodityPrice}, #{entity.taskStatus},
#{entity.taskDistributionTime}, #{entity.taskAllocator}, #{entity.taskReceiver}, #{entity.taskComment},
#{entity.taskStartTime}, #{entity.taskEndTime}, #{entity.attachmentUrl}, #{entity.projectStatus},
#{entity.acceptTime}, #{entity.reviewTime}, #{entity.publicityTime}, #{entity.licenceTime},
#{entity.certificateNumber}, #{entity.status}, #{entity.formRetrieve}, #{entity.taskRefund},
#{entity.refundContent}, #{entity.retrieveContent}, #{entity.declareUser}, #{entity.declarePwd},
#{entity.setUpAmount}, #{entity.arrivalMoney}, #{entity.outsourceName}, #{entity.outsourcePrice},
#{entity.consultantId}, #{entity.managerId}, #{entity.outsource}, #{entity.splitSuper},
#{entity.splitStatus}, #{entity.splitId}, #{entity.splitAid}, #{entity.splitTime}, #{entity.cname},
#{entity.receiverName}, #{entity.declarationBatch}, #{entity.costReduction}, #{entity.officialCost},
#{entity.setUpStatus}, #{entity.setUpTime}, #{entity.spotCheckStatus}, #{entity.highTechStatus},
#{entity.specialComment}, #{entity.ifCertificationFee}, #{entity.certificationFee},
#{entity.certificationCorporate}, #{entity.timeRecord}, #{entity.ifPublicity}, #{entity.checkStatus},
#{entity.patentType}, #{entity.pubicityUrl}, #{entity.processStatus}, #{entity.memberType},
#{entity.pictureUrl}, #{entity.satisfactionDegree}, #{entity.satisfactionDegreeUrl}, #{entity.examineType},
#{entity.approval}, #{entity.completeDate}, #{entity.completeStatus}, #{entity.scoreStatus},
#{entity.scoreNumber}, #{entity.htMember}, #{entity.additionalDeduction}, #{entity.rdAwardsubsidy},
#{entity.technologyProjectType}, #{entity.ordinaryRisk}, #{entity.days}, #{entity.scheme},
#{entity.progressTid})
insert into t_order_task(order_no, main, super_id, commodity_id, commodity_name, commodity_quantity,
commodity_mode, commodity_price, task_status, task_distribution_time, task_allocator, task_receiver,
task_comment, task_start_time, task_end_time, attachment_url, project_status, accept_time, review_time,
publicity_time, licence_time, certificate_number, status, form_retrieve, task_refund, refund_content,
retrieve_content, declare_user, declare_pwd, set_up_amount, arrival_money, outsource_name, outsource_price,
consultant_id, manager_id, outsource, split_super, split_status, split_id, split_aid, split_time, cname,
receiver_name, declaration_batch, cost_reduction, official_cost, set_up_status, set_up_time, spot_check_status,
high_tech_status, special_comment, if_certification_fee, certification_fee, certification_corporate,
time_record, if_publicity, check_status, patent_type, pubicity_url, process_status, member_type, picture_url,
satisfaction_degree, satisfaction_degree_url, examine_type, approval, complete_date, complete_status,
score_status, score_number, ht_member, additional_deduction, rd_awardsubsidy, technology_project_Type,
ordinary_risk, days, scheme, progress_tid)
values
(#{entity.orderNo}, #{entity.main}, #{entity.superId}, #{entity.commodityId}, #{entity.commodityName},
#{entity.commodityQuantity}, #{entity.commodityMode}, #{entity.commodityPrice}, #{entity.taskStatus},
#{entity.taskDistributionTime}, #{entity.taskAllocator}, #{entity.taskReceiver}, #{entity.taskComment},
#{entity.taskStartTime}, #{entity.taskEndTime}, #{entity.attachmentUrl}, #{entity.projectStatus},
#{entity.acceptTime}, #{entity.reviewTime}, #{entity.publicityTime}, #{entity.licenceTime},
#{entity.certificateNumber}, #{entity.status}, #{entity.formRetrieve}, #{entity.taskRefund},
#{entity.refundContent}, #{entity.retrieveContent}, #{entity.declareUser}, #{entity.declarePwd},
#{entity.setUpAmount}, #{entity.arrivalMoney}, #{entity.outsourceName}, #{entity.outsourcePrice},
#{entity.consultantId}, #{entity.managerId}, #{entity.outsource}, #{entity.splitSuper},
#{entity.splitStatus}, #{entity.splitId}, #{entity.splitAid}, #{entity.splitTime}, #{entity.cname},
#{entity.receiverName}, #{entity.declarationBatch}, #{entity.costReduction}, #{entity.officialCost},
#{entity.setUpStatus}, #{entity.setUpTime}, #{entity.spotCheckStatus}, #{entity.highTechStatus},
#{entity.specialComment}, #{entity.ifCertificationFee}, #{entity.certificationFee},
#{entity.certificationCorporate}, #{entity.timeRecord}, #{entity.ifPublicity}, #{entity.checkStatus},
#{entity.patentType}, #{entity.pubicityUrl}, #{entity.processStatus}, #{entity.memberType},
#{entity.pictureUrl}, #{entity.satisfactionDegree}, #{entity.satisfactionDegreeUrl}, #{entity.examineType},
#{entity.approval}, #{entity.completeDate}, #{entity.completeStatus}, #{entity.scoreStatus},
#{entity.scoreNumber}, #{entity.htMember}, #{entity.additionalDeduction}, #{entity.rdAwardsubsidy},
#{entity.technologyProjectType}, #{entity.ordinaryRisk}, #{entity.days}, #{entity.scheme},
#{entity.progressTid})
on duplicate key update
order_no = values(order_no),
main = values(main),
super_id = values(super_id),
commodity_id = values(commodity_id),
commodity_name = values(commodity_name),
commodity_quantity = values(commodity_quantity),
commodity_mode = values(commodity_mode),
commodity_price = values(commodity_price),
task_status = values(task_status),
task_distribution_time = values(task_distribution_time),
task_allocator = values(task_allocator),
task_receiver = values(task_receiver),
task_comment = values(task_comment),
task_start_time = values(task_start_time),
task_end_time = values(task_end_time),
attachment_url = values(attachment_url),
project_status = values(project_status),
accept_time = values(accept_time),
review_time = values(review_time),
publicity_time = values(publicity_time),
licence_time = values(licence_time),
certificate_number = values(certificate_number),
status = values(status),
form_retrieve = values(form_retrieve),
task_refund = values(task_refund),
refund_content = values(refund_content),
retrieve_content = values(retrieve_content),
declare_user = values(declare_user),
declare_pwd = values(declare_pwd),
set_up_amount = values(set_up_amount),
arrival_money = values(arrival_money),
outsource_name = values(outsource_name),
outsource_price = values(outsource_price),
consultant_id = values(consultant_id),
manager_id = values(manager_id),
outsource = values(outsource),
split_super = values(split_super),
split_status = values(split_status),
split_id = values(split_id),
split_aid = values(split_aid),
split_time = values(split_time),
cname = values(cname),
receiver_name = values(receiver_name),
declaration_batch = values(declaration_batch),
cost_reduction = values(cost_reduction),
official_cost = values(official_cost),
set_up_status = values(set_up_status),
set_up_time = values(set_up_time),
spot_check_status = values(spot_check_status),
high_tech_status = values(high_tech_status),
special_comment = values(special_comment),
if_certification_fee = values(if_certification_fee),
certification_fee = values(certification_fee),
certification_corporate = values(certification_corporate),
time_record = values(time_record),
if_publicity = values(if_publicity),
check_status = values(check_status),
patent_type = values(patent_type),
pubicity_url = values(pubicity_url),
process_status = values(process_status),
member_type = values(member_type),
picture_url = values(picture_url),
satisfaction_degree = values(satisfaction_degree),
satisfaction_degree_url = values(satisfaction_degree_url),
examine_type = values(examine_type),
approval = values(approval),
complete_date = values(complete_date),
complete_status = values(complete_status),
score_status = values(score_status),
score_number = values(score_number),
ht_member = values(ht_member),
additional_deduction = values(additional_deduction),
rd_awardsubsidy = values(rd_awardsubsidy),
technology_project_Type = values(technology_project_Type),
ordinary_risk = values(ordinary_risk),
days = values(days),
scheme = values(scheme),
progress_tid = values(progress_tid)
update t_order_task
order_no = #{orderNo},
main = #{main},
super_id = #{superId},
commodity_id = #{commodityId},
commodity_name = #{commodityName},
commodity_quantity = #{commodityQuantity},
commodity_mode = #{commodityMode},
commodity_price = #{commodityPrice},
task_status = #{taskStatus},
task_distribution_time = #{taskDistributionTime},
task_allocator = #{taskAllocator},
task_receiver = #{taskReceiver},
task_comment = #{taskComment},
task_start_time = #{taskStartTime},
task_end_time = #{taskEndTime},
attachment_url = #{attachmentUrl},
project_status = #{projectStatus},
accept_time = #{acceptTime},
review_time = #{reviewTime},
publicity_time = #{publicityTime},
licence_time = #{licenceTime},
certificate_number = #{certificateNumber},
status = #{status},
form_retrieve = #{formRetrieve},
task_refund = #{taskRefund},
refund_content = #{refundContent},
retrieve_content = #{retrieveContent},
declare_user = #{declareUser},
declare_pwd = #{declarePwd},
set_up_amount = #{setUpAmount},
arrival_money = #{arrivalMoney},
outsource_name = #{outsourceName},
outsource_price = #{outsourcePrice},
consultant_id = #{consultantId},
manager_id = #{managerId},
outsource = #{outsource},
split_super = #{splitSuper},
split_status = #{splitStatus},
split_id = #{splitId},
split_aid = #{splitAid},
split_time = #{splitTime},
cname = #{cname},
receiver_name = #{receiverName},
declaration_batch = #{declarationBatch},
cost_reduction = #{costReduction},
official_cost = #{officialCost},
set_up_status = #{setUpStatus},
set_up_time = #{setUpTime},
spot_check_status = #{spotCheckStatus},
high_tech_status = #{highTechStatus},
special_comment = #{specialComment},
if_certification_fee = #{ifCertificationFee},
certification_fee = #{certificationFee},
certification_corporate = #{certificationCorporate},
time_record = #{timeRecord},
if_publicity = #{ifPublicity},
check_status = #{checkStatus},
patent_type = #{patentType},
pubicity_url = #{pubicityUrl},
process_status = #{processStatus},
member_type = #{memberType},
picture_url = #{pictureUrl},
satisfaction_degree = #{satisfactionDegree},
satisfaction_degree_url = #{satisfactionDegreeUrl},
examine_type = #{examineType},
approval = #{approval},
complete_date = #{completeDate},
complete_status = #{completeStatus},
score_status = #{scoreStatus},
score_number = #{scoreNumber},
ht_member = #{htMember},
additional_deduction = #{additionalDeduction},
rd_awardsubsidy = #{rdAwardsubsidy},
technology_project_Type = #{technologyProjectType},
ordinary_risk = #{ordinaryRisk},
days = #{days},
scheme = #{scheme},
progress_tid = #{progressTid},
where id = #{id}
delete from t_order_task where id = #{id}
insert into t_order_task
order_no,
main,
super_id,
commodity_id,
commodity_name,
commodity_quantity,
commodity_mode,
commodity_price,
task_status,
task_distribution_time,
task_allocator,
task_receiver,
task_comment,
task_start_time,
task_end_time,
attachment_url,
project_status,
accept_time,
review_time,
publicity_time,
licence_time,
certificate_number,
`status`,
form_retrieve,
task_refund,
refund_content,
retrieve_content,
declare_user,
declare_pwd,
set_up_amount,
arrival_money,
outsource_name,
outsource_price,
consultant_id,
manager_id,
outsource,
split_super,
split_status,
split_id,
split_aid,
split_time,
cname,
receiver_name,
declaration_batch,
cost_reduction,
official_cost,
set_up_status,
set_up_time,
spot_check_status,
high_tech_status,
special_comment,
if_certification_fee,
certification_fee,
certification_corporate,
time_record,
if_publicity,
check_status,
patent_type,
pubicity_url,
process_status,
member_type,
picture_url,
satisfaction_degree,
satisfaction_degree_url,
examine_type,
approval,
complete_date,
complete_status ,
score_status ,
score_number ,
ht_member ,
additional_deduction,
rd_awardsubsidy ,
technology_project_Type ,
ordinary_risk,
days,
scheme,
progress_tid,
#{orderNo,jdbcType=VARCHAR},
#{main,jdbcType=INTEGER},
#{superId,jdbcType=VARCHAR},
#{commodityId,jdbcType=VARCHAR},
#{commodityName,jdbcType=VARCHAR},
#{commodityQuantity,jdbcType=INTEGER},
#{commodityMode,jdbcType=VARCHAR},
#{commodityPrice,jdbcType=DECIMAL},
#{taskStatus,jdbcType=INTEGER},
#{taskDistributionTime,jdbcType=TIMESTAMP},
#{taskAllocator,jdbcType=VARCHAR},
#{taskReceiver,jdbcType=VARCHAR},
#{taskComment,jdbcType=VARCHAR},
#{taskStartTime,jdbcType=TIMESTAMP},
#{taskEndTime,jdbcType=TIMESTAMP},
#{attachmentUrl,jdbcType=VARCHAR},
#{projectStatus,jdbcType=INTEGER},
#{acceptTime,jdbcType=DATE},
#{reviewTime,jdbcType=DATE},
#{publicityTime,jdbcType=DATE},
#{licenceTime,jdbcType=DATE},
#{certificateNumber,jdbcType=VARCHAR},
#{status,jdbcType=INTEGER},
#{formRetrieve,jdbcType=INTEGER},
#{taskRefund,jdbcType=INTEGER},
#{refundContent,jdbcType=VARCHAR},
#{retrieveContent,jdbcType=VARCHAR},
#{declareUser,jdbcType=VARCHAR},
#{declarePwd,jdbcType=VARCHAR},
#{setUpAmount,jdbcType=DECIMAL},
#{arrivalMoney,jdbcType=INTEGER},
#{outsourceName,jdbcType=VARCHAR},
#{outsourcePrice,jdbcType=DECIMAL},
#{consultantId,jdbcType=VARCHAR},
#{managerId,jdbcType=VARCHAR},
#{outsource,jdbcType=INTEGER},
#{splitSuper,jdbcType=INTEGER},
#{splitStatus,jdbcType=INTEGER},
#{splitId,jdbcType=INTEGER},
#{splitAid,jdbcType=VARCHAR},
#{splitTime,jdbcType=TIMESTAMP},
#{cname,jdbcType=VARCHAR},
#{receiverName,jdbcType=VARCHAR},
#{declarationBatch,jdbcType=INTEGER},
#{costReduction,jdbcType=INTEGER},
#{officialCost,jdbcType=INTEGER},
#{setUpStatus,jdbcType=INTEGER},
#{setUpTime,jdbcType=TIMESTAMP},
#{spotCheckStatus,jdbcType=INTEGER},
#{highTechStatus,jdbcType=INTEGER},
#{specialComment,jdbcType=VARCHAR},
#{ifCertificationFee,jdbcType=INTEGER},
#{certificationFee,jdbcType=DECIMAL},
#{certificationCorporate,jdbcType=VARCHAR},
#{timeRecord,jdbcType=VARCHAR},
#{ifPublicity,jdbcType=INTEGER},
#{checkStatus,jdbcType=INTEGER},
#{patentType,jdbcType=INTEGER},
#{pubicityUrl,jdbcType=VARCHAR},
#{processStatus,jdbcType=INTEGER},
#{memberType,jdbcType=INTEGER},
#{pictureUrl,jdbcType=VARCHAR},
#{satisfactionDegree,jdbcType=INTEGER},
#{satisfactionDegreeUrl,jdbcType=VARCHAR},
#{examineType,jdbcType=INTEGER},
#{approval,jdbcType=INTEGER},
#{completeDate},
#{completeStatus},
#{scoreStatus},
#{scoreNumber},
#{htMember},
#{additionalDeduction},
#{rdAwardsubsidy},
#{technologyProjectType},
#{ordinaryRisk},
#{days},
#{scheme},
#{progressTid},
update t_order_task
order_no = #{orderNo,jdbcType=VARCHAR},
main = #{main,jdbcType=INTEGER},
super_id = #{superId,jdbcType=VARCHAR},
commodity_id = #{commodityId,jdbcType=VARCHAR},
commodity_name = #{commodityName,jdbcType=VARCHAR},
commodity_quantity = #{commodityQuantity,jdbcType=INTEGER},
commodity_mode = #{commodityMode,jdbcType=VARCHAR},
commodity_price = #{commodityPrice,jdbcType=DECIMAL},
task_status = #{taskStatus,jdbcType=INTEGER},
task_distribution_time = #{taskDistributionTime,jdbcType=TIMESTAMP},
task_allocator = #{taskAllocator,jdbcType=VARCHAR},
task_receiver = #{taskReceiver,jdbcType=VARCHAR},
task_comment = #{taskComment,jdbcType=VARCHAR},
task_start_time = #{taskStartTime,jdbcType=TIMESTAMP},
task_end_time = #{taskEndTime,jdbcType=TIMESTAMP},
attachment_url = #{attachmentUrl,jdbcType=VARCHAR},
project_status = #{projectStatus,jdbcType=INTEGER},
accept_time = #{acceptTime,jdbcType=DATE},
review_time = #{reviewTime,jdbcType=DATE},
publicity_time = #{publicityTime,jdbcType=DATE},
licence_time = #{licenceTime,jdbcType=DATE},
certificate_number = #{certificateNumber,jdbcType=VARCHAR},
`status` = #{status,jdbcType=INTEGER},
form_retrieve = #{formRetrieve,jdbcType=INTEGER},
task_refund = #{taskRefund,jdbcType=INTEGER},
refund_content = #{refundContent,jdbcType=VARCHAR},
retrieve_content = #{retrieveContent,jdbcType=VARCHAR},
declare_user = #{declareUser,jdbcType=VARCHAR},
declare_pwd = #{declarePwd,jdbcType=VARCHAR},
set_up_amount = #{setUpAmount,jdbcType=DECIMAL},
arrival_money = #{arrivalMoney,jdbcType=INTEGER},
outsource_name = #{outsourceName,jdbcType=VARCHAR},
outsource_price = #{outsourcePrice,jdbcType=DECIMAL},
consultant_id = #{consultantId,jdbcType=VARCHAR},
manager_id = #{managerId,jdbcType=VARCHAR},
outsource = #{outsource,jdbcType=INTEGER},
split_status = #{splitStatus,jdbcType=INTEGER},
split_id = #{splitId,jdbcType=INTEGER},
split_aid = #{splitAid,jdbcType=VARCHAR},
split_time = #{splitTime,jdbcType=TIMESTAMP},
cname = #{cname,jdbcType=VARCHAR},
receiver_name = #{receiverName,jdbcType=VARCHAR},
declaration_batch = #{declarationBatch,jdbcType=INTEGER},
cost_reduction = #{costReduction,jdbcType=INTEGER},
official_cost = #{officialCost,jdbcType=INTEGER},
set_up_status = #{setUpStatus,jdbcType=INTEGER},
set_up_time = #{setUpTime,jdbcType=TIMESTAMP},
spot_check_status = #{spotCheckStatus,jdbcType=INTEGER},
high_tech_status = #{highTechStatus,jdbcType=INTEGER},
special_comment = #{specialComment,jdbcType=VARCHAR},
if_certification_fee = #{ifCertificationFee,jdbcType=INTEGER},
certification_fee = #{certificationFee,jdbcType=DECIMAL},
certification_corporate = #{certificationCorporate,jdbcType=VARCHAR},
time_record = #{timeRecord,jdbcType=VARCHAR},
if_publicity = #{ifPublicity,jdbcType=INTEGER},
check_status = #{checkStatus,jdbcType=INTEGER},
patent_type = #{patentType,jdbcType=INTEGER},
pubicity_url = #{pubicityUrl,jdbcType=VARCHAR},
process_status = #{processStatus,jdbcType=INTEGER},
member_type = #{memberType,jdbcType=INTEGER},
picture_url = #{pictureUrl,jdbcType=VARCHAR},
satisfaction_degree = #{satisfactionDegree,jdbcType=INTEGER},
satisfaction_degree_url = #{satisfactionDegreeUrl,jdbcType=VARCHAR},
score_status = #{scoreStatus},
score_number = #{scoreNumber},
where split_super = #{splitSuper,jdbcType=INTEGER}
and a.task_receiver= #{aid,jdbcType=VARCHAR}
and e.finance_id in
#{item}
and a.split_status in (0,2)
and a.order_no= #{orderNo,jdbcType=VARCHAR}
and e.approval = 0
and e.approval in(1,2)
and e.approval in (4,5)
and c.id = #{cid}
and l.refund_status = #{outsourceStatus,jdbcType=INTEGER}
and e.contract_no like CONCAT('%',#{contractNo,jdbcType=VARCHAR},'%')
and a.project_status = #{projectStatus,jdbcType=INTEGER}
and e.order_dep in
#{depId}
and f.nickname like CONCAT('%',#{name,jdbcType=VARCHAR},'%')
and a.commodity_name like CONCAT('%',#{projectName,jdbcType=VARCHAR},'%')
and (a.id= #{taskId,jdbcType=VARCHAR} or a.split_super= #{taskId,jdbcType=VARCHAR})
and a.task_status= #{taskStatus,jdbcType=INTEGER}
and a.receiver_name like CONCAT('%', #{adminName,jdbcType=VARCHAR},'%')
and e.sign_time between #{startTime} and #{endTime}
and a.ht_member= 1
and a.additional_deduction=1
and a.rd_awardsubsidy=1
update t_order_task a left join t_change_task b on a.id =b.tid
left join (select * from admin where id= #{transferId,jdbcType=VARCHAR})c on 1=1
set a.task_allocator= #{aid,jdbcType=VARCHAR},a.task_receiver= c.id,
a.receiver_name=c.name,b.receiver_name=c.name
,a.consultant_id=c.id
,a.manager_id=c.id
,a.consultant_id= null
,a.manager_id=c.id
,a.consultant_id=c.id
,a.manager_id= null
,a.manager_id= null
where task_receiver=#{aid,jdbcType=VARCHAR}
update t_order_task set outsource= #{type} where order_no= #{orderNo}
update t_order_task a ,t_task_mid c
set c.party_amount =0,c.cost_amount =0
where a.id= #{id} and a.id=c.tid
update t_task_mid
set cost_amount =cost_amount + #{cost}
where tid= #{tid}
delete from t_order_task
where split_super = #{id,jdbcType=INTEGER}
update t_order_task
set manager_id= #{transferId}
where manager_id = #{aid}