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, did, cid, order_no, tid, project_type, dun_type, wait_day, effective_count, aid,
status, create_time, start_time, money, appropriation_ratio
delete from t_changge_dun
where id = #{id,jdbcType=INTEGER}
delete from t_changge_dun
insert into t_changge_dun (id, did, cid,
order_no, tid, project_type,
dun_type, wait_day, effective_count,
aid, status, create_time,
start_time, money, appropriation_ratio
)
values (#{id,jdbcType=INTEGER}, #{did,jdbcType=INTEGER}, #{cid,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}
)
insert into t_changge_dun
id,
did,
cid,
order_no,
tid,
project_type,
dun_type,
wait_day,
effective_count,
aid,
status,
create_time,
start_time,
money,
appropriation_ratio,
#{id,jdbcType=INTEGER},
#{did,jdbcType=INTEGER},
#{cid,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},
update t_changge_dun
id = #{record.id,jdbcType=INTEGER},
did = #{record.did,jdbcType=INTEGER},
cid = #{record.cid,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},
update t_changge_dun
set id = #{record.id,jdbcType=INTEGER},
did = #{record.did,jdbcType=INTEGER},
cid = #{record.cid,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}
update t_changge_dun
did = #{did,jdbcType=INTEGER},
cid = #{cid,jdbcType=INTEGER},
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},
where id = #{id,jdbcType=INTEGER}
update t_changge_dun
set did = #{did,jdbcType=INTEGER},
cid = #{cid,jdbcType=INTEGER},
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}
where id = #{id,jdbcType=INTEGER}
insert into t_changge_dun (did, cid,
order_no, tid, project_type,
dun_type, wait_day, effective_count,
aid, status, create_time,
start_time, money, appropriation_ratio
)values
( #{item.did,jdbcType=INTEGER}, #{item.cid,jdbcType=INTEGER},
#{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}, now(),
#{item.startTime,jdbcType=TIMESTAMP}, #{item.money,jdbcType=DECIMAL}, #{item.appropriationRatio,jdbcType=DECIMAL}
)