diff --git a/infintech-executors/executor-collection-dispatcher/src/main/resources/mapping/prd/TBizCollectionOverdueBucketMapper.xml b/infintech-executors/executor-collection-dispatcher/src/main/resources/mapping/prd/TBizCollectionOverdueBucketMapper.xml index 6dc92b75..86540d8b 100644 --- a/infintech-executors/executor-collection-dispatcher/src/main/resources/mapping/prd/TBizCollectionOverdueBucketMapper.xml +++ b/infintech-executors/executor-collection-dispatcher/src/main/resources/mapping/prd/TBizCollectionOverdueBucketMapper.xml @@ -1,160 +1,16 @@ - + - - id, interval_id, left_closed_interval, t_system_role_id - - select - - from t_biz_collection_overdue_bucket - where id = #{id,jdbcType=SMALLINT} - - - delete from t_biz_collection_overdue_bucket - where id = #{id,jdbcType=SMALLINT} - - - insert into t_biz_collection_overdue_bucket (id, interval_id, left_closed_interval, - t_system_role_id) - values (#{id,jdbcType=SMALLINT}, #{intervalId,jdbcType=SMALLINT}, #{leftClosedInterval,jdbcType=SMALLINT}, - #{tSystemRoleId,jdbcType=VARCHAR}) - - - insert into t_biz_collection_overdue_bucket - - - id, - - - interval_id, - - - left_closed_interval, - - - t_system_role_id, - - - - - #{id,jdbcType=SMALLINT}, - - - #{intervalId,jdbcType=SMALLINT}, - - - #{leftClosedInterval,jdbcType=SMALLINT}, - - - #{tSystemRoleId,jdbcType=VARCHAR}, - - - - - update t_biz_collection_overdue_bucket - - - interval_id = #{intervalId,jdbcType=SMALLINT}, - - - left_closed_interval = #{leftClosedInterval,jdbcType=SMALLINT}, - - - t_system_role_id = #{tSystemRoleId,jdbcType=VARCHAR}, - - - where id = #{id,jdbcType=SMALLINT} - - - update t_biz_collection_overdue_bucket - set interval_id = #{intervalId,jdbcType=SMALLINT}, - left_closed_interval = #{leftClosedInterval,jdbcType=SMALLINT}, - t_system_role_id = #{tSystemRoleId,jdbcType=VARCHAR} - where id = #{id,jdbcType=SMALLINT} - - - - - - - - id, interval_id, left_closed_interval, t_system_role_id - - - - delete from t_biz_collection_overdue_bucket - where id = #{id,jdbcType=SMALLINT} - - - insert into t_biz_collection_overdue_bucket (id, interval_id, left_closed_interval, - t_system_role_id) - values (#{id,jdbcType=SMALLINT}, #{intervalId,jdbcType=SMALLINT}, #{leftClosedInterval,jdbcType=SMALLINT}, - #{tSystemRoleId,jdbcType=VARCHAR}) - - - insert into t_biz_collection_overdue_bucket - - - id, - - - interval_id, - - - left_closed_interval, - - - t_system_role_id, - - - - - #{id,jdbcType=SMALLINT}, - - - #{intervalId,jdbcType=SMALLINT}, - - - #{leftClosedInterval,jdbcType=SMALLINT}, - - - #{tSystemRoleId,jdbcType=VARCHAR}, - - - - - update t_biz_collection_overdue_bucket - - - interval_id = #{intervalId,jdbcType=SMALLINT}, - - - left_closed_interval = #{leftClosedInterval,jdbcType=SMALLINT}, - - - t_system_role_id = #{tSystemRoleId,jdbcType=VARCHAR}, - - - where id = #{id,jdbcType=SMALLINT} - - - update t_biz_collection_overdue_bucket - set interval_id = #{intervalId,jdbcType=SMALLINT}, - left_closed_interval = #{leftClosedInterval,jdbcType=SMALLINT}, - t_system_role_id = #{tSystemRoleId,jdbcType=VARCHAR} - where id = #{id,jdbcType=SMALLINT} - \ No newline at end of file