From f8efdbc9658a35e0a6a59a7062971ba6a0a72552 Mon Sep 17 00:00:00 2001 From: tiger_zhou <123456> Date: Thu, 22 Sep 2022 17:43:12 +0800 Subject: [PATCH] =?UTF-8?q?=E7=90=86=E8=AE=BA=E8=AF=95=E9=A2=98=E7=AE=A1?= =?UTF-8?q?=E7=90=86=E4=BB=A3=E7=A0=81=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../question/PagerQuestionBankController.java | 4 ++-- .../rtss/dao/{ => paper}/PagerQuestionDAO.java | 9 +++++---- .../{ => paper}/question/PaperQuestion.java | 2 +- .../question/PaperQuestionExample.java | 2 +- .../question/PaperQuestionWithBLOBs.java | 2 +- .../question/PagerQuestionService.java | 15 +++++++-------- .../question}/PagerLableQueryVO.java | 5 +---- .../question}/PaperQuestionOptionVO2.java | 2 +- .../v2 => pager/question}/PaperQuestionVO.java | 4 ++-- .../mybatis/mapper/PaperQuestionDAO.xml | 18 +++++++++--------- 10 files changed, 30 insertions(+), 33 deletions(-) rename src/main/java/club/joylink/rtss/dao/{ => paper}/PagerQuestionDAO.java (85%) rename src/main/java/club/joylink/rtss/entity/{ => paper}/question/PaperQuestion.java (94%) rename src/main/java/club/joylink/rtss/entity/{ => paper}/question/PaperQuestionExample.java (99%) rename src/main/java/club/joylink/rtss/entity/{ => paper}/question/PaperQuestionWithBLOBs.java (86%) rename src/main/java/club/joylink/rtss/vo/client/{question/v2 => pager/question}/PagerLableQueryVO.java (83%) rename src/main/java/club/joylink/rtss/vo/client/{question/v2 => pager/question}/PaperQuestionOptionVO2.java (97%) rename src/main/java/club/joylink/rtss/vo/client/{question/v2 => pager/question}/PaperQuestionVO.java (96%) diff --git a/src/main/java/club/joylink/rtss/controller/competition/question/PagerQuestionBankController.java b/src/main/java/club/joylink/rtss/controller/competition/question/PagerQuestionBankController.java index 810a9961f..796af465f 100644 --- a/src/main/java/club/joylink/rtss/controller/competition/question/PagerQuestionBankController.java +++ b/src/main/java/club/joylink/rtss/controller/competition/question/PagerQuestionBankController.java @@ -5,9 +5,9 @@ import club.joylink.rtss.services.completition.question.PagerQuestionService; import club.joylink.rtss.vo.AccountVO; import club.joylink.rtss.vo.LoginUserInfoVO; import club.joylink.rtss.vo.client.PageVO; +import club.joylink.rtss.vo.client.pager.question.PagerLableQueryVO; +import club.joylink.rtss.vo.client.pager.question.PaperQuestionVO; import club.joylink.rtss.vo.client.question.QuestionQueryVO; -import club.joylink.rtss.vo.client.question.v2.PagerLableQueryVO; -import club.joylink.rtss.vo.client.question.v2.PaperQuestionVO; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.validation.annotation.Validated; import org.springframework.web.bind.annotation.*; diff --git a/src/main/java/club/joylink/rtss/dao/PagerQuestionDAO.java b/src/main/java/club/joylink/rtss/dao/paper/PagerQuestionDAO.java similarity index 85% rename from src/main/java/club/joylink/rtss/dao/PagerQuestionDAO.java rename to src/main/java/club/joylink/rtss/dao/paper/PagerQuestionDAO.java index b8e116d4b..892bb356e 100644 --- a/src/main/java/club/joylink/rtss/dao/PagerQuestionDAO.java +++ b/src/main/java/club/joylink/rtss/dao/paper/PagerQuestionDAO.java @@ -1,7 +1,8 @@ -package club.joylink.rtss.dao; +package club.joylink.rtss.dao.paper; -import club.joylink.rtss.entity.question.PaperQuestion; -import club.joylink.rtss.entity.question.PaperQuestionExample; +import club.joylink.rtss.dao.MyBatisBaseDao; +import club.joylink.rtss.entity.paper.question.PaperQuestion; +import club.joylink.rtss.entity.paper.question.PaperQuestionExample; import org.apache.ibatis.annotations.Mapper; import org.apache.ibatis.annotations.Select; import org.springframework.stereotype.Repository; @@ -10,7 +11,7 @@ import java.util.List; @Mapper @Repository -public interface PagerQuestionDAO extends MyBatisBaseDao{ +public interface PagerQuestionDAO extends MyBatisBaseDao { @Select("