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, tid, cid, order_no, main, commodity_id, commodity_name, commodity_quantity, commodity_price,
task_comment, type, create_time, split_status, split_super, receiver_name, official_cost,
cost_reduction
delete from t_change_task
where id = #{id,jdbcType=INTEGER}
delete from t_change_task
insert into t_change_task (id, tid, cid,
order_no, main, commodity_id,
commodity_name, commodity_quantity, commodity_price,
task_comment, type, create_time,
split_status, split_super, receiver_name,
official_cost, cost_reduction)
values (#{id,jdbcType=INTEGER}, #{tid,jdbcType=INTEGER}, #{cid,jdbcType=INTEGER},
#{orderNo,jdbcType=VARCHAR}, #{main,jdbcType=INTEGER}, #{commodityId,jdbcType=VARCHAR},
#{commodityName,jdbcType=VARCHAR}, #{commodityQuantity,jdbcType=INTEGER}, #{commodityPrice,jdbcType=DECIMAL},
#{taskComment,jdbcType=VARCHAR}, #{type,jdbcType=INTEGER}, #{createTime,jdbcType=TIMESTAMP},
#{splitStatus,jdbcType=INTEGER}, #{splitSuper,jdbcType=INTEGER}, #{receiverName,jdbcType=VARCHAR},
#{officialCost,jdbcType=INTEGER}, #{costReduction,jdbcType=INTEGER})
insert into t_change_task
id,
tid,
cid,
order_no,
main,
commodity_id,
commodity_name,
commodity_quantity,
commodity_price,
task_comment,
type,
create_time,
split_status,
split_super,
receiver_name,
official_cost,
cost_reduction,
#{id,jdbcType=INTEGER},
#{tid,jdbcType=INTEGER},
#{cid,jdbcType=INTEGER},
#{orderNo,jdbcType=VARCHAR},
#{main,jdbcType=INTEGER},
#{commodityId,jdbcType=VARCHAR},
#{commodityName,jdbcType=VARCHAR},
#{commodityQuantity,jdbcType=INTEGER},
#{commodityPrice,jdbcType=DECIMAL},
#{taskComment,jdbcType=VARCHAR},
#{type,jdbcType=INTEGER},
#{createTime,jdbcType=TIMESTAMP},
#{splitStatus,jdbcType=INTEGER},
#{splitSuper,jdbcType=INTEGER},
#{receiverName,jdbcType=VARCHAR},
#{officialCost,jdbcType=INTEGER},
#{costReduction,jdbcType=INTEGER},
update t_change_task
id = #{record.id,jdbcType=INTEGER},
tid = #{record.tid,jdbcType=INTEGER},
cid = #{record.cid,jdbcType=INTEGER},
order_no = #{record.orderNo,jdbcType=VARCHAR},
main = #{record.main,jdbcType=INTEGER},
commodity_id = #{record.commodityId,jdbcType=VARCHAR},
commodity_name = #{record.commodityName,jdbcType=VARCHAR},
commodity_quantity = #{record.commodityQuantity,jdbcType=INTEGER},
commodity_price = #{record.commodityPrice,jdbcType=DECIMAL},
task_comment = #{record.taskComment,jdbcType=VARCHAR},
type = #{record.type,jdbcType=INTEGER},
create_time = #{record.createTime,jdbcType=TIMESTAMP},
split_status = #{record.splitStatus,jdbcType=INTEGER},
split_super = #{record.splitSuper,jdbcType=INTEGER},
receiver_name = #{record.receiverName,jdbcType=VARCHAR},
official_cost = #{record.officialCost,jdbcType=INTEGER},
cost_reduction = #{record.costReduction,jdbcType=INTEGER},
update t_change_task
set id = #{record.id,jdbcType=INTEGER},
tid = #{record.tid,jdbcType=INTEGER},
cid = #{record.cid,jdbcType=INTEGER},
order_no = #{record.orderNo,jdbcType=VARCHAR},
main = #{record.main,jdbcType=INTEGER},
commodity_id = #{record.commodityId,jdbcType=VARCHAR},
commodity_name = #{record.commodityName,jdbcType=VARCHAR},
commodity_quantity = #{record.commodityQuantity,jdbcType=INTEGER},
commodity_price = #{record.commodityPrice,jdbcType=DECIMAL},
task_comment = #{record.taskComment,jdbcType=VARCHAR},
type = #{record.type,jdbcType=INTEGER},
create_time = #{record.createTime,jdbcType=TIMESTAMP},
split_status = #{record.splitStatus,jdbcType=INTEGER},
split_super = #{record.splitSuper,jdbcType=INTEGER},
receiver_name = #{record.receiverName,jdbcType=VARCHAR},
official_cost = #{record.officialCost,jdbcType=INTEGER},
cost_reduction = #{record.costReduction,jdbcType=INTEGER}
update t_change_task
tid = #{tid,jdbcType=INTEGER},
cid = #{cid,jdbcType=INTEGER},
order_no = #{orderNo,jdbcType=VARCHAR},
main = #{main,jdbcType=INTEGER},
commodity_id = #{commodityId,jdbcType=VARCHAR},
commodity_name = #{commodityName,jdbcType=VARCHAR},
commodity_quantity = #{commodityQuantity,jdbcType=INTEGER},
commodity_price = #{commodityPrice,jdbcType=DECIMAL},
task_comment = #{taskComment,jdbcType=VARCHAR},
type = #{type,jdbcType=INTEGER},
create_time = #{createTime,jdbcType=TIMESTAMP},
split_status = #{splitStatus,jdbcType=INTEGER},
split_super = #{splitSuper,jdbcType=INTEGER},
receiver_name = #{receiverName,jdbcType=VARCHAR},
official_cost = #{officialCost,jdbcType=INTEGER},
cost_reduction = #{costReduction,jdbcType=INTEGER},
where id = #{id,jdbcType=INTEGER}
update t_change_task
set tid = #{tid,jdbcType=INTEGER},
cid = #{cid,jdbcType=INTEGER},
order_no = #{orderNo,jdbcType=VARCHAR},
main = #{main,jdbcType=INTEGER},
commodity_id = #{commodityId,jdbcType=VARCHAR},
commodity_name = #{commodityName,jdbcType=VARCHAR},
commodity_quantity = #{commodityQuantity,jdbcType=INTEGER},
commodity_price = #{commodityPrice,jdbcType=DECIMAL},
task_comment = #{taskComment,jdbcType=VARCHAR},
type = #{type,jdbcType=INTEGER},
create_time = #{createTime,jdbcType=TIMESTAMP},
split_status = #{splitStatus,jdbcType=INTEGER},
split_super = #{splitSuper,jdbcType=INTEGER},
receiver_name = #{receiverName,jdbcType=VARCHAR},
official_cost = #{officialCost,jdbcType=INTEGER},
cost_reduction = #{costReduction,jdbcType=INTEGER}
where id = #{id,jdbcType=INTEGER}
insert into t_change_task ( tid, cid, split_status,
order_no, commodity_id, commodity_name,
commodity_quantity, commodity_price, task_comment,
split_super , receiver_name, create_time)
values
( #{item.tid,jdbcType=INTEGER}, #{item.cid,jdbcType=INTEGER}, #{item.splitStatus,jdbcType=INTEGER},
#{item.orderNo,jdbcType=VARCHAR}, #{item.commodityId,jdbcType=VARCHAR}, #{item.commodityName,jdbcType=VARCHAR},
#{item.commodityQuantity,jdbcType=INTEGER}, #{item.commodityPrice,jdbcType=DECIMAL}, #{item.taskComment,jdbcType=VARCHAR},
#{item.splitSuper,jdbcType=INTEGER}, #{item.receiverName,jdbcType=VARCHAR}, now())
update t_change_task set type= #{type}
where 1=1
and tid= #{tid}
and cid= #{cid}
and split_super= #{sid}
delete from t_change_task where tid= #{tid};