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, tid, project_type, dun_type, wait_day, effective_count, aid, status,
create_time, start_time, money, appropriation_ratio, customize_name, customize_time
delete from new_order_dun
where id = #{id,jdbcType=INTEGER}
delete from new_order_dun
insert into new_order_dun (id, order_no, tid,
project_type, dun_type, wait_day,
effective_count, aid, status,
create_time, start_time, money,
appropriation_ratio, customize_name, customize_time
)
values (#{id,jdbcType=INTEGER}, #{orderNo,jdbcType=VARCHAR}, #{tid,jdbcType=INTEGER},
#{projectType,jdbcType=INTEGER}, #{dunType,jdbcType=INTEGER}, #{waitDay,jdbcType=INTEGER},
#{effectiveCount,jdbcType=INTEGER}, #{aid,jdbcType=VARCHAR}, #{status,jdbcType=INTEGER},
#{createTime,jdbcType=TIMESTAMP}, #{startTime,jdbcType=TIMESTAMP}, #{money,jdbcType=DECIMAL},
#{appropriationRatio,jdbcType=DECIMAL}, #{customizeName,jdbcType=VARCHAR}, #{customizeTime,jdbcType=TIMESTAMP}
)
insert into new_order_dun
id,
order_no,
tid,
project_type,
dun_type,
wait_day,
effective_count,
aid,
status,
create_time,
start_time,
money,
appropriation_ratio,
customize_name,
customize_time,
#{id,jdbcType=INTEGER},
#{orderNo,jdbcType=VARCHAR},
#{tid,jdbcType=INTEGER},
#{projectType,jdbcType=INTEGER},
#{dunType,jdbcType=INTEGER},
#{waitDay,jdbcType=INTEGER},
#{effectiveCount,jdbcType=INTEGER},
#{aid,jdbcType=VARCHAR},
#{status,jdbcType=INTEGER},
#{createTime,jdbcType=TIMESTAMP},
#{startTime,jdbcType=TIMESTAMP},
#{money,jdbcType=DECIMAL},
#{appropriationRatio,jdbcType=DECIMAL},
#{customizeName,jdbcType=VARCHAR},
#{customizeTime,jdbcType=TIMESTAMP},
update new_order_dun
id = #{record.id,jdbcType=INTEGER},
order_no = #{record.orderNo,jdbcType=VARCHAR},
tid = #{record.tid,jdbcType=INTEGER},
project_type = #{record.projectType,jdbcType=INTEGER},
dun_type = #{record.dunType,jdbcType=INTEGER},
wait_day = #{record.waitDay,jdbcType=INTEGER},
effective_count = #{record.effectiveCount,jdbcType=INTEGER},
aid = #{record.aid,jdbcType=VARCHAR},
status = #{record.status,jdbcType=INTEGER},
create_time = #{record.createTime,jdbcType=TIMESTAMP},
start_time = #{record.startTime,jdbcType=TIMESTAMP},
money = #{record.money,jdbcType=DECIMAL},
appropriation_ratio = #{record.appropriationRatio,jdbcType=DECIMAL},
customize_name = #{record.customizeName,jdbcType=VARCHAR},
customize_time = #{record.customizeTime,jdbcType=TIMESTAMP},
update new_order_dun
set id = #{record.id,jdbcType=INTEGER},
order_no = #{record.orderNo,jdbcType=VARCHAR},
tid = #{record.tid,jdbcType=INTEGER},
project_type = #{record.projectType,jdbcType=INTEGER},
dun_type = #{record.dunType,jdbcType=INTEGER},
wait_day = #{record.waitDay,jdbcType=INTEGER},
effective_count = #{record.effectiveCount,jdbcType=INTEGER},
aid = #{record.aid,jdbcType=VARCHAR},
status = #{record.status,jdbcType=INTEGER},
create_time = #{record.createTime,jdbcType=TIMESTAMP},
start_time = #{record.startTime,jdbcType=TIMESTAMP},
money = #{record.money,jdbcType=DECIMAL},
appropriation_ratio = #{record.appropriationRatio,jdbcType=DECIMAL},
customize_name = #{record.customizeName,jdbcType=VARCHAR},
customize_time = #{record.customizeTime,jdbcType=TIMESTAMP}
update new_order_dun
order_no = #{orderNo,jdbcType=VARCHAR},
tid = #{tid,jdbcType=INTEGER},
project_type = #{projectType,jdbcType=INTEGER},
dun_type = #{dunType,jdbcType=INTEGER},
wait_day = #{waitDay,jdbcType=INTEGER},
effective_count = #{effectiveCount,jdbcType=INTEGER},
aid = #{aid,jdbcType=VARCHAR},
status = #{status,jdbcType=INTEGER},
create_time = #{createTime,jdbcType=TIMESTAMP},
start_time = #{startTime,jdbcType=TIMESTAMP},
money = #{money,jdbcType=DECIMAL},
appropriation_ratio = #{appropriationRatio,jdbcType=DECIMAL},
customize_name = #{customizeName,jdbcType=VARCHAR},
customize_time = #{customizeTime,jdbcType=TIMESTAMP},
where id = #{id,jdbcType=INTEGER}
update new_order_dun
set order_no = #{orderNo,jdbcType=VARCHAR},
tid = #{tid,jdbcType=INTEGER},
project_type = #{projectType,jdbcType=INTEGER},
dun_type = #{dunType,jdbcType=INTEGER},
wait_day = #{waitDay,jdbcType=INTEGER},
effective_count = #{effectiveCount,jdbcType=INTEGER},
aid = #{aid,jdbcType=VARCHAR},
status = #{status,jdbcType=INTEGER},
create_time = #{createTime,jdbcType=TIMESTAMP},
start_time = #{startTime,jdbcType=TIMESTAMP},
money = #{money,jdbcType=DECIMAL},
appropriation_ratio = #{appropriationRatio,jdbcType=DECIMAL},
customize_name = #{customizeName,jdbcType=VARCHAR},
customize_time = #{customizeTime,jdbcType=TIMESTAMP}
where id = #{id,jdbcType=INTEGER}
delete from new_order_dun
where tid = #{tid,jdbcType=INTEGER}
insert into new_order_dun ( order_no, tid,
project_type, dun_type, wait_day,
effective_count, aid, status,
create_time, start_time, money,
appropriation_ratio, customize_name, customize_time
)
values
(#{item.orderNo,jdbcType=VARCHAR}, #{item.tid,jdbcType=INTEGER},
#{item.projectType,jdbcType=INTEGER}, #{item.dunType,jdbcType=INTEGER}, #{item.waitDay,jdbcType=INTEGER},
#{item.effectiveCount,jdbcType=INTEGER}, #{item.aid,jdbcType=VARCHAR}, #{item.status,jdbcType=INTEGER},
#{item.createTime,jdbcType=TIMESTAMP}, #{item.startTime,jdbcType=TIMESTAMP}, #{item.money,jdbcType=DECIMAL},
#{item.appropriationRatio,jdbcType=DECIMAL}, #{item.customizeName,jdbcType=VARCHAR}, #{item.customizeTime,jdbcType=TIMESTAMP}
)