and ${criterion.condition}
and ${criterion.condition} #{criterion.value}
and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
and ${criterion.condition}
#{listItem}
and ${criterion.condition}
and ${criterion.condition} #{criterion.value}
and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
and ${criterion.condition}
#{listItem}
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, 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
attachment_url
delete from t_order_task
where id = #{id,jdbcType=INTEGER}
delete from t_order_task
insert into t_order_task (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, 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, attachment_url
)
values (#{id,jdbcType=INTEGER}, #{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}, #{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}, #{attachmentUrl,jdbcType=LONGVARCHAR}
)
insert into t_order_task
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,
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,
attachment_url,
#{id,jdbcType=INTEGER},
#{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},
#{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},
#{attachmentUrl,jdbcType=LONGVARCHAR},
SELECT LAST_INSERT_ID()
update t_order_task
id = #{record.id,jdbcType=INTEGER},
order_no = #{record.orderNo,jdbcType=VARCHAR},
main = #{record.main,jdbcType=INTEGER},
super_id = #{record.superId,jdbcType=VARCHAR},
commodity_id = #{record.commodityId,jdbcType=VARCHAR},
commodity_name = #{record.commodityName,jdbcType=VARCHAR},
commodity_quantity = #{record.commodityQuantity,jdbcType=INTEGER},
commodity_mode = #{record.commodityMode,jdbcType=VARCHAR},
commodity_price = #{record.commodityPrice,jdbcType=DECIMAL},
task_status = #{record.taskStatus,jdbcType=INTEGER},
task_distribution_time = #{record.taskDistributionTime,jdbcType=TIMESTAMP},
task_allocator = #{record.taskAllocator,jdbcType=VARCHAR},
task_receiver = #{record.taskReceiver,jdbcType=VARCHAR},
task_comment = #{record.taskComment,jdbcType=VARCHAR},
task_start_time = #{record.taskStartTime,jdbcType=TIMESTAMP},
task_end_time = #{record.taskEndTime,jdbcType=TIMESTAMP},
project_status = #{record.projectStatus,jdbcType=INTEGER},
accept_time = #{record.acceptTime,jdbcType=DATE},
review_time = #{record.reviewTime,jdbcType=DATE},
publicity_time = #{record.publicityTime,jdbcType=DATE},
licence_time = #{record.licenceTime,jdbcType=DATE},
certificate_number = #{record.certificateNumber,jdbcType=VARCHAR},
status = #{record.status,jdbcType=INTEGER},
form_retrieve = #{record.formRetrieve,jdbcType=INTEGER},
task_refund = #{record.taskRefund,jdbcType=INTEGER},
refund_content = #{record.refundContent,jdbcType=VARCHAR},
retrieve_content = #{record.retrieveContent,jdbcType=VARCHAR},
declare_user = #{record.declareUser,jdbcType=VARCHAR},
declare_pwd = #{record.declarePwd,jdbcType=VARCHAR},
set_up_amount = #{record.setUpAmount,jdbcType=DECIMAL},
arrival_money = #{record.arrivalMoney,jdbcType=INTEGER},
outsource_name = #{record.outsourceName,jdbcType=VARCHAR},
outsource_price = #{record.outsourcePrice,jdbcType=DECIMAL},
consultant_id = #{record.consultantId,jdbcType=VARCHAR},
manager_id = #{record.managerId,jdbcType=VARCHAR},
outsource = #{record.outsource,jdbcType=INTEGER},
split_super = #{record.splitSuper,jdbcType=INTEGER},
split_status = #{record.splitStatus,jdbcType=INTEGER},
split_id = #{record.splitId,jdbcType=INTEGER},
split_aid = #{record.splitAid,jdbcType=VARCHAR},
split_time = #{record.splitTime,jdbcType=TIMESTAMP},
attachment_url = #{record.attachmentUrl,jdbcType=LONGVARCHAR},
update t_order_task
set id = #{record.id,jdbcType=INTEGER},
order_no = #{record.orderNo,jdbcType=VARCHAR},
main = #{record.main,jdbcType=INTEGER},
super_id = #{record.superId,jdbcType=VARCHAR},
commodity_id = #{record.commodityId,jdbcType=VARCHAR},
commodity_name = #{record.commodityName,jdbcType=VARCHAR},
commodity_quantity = #{record.commodityQuantity,jdbcType=INTEGER},
commodity_mode = #{record.commodityMode,jdbcType=VARCHAR},
commodity_price = #{record.commodityPrice,jdbcType=DECIMAL},
task_status = #{record.taskStatus,jdbcType=INTEGER},
task_distribution_time = #{record.taskDistributionTime,jdbcType=TIMESTAMP},
task_allocator = #{record.taskAllocator,jdbcType=VARCHAR},
task_receiver = #{record.taskReceiver,jdbcType=VARCHAR},
task_comment = #{record.taskComment,jdbcType=VARCHAR},
task_start_time = #{record.taskStartTime,jdbcType=TIMESTAMP},
task_end_time = #{record.taskEndTime,jdbcType=TIMESTAMP},
project_status = #{record.projectStatus,jdbcType=INTEGER},
accept_time = #{record.acceptTime,jdbcType=DATE},
review_time = #{record.reviewTime,jdbcType=DATE},
publicity_time = #{record.publicityTime,jdbcType=DATE},
licence_time = #{record.licenceTime,jdbcType=DATE},
certificate_number = #{record.certificateNumber,jdbcType=VARCHAR},
status = #{record.status,jdbcType=INTEGER},
form_retrieve = #{record.formRetrieve,jdbcType=INTEGER},
task_refund = #{record.taskRefund,jdbcType=INTEGER},
refund_content = #{record.refundContent,jdbcType=VARCHAR},
retrieve_content = #{record.retrieveContent,jdbcType=VARCHAR},
declare_user = #{record.declareUser,jdbcType=VARCHAR},
declare_pwd = #{record.declarePwd,jdbcType=VARCHAR},
set_up_amount = #{record.setUpAmount,jdbcType=DECIMAL},
arrival_money = #{record.arrivalMoney,jdbcType=INTEGER},
outsource_name = #{record.outsourceName,jdbcType=VARCHAR},
outsource_price = #{record.outsourcePrice,jdbcType=DECIMAL},
consultant_id = #{record.consultantId,jdbcType=VARCHAR},
manager_id = #{record.managerId,jdbcType=VARCHAR},
outsource = #{record.outsource,jdbcType=INTEGER},
split_super = #{record.splitSuper,jdbcType=INTEGER},
split_status = #{record.splitStatus,jdbcType=INTEGER},
split_id = #{record.splitId,jdbcType=INTEGER},
split_aid = #{record.splitAid,jdbcType=VARCHAR},
split_time = #{record.splitTime,jdbcType=TIMESTAMP},
attachment_url = #{record.attachmentUrl,jdbcType=LONGVARCHAR}
update t_order_task
set id = #{record.id,jdbcType=INTEGER},
order_no = #{record.orderNo,jdbcType=VARCHAR},
main = #{record.main,jdbcType=INTEGER},
super_id = #{record.superId,jdbcType=VARCHAR},
commodity_id = #{record.commodityId,jdbcType=VARCHAR},
commodity_name = #{record.commodityName,jdbcType=VARCHAR},
commodity_quantity = #{record.commodityQuantity,jdbcType=INTEGER},
commodity_mode = #{record.commodityMode,jdbcType=VARCHAR},
commodity_price = #{record.commodityPrice,jdbcType=DECIMAL},
task_status = #{record.taskStatus,jdbcType=INTEGER},
task_distribution_time = #{record.taskDistributionTime,jdbcType=TIMESTAMP},
task_allocator = #{record.taskAllocator,jdbcType=VARCHAR},
task_receiver = #{record.taskReceiver,jdbcType=VARCHAR},
task_comment = #{record.taskComment,jdbcType=VARCHAR},
task_start_time = #{record.taskStartTime,jdbcType=TIMESTAMP},
task_end_time = #{record.taskEndTime,jdbcType=TIMESTAMP},
project_status = #{record.projectStatus,jdbcType=INTEGER},
accept_time = #{record.acceptTime,jdbcType=DATE},
review_time = #{record.reviewTime,jdbcType=DATE},
publicity_time = #{record.publicityTime,jdbcType=DATE},
licence_time = #{record.licenceTime,jdbcType=DATE},
certificate_number = #{record.certificateNumber,jdbcType=VARCHAR},
status = #{record.status,jdbcType=INTEGER},
form_retrieve = #{record.formRetrieve,jdbcType=INTEGER},
task_refund = #{record.taskRefund,jdbcType=INTEGER},
refund_content = #{record.refundContent,jdbcType=VARCHAR},
retrieve_content = #{record.retrieveContent,jdbcType=VARCHAR},
declare_user = #{record.declareUser,jdbcType=VARCHAR},
declare_pwd = #{record.declarePwd,jdbcType=VARCHAR},
set_up_amount = #{record.setUpAmount,jdbcType=DECIMAL},
arrival_money = #{record.arrivalMoney,jdbcType=INTEGER},
outsource_name = #{record.outsourceName,jdbcType=VARCHAR},
outsource_price = #{record.outsourcePrice,jdbcType=DECIMAL},
consultant_id = #{record.consultantId,jdbcType=VARCHAR},
manager_id = #{record.managerId,jdbcType=VARCHAR},
outsource = #{record.outsource,jdbcType=INTEGER},
split_super = #{record.splitSuper,jdbcType=INTEGER},
split_status = #{record.splitStatus,jdbcType=INTEGER},
split_id = #{record.splitId,jdbcType=INTEGER},
split_aid = #{record.splitAid,jdbcType=VARCHAR},
split_time = #{record.splitTime,jdbcType=TIMESTAMP}
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},
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_super = #{splitSuper,jdbcType=INTEGER},
split_status = #{splitStatus,jdbcType=INTEGER},
split_id = #{splitId,jdbcType=INTEGER},
split_aid = #{splitAid,jdbcType=VARCHAR},
split_time = #{splitTime,jdbcType=TIMESTAMP},
attachment_url = #{attachmentUrl,jdbcType=LONGVARCHAR},
where id = #{id,jdbcType=INTEGER}
update t_order_task
set 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},
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_super = #{splitSuper,jdbcType=INTEGER},
split_status = #{splitStatus,jdbcType=INTEGER},
split_id = #{splitId,jdbcType=INTEGER},
split_aid = #{splitAid,jdbcType=VARCHAR},
split_time = #{splitTime,jdbcType=TIMESTAMP},
attachment_url = #{attachmentUrl,jdbcType=LONGVARCHAR}
where id = #{id,jdbcType=INTEGER}
update t_order_task
set 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},
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_super = #{splitSuper,jdbcType=INTEGER},
split_status = #{splitStatus,jdbcType=INTEGER},
split_id = #{splitId,jdbcType=INTEGER},
split_aid = #{splitAid,jdbcType=VARCHAR},
split_time = #{splitTime,jdbcType=TIMESTAMP}
where id = #{id,jdbcType=INTEGER}
update t_order_task set task_allocator= #{aid,jdbcType=VARCHAR},task_receiver= #{transferId,jdbcType=VARCHAR}
,consultant_id=#{transferId,jdbcType=VARCHAR}
,manager_id=#{transferId,jdbcType=VARCHAR}
where task_receiver=#{aid,jdbcType=VARCHAR}
update t_order_task set outsource= #{type} where order_no= #{orderNo}