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, contract_id, commodity_id, commodity_name, commodity_quantity, commodity_type,
commodity_mode, create_time, task_comment, task_status, task_distribution_time, task_allocator,
task_receiver, deleted_sign, serial_number
attachment_url
delete from contract_task
where id = #{id,jdbcType=VARCHAR}
delete from contract_task
insert into contract_task (id, contract_id, commodity_id,
commodity_name, commodity_quantity, commodity_type,
commodity_mode, create_time, task_comment,
task_status, task_distribution_time, task_allocator,
task_receiver, deleted_sign, serial_number,
attachment_url,publish_status)
values (#{id,jdbcType=VARCHAR}, #{contractId,jdbcType=VARCHAR}, #{commodityId,jdbcType=VARCHAR},
#{commodityName,jdbcType=VARCHAR}, #{commodityQuantity,jdbcType=INTEGER}, #{commodityType,jdbcType=INTEGER},
#{commodityMode,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP}, #{taskComment,jdbcType=VARCHAR},
#{taskStatus,jdbcType=INTEGER}, #{taskDistributionTime,jdbcType=TIMESTAMP}, #{taskAllocator,jdbcType=VARCHAR},
#{taskReceiver,jdbcType=VARCHAR}, #{deletedSign,jdbcType=INTEGER}, #{serialNumber,jdbcType=INTEGER},
#{attachmentUrl,jdbcType=LONGVARCHAR},#{publishStatus,jdbcType=VARCHAR})
insert into contract_task
id,
contract_id,
commodity_id,
commodity_name,
commodity_quantity,
commodity_type,
commodity_mode,
create_time,
task_comment,
task_status,
task_distribution_time,
task_allocator,
task_receiver,
deleted_sign,
serial_number,
attachment_url,
#{id,jdbcType=VARCHAR},
#{contractId,jdbcType=VARCHAR},
#{commodityId,jdbcType=VARCHAR},
#{commodityName,jdbcType=VARCHAR},
#{commodityQuantity,jdbcType=INTEGER},
#{commodityType,jdbcType=INTEGER},
#{commodityMode,jdbcType=VARCHAR},
#{createTime,jdbcType=TIMESTAMP},
#{taskComment,jdbcType=VARCHAR},
#{taskStatus,jdbcType=INTEGER},
#{taskDistributionTime,jdbcType=TIMESTAMP},
#{taskAllocator,jdbcType=VARCHAR},
#{taskReceiver,jdbcType=VARCHAR},
#{deletedSign,jdbcType=INTEGER},
#{serialNumber,jdbcType=INTEGER},
#{attachmentUrl,jdbcType=LONGVARCHAR},
update contract_task
id = #{record.id,jdbcType=VARCHAR},
contract_id = #{record.contractId,jdbcType=VARCHAR},
commodity_id = #{record.commodityId,jdbcType=VARCHAR},
commodity_name = #{record.commodityName,jdbcType=VARCHAR},
commodity_quantity = #{record.commodityQuantity,jdbcType=INTEGER},
commodity_type = #{record.commodityType,jdbcType=INTEGER},
commodity_mode = #{record.commodityMode,jdbcType=VARCHAR},
create_time = #{record.createTime,jdbcType=TIMESTAMP},
task_comment = #{record.taskComment,jdbcType=VARCHAR},
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},
deleted_sign = #{record.deletedSign,jdbcType=INTEGER},
serial_number = #{record.serialNumber,jdbcType=INTEGER},
attachment_url = #{record.attachmentUrl,jdbcType=LONGVARCHAR},
update contract_task
set id = #{record.id,jdbcType=VARCHAR},
contract_id = #{record.contractId,jdbcType=VARCHAR},
commodity_id = #{record.commodityId,jdbcType=VARCHAR},
commodity_name = #{record.commodityName,jdbcType=VARCHAR},
commodity_quantity = #{record.commodityQuantity,jdbcType=INTEGER},
commodity_type = #{record.commodityType,jdbcType=INTEGER},
commodity_mode = #{record.commodityMode,jdbcType=VARCHAR},
create_time = #{record.createTime,jdbcType=TIMESTAMP},
task_comment = #{record.taskComment,jdbcType=VARCHAR},
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},
deleted_sign = #{record.deletedSign,jdbcType=INTEGER},
serial_number = #{record.serialNumber,jdbcType=INTEGER},
attachment_url = #{record.attachmentUrl,jdbcType=LONGVARCHAR}
update contract_task
set id = #{record.id,jdbcType=VARCHAR},
contract_id = #{record.contractId,jdbcType=VARCHAR},
commodity_id = #{record.commodityId,jdbcType=VARCHAR},
commodity_name = #{record.commodityName,jdbcType=VARCHAR},
commodity_quantity = #{record.commodityQuantity,jdbcType=INTEGER},
commodity_type = #{record.commodityType,jdbcType=INTEGER},
commodity_mode = #{record.commodityMode,jdbcType=VARCHAR},
create_time = #{record.createTime,jdbcType=TIMESTAMP},
task_comment = #{record.taskComment,jdbcType=VARCHAR},
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},
deleted_sign = #{record.deletedSign,jdbcType=INTEGER},
serial_number = #{record.serialNumber,jdbcType=INTEGER}
update contract_task
contract_id = #{contractId,jdbcType=VARCHAR},
commodity_id = #{commodityId,jdbcType=VARCHAR},
commodity_name = #{commodityName,jdbcType=VARCHAR},
commodity_quantity = #{commodityQuantity,jdbcType=INTEGER},
commodity_type = #{commodityType,jdbcType=INTEGER},
commodity_mode = #{commodityMode,jdbcType=VARCHAR},
create_time = #{createTime,jdbcType=TIMESTAMP},
task_comment = #{taskComment,jdbcType=VARCHAR},
task_status = #{taskStatus,jdbcType=INTEGER},
task_distribution_time = #{taskDistributionTime,jdbcType=TIMESTAMP},
task_allocator = #{taskAllocator,jdbcType=VARCHAR},
task_receiver = #{taskReceiver,jdbcType=VARCHAR},
deleted_sign = #{deletedSign,jdbcType=INTEGER},
publish_Status = #{publishStatus,jdbcType=INTEGER},
serial_number = #{serialNumber,jdbcType=INTEGER},
attachment_url = #{attachmentUrl,jdbcType=LONGVARCHAR},
where id = #{id,jdbcType=VARCHAR}
update contract_task
set contract_id = #{contractId,jdbcType=VARCHAR},
commodity_id = #{commodityId,jdbcType=VARCHAR},
commodity_name = #{commodityName,jdbcType=VARCHAR},
commodity_quantity = #{commodityQuantity,jdbcType=INTEGER},
commodity_type = #{commodityType,jdbcType=INTEGER},
commodity_mode = #{commodityMode,jdbcType=VARCHAR},
create_time = #{createTime,jdbcType=TIMESTAMP},
task_comment = #{taskComment,jdbcType=VARCHAR},
task_status = #{taskStatus,jdbcType=INTEGER},
task_distribution_time = #{taskDistributionTime,jdbcType=TIMESTAMP},
task_allocator = #{taskAllocator,jdbcType=VARCHAR},
task_receiver = #{taskReceiver,jdbcType=VARCHAR},
deleted_sign = #{deletedSign,jdbcType=INTEGER},
serial_number = #{serialNumber,jdbcType=INTEGER},
attachment_url = #{attachmentUrl,jdbcType=LONGVARCHAR}
where id = #{id,jdbcType=VARCHAR}
update contract_task
set contract_id = #{contractId,jdbcType=VARCHAR},
commodity_id = #{commodityId,jdbcType=VARCHAR},
commodity_name = #{commodityName,jdbcType=VARCHAR},
commodity_quantity = #{commodityQuantity,jdbcType=INTEGER},
commodity_type = #{commodityType,jdbcType=INTEGER},
commodity_mode = #{commodityMode,jdbcType=VARCHAR},
create_time = #{createTime,jdbcType=TIMESTAMP},
task_comment = #{taskComment,jdbcType=VARCHAR},
task_status = #{taskStatus,jdbcType=INTEGER},
task_distribution_time = #{taskDistributionTime,jdbcType=TIMESTAMP},
task_allocator = #{taskAllocator,jdbcType=VARCHAR},
task_receiver = #{taskReceiver,jdbcType=VARCHAR},
deleted_sign = #{deletedSign,jdbcType=INTEGER},
serial_number = #{serialNumber,jdbcType=INTEGER}
where id = #{id,jdbcType=VARCHAR}