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, type, ctid delete from t_change_dun where id = #{id,jdbcType=INTEGER} delete from t_change_dun insert into t_change_dun (id, did, cid, order_no, tid, project_type, dun_type, wait_day, effective_count, aid, status, create_time, start_time, money, appropriation_ratio, type, ctid) 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}, #{type,jdbcType=INTEGER}, #{ctid,jdbcType=INTEGER}) insert into t_change_dun id, did, cid, order_no, tid, project_type, dun_type, wait_day, effective_count, aid, status, create_time, start_time, money, appropriation_ratio, type, ctid, #{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}, #{type,jdbcType=INTEGER}, #{ctid,jdbcType=INTEGER}, update t_change_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}, type = #{record.type,jdbcType=INTEGER}, ctid = #{record.ctid,jdbcType=INTEGER}, update t_change_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}, type = #{record.type,jdbcType=INTEGER}, ctid = #{record.ctid,jdbcType=INTEGER} update t_change_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}, type = #{type,jdbcType=INTEGER}, ctid = #{ctid,jdbcType=INTEGER}, where id = #{id,jdbcType=INTEGER} update t_change_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}, type = #{type,jdbcType=INTEGER}, ctid = #{ctid,jdbcType=INTEGER} where id = #{id,jdbcType=INTEGER} insert into t_change_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} ) update t_change_dun set type= #{type} where 1=1 and tid= #{tid} and cid= #{cid} update t_change_dun set tid= #{tid} where 1=1 and ctid= #{ctid} delete from t_change_dun where ctid = #{id,jdbcType=INTEGER}