From b36b863b158165ed233263faeb0d0b31f5015245 Mon Sep 17 00:00:00 2001 From: infin_caishuxiao Date: Sat, 24 Feb 2018 16:50:01 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8Dmybatis=20id=E5=86=B2?= =?UTF-8?q?=E7=AA=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../prd/TBizCollectionOverdueBucketMapper.xml | 150 +----------------- 1 file changed, 3 insertions(+), 147 deletions(-) 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