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, create_time, type
delete from t_changge_task
where id = #{id,jdbcType=INTEGER}
delete from t_changge_task
insert into t_changge_task (id, tid, cid,
order_no, main, commodity_id,
commodity_name, commodity_quantity, commodity_price,
task_comment, create_time, type
)
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}, #{createTime,jdbcType=TIMESTAMP}, #{type,jdbcType=INTEGER}
)
insert into t_changge_task
id,
tid,
cid,
order_no,
main,
commodity_id,
commodity_name,
commodity_quantity,
commodity_price,
task_comment,
create_time,
type,
#{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},
#{createTime,jdbcType=TIMESTAMP},
#{type,jdbcType=INTEGER},
update t_changge_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},
create_time = #{record.createTime,jdbcType=TIMESTAMP},
type = #{record.type,jdbcType=INTEGER},
update t_changge_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},
create_time = #{record.createTime,jdbcType=TIMESTAMP},
type = #{record.type,jdbcType=INTEGER}
update t_changge_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},
create_time = #{createTime,jdbcType=TIMESTAMP},
type = #{type,jdbcType=INTEGER},
where id = #{id,jdbcType=INTEGER}
update t_changge_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},
create_time = #{createTime,jdbcType=TIMESTAMP},
type = #{type,jdbcType=INTEGER}
where id = #{id,jdbcType=INTEGER}
insert into t_changge_task ( tid, cid,
order_no, commodity_id, commodity_name,
commodity_quantity, commodity_price, task_comment,
create_time)
values
( #{item.tid,jdbcType=INTEGER}, #{item.cid,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},
now())