diff --git a/src/main/resources/mybatis/mapper/PaperCompositionDAO.xml b/src/main/resources/mybatis/mapper/PaperCompositionDAO.xml index 65a595af0..647f29994 100644 --- a/src/main/resources/mybatis/mapper/PaperCompositionDAO.xml +++ b/src/main/resources/mybatis/mapper/PaperCompositionDAO.xml @@ -83,7 +83,7 @@ distinct - from paper_composition + from rts_paper_composition @@ -102,21 +102,21 @@ - delete from paper_composition + delete from rts_paper_composition where id = #{id,jdbcType=BIGINT} - delete from paper_composition + delete from rts_paper_composition - insert into paper_composition (id, `name`, profile, + insert into rts_paper_composition (id, `name`, profile, org_id, start_time, end_time, valid_duration, pass_score, creator_id, create_time, update_time, `state` @@ -128,7 +128,7 @@ ) - insert into paper_composition + insert into rts_paper_composition id, @@ -207,13 +207,13 @@ - update paper_composition + update rts_paper_composition id = #{record.id,jdbcType=BIGINT}, @@ -257,7 +257,7 @@ - update paper_composition + update rts_paper_composition set id = #{record.id,jdbcType=BIGINT}, `name` = #{record.name,jdbcType=VARCHAR}, profile = #{record.profile,jdbcType=VARCHAR}, @@ -275,7 +275,7 @@ - update paper_composition + update rts_paper_composition `name` = #{name,jdbcType=VARCHAR}, @@ -314,7 +314,7 @@ where id = #{id,jdbcType=BIGINT} - update paper_composition + update rts_paper_composition set `name` = #{name,jdbcType=VARCHAR}, profile = #{profile,jdbcType=VARCHAR}, org_id = #{orgId,jdbcType=BIGINT}, diff --git a/src/main/resources/mybatis/mapper/PaperRuleDAO.xml b/src/main/resources/mybatis/mapper/PaperRuleDAO.xml index 440ffd830..25bced396 100644 --- a/src/main/resources/mybatis/mapper/PaperRuleDAO.xml +++ b/src/main/resources/mybatis/mapper/PaperRuleDAO.xml @@ -77,7 +77,7 @@ distinct - from paper_rule + from rts_paper_rule @@ -96,21 +96,21 @@ - delete from paper_rule + delete from rts_paper_rule where id = #{id,jdbcType=BIGINT} - delete from paper_rule + delete from rts_paper_rule - insert into paper_rule (id, pc_id, `type`, + insert into rts_paper_rule (id, pc_id, `type`, subType, tags, amount, score) values (#{id,jdbcType=BIGINT}, #{pcId,jdbcType=BIGINT}, #{type,jdbcType=INTEGER}, @@ -118,7 +118,7 @@ #{score,jdbcType=INTEGER}) - insert into paper_rule + insert into rts_paper_rule id, @@ -167,13 +167,13 @@ - update paper_rule + update rts_paper_rule id = #{record.id,jdbcType=BIGINT}, @@ -202,7 +202,7 @@ - update paper_rule + update rts_paper_rule set id = #{record.id,jdbcType=BIGINT}, pc_id = #{record.pcId,jdbcType=BIGINT}, `type` = #{record.type,jdbcType=INTEGER}, @@ -215,7 +215,7 @@ - update paper_rule + update rts_paper_rule pc_id = #{pcId,jdbcType=BIGINT}, @@ -239,7 +239,7 @@ where id = #{id,jdbcType=BIGINT} - update paper_rule + update rts_paper_rule set pc_id = #{pcId,jdbcType=BIGINT}, `type` = #{type,jdbcType=INTEGER}, subType = #{subtype,jdbcType=INTEGER}, diff --git a/src/main/resources/mybatis/mapper/PaperUserDAO.xml b/src/main/resources/mybatis/mapper/PaperUserDAO.xml index e5718591e..3e0b5b757 100644 --- a/src/main/resources/mybatis/mapper/PaperUserDAO.xml +++ b/src/main/resources/mybatis/mapper/PaperUserDAO.xml @@ -79,7 +79,7 @@ distinct - from paper_user + from rts_paper_user @@ -98,21 +98,21 @@ - delete from paper_user + delete from rts_paper_user where id = #{id,jdbcType=BIGINT} - delete from paper_user + delete from rts_paper_user - insert into paper_user (id, user_id, pc_id, + insert into rts_paper_user (id, user_id, pc_id, org_id, score, start_time, end_time, cause, create_time ) @@ -122,7 +122,7 @@ ) - insert into paper_user + insert into rts_paper_user id, @@ -183,13 +183,13 @@ - update paper_user + update rts_paper_user id = #{record.id,jdbcType=BIGINT}, @@ -224,7 +224,7 @@ - update paper_user + update rts_paper_user set id = #{record.id,jdbcType=BIGINT}, user_id = #{record.userId,jdbcType=BIGINT}, pc_id = #{record.pcId,jdbcType=BIGINT}, @@ -239,7 +239,7 @@ - update paper_user + update rts_paper_user user_id = #{userId,jdbcType=BIGINT}, @@ -269,7 +269,7 @@ where id = #{id,jdbcType=BIGINT} - update paper_user + update rts_paper_user set user_id = #{userId,jdbcType=BIGINT}, pc_id = #{pcId,jdbcType=BIGINT}, org_id = #{orgId,jdbcType=BIGINT}, diff --git a/src/main/resources/mybatis/mapper/PaperUserQuestionDAO.xml b/src/main/resources/mybatis/mapper/PaperUserQuestionDAO.xml index de218f51e..6d0d896f0 100644 --- a/src/main/resources/mybatis/mapper/PaperUserQuestionDAO.xml +++ b/src/main/resources/mybatis/mapper/PaperUserQuestionDAO.xml @@ -76,7 +76,7 @@ distinct - from paper_user_question + from rts_paper_user_question @@ -95,21 +95,21 @@ - delete from paper_user_question + delete from rts_paper_user_question where id = #{id,jdbcType=BIGINT} - delete from paper_user_question + delete from rts_paper_user_question - insert into paper_user_question (id, pu_id, org_id, + insert into rts_paper_user_question (id, pu_id, org_id, `type`, question_id, `state` ) values (#{id,jdbcType=BIGINT}, #{puId,jdbcType=BIGINT}, #{orgId,jdbcType=BIGINT}, @@ -117,7 +117,7 @@ ) - insert into paper_user_question + insert into rts_paper_user_question id, @@ -160,13 +160,13 @@ - update paper_user_question + update rts_paper_user_question id = #{record.id,jdbcType=BIGINT}, @@ -192,7 +192,7 @@ - update paper_user_question + update rts_paper_user_question set id = #{record.id,jdbcType=BIGINT}, pu_id = #{record.puId,jdbcType=BIGINT}, org_id = #{record.orgId,jdbcType=BIGINT}, @@ -204,7 +204,7 @@ - update paper_user_question + update rts_paper_user_question pu_id = #{puId,jdbcType=BIGINT}, @@ -225,7 +225,7 @@ where id = #{id,jdbcType=BIGINT} - update paper_user_question + update rts_paper_user_question set pu_id = #{puId,jdbcType=BIGINT}, org_id = #{orgId,jdbcType=BIGINT}, `type` = #{type,jdbcType=INTEGER},