diff --git a/backend/target/classes/application.properties b/backend/target/classes/application.properties deleted file mode 100644 index 82da790..0000000 --- a/backend/target/classes/application.properties +++ /dev/null @@ -1,18 +0,0 @@ -# 数据库配置 -jdbc.driver=com.mysql.cj.jdbc.Driver -jdbc.url=jdbc:mysql://host.docker.internal:3306/llm_survey?useUnicode=true&characterEncoding=utf8&serverTimezone=Asia/Shanghai -jdbc.username=dev -jdbc.password= - -# 连接池配置 -jdbc.pool.minimumIdle=5 -jdbc.pool.maximumPoolSize=20 -jdbc.pool.idleTimeout=300000 -jdbc.pool.connectionTimeout=20000 -jdbc.pool.connectionTestQuery=SELECT 1 - -# 日志配置 -logging.level.root=INFO -logging.level.ltd.qubit.survey=DEBUG -logging.level.org.springframework=INFO -logging.level.org.mybatis=DEBUG \ No newline at end of file diff --git a/backend/target/classes/ltd/qubit/survey/controller/GlobalExceptionHandler.class b/backend/target/classes/ltd/qubit/survey/controller/GlobalExceptionHandler.class deleted file mode 100644 index 50970f9..0000000 Binary files a/backend/target/classes/ltd/qubit/survey/controller/GlobalExceptionHandler.class and /dev/null differ diff --git a/backend/target/classes/ltd/qubit/survey/controller/QuestionController.class b/backend/target/classes/ltd/qubit/survey/controller/QuestionController.class deleted file mode 100644 index a7134cc..0000000 Binary files a/backend/target/classes/ltd/qubit/survey/controller/QuestionController.class and /dev/null differ diff --git a/backend/target/classes/ltd/qubit/survey/controller/SurveyController.class b/backend/target/classes/ltd/qubit/survey/controller/SurveyController.class deleted file mode 100644 index 8db65d4..0000000 Binary files a/backend/target/classes/ltd/qubit/survey/controller/SurveyController.class and /dev/null differ diff --git a/backend/target/classes/ltd/qubit/survey/controller/UserController.class b/backend/target/classes/ltd/qubit/survey/controller/UserController.class deleted file mode 100644 index 2a8479b..0000000 Binary files a/backend/target/classes/ltd/qubit/survey/controller/UserController.class and /dev/null differ diff --git a/backend/target/classes/ltd/qubit/survey/dao/BaseDao.class b/backend/target/classes/ltd/qubit/survey/dao/BaseDao.class deleted file mode 100644 index dddfd3f..0000000 Binary files a/backend/target/classes/ltd/qubit/survey/dao/BaseDao.class and /dev/null differ diff --git a/backend/target/classes/ltd/qubit/survey/dao/OptionDao.class b/backend/target/classes/ltd/qubit/survey/dao/OptionDao.class deleted file mode 100644 index acd91bf..0000000 Binary files a/backend/target/classes/ltd/qubit/survey/dao/OptionDao.class and /dev/null differ diff --git a/backend/target/classes/ltd/qubit/survey/dao/QuestionDao.class b/backend/target/classes/ltd/qubit/survey/dao/QuestionDao.class deleted file mode 100644 index 0d2eb01..0000000 Binary files a/backend/target/classes/ltd/qubit/survey/dao/QuestionDao.class and /dev/null differ diff --git a/backend/target/classes/ltd/qubit/survey/dao/SurveyResponseDao.class b/backend/target/classes/ltd/qubit/survey/dao/SurveyResponseDao.class deleted file mode 100644 index 2748c90..0000000 Binary files a/backend/target/classes/ltd/qubit/survey/dao/SurveyResponseDao.class and /dev/null differ diff --git a/backend/target/classes/ltd/qubit/survey/dao/UserDao.class b/backend/target/classes/ltd/qubit/survey/dao/UserDao.class deleted file mode 100644 index 0f1583f..0000000 Binary files a/backend/target/classes/ltd/qubit/survey/dao/UserDao.class and /dev/null differ diff --git a/backend/target/classes/ltd/qubit/survey/model/ErrorInfo.class b/backend/target/classes/ltd/qubit/survey/model/ErrorInfo.class deleted file mode 100644 index fb52328..0000000 Binary files a/backend/target/classes/ltd/qubit/survey/model/ErrorInfo.class and /dev/null differ diff --git a/backend/target/classes/ltd/qubit/survey/model/Option.class b/backend/target/classes/ltd/qubit/survey/model/Option.class deleted file mode 100644 index f3c971a..0000000 Binary files a/backend/target/classes/ltd/qubit/survey/model/Option.class and /dev/null differ diff --git a/backend/target/classes/ltd/qubit/survey/model/PositionType.class b/backend/target/classes/ltd/qubit/survey/model/PositionType.class deleted file mode 100644 index 9bd1a87..0000000 Binary files a/backend/target/classes/ltd/qubit/survey/model/PositionType.class and /dev/null differ diff --git a/backend/target/classes/ltd/qubit/survey/model/Question.class b/backend/target/classes/ltd/qubit/survey/model/Question.class deleted file mode 100644 index c8a21b0..0000000 Binary files a/backend/target/classes/ltd/qubit/survey/model/Question.class and /dev/null differ diff --git a/backend/target/classes/ltd/qubit/survey/model/QuestionType.class b/backend/target/classes/ltd/qubit/survey/model/QuestionType.class deleted file mode 100644 index 1816eeb..0000000 Binary files a/backend/target/classes/ltd/qubit/survey/model/QuestionType.class and /dev/null differ diff --git a/backend/target/classes/ltd/qubit/survey/model/SurveyResponse.class b/backend/target/classes/ltd/qubit/survey/model/SurveyResponse.class deleted file mode 100644 index 13c176c..0000000 Binary files a/backend/target/classes/ltd/qubit/survey/model/SurveyResponse.class and /dev/null differ diff --git a/backend/target/classes/ltd/qubit/survey/model/User.class b/backend/target/classes/ltd/qubit/survey/model/User.class deleted file mode 100644 index 6564144..0000000 Binary files a/backend/target/classes/ltd/qubit/survey/model/User.class and /dev/null differ diff --git a/backend/target/classes/ltd/qubit/survey/model/WorkArea.class b/backend/target/classes/ltd/qubit/survey/model/WorkArea.class deleted file mode 100644 index b7511bb..0000000 Binary files a/backend/target/classes/ltd/qubit/survey/model/WorkArea.class and /dev/null differ diff --git a/backend/target/classes/ltd/qubit/survey/service/BaseService.class b/backend/target/classes/ltd/qubit/survey/service/BaseService.class deleted file mode 100644 index 9dc92b0..0000000 Binary files a/backend/target/classes/ltd/qubit/survey/service/BaseService.class and /dev/null differ diff --git a/backend/target/classes/ltd/qubit/survey/service/OptionService.class b/backend/target/classes/ltd/qubit/survey/service/OptionService.class deleted file mode 100644 index 0d9db2a..0000000 Binary files a/backend/target/classes/ltd/qubit/survey/service/OptionService.class and /dev/null differ diff --git a/backend/target/classes/ltd/qubit/survey/service/QuestionService.class b/backend/target/classes/ltd/qubit/survey/service/QuestionService.class deleted file mode 100644 index 4d918e0..0000000 Binary files a/backend/target/classes/ltd/qubit/survey/service/QuestionService.class and /dev/null differ diff --git a/backend/target/classes/ltd/qubit/survey/service/SurveyResponseService.class b/backend/target/classes/ltd/qubit/survey/service/SurveyResponseService.class deleted file mode 100644 index 81a06d0..0000000 Binary files a/backend/target/classes/ltd/qubit/survey/service/SurveyResponseService.class and /dev/null differ diff --git a/backend/target/classes/ltd/qubit/survey/service/UserService.class b/backend/target/classes/ltd/qubit/survey/service/UserService.class deleted file mode 100644 index 492a713..0000000 Binary files a/backend/target/classes/ltd/qubit/survey/service/UserService.class and /dev/null differ diff --git a/backend/target/classes/ltd/qubit/survey/service/impl/OptionServiceImpl.class b/backend/target/classes/ltd/qubit/survey/service/impl/OptionServiceImpl.class deleted file mode 100644 index 89c2847..0000000 Binary files a/backend/target/classes/ltd/qubit/survey/service/impl/OptionServiceImpl.class and /dev/null differ diff --git a/backend/target/classes/ltd/qubit/survey/service/impl/QuestionServiceImpl.class b/backend/target/classes/ltd/qubit/survey/service/impl/QuestionServiceImpl.class deleted file mode 100644 index 3f92959..0000000 Binary files a/backend/target/classes/ltd/qubit/survey/service/impl/QuestionServiceImpl.class and /dev/null differ diff --git a/backend/target/classes/ltd/qubit/survey/service/impl/SurveyResponseServiceImpl.class b/backend/target/classes/ltd/qubit/survey/service/impl/SurveyResponseServiceImpl.class deleted file mode 100644 index 6475d51..0000000 Binary files a/backend/target/classes/ltd/qubit/survey/service/impl/SurveyResponseServiceImpl.class and /dev/null differ diff --git a/backend/target/classes/ltd/qubit/survey/service/impl/UserServiceImpl.class b/backend/target/classes/ltd/qubit/survey/service/impl/UserServiceImpl.class deleted file mode 100644 index 546c175..0000000 Binary files a/backend/target/classes/ltd/qubit/survey/service/impl/UserServiceImpl.class and /dev/null differ diff --git a/backend/target/classes/mybatis/mapper/OptionMapper.xml b/backend/target/classes/mybatis/mapper/OptionMapper.xml deleted file mode 100644 index da7f3c3..0000000 --- a/backend/target/classes/mybatis/mapper/OptionMapper.xml +++ /dev/null @@ -1,83 +0,0 @@ - - - - - - - - - - - - - - - - `id`, `question_id`, `option_code`, `content`, `requires_text`, `created_at` - - - - - INSERT INTO `option` (`question_id`, `option_code`, `content`, `requires_text`) - VALUES (#{questionId}, #{optionCode}, #{content}, #{requiresText}) - - - - - INSERT INTO `option` (`question_id`, `option_code`, `content`, `requires_text`) - VALUES - - (#{item.questionId}, #{item.optionCode}, #{item.content}, #{item.requiresText}) - - - - - - UPDATE `option` - SET `question_id` = #{questionId}, - `option_code` = #{optionCode}, - `content` = #{content}, - `requires_text` = #{requiresText} - WHERE `id` = #{id} - - - - - DELETE FROM `option` WHERE `id` = #{id} - - - - - DELETE FROM `option` WHERE `question_id` = #{questionId} - - - - - - - - - - - - - - \ No newline at end of file diff --git a/backend/target/classes/mybatis/mapper/QuestionMapper.xml b/backend/target/classes/mybatis/mapper/QuestionMapper.xml deleted file mode 100644 index 93e87dd..0000000 --- a/backend/target/classes/mybatis/mapper/QuestionMapper.xml +++ /dev/null @@ -1,79 +0,0 @@ - - - - - - - - - - - - - - - - - - `id`, `number`, `content`, `type`, `is_required`, `next`, `is_last`, `created_at` - - - - - INSERT INTO `question` (`number`, `content`, `type`, `is_required`, `next`, `is_last`) - VALUES (#{number}, #{content}, #{type}, #{isRequired}, - #{next,typeHandler=ltd.qubit.survey.common.mybatis.JsonTypeHandler}, - #{isLast}) - - - - - UPDATE `question` - SET `number` = #{number}, - `content` = #{content}, - `type` = #{type}, - `is_required` = #{isRequired}, - `next` = #{next,typeHandler=ltd.qubit.survey.common.mybatis.JsonTypeHandler}, - `is_last` = #{isLast} - WHERE `id` = #{id} - - - - - DELETE FROM `question` WHERE `id` = #{id} - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/backend/target/classes/mybatis/mapper/SurveyResponseMapper.xml b/backend/target/classes/mybatis/mapper/SurveyResponseMapper.xml deleted file mode 100644 index c954675..0000000 --- a/backend/target/classes/mybatis/mapper/SurveyResponseMapper.xml +++ /dev/null @@ -1,93 +0,0 @@ - - - - - - - - - - - - - - - - `id`, `user_id`, `question_id`, `selected_options`, `text_answer`, `created_at` - - - - - INSERT INTO `survey_response` (`user_id`, `question_id`, `selected_options`, `text_answer`) - VALUES (#{userId}, #{questionId}, #{selectedOptions,typeHandler=ltd.qubit.survey.common.mybatis.JsonTypeHandler}, #{textAnswer}) - - - - - INSERT INTO `survey_response` (`user_id`, `question_id`, `selected_options`, `text_answer`) - VALUES - - (#{item.userId}, #{item.questionId}, - #{item.selectedOptions,typeHandler=ltd.qubit.survey.common.mybatis.JsonTypeHandler}, - #{item.textAnswer}) - - - - - - UPDATE `survey_response` - SET `user_id` = #{userId}, - `question_id` = #{questionId}, - `selected_options` = #{selectedOptions,typeHandler=ltd.qubit.survey.common.mybatis.JsonTypeHandler}, - `text_answer` = #{textAnswer} - WHERE `id` = #{id} - - - - - DELETE FROM `survey_response` WHERE `id` = #{id} - - - - - DELETE FROM `survey_response` WHERE `user_id` = #{userId} - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/backend/target/classes/mybatis/mapper/UserMapper.xml b/backend/target/classes/mybatis/mapper/UserMapper.xml deleted file mode 100644 index 43db318..0000000 --- a/backend/target/classes/mybatis/mapper/UserMapper.xml +++ /dev/null @@ -1,58 +0,0 @@ - - - - - - - - - - - - - - - `id`, `name`, `phone`, `position_type`, `created_at` - - - - - INSERT INTO `user` (`name`, `phone`, `position_type`) - VALUES (#{name}, #{phone}, #{positionType}) - - - - - UPDATE `user` - SET `name` = #{name}, - `phone` = #{phone}, - `position_type` = #{positionType} - WHERE `id` = #{id} - - - - - DELETE FROM `user` WHERE `id` = #{id} - - - - - - - - - - - \ No newline at end of file diff --git a/backend/target/classes/mybatis/mybatis-config.xml b/backend/target/classes/mybatis/mybatis-config.xml deleted file mode 100644 index f330cc0..0000000 --- a/backend/target/classes/mybatis/mybatis-config.xml +++ /dev/null @@ -1,41 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/backend/target/classes/spring/applicationContext.xml b/backend/target/classes/spring/applicationContext.xml deleted file mode 100644 index 1628c02..0000000 --- a/backend/target/classes/spring/applicationContext.xml +++ /dev/null @@ -1,47 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/backend/target/classes/spring/spring-mvc.xml b/backend/target/classes/spring/spring-mvc.xml deleted file mode 100644 index b90005a..0000000 --- a/backend/target/classes/spring/spring-mvc.xml +++ /dev/null @@ -1,58 +0,0 @@ - - - - - - - - - - - - - - - - - application/json;charset=UTF-8 - - - - - - - - text/plain;charset=UTF-8 - text/html;charset=UTF-8 - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/backend/target/classes/spring/spring-mybatis.xml b/backend/target/classes/spring/spring-mybatis.xml deleted file mode 100644 index b3d611a..0000000 --- a/backend/target/classes/spring/spring-mybatis.xml +++ /dev/null @@ -1,64 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - helperDialect=mysql - reasonable=true - supportMethodsArguments=true - params=count=countSql - - - - - - - - - - - - - - - - - - - diff --git a/backend/target/maven-status/maven-compiler-plugin/compile/default-compile/createdFiles.lst b/backend/target/maven-status/maven-compiler-plugin/compile/default-compile/createdFiles.lst deleted file mode 100644 index a92df7b..0000000 --- a/backend/target/maven-status/maven-compiler-plugin/compile/default-compile/createdFiles.lst +++ /dev/null @@ -1,29 +0,0 @@ -ltd/qubit/survey/common/mybatis/InstantTypeHandler.class -ltd/qubit/survey/controller/GlobalExceptionHandler.class -ltd/qubit/survey/dao/QuestionDao.class -ltd/qubit/survey/model/PositionType.class -ltd/qubit/survey/service/OptionService.class -ltd/qubit/survey/controller/UserController.class -ltd/qubit/survey/service/impl/SurveyResponseServiceImpl.class -ltd/qubit/survey/dao/SurveyResponseDao.class -ltd/qubit/survey/dao/OptionDao.class -ltd/qubit/survey/controller/QuestionController.class -ltd/qubit/survey/service/impl/UserServiceImpl.class -ltd/qubit/survey/service/impl/QuestionServiceImpl.class -ltd/qubit/survey/model/SurveyResponse.class -ltd/qubit/survey/utils/CustomObjectMapper.class -ltd/qubit/survey/model/User.class -ltd/qubit/survey/service/QuestionService.class -ltd/qubit/survey/common/mybatis/JsonTypeHandler.class -ltd/qubit/survey/service/UserService.class -ltd/qubit/survey/dao/BaseDao.class -ltd/qubit/survey/service/impl/OptionServiceImpl.class -ltd/qubit/survey/dao/UserDao.class -ltd/qubit/survey/model/ErrorInfo.class -ltd/qubit/survey/controller/SurveyController.class -ltd/qubit/survey/model/Question.class -ltd/qubit/survey/model/WorkArea.class -ltd/qubit/survey/service/SurveyResponseService.class -ltd/qubit/survey/model/Option.class -ltd/qubit/survey/model/QuestionType.class -ltd/qubit/survey/service/BaseService.class diff --git a/backend/target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst b/backend/target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst deleted file mode 100644 index 748eacc..0000000 --- a/backend/target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst +++ /dev/null @@ -1,29 +0,0 @@ -/Volumes/working/qubit/project/llm-survey/backend/src/main/java/ltd/qubit/survey/dao/QuestionDao.java -/Volumes/working/qubit/project/llm-survey/backend/src/main/java/ltd/qubit/survey/service/UserService.java -/Volumes/working/qubit/project/llm-survey/backend/src/main/java/ltd/qubit/survey/service/OptionService.java -/Volumes/working/qubit/project/llm-survey/backend/src/main/java/ltd/qubit/survey/common/mybatis/JsonTypeHandler.java -/Volumes/working/qubit/project/llm-survey/backend/src/main/java/ltd/qubit/survey/model/Question.java -/Volumes/working/qubit/project/llm-survey/backend/src/main/java/ltd/qubit/survey/service/QuestionService.java -/Volumes/working/qubit/project/llm-survey/backend/src/main/java/ltd/qubit/survey/service/BaseService.java -/Volumes/working/qubit/project/llm-survey/backend/src/main/java/ltd/qubit/survey/model/User.java -/Volumes/working/qubit/project/llm-survey/backend/src/main/java/ltd/qubit/survey/service/impl/OptionServiceImpl.java -/Volumes/working/qubit/project/llm-survey/backend/src/main/java/ltd/qubit/survey/service/impl/QuestionServiceImpl.java -/Volumes/working/qubit/project/llm-survey/backend/src/main/java/ltd/qubit/survey/common/mybatis/InstantTypeHandler.java -/Volumes/working/qubit/project/llm-survey/backend/src/main/java/ltd/qubit/survey/service/SurveyResponseService.java -/Volumes/working/qubit/project/llm-survey/backend/src/main/java/ltd/qubit/survey/model/Option.java -/Volumes/working/qubit/project/llm-survey/backend/src/main/java/ltd/qubit/survey/controller/GlobalExceptionHandler.java -/Volumes/working/qubit/project/llm-survey/backend/src/main/java/ltd/qubit/survey/model/QuestionType.java -/Volumes/working/qubit/project/llm-survey/backend/src/main/java/ltd/qubit/survey/dao/UserDao.java -/Volumes/working/qubit/project/llm-survey/backend/src/main/java/ltd/qubit/survey/model/SurveyResponse.java -/Volumes/working/qubit/project/llm-survey/backend/src/main/java/ltd/qubit/survey/service/impl/SurveyResponseServiceImpl.java -/Volumes/working/qubit/project/llm-survey/backend/src/main/java/ltd/qubit/survey/model/ErrorInfo.java -/Volumes/working/qubit/project/llm-survey/backend/src/main/java/ltd/qubit/survey/controller/UserController.java -/Volumes/working/qubit/project/llm-survey/backend/src/main/java/ltd/qubit/survey/service/impl/UserServiceImpl.java -/Volumes/working/qubit/project/llm-survey/backend/src/main/java/ltd/qubit/survey/dao/SurveyResponseDao.java -/Volumes/working/qubit/project/llm-survey/backend/src/main/java/ltd/qubit/survey/controller/QuestionController.java -/Volumes/working/qubit/project/llm-survey/backend/src/main/java/ltd/qubit/survey/model/WorkArea.java -/Volumes/working/qubit/project/llm-survey/backend/src/main/java/ltd/qubit/survey/utils/CustomObjectMapper.java -/Volumes/working/qubit/project/llm-survey/backend/src/main/java/ltd/qubit/survey/model/PositionType.java -/Volumes/working/qubit/project/llm-survey/backend/src/main/java/ltd/qubit/survey/dao/BaseDao.java -/Volumes/working/qubit/project/llm-survey/backend/src/main/java/ltd/qubit/survey/controller/SurveyController.java -/Volumes/working/qubit/project/llm-survey/backend/src/main/java/ltd/qubit/survey/dao/OptionDao.java