From 51d88273151791b60871ed73e35dadf836394b0a Mon Sep 17 00:00:00 2001 From: chenhaodong Date: Wed, 17 Jun 2026 23:34:20 +0800 Subject: [PATCH] mod doc --- .idea/compiler.xml | 2 + .idea/dataSources.xml | 17 + .../java/com/bc/exam/ExamApplication.java | 26 +- .../java/com/bc/exam/core/api/ApiError.java | 8 +- .../java/com/bc/exam/core/api/ApiRest.java | 7 +- .../bc/exam/core/api/dto/BaseIdsReqDTO.java | 6 +- .../bc/exam/core/api/dto/BaseStateReqDTO.java | 10 +- .../bc/exam/core/api/dto/PagingReqDTO.java | 6 +- .../bc/exam/core/api/dto/PagingRespDTO.java | 7 +- .../bc/exam/core/api/utils/JsonConverter.java | 6 +- .../com/bc/exam/core/enums/CommonState.java | 8 +- .../exam/core/exception/ServiceException.java | 5 + .../exception/ServiceExceptionHandler.java | 6 +- .../com/bc/exam/core/utils/CodeGenerator.java | 75 -- .../com/bc/exam/core/utils/DateUtils.java | 101 -- .../java/com/bc/exam/core/utils/IpUtils.java | 65 - .../com/bc/exam/core/utils/Reflections.java | 11 +- .../com/bc/exam/core/utils/SpringUtils.java | 32 - .../com/bc/exam/core/utils/StringUtils.java | 24 +- .../bc/exam/core/utils/excel/ExportExcel.java | 402 ------- .../bc/exam/core/utils/excel/ImportExcel.java | 303 ----- .../utils/excel/annotation/ExcelField.java | 59 - .../core/utils/excel/fieldtype/ListType.java | 56 - .../com/bc/exam/core/utils/file/MD5Util.java | 10 +- .../exam/core/utils/passwd/PassHandler.java | 14 +- .../bc/exam/core/utils/passwd/PassInfo.java | 9 +- .../java/com/bc/exam/modules/Constant.java | 5 +- .../controller/SysConfigController.java | 13 +- .../exam/modules/config/dto/SysConfigDTO.java | 14 +- .../exam/modules/config/entity/SysConfig.java | 12 +- .../config/mapper/SysConfigMapper.java | 12 +- .../config/service/SysConfigService.java | 12 +- .../service/impl/SysConfigServiceImpl.java | 12 +- .../controller/SysDepartController.java | 140 --- .../exam/modules/depart/dto/SysDepartDTO.java | 41 - .../depart/dto/request/DepartSortReqDTO.java | 28 - .../depart/dto/response/SysDepartTreeDTO.java | 28 - .../exam/modules/depart/entity/SysDepart.java | 59 - .../depart/mapper/SysDepartMapper.java | 28 - .../depart/service/SysDepartService.java | 62 - .../service/impl/SysDepartServiceImpl.java | 277 ----- .../controller/SysDictDataController.java | 10 +- .../controller/SysDictTypeController.java | 10 +- .../exam/modules/dict/entity/SysDictData.java | 10 +- .../exam/modules/dict/entity/SysDictType.java | 10 +- .../dict/mapper/SysDictDataMapper.java | 10 +- .../dict/mapper/SysDictTypeMapper.java | 10 +- .../dict/service/SysDictDataService.java | 9 +- .../dict/service/SysDictTypeService.java | 9 +- .../service/impl/SysDictDataServiceImpl.java | 9 +- .../service/impl/SysDictTypeServiceImpl.java | 9 +- .../controller/TGonggaoController.java | 7 +- .../exam/modules/gonggao/entity/TGonggao.java | 9 +- .../gonggao/mapper/TGonggaoMapper.java | 9 +- .../gonggao/service/TGonggaoService.java | 9 +- .../service/impl/TGonggaoServiceImpl.java | 9 +- .../liuyan/controller/TLiuyanController.java | 7 +- .../exam/modules/liuyan/entity/TLiuyan.java | 9 +- .../modules/liuyan/mapper/TLiuyanMapper.java | 9 +- .../liuyan/service/TLiuyanService.java | 9 +- .../service/impl/TLiuyanServiceImpl.java | 9 +- .../student/controller/StudentController.java | 7 +- .../exam/modules/student/entity/Student.java | 9 +- .../modules/student/mapper/StudentMapper.java | 9 +- .../student/service/StudentService.java | 9 +- .../service/impl/StudentServiceImpl.java | 9 +- .../modules/system/mapper/SysDictMapper.java | 11 +- .../system/service/SysDictService.java | 4 - .../service/impl/SysDictServiceImpl.java | 3 - .../tjhxxb/controller/TJhxxbController.java | 7 +- .../bc/exam/modules/tjhxxb/entity/TJhxxb.java | 7 +- .../modules/tjhxxb/mapper/TJhxxbMapper.java | 10 +- .../modules/tjhxxb/service/TJhxxbService.java | 9 +- .../service/impl/TJhxxbServiceImpl.java | 9 +- .../tlog/controller/TLogController.java | 7 +- .../com/bc/exam/modules/tlog/entity/TLog.java | 9 +- .../exam/modules/tlog/mapper/TLogMapper.java | 10 +- .../modules/tlog/service/TLogService.java | 9 +- .../tlog/service/impl/TLogServiceImpl.java | 9 +- .../tsjxxb/controller/TSjxxbController.java | 7 +- .../bc/exam/modules/tsjxxb/entity/TSjxxb.java | 7 +- .../modules/tsjxxb/mapper/TSjxxbMapper.java | 9 +- .../modules/tsjxxb/service/TSjxxbService.java | 9 +- .../service/impl/TSjxxbServiceImpl.java | 9 +- .../com/bc/exam/modules/user/UserUtils.java | 31 +- .../user/controller/SysRoleController.java | 9 +- .../user/controller/SysUserController.java | 9 +- .../bc/exam/modules/user/dto/SysRoleDTO.java | 11 +- .../bc/exam/modules/user/dto/SysUserDTO.java | 11 +- .../exam/modules/user/dto/SysUserRoleDTO.java | 11 +- .../user/dto/request/SysUserLoginReqDTO.java | 11 +- .../user/dto/request/SysUserSaveReqDTO.java | 11 +- .../user/dto/request/SysUserTokenReqDTO.java | 11 +- .../user/dto/response/SysUserLoginDTO.java | 11 +- .../bc/exam/modules/user/entity/SysRole.java | 11 +- .../bc/exam/modules/user/entity/SysUser.java | 11 +- .../exam/modules/user/entity/SysUserRole.java | 11 +- .../modules/user/mapper/SysRoleMapper.java | 11 +- .../modules/user/mapper/SysUserMapper.java | 11 +- .../user/mapper/SysUserRoleMapper.java | 11 +- .../modules/user/service/SysRoleService.java | 11 +- .../user/service/SysUserRoleService.java | 11 +- .../modules/user/service/SysUserService.java | 11 +- .../user/service/impl/SysRoleServiceImpl.java | 11 +- .../service/impl/SysUserRoleServiceImpl.java | 11 +- .../user/service/impl/SysUserServiceImpl.java | 11 +- .../src/main/resources/application-dev.yml | 15 +- .../mapper/sys/depart/SysDepartMapper.xml | 41 - .../src/test/java/com/bc/exam/chdtest.java | 18 - logs/chdbs/spring.log | 1056 +++++++++++++++++ 110 files changed, 1388 insertions(+), 2388 deletions(-) create mode 100644 .idea/dataSources.xml delete mode 100644 exam-api/src/main/java/com/bc/exam/core/utils/CodeGenerator.java delete mode 100644 exam-api/src/main/java/com/bc/exam/core/utils/DateUtils.java delete mode 100644 exam-api/src/main/java/com/bc/exam/core/utils/IpUtils.java delete mode 100644 exam-api/src/main/java/com/bc/exam/core/utils/SpringUtils.java delete mode 100644 exam-api/src/main/java/com/bc/exam/core/utils/excel/ExportExcel.java delete mode 100644 exam-api/src/main/java/com/bc/exam/core/utils/excel/ImportExcel.java delete mode 100644 exam-api/src/main/java/com/bc/exam/core/utils/excel/annotation/ExcelField.java delete mode 100644 exam-api/src/main/java/com/bc/exam/core/utils/excel/fieldtype/ListType.java delete mode 100644 exam-api/src/main/java/com/bc/exam/modules/depart/controller/SysDepartController.java delete mode 100644 exam-api/src/main/java/com/bc/exam/modules/depart/dto/SysDepartDTO.java delete mode 100644 exam-api/src/main/java/com/bc/exam/modules/depart/dto/request/DepartSortReqDTO.java delete mode 100644 exam-api/src/main/java/com/bc/exam/modules/depart/dto/response/SysDepartTreeDTO.java delete mode 100644 exam-api/src/main/java/com/bc/exam/modules/depart/entity/SysDepart.java delete mode 100644 exam-api/src/main/java/com/bc/exam/modules/depart/mapper/SysDepartMapper.java delete mode 100644 exam-api/src/main/java/com/bc/exam/modules/depart/service/SysDepartService.java delete mode 100644 exam-api/src/main/java/com/bc/exam/modules/depart/service/impl/SysDepartServiceImpl.java delete mode 100644 exam-api/src/main/resources/mapper/sys/depart/SysDepartMapper.xml delete mode 100644 exam-api/src/test/java/com/bc/exam/chdtest.java diff --git a/.idea/compiler.xml b/.idea/compiler.xml index 25ffe24..f866e2a 100644 --- a/.idea/compiler.xml +++ b/.idea/compiler.xml @@ -7,6 +7,7 @@ + @@ -15,6 +16,7 @@ \ No newline at end of file diff --git a/.idea/dataSources.xml b/.idea/dataSources.xml new file mode 100644 index 0000000..0e3f01f --- /dev/null +++ b/.idea/dataSources.xml @@ -0,0 +1,17 @@ + + + + + mysql.8 + true + com.mysql.cj.jdbc.Driver + jdbc:mysql://110.42.189.169:3306/chdtushu + + + + + + $ProjectFileDir$ + + + \ No newline at end of file diff --git a/exam-api/src/main/java/com/bc/exam/ExamApplication.java b/exam-api/src/main/java/com/bc/exam/ExamApplication.java index 55ab469..64ce10b 100644 --- a/exam-api/src/main/java/com/bc/exam/ExamApplication.java +++ b/exam-api/src/main/java/com/bc/exam/ExamApplication.java @@ -2,20 +2,15 @@ package com.bc.exam; import com.bc.exam.core.api.utils.JsonConverter; import lombok.extern.log4j.Log4j2; -import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; -import org.springframework.context.ConfigurableApplicationContext; -import org.springframework.core.env.Environment; import org.springframework.http.converter.HttpMessageConverter; import org.springframework.transaction.annotation.EnableTransactionManagement; import org.springframework.web.servlet.config.annotation.WebMvcConfigurer; -import java.net.InetAddress; -import java.net.UnknownHostException; import java.util.List; /** - * @Description 描述: + * @Description 描述:springboot 系统启动 * @Author A贾宇婷034244310 * @Date 20260615 */ @@ -24,24 +19,11 @@ import java.util.List; @EnableTransactionManagement public class ExamApplication implements WebMvcConfigurer { - public static void main(String[] args) throws UnknownHostException { - ConfigurableApplicationContext application = SpringApplication.run(ExamApplication.class, args); - Environment env = application.getEnvironment(); - String ip = InetAddress.getLocalHost().getHostAddress(); - String port = env.getProperty("server.port"); - String path = env.getProperty("server.servlet.context-path"); - - // 未配置默认空白 - if(path == null){ - path = ""; - } - - + public static void main(String[] args) { log.info("\n----------------------------------------------------------\n\t" + "系统启动成功,访问路径如下:\n\t" + - "本地路径: \t\thttp://127.0.0.1:" + port + path + "/\n\t" + - "网络地址: \thttp://" + ip + ":" + port + path + "/\n\t" + - "API文档: \t\thttp://" + ip + ":" + port + path + "/doc.html\n" + + "本地路径: \t\thttp://127.0.0.1:8101/\n\t"+ + "API文档: \t\thttp://127.0.0.1:8101/doc.html\n\t" + "----------------------------------------------------------"); } diff --git a/exam-api/src/main/java/com/bc/exam/core/api/ApiError.java b/exam-api/src/main/java/com/bc/exam/core/api/ApiError.java index 63c201f..3a4f6f8 100644 --- a/exam-api/src/main/java/com/bc/exam/core/api/ApiError.java +++ b/exam-api/src/main/java/com/bc/exam/core/api/ApiError.java @@ -6,11 +6,11 @@ import lombok.NoArgsConstructor; import java.io.Serializable; + /** - * 全局错误码定义,用于定义接口的响应数据, - * 枚举名称全部使用代码命名,在系统中调用,免去取名难的问题。 - * @author chenhaodong - * @date 2019-06-14 21:15 + * @Description 描述:全局错误码定义,用于定义接口的响应数据,枚举名称全部使用代码命名,在系统中调用,免去取名难的问题。 + * @Author A贾宇婷034244310 + * @Date 20260615 */ @NoArgsConstructor @AllArgsConstructor diff --git a/exam-api/src/main/java/com/bc/exam/core/api/ApiRest.java b/exam-api/src/main/java/com/bc/exam/core/api/ApiRest.java index 03f3498..250ae43 100644 --- a/exam-api/src/main/java/com/bc/exam/core/api/ApiRest.java +++ b/exam-api/src/main/java/com/bc/exam/core/api/ApiRest.java @@ -7,10 +7,11 @@ import io.swagger.annotations.ApiModelProperty; import lombok.Data; import lombok.NoArgsConstructor; + /** - * 数据结果返回的封装 - * @author chenhaodong - * @date 2018/11/20 09:48 + * @Description 描述:数据结果返回的封装 + * @Author A贾宇婷034244310 + * @Date 20260615 */ @Data @NoArgsConstructor diff --git a/exam-api/src/main/java/com/bc/exam/core/api/dto/BaseIdsReqDTO.java b/exam-api/src/main/java/com/bc/exam/core/api/dto/BaseIdsReqDTO.java index a1808e9..69d5cdc 100644 --- a/exam-api/src/main/java/com/bc/exam/core/api/dto/BaseIdsReqDTO.java +++ b/exam-api/src/main/java/com/bc/exam/core/api/dto/BaseIdsReqDTO.java @@ -8,9 +8,9 @@ import lombok.Data; import java.util.List; /** - * 通用ID列表类操作,用于批量删除、修改状态等 - * @author chenhaodong - * @date 2019-08-01 19:07 + * @Description 描述:通用ID列表类操作,用于批量删除、修改状态等 + * @Author A贾宇婷034244310 + * @Date 20260615 */ @Data @ApiModel(value="删除参数", description="删除参数") diff --git a/exam-api/src/main/java/com/bc/exam/core/api/dto/BaseStateReqDTO.java b/exam-api/src/main/java/com/bc/exam/core/api/dto/BaseStateReqDTO.java index 0d7552c..4a5942e 100644 --- a/exam-api/src/main/java/com/bc/exam/core/api/dto/BaseStateReqDTO.java +++ b/exam-api/src/main/java/com/bc/exam/core/api/dto/BaseStateReqDTO.java @@ -8,13 +8,11 @@ import lombok.NoArgsConstructor; import java.util.List; + /** - *

- * 通用状态请求类,用于修改状态什么的 - *

- * - * @author chenhaodong - * @since 2019-04-20 12:15 + * @Description 描述:通用状态请求类,用于修改状态什么的 + * @Author A贾宇婷034244310 + * @Date 20260615 */ @Data @ApiModel(value="通用状态请求类", description="通用状态请求类") diff --git a/exam-api/src/main/java/com/bc/exam/core/api/dto/PagingReqDTO.java b/exam-api/src/main/java/com/bc/exam/core/api/dto/PagingReqDTO.java index 08ddeab..5396334 100644 --- a/exam-api/src/main/java/com/bc/exam/core/api/dto/PagingReqDTO.java +++ b/exam-api/src/main/java/com/bc/exam/core/api/dto/PagingReqDTO.java @@ -7,9 +7,9 @@ import io.swagger.annotations.ApiModelProperty; import lombok.Data; /** - * 分页查询类 - * @param - * @author chenhaodong + * @Description 描述:分页查询类 + * @Author A贾宇婷034244310 + * @Date 20260615 */ @ApiModel(value="分页参数", description="分页参数") @Data diff --git a/exam-api/src/main/java/com/bc/exam/core/api/dto/PagingRespDTO.java b/exam-api/src/main/java/com/bc/exam/core/api/dto/PagingRespDTO.java index 61b279f..3f72b4c 100644 --- a/exam-api/src/main/java/com/bc/exam/core/api/dto/PagingRespDTO.java +++ b/exam-api/src/main/java/com/bc/exam/core/api/dto/PagingRespDTO.java @@ -3,10 +3,9 @@ package com.bc.exam.core.api.dto; import com.baomidou.mybatisplus.extension.plugins.pagination.Page; /** - * 分页响应类 - * @author chenhaodong - * @date 2019-07-20 15:17 - * @param + * @Description 描述: + * @Author A贾宇婷034244310分页响应类 + * @Date 20260615 */ public class PagingRespDTO extends Page { diff --git a/exam-api/src/main/java/com/bc/exam/core/api/utils/JsonConverter.java b/exam-api/src/main/java/com/bc/exam/core/api/utils/JsonConverter.java index 6f9aa7e..e2f9a72 100644 --- a/exam-api/src/main/java/com/bc/exam/core/api/utils/JsonConverter.java +++ b/exam-api/src/main/java/com/bc/exam/core/api/utils/JsonConverter.java @@ -11,9 +11,9 @@ import java.util.ArrayList; import java.util.List; /** - * JSON数据转换器,用于转换返回消息的格式 - * @author chenhaodong - * @date 2018/9/11 19:30 + * @Description 描述:JSON数据转换器,用于转换返回消息的格式 + * @Author A贾宇婷034244310 + * @Date 20260615 */ public class JsonConverter { diff --git a/exam-api/src/main/java/com/bc/exam/core/enums/CommonState.java b/exam-api/src/main/java/com/bc/exam/core/enums/CommonState.java index f8ac9f0..3202eab 100644 --- a/exam-api/src/main/java/com/bc/exam/core/enums/CommonState.java +++ b/exam-api/src/main/java/com/bc/exam/core/enums/CommonState.java @@ -1,10 +1,10 @@ package com.bc.exam.core.enums; + /** - * 通用的状态枚举信息 - * - * @author chenhaodong - * @date 2019-09-17 17:57 + * @Description 描述:通用的状态枚举信息 + * @Author A贾宇婷034244310 + * @Date 20260615 */ public interface CommonState { diff --git a/exam-api/src/main/java/com/bc/exam/core/exception/ServiceException.java b/exam-api/src/main/java/com/bc/exam/core/exception/ServiceException.java index 820cec9..f03f12d 100644 --- a/exam-api/src/main/java/com/bc/exam/core/exception/ServiceException.java +++ b/exam-api/src/main/java/com/bc/exam/core/exception/ServiceException.java @@ -6,6 +6,11 @@ import lombok.AllArgsConstructor; import lombok.Data; import lombok.NoArgsConstructor; +/** + * @Description 描述:服务自定义异常 继承运行时异常 + * @Author A贾宇婷034244310 + * @Date 20260615 + */ @Data @AllArgsConstructor @NoArgsConstructor diff --git a/exam-api/src/main/java/com/bc/exam/core/exception/ServiceExceptionHandler.java b/exam-api/src/main/java/com/bc/exam/core/exception/ServiceExceptionHandler.java index a45abbe..11f2d6a 100644 --- a/exam-api/src/main/java/com/bc/exam/core/exception/ServiceExceptionHandler.java +++ b/exam-api/src/main/java/com/bc/exam/core/exception/ServiceExceptionHandler.java @@ -7,9 +7,9 @@ import org.springframework.web.bind.WebDataBinder; import org.springframework.web.bind.annotation.*; /** - * 统一异常处理类 - * @author chenhaodong - * @date 2019-06-21 19:27 + * @Description 描述:统一异常处理类 + * @Author A贾宇婷034244310 + * @Date 20260615 */ @RestControllerAdvice public class ServiceExceptionHandler { diff --git a/exam-api/src/main/java/com/bc/exam/core/utils/CodeGenerator.java b/exam-api/src/main/java/com/bc/exam/core/utils/CodeGenerator.java deleted file mode 100644 index b050bd4..0000000 --- a/exam-api/src/main/java/com/bc/exam/core/utils/CodeGenerator.java +++ /dev/null @@ -1,75 +0,0 @@ -package com.bc.exam.core.utils; - -import com.baomidou.mybatisplus.annotation.DbType; -import com.baomidou.mybatisplus.annotation.IdType; -import com.baomidou.mybatisplus.generator.AutoGenerator; -import com.baomidou.mybatisplus.generator.config.DataSourceConfig; -import com.baomidou.mybatisplus.generator.config.GlobalConfig; -import com.baomidou.mybatisplus.generator.config.PackageConfig; -import com.baomidou.mybatisplus.generator.config.StrategyConfig; -import com.baomidou.mybatisplus.generator.config.rules.DateType; -import com.baomidou.mybatisplus.generator.config.rules.NamingStrategy; - -/** - * @author chenhaodong - * @since 2022-11-23 21:11 - */ -public class CodeGenerator { - - public static void main(String[] args) { - - // 1、创建代码生成器 - AutoGenerator mpg = new AutoGenerator(); - - // 2、全局配置 - GlobalConfig gc = new GlobalConfig(); - String projectPath = System.getProperty("user.dir"); - gc.setOutputDir(projectPath + "/exam-api/src/main/java"); - gc.setAuthor("chenhaodong"); - gc.setOpen(false); //生成后是否打开资源管理器 - gc.setFileOverride(false); //重新生成时文件是否覆盖 - gc.setServiceName("%sService"); //去掉Service接口的首字母I - gc.setIdType(IdType.ASSIGN_ID); //主键策略 - gc.setDateType(DateType.ONLY_DATE);//定义生成的实体类中日期类型 - gc.setSwagger2(false);//开启Swagger2模式 - - mpg.setGlobalConfig(gc); - - // 3、数据源配置 - DataSourceConfig dsc = new DataSourceConfig(); - dsc.setUrl("jdbc:mysql://47.102.144.36:3306/chdbs?useSSL=false&serverTimezone=Asia/Shanghai&useUnicode=true&characterEncoding=utf-8&allowPublicKeyRetrieval=true"); - dsc.setDriverName("com.mysql.cj.jdbc.Driver"); - dsc.setUsername("chdbs"); - dsc.setPassword("chdbs"); - dsc.setDbType(DbType.MYSQL); - mpg.setDataSource(dsc); - - // 4、包配置 - PackageConfig pc = new PackageConfig(); - // 模块名 会在Parent目录下建立目录 - pc.setModuleName("tlog"); - pc.setParent("com.bc.exam.modules"); - pc.setController("controller"); - pc.setEntity("entity"); - pc.setService("service"); - pc.setMapper("mapper"); - mpg.setPackageInfo(pc); - - // 5、策略配置 - StrategyConfig strategy = new StrategyConfig(); - strategy.setInclude("t_log");//对那一张表生成代码 - strategy.setNaming(NamingStrategy.underline_to_camel);//数据库表映射到实体的命名策略 - strategy.setTablePrefix(pc.getModuleName() + "_"); //生成实体时去掉表前缀 - - strategy.setColumnNaming(NamingStrategy.underline_to_camel);//数据库表字段映射到实体的命名策略 - strategy.setEntityLombokModel(true); // lombok 模型 @Accessors(chain = true) setter链式操作 - - strategy.setRestControllerStyle(true); //restful api风格控制器 - strategy.setControllerMappingHyphenStyle(true); //url中驼峰转连字符 - - mpg.setStrategy(strategy); - - // 6、执行 - mpg.execute(); - } -} diff --git a/exam-api/src/main/java/com/bc/exam/core/utils/DateUtils.java b/exam-api/src/main/java/com/bc/exam/core/utils/DateUtils.java deleted file mode 100644 index 4b4e845..0000000 --- a/exam-api/src/main/java/com/bc/exam/core/utils/DateUtils.java +++ /dev/null @@ -1,101 +0,0 @@ -package com.bc.exam.core.utils; - -import java.text.SimpleDateFormat; -import java.util.Calendar; -import java.util.Date; -import java.util.GregorianCalendar; - -/** - * 日期处理工具类 - * ClassName: DateUtils
- * date: 2018年12月13日 下午6:34:02
- * - * @author chenhaodong - * @version - */ -public class DateUtils { - - /** - * - * calcExpDays:计算某个日期与当前日期相差的天数,如果计算的日期大于现在时间,将返回负数;否则返回正数
- * @author chenhaodong - * @param userCreateTime - * @return - * @since JDK 1.6 - */ - public static int calcExpDays(Date userCreateTime){ - - Calendar start = Calendar.getInstance(); - start.setTime(userCreateTime); - - Calendar now = Calendar.getInstance(); - now.setTime(new Date()); - - long l = now.getTimeInMillis() - start.getTimeInMillis(); - int days = new Long(l / (1000 * 60 * 60 * 24)).intValue(); - return days; - } - - - /** - * - * dateNow:获取当前时间的字符串格式,根据传入的格式化来展示.
- * @author chenhaodong - * @param format 日期格式化 - * @return - */ - public static String dateNow(String format) { - SimpleDateFormat fmt = new SimpleDateFormat(format); - Calendar c = new GregorianCalendar(); - return fmt.format(c.getTime()); - } - - /** - * formatDate:格式化日期,返回指定的格式
- * @author chenhaodong - * @param time - * @param format - * @return - */ - public static String formatDate(Date time, String format) { - SimpleDateFormat fmt = new SimpleDateFormat(format); - return fmt.format(time.getTime()); - } - - - - /** - * parseDate:将字符串转换成日期,使用:yyyy-MM-dd HH:mm:ss 来格式化 - * @author chenhaodong - * @param date - * @return - */ - public static Date parseDate(String date) { - return parseDate(date, "yyyy-MM-dd HH:mm:ss"); - } - - - /** - * - * parseDate:将字符串转换成日期,使用指定格式化来格式化 - * @author chenhaodong - * @param date - * @param pattern - * @return - */ - public static Date parseDate(String date, String pattern) { - - if (pattern==null) { - pattern = "yyyy-MM-dd HH:mm:ss"; - } - - SimpleDateFormat fmt = new SimpleDateFormat(pattern); - - try { - return fmt.parse(date); - } catch (Exception ignored) { - - } - return null; - } -} diff --git a/exam-api/src/main/java/com/bc/exam/core/utils/IpUtils.java b/exam-api/src/main/java/com/bc/exam/core/utils/IpUtils.java deleted file mode 100644 index ea9c32a..0000000 --- a/exam-api/src/main/java/com/bc/exam/core/utils/IpUtils.java +++ /dev/null @@ -1,65 +0,0 @@ -package com.bc.exam.core.utils; - - -import javax.servlet.http.HttpServletRequest; - -/** - * IP获取工具类,用户获取网络请求过来的真实IP - * ClassName: IpUtils
- * date: 2018年2月13日 下午7:27:52
- * - * @author chenhaodong - * @version - */ -public class IpUtils { - - - /** - * - * getClientIp:通过请求获取客户端的真实IP地址 - * @author chenhaodong - * @param request - * @return - */ - public static String extractClientIp(HttpServletRequest request) { - - String ip = null; - - //X-Forwarded-For:Squid 服务代理 - String ipAddresses = request.getHeader("X-Forwarded-For"); - - if (ipAddresses == null || ipAddresses.length() == 0 || "unknown".equalsIgnoreCase(ipAddresses)) { - //Proxy-Client-IP:apache 服务代理 - ipAddresses = request.getHeader("Proxy-Client-IP"); - } - - if (ipAddresses == null || ipAddresses.length() == 0 || "unknown".equalsIgnoreCase(ipAddresses)) { - //WL-Proxy-Client-IP:weblogic 服务代理 - ipAddresses = request.getHeader("WL-Proxy-Client-IP"); - } - - if (ipAddresses == null || ipAddresses.length() == 0 || "unknown".equalsIgnoreCase(ipAddresses)) { - //HTTP_CLIENT_IP:有些代理服务器 - ipAddresses = request.getHeader("HTTP_CLIENT_IP"); - } - - if (ipAddresses == null || ipAddresses.length() == 0 || "unknown".equalsIgnoreCase(ipAddresses)) { - //X-Real-IP:nginx服务代理 - ipAddresses = request.getHeader("X-Real-IP"); - } - - //有些网络通过多层代理,那么获取到的ip就会有多个,一般都是通过逗号(,)分割开来,并且第一个ip为客户端的真实IP - if (ipAddresses != null && ipAddresses.length() != 0) { - ip = ipAddresses.split(",")[0]; - } - - //还是不能获取到,最后再通过request.getRemoteAddr();获取 - if (ip == null || ip.length() == 0 || "unknown".equalsIgnoreCase(ipAddresses)) { - ip = request.getRemoteAddr(); - } - - return ip; - } - - -} diff --git a/exam-api/src/main/java/com/bc/exam/core/utils/Reflections.java b/exam-api/src/main/java/com/bc/exam/core/utils/Reflections.java index bafe037..f687875 100644 --- a/exam-api/src/main/java/com/bc/exam/core/utils/Reflections.java +++ b/exam-api/src/main/java/com/bc/exam/core/utils/Reflections.java @@ -1,6 +1,3 @@ -/** - * Copyright (c) 2005-2012 springside.org.cn - */ package com.bc.exam.core.utils; import lombok.extern.log4j.Log4j2; @@ -18,11 +15,11 @@ import java.util.ArrayList; import java.util.Arrays; import java.util.List; + /** - * 反射工具类. - * 提供调用getter/setter方法, 访问私有变量, 调用私有方法, 获取泛型类型Class, 被AOP过的真实类等工具函数. - * @author chenhaodong - * @version 2016-01-15 + * @Description 描述:反射工具类.提供调用getter/setter方法, 访问私有变量, 调用私有方法, 获取泛型类型Class, 被AOP过的真实类等工具函数. + * @Author A贾宇婷034244310 + * @Date 20260615 */ @Log4j2 public class Reflections { diff --git a/exam-api/src/main/java/com/bc/exam/core/utils/SpringUtils.java b/exam-api/src/main/java/com/bc/exam/core/utils/SpringUtils.java deleted file mode 100644 index b8e1f57..0000000 --- a/exam-api/src/main/java/com/bc/exam/core/utils/SpringUtils.java +++ /dev/null @@ -1,32 +0,0 @@ -package com.bc.exam.core.utils; - -import org.springframework.beans.BeansException; -import org.springframework.context.ApplicationContext; -import org.springframework.context.ApplicationContextAware; -import org.springframework.stereotype.Component; - -/** - * Spring获取工具 - * - * @author chenhaodong - * @date 2019-12-09 15:55 - */ -@Component -public class SpringUtils implements ApplicationContextAware { - - private static ApplicationContext applicationContext; - - @Override - public void setApplicationContext(ApplicationContext context) throws BeansException { - applicationContext = context; - } - - public static T getBean(Class tClass) { - return applicationContext.getBean(tClass); - } - - public static T getBean(String name, Class type) { - return applicationContext.getBean(name, type); - } - -} diff --git a/exam-api/src/main/java/com/bc/exam/core/utils/StringUtils.java b/exam-api/src/main/java/com/bc/exam/core/utils/StringUtils.java index 2dec493..ce94d87 100644 --- a/exam-api/src/main/java/com/bc/exam/core/utils/StringUtils.java +++ b/exam-api/src/main/java/com/bc/exam/core/utils/StringUtils.java @@ -1,11 +1,11 @@ package com.bc.exam.core.utils; -import java.util.Map; + /** - * 字符串常用工具类 - * @author chenhaodong - * @date 2019-05-15 11:40 + * @Description 描述:字符串常用工具类 + * @Author A贾宇婷034244310 + * @Date 20260615 */ public class StringUtils { @@ -19,21 +19,5 @@ public class StringUtils { } - /** - * 将MAP转换成一个xml格式,格式为value... - * @param params - * @return - */ - public static String mapToXml(Map params){ - StringBuffer sb = new StringBuffer(""); - for(String key:params.keySet()){ - sb.append("<") - .append(key).append(">") - .append(params.get(key)) - .append(""); - } - sb.append(""); - return sb.toString(); - } } diff --git a/exam-api/src/main/java/com/bc/exam/core/utils/excel/ExportExcel.java b/exam-api/src/main/java/com/bc/exam/core/utils/excel/ExportExcel.java deleted file mode 100644 index 99d26ff..0000000 --- a/exam-api/src/main/java/com/bc/exam/core/utils/excel/ExportExcel.java +++ /dev/null @@ -1,402 +0,0 @@ -/** - * Copyright © 2015-2020 JeePlus All rights reserved. - */ -package com.bc.exam.core.utils.excel; - -import com.google.common.collect.Lists; -import com.bc.exam.core.utils.Reflections; -import com.bc.exam.core.utils.excel.annotation.ExcelField; -import org.apache.commons.lang3.StringUtils; -import org.apache.poi.ss.usermodel.Cell; -import org.apache.poi.ss.usermodel.CellStyle; -import org.apache.poi.ss.usermodel.Comment; -import org.apache.poi.ss.usermodel.DataFormat; -import org.apache.poi.ss.usermodel.Font; -import org.apache.poi.ss.usermodel.IndexedColors; -import org.apache.poi.ss.usermodel.Row; -import org.apache.poi.ss.usermodel.Sheet; -import org.apache.poi.ss.usermodel.Workbook; -import org.apache.poi.ss.util.CellRangeAddress; -import org.apache.poi.xssf.streaming.SXSSFWorkbook; -import org.apache.poi.xssf.usermodel.XSSFClientAnchor; -import org.apache.poi.xssf.usermodel.XSSFRichTextString; -import org.slf4j.Logger; -import org.slf4j.LoggerFactory; - -import javax.servlet.http.HttpServletResponse; -import java.io.IOException; -import java.io.OutputStream; -import java.lang.reflect.Field; -import java.lang.reflect.Method; -import java.net.URLEncoder; -import java.util.Collections; -import java.util.Comparator; -import java.util.Date; -import java.util.HashMap; -import java.util.List; -import java.util.Map; - -/** - * 导出Excel文件(导出“XLSX”格式,支持大数据量导出 @see org.apache.poi.ss.SpreadsheetVersion) - * @author chenhaodong - * @version 2016-04-21 - */ -public class ExportExcel { - - private static Logger log = LoggerFactory.getLogger(ExportExcel.class); - - /** - * 工作薄对象 - */ - private SXSSFWorkbook wb; - - /** - * 工作表对象 - */ - private Sheet sheet; - - /** - * 样式列表 - */ - private Map styles; - - /** - * 当前行号 - */ - private int rownum; - - /** - * 注解列表(Object[]{ ExcelField, Field/Method }) - */ - List annotationList = Lists.newArrayList(); - - /** - * 构造函数 - * @param title 表格标题,传“空值”,表示无标题 - * @param cls 实体对象,通过annotation.ExportField获取标题 - */ - public ExportExcel(String title, Class cls){ - this(title, cls, 1); - } - - /** - * 构造函数 - * @param title 表格标题,传“空值”,表示无标题 - * @param cls 实体对象,通过annotation.ExportField获取标题 - * @param type 导出类型(1:导出数据;2:导出模板) - * @param groups 导入分组 - */ - public ExportExcel(String title, Class cls, int type, int... groups){ - // Get annotation field - Field[] fs = cls.getDeclaredFields(); - for (Field f : fs){ - ExcelField ef = f.getAnnotation(ExcelField.class); - if (ef != null && (ef.type()==0 || ef.type()==type)){ - if (groups!=null && groups.length>0){ - boolean inGroup = false; - for (int g : groups){ - if (inGroup){ - break; - } - for (int efg : ef.groups()){ - if (g == efg){ - inGroup = true; - annotationList.add(new Object[]{ef, f}); - break; - } - } - } - }else{ - annotationList.add(new Object[]{ef, f}); - } - } - } - // Get annotation method - Method[] ms = cls.getDeclaredMethods(); - for (Method m : ms){ - ExcelField ef = m.getAnnotation(ExcelField.class); - if (ef != null && (ef.type()==0 || ef.type()==type)){ - if (groups!=null && groups.length>0){ - boolean inGroup = false; - for (int g : groups){ - if (inGroup){ - break; - } - for (int efg : ef.groups()){ - if (g == efg){ - inGroup = true; - annotationList.add(new Object[]{ef, m}); - break; - } - } - } - }else{ - annotationList.add(new Object[]{ef, m}); - } - } - } - // Field sorting - Collections.sort(annotationList, new Comparator() { - @Override - public int compare(Object[] o1, Object[] o2) { - return new Integer(((ExcelField)o1[0]).sort()).compareTo( - new Integer(((ExcelField)o2[0]).sort())); - } - }); - // Initialize - List headerList = Lists.newArrayList(); - for (Object[] os : annotationList){ - String t = ((ExcelField)os[0]).title(); - // 如果是导出,则去掉注释 - if (type==1){ - String[] ss = StringUtils.split(t, "**", 2); - if (ss.length==2){ - t = ss[0]; - } - } - headerList.add(t); - } - initialize(title, headerList); - } - /** - * 初始化函数 - * @param title 表格标题,传“空值”,表示无标题 - * @param headerList 表头列表 - */ - private void initialize(String title, List headerList) { - this.wb = new SXSSFWorkbook(500); - this.sheet = wb.createSheet("Export"); - this.styles = createStyles(wb); - // Create title - if (StringUtils.isNotBlank(title)){ - Row titleRow = sheet.createRow(rownum++); - titleRow.setHeightInPoints(30); - Cell titleCell = titleRow.createCell(0); - titleCell.setCellStyle(styles.get("title")); - titleCell.setCellValue(title); - sheet.addMergedRegion(new CellRangeAddress(titleRow.getRowNum(), - titleRow.getRowNum(), titleRow.getRowNum(), headerList.size()-1)); - } - // Create header - if (headerList == null){ - throw new RuntimeException("headerList not null!"); - } - Row headerRow = sheet.createRow(rownum++); - headerRow.setHeightInPoints(16); - for (int i = 0; i < headerList.size(); i++) { - Cell cell = headerRow.createCell(i); - cell.setCellStyle(styles.get("header")); - String[] ss = StringUtils.split(headerList.get(i), "**", 2); - if (ss.length==2){ - cell.setCellValue(ss[0]); - Comment comment = this.sheet.createDrawingPatriarch().createCellComment( - new XSSFClientAnchor(0, 0, 0, 0, (short) 3, 3, (short) 5, 6)); - comment.setString(new XSSFRichTextString(ss[1])); - cell.setCellComment(comment); - }else{ - cell.setCellValue(headerList.get(i)); - } - sheet.autoSizeColumn(i); - } - for (int i = 0; i < headerList.size(); i++) { - int colWidth = sheet.getColumnWidth(i)*2; - sheet.setColumnWidth(i, colWidth < 3000 ? 3000 : colWidth); - } - log.debug("Initialize success."); - } - - /** - * 创建表格样式 - * @param wb 工作薄对象 - * @return 样式列表 - */ - private Map createStyles(Workbook wb) { - Map styles = new HashMap(); - - CellStyle style = wb.createCellStyle(); - style.setAlignment(CellStyle.ALIGN_CENTER); - style.setVerticalAlignment(CellStyle.VERTICAL_CENTER); - Font titleFont = wb.createFont(); - titleFont.setFontName("Arial"); - titleFont.setFontHeightInPoints((short) 16); - titleFont.setBoldweight(Font.BOLDWEIGHT_BOLD); - style.setFont(titleFont); - styles.put("title", style); - - style = wb.createCellStyle(); - style.setVerticalAlignment(CellStyle.VERTICAL_CENTER); - style.setBorderRight(CellStyle.BORDER_THIN); - style.setRightBorderColor(IndexedColors.GREY_50_PERCENT.getIndex()); - style.setBorderLeft(CellStyle.BORDER_THIN); - style.setLeftBorderColor(IndexedColors.GREY_50_PERCENT.getIndex()); - style.setBorderTop(CellStyle.BORDER_THIN); - style.setTopBorderColor(IndexedColors.GREY_50_PERCENT.getIndex()); - style.setBorderBottom(CellStyle.BORDER_THIN); - style.setBottomBorderColor(IndexedColors.GREY_50_PERCENT.getIndex()); - Font dataFont = wb.createFont(); - dataFont.setFontName("Arial"); - dataFont.setFontHeightInPoints((short) 10); - style.setFont(dataFont); - styles.put("data", style); - - style = wb.createCellStyle(); - style.cloneStyleFrom(styles.get("data")); - style.setAlignment(CellStyle.ALIGN_LEFT); - styles.put("data1", style); - - style = wb.createCellStyle(); - style.cloneStyleFrom(styles.get("data")); - style.setAlignment(CellStyle.ALIGN_CENTER); - styles.put("data2", style); - - style = wb.createCellStyle(); - style.cloneStyleFrom(styles.get("data")); - style.setAlignment(CellStyle.ALIGN_RIGHT); - styles.put("data3", style); - - style = wb.createCellStyle(); - style.cloneStyleFrom(styles.get("data")); -// style.setWrapText(true); - style.setAlignment(CellStyle.ALIGN_CENTER); - style.setFillForegroundColor(IndexedColors.GREY_50_PERCENT.getIndex()); - style.setFillPattern(CellStyle.SOLID_FOREGROUND); - Font headerFont = wb.createFont(); - headerFont.setFontName("Arial"); - headerFont.setFontHeightInPoints((short) 10); - headerFont.setBoldweight(Font.BOLDWEIGHT_BOLD); - headerFont.setColor(IndexedColors.WHITE.getIndex()); - style.setFont(headerFont); - styles.put("header", style); - - return styles; - } - - /** - * 添加一行 - * @return 行对象 - */ - public Row addRow(){ - return sheet.createRow(rownum++); - } - - - /** - * 添加一个单元格 - * @param row 添加的行 - * @param column 添加列号 - * @param val 添加值 - * @return 单元格对象 - */ - public Cell addCell(Row row, int column, Object val){ - return this.addCell(row, column, val, 0, Class.class); - } - - /** - * 添加一个单元格 - * @param row 添加的行 - * @param column 添加列号 - * @param val 添加值 - * @param align 对齐方式(1:靠左;2:居中;3:靠右) - * @return 单元格对象 - */ - public Cell addCell(Row row, int column, Object val, int align, Class fieldType){ - Cell cell = row.createCell(column); - CellStyle style = styles.get("data"+(align>=1&&align<=3?align:"")); - try { - if (val == null){ - cell.setCellValue(""); - } else if (val instanceof String) { - cell.setCellValue((String) val); - } else if (val instanceof Integer) { - cell.setCellValue((Integer) val); - } else if (val instanceof Long) { - cell.setCellValue((Long) val); - } else if (val instanceof Double) { - cell.setCellValue((Double) val); - } else if (val instanceof Float) { - cell.setCellValue((Float) val); - } else if (val instanceof Date) { - DataFormat format = wb.createDataFormat(); - style.setDataFormat(format.getFormat("yyyy-MM-dd")); - cell.setCellValue((Date) val); - } else { - if (fieldType != Class.class){ - cell.setCellValue((String)fieldType.getMethod("setValue", Object.class).invoke(null, val)); - }else{ - cell.setCellValue((String)Class.forName(this.getClass().getName().replaceAll(this.getClass().getSimpleName(), - "fieldtype."+val.getClass().getSimpleName()+"Type")).getMethod("setValue", Object.class).invoke(null, val)); - } - } - } catch (Exception ex) { - log.info("Set cell value ["+row.getRowNum()+","+column+"] error: " + ex.toString()); - cell.setCellValue(val.toString()); - } - cell.setCellStyle(style); - return cell; - } - - /** - * 添加数据(通过annotation.ExportField添加数据) - * @return list 数据列表 - */ - public ExportExcel setDataList(List list){ - for (E e : list){ - int colunm = 0; - Row row = this.addRow(); - StringBuilder sb = new StringBuilder(); - for (Object[] os : annotationList){ - ExcelField ef = (ExcelField)os[0]; - Object val = null; - try{ - if (StringUtils.isNotBlank(ef.value())){ - val = Reflections.invokeGetter(e, ef.value()); - }else{ - if (os[1] instanceof Field){ - val = Reflections.invokeGetter(e, ((Field)os[1]).getName()); - }else if (os[1] instanceof Method){ - val = Reflections.invokeMethod(e, ((Method)os[1]).getName(), new Class[] {}, new Object[] {}); - } - } - }catch(Exception ex) { - log.info(ex.toString()); - val = ""; - } - this.addCell(row, colunm++, val, ef.align(), ef.fieldType()); - sb.append(val + ", "); - } - log.debug("Write success: ["+row.getRowNum()+"] "+sb.toString()); - } - return this; - } - - /** - * 输出数据流 - * @param os 输出数据流 - */ - public ExportExcel write(OutputStream os) throws IOException{ - wb.write(os); - return this; - } - - /** - * 输出到客户端 - * @param fileName 输出文件名 - */ - public ExportExcel write(HttpServletResponse response, String fileName) throws IOException{ - response.reset(); - response.setHeader("Access-Control-Allow-Origin", "*"); - response.setContentType("application/octet-stream; charset=utf-8"); - response.addHeader("Content-Disposition", "attachment; filename="+ URLEncoder.encode(fileName, "utf-8")); - write(response.getOutputStream()); - return this; - } - - /** - * 清理临时文件 - */ - public ExportExcel dispose(){ - wb.dispose(); - return this; - } - -} diff --git a/exam-api/src/main/java/com/bc/exam/core/utils/excel/ImportExcel.java b/exam-api/src/main/java/com/bc/exam/core/utils/excel/ImportExcel.java deleted file mode 100644 index ad3b546..0000000 --- a/exam-api/src/main/java/com/bc/exam/core/utils/excel/ImportExcel.java +++ /dev/null @@ -1,303 +0,0 @@ -/** - * Copyright © 2015-2020 JeePlus All rights reserved. - */ -package com.bc.exam.core.utils.excel; - -import com.google.common.collect.Lists; -import com.bc.exam.core.utils.Reflections; -import com.bc.exam.core.utils.excel.annotation.ExcelField; -import org.apache.commons.lang3.StringUtils; -import org.apache.poi.hssf.usermodel.HSSFDateUtil; -import org.apache.poi.hssf.usermodel.HSSFWorkbook; -import org.apache.poi.openxml4j.exceptions.InvalidFormatException; -import org.apache.poi.ss.usermodel.Cell; -import org.apache.poi.ss.usermodel.Row; -import org.apache.poi.ss.usermodel.Sheet; -import org.apache.poi.ss.usermodel.Workbook; -import org.apache.poi.xssf.usermodel.XSSFWorkbook; -import org.slf4j.Logger; -import org.slf4j.LoggerFactory; -import org.springframework.web.multipart.MultipartFile; - -import java.io.IOException; -import java.io.InputStream; -import java.lang.reflect.Field; -import java.lang.reflect.Method; -import java.text.NumberFormat; -import java.text.SimpleDateFormat; -import java.util.Collections; -import java.util.Comparator; -import java.util.Date; -import java.util.List; - -/** - * 导入Excel文件(支持“XLS”和“XLSX”格式) - * @author chenhaodong - * @version 2016-03-10 - */ -public class ImportExcel { - - private static Logger log = LoggerFactory.getLogger(ImportExcel.class); - - /** - * 工作薄对象 - */ - private Workbook wb; - - /** - * 工作表对象 - */ - private Sheet sheet; - - /** - * 标题行号 - */ - private int headerNum; - - - - /** - * 构造函数 - * @param multipartFile 导入文件对象 - * @param headerNum 标题行号,数据行号=标题行号+1 - * @param sheetIndex 工作表编号 - * @throws InvalidFormatException - * @throws IOException - */ - public ImportExcel(MultipartFile multipartFile, int headerNum, int sheetIndex) - throws InvalidFormatException, IOException { - this(multipartFile.getOriginalFilename(), multipartFile.getInputStream(), headerNum, sheetIndex); - } - - /** - * 构造函数 - * @param is 导入文件对象 - * @param headerNum 标题行号,数据行号=标题行号+1 - * @param sheetIndex 工作表编号 - * @throws InvalidFormatException - * @throws IOException - */ - public ImportExcel(String fileName, InputStream is, int headerNum, int sheetIndex) - throws IOException { - if (StringUtils.isBlank(fileName)){ - throw new RuntimeException("导入文档为空!"); - }else if(fileName.toLowerCase().endsWith("xls")){ - this.wb = new HSSFWorkbook(is); - }else if(fileName.toLowerCase().endsWith("xlsx")){ - this.wb = new XSSFWorkbook(is); - }else{ - throw new RuntimeException("文档格式不正确!"); - } - if (this.wb.getNumberOfSheets() List getDataList(Class cls, int... groups) throws InstantiationException, IllegalAccessException{ - List annotationList = Lists.newArrayList(); - // Get annotation field - Field[] fs = cls.getDeclaredFields(); - for (Field f : fs){ - ExcelField ef = f.getAnnotation(ExcelField.class); - if (ef != null && (ef.type()==0 || ef.type()==2)){ - if (groups!=null && groups.length>0){ - boolean inGroup = false; - for (int g : groups){ - if (inGroup){ - break; - } - for (int efg : ef.groups()){ - if (g == efg){ - inGroup = true; - annotationList.add(new Object[]{ef, f}); - break; - } - } - } - }else{ - annotationList.add(new Object[]{ef, f}); - } - } - } - // Get annotation method - Method[] ms = cls.getDeclaredMethods(); - for (Method m : ms){ - ExcelField ef = m.getAnnotation(ExcelField.class); - if (ef != null && (ef.type()==0 || ef.type()==2)){ - if (groups!=null && groups.length>0){ - boolean inGroup = false; - for (int g : groups){ - if (inGroup){ - break; - } - for (int efg : ef.groups()){ - if (g == efg){ - inGroup = true; - annotationList.add(new Object[]{ef, m}); - break; - } - } - } - }else{ - annotationList.add(new Object[]{ef, m}); - } - } - } - // Field sorting - Collections.sort(annotationList, new Comparator() { - @Override - public int compare(Object[] o1, Object[] o2) { - return new Integer(((ExcelField)o1[0]).sort()).compareTo( - new Integer(((ExcelField)o2[0]).sort())); - } - }); - // Get excel data - List dataList = Lists.newArrayList(); - for (int i = this.getDataRowNum(); i < this.getLastDataRowNum(); i++) { - E e = (E)cls.newInstance(); - int column = 0; - Row row = this.getRow(i); - StringBuilder sb = new StringBuilder(); - for (Object[] os : annotationList){ - Object val = this.getCellValue(row, column++); - if (val != null){ - ExcelField ef = (ExcelField)os[0]; - // Get param type and type cast - Class valType = Class.class; - if (os[1] instanceof Field){ - valType = ((Field)os[1]).getType(); - }else if (os[1] instanceof Method){ - Method method = ((Method)os[1]); - if ("get".equals(method.getName().substring(0, 3))){ - valType = method.getReturnType(); - }else if("set".equals(method.getName().substring(0, 3))){ - valType = ((Method)os[1]).getParameterTypes()[0]; - } - } - //log.debug("Import value type: ["+i+","+column+"] " + valType); - try { - //如果导入的java对象,需要在这里自己进行变换。 - if (valType == String.class){ - String s = String.valueOf(val.toString()); - if(StringUtils.endsWith(s, ".0")){ - val = StringUtils.substringBefore(s, ".0"); - }else{ - val = String.valueOf(val.toString()); - } - }else if (valType == Integer.class){ - val = Double.valueOf(val.toString()).intValue(); - }else if (valType == Long.class){ - val = Double.valueOf(val.toString()).longValue(); - }else if (valType == Double.class){ - val = Double.valueOf(val.toString()); - }else if (valType == Float.class){ - val = Float.valueOf(val.toString()); - }else if (valType == Date.class){ - SimpleDateFormat sdf=new SimpleDateFormat("yyyy-MM-dd"); - val=sdf.parse(val.toString()); - }else{ - if (ef.fieldType() != Class.class){ - val = ef.fieldType().getMethod("getValue", String.class).invoke(null, val.toString()); - }else{ - val = Class.forName(this.getClass().getName().replaceAll(this.getClass().getSimpleName(), - "fieldtype."+valType.getSimpleName()+"Type")).getMethod("getValue", String.class).invoke(null, val.toString()); - } - } - } catch (Exception ex) { - log.info("Get cell value ["+i+","+column+"] error: " + ex.toString()); - val = null; - } - // set entity value - if (os[1] instanceof Field){ - Reflections.invokeSetter(e, ((Field)os[1]).getName(), val); - }else if (os[1] instanceof Method){ - String mthodName = ((Method)os[1]).getName(); - if ("get".equals(mthodName.substring(0, 3))){ - mthodName = "set"+StringUtils.substringAfter(mthodName, "get"); - } - Reflections.invokeMethod(e, mthodName, new Class[] {valType}, new Object[] {val}); - } - } - sb.append(val+", "); - } - dataList.add(e); - log.debug("Read success: ["+i+"] "+sb.toString()); - } - return dataList; - } - -} diff --git a/exam-api/src/main/java/com/bc/exam/core/utils/excel/annotation/ExcelField.java b/exam-api/src/main/java/com/bc/exam/core/utils/excel/annotation/ExcelField.java deleted file mode 100644 index 99e5c41..0000000 --- a/exam-api/src/main/java/com/bc/exam/core/utils/excel/annotation/ExcelField.java +++ /dev/null @@ -1,59 +0,0 @@ -/** - * Copyright © 2015-2020 JeePlus All rights reserved. - */ -package com.bc.exam.core.utils.excel.annotation; - -import java.lang.annotation.ElementType; -import java.lang.annotation.Retention; -import java.lang.annotation.RetentionPolicy; -import java.lang.annotation.Target; - -/** - * Excel注解定义 - * @author chenhaodong - * @version 2016-03-10 - */ -@Target({ElementType.METHOD, ElementType.FIELD, ElementType.TYPE}) -@Retention(RetentionPolicy.RUNTIME) -public @interface ExcelField { - - /** - * 导出字段名(默认调用当前字段的“get”方法,如指定导出字段为对象,请填写“对象名.对象属性”,例:“area.name”、“office.name”) - */ - String value() default ""; - - /** - * 导出字段标题(需要添加批注请用“**”分隔,标题**批注,仅对导出模板有效) - */ - String title(); - - /** - * 字段类型(0:导出导入;1:仅导出;2:仅导入) - */ - int type() default 0; - - /** - * 导出字段对齐方式(0:自动;1:靠左;2:居中;3:靠右) - */ - int align() default 0; - - /** - * 导出字段字段排序(升序) - */ - int sort() default 0; - - /** - * 如果是字典类型,请设置字典的type值 - */ - String dictType() default ""; - - /** - * 反射类型 - */ - Class fieldType() default Class.class; - - /** - * 字段归属组(根据分组导出导入) - */ - int[] groups() default {}; -} diff --git a/exam-api/src/main/java/com/bc/exam/core/utils/excel/fieldtype/ListType.java b/exam-api/src/main/java/com/bc/exam/core/utils/excel/fieldtype/ListType.java deleted file mode 100644 index eab3fca..0000000 --- a/exam-api/src/main/java/com/bc/exam/core/utils/excel/fieldtype/ListType.java +++ /dev/null @@ -1,56 +0,0 @@ -/** - * Copyright © 2015-2020 JeePlus All rights reserved. - */ -package com.bc.exam.core.utils.excel.fieldtype; - -import com.google.common.collect.Lists; -import com.bc.exam.core.utils.StringUtils; - -import java.util.List; - -/** - * 字段类型转换 - * @author chenhaodong - * @version 2016-5-29 - */ -public class ListType { - - /** - * 获取对象值(导入) - */ - public static Object getValue(String val) { - List list = Lists.newArrayList(); - if(!StringUtils.isBlank(val)) { - for (String s : val.split(",")) { - list.add(s); - } - } - return list; - } - - /** - * 设置对象值(导出) - */ - public static String setValue(Object val) { - if (val != null){ - List list = (List)val; - StringBuffer sb = null; - for (String item: list){ - if(StringUtils.isBlank(item)){ - continue; - } - if(sb == null){ - sb = new StringBuffer(item); - }else{ - sb.append(",").append(item); - } - } - - if(sb!=null) { - return sb.toString().replace("[]", ""); - } - } - return ""; - } - -} diff --git a/exam-api/src/main/java/com/bc/exam/core/utils/file/MD5Util.java b/exam-api/src/main/java/com/bc/exam/core/utils/file/MD5Util.java index bc872af..22b2e4f 100644 --- a/exam-api/src/main/java/com/bc/exam/core/utils/file/MD5Util.java +++ b/exam-api/src/main/java/com/bc/exam/core/utils/file/MD5Util.java @@ -6,13 +6,11 @@ import java.math.BigInteger; import java.security.MessageDigest; + /** - * MD5工具类 - * ClassName: MD5Util
- * date: 2018年1月13日 下午6:54:53
- * - * @author chenhaodong - * @version + * @Description 描述:MD5工具类 + * @Author A贾宇婷034244310 + * @Date 20260615 */ public class MD5Util { diff --git a/exam-api/src/main/java/com/bc/exam/core/utils/passwd/PassHandler.java b/exam-api/src/main/java/com/bc/exam/core/utils/passwd/PassHandler.java index d68fd46..4ffe4e3 100644 --- a/exam-api/src/main/java/com/bc/exam/core/utils/passwd/PassHandler.java +++ b/exam-api/src/main/java/com/bc/exam/core/utils/passwd/PassHandler.java @@ -4,19 +4,17 @@ package com.bc.exam.core.utils.passwd; import com.bc.exam.core.utils.file.MD5Util; import org.apache.commons.lang3.RandomStringUtils; + /** - * 通用的密码处理类,用于生成密码和校验密码 - * ClassName: PassGenerator
- * date: 2017年12月13日 下午7:13:03
- * - * @author chenhaodong - * @version + * @Description 描述:通用的密码处理类,用于生成密码和校验密码 + * @Author A贾宇婷034244310 + * @Date 20260615 */ public class PassHandler { /** * checkPass:校验密码是否一致 - * @author chenhaodong + * @author A贾宇婷034244310 * @param inputPass 用户传入的密码 * @param salt 数据库保存的密码随机码 * @param pass 数据库保存的密码MD5 @@ -31,7 +29,7 @@ public class PassHandler { /** * * buildPassword:用于用户注册时产生一个密码 - * @author chenhaodong + * @author A贾宇婷034244310 * @param inputPass 输入的密码 * @return PassInfo 返回一个密码对象,记得保存 */ diff --git a/exam-api/src/main/java/com/bc/exam/core/utils/passwd/PassInfo.java b/exam-api/src/main/java/com/bc/exam/core/utils/passwd/PassInfo.java index a35bb2d..c663e28 100644 --- a/exam-api/src/main/java/com/bc/exam/core/utils/passwd/PassInfo.java +++ b/exam-api/src/main/java/com/bc/exam/core/utils/passwd/PassInfo.java @@ -1,12 +1,9 @@ package com.bc.exam.core.utils.passwd; /** - * 密码实体 - * ClassName: PassInfo
- * date: 2018年2月13日 下午7:13:50
- * - * @author chenhaodong - * @version + * @Description 描述:密码实体 + * @Author A贾宇婷034244310 + * @Date 20260615 */ public class PassInfo { diff --git a/exam-api/src/main/java/com/bc/exam/modules/Constant.java b/exam-api/src/main/java/com/bc/exam/modules/Constant.java index 4a80429..7941f81 100644 --- a/exam-api/src/main/java/com/bc/exam/modules/Constant.java +++ b/exam-api/src/main/java/com/bc/exam/modules/Constant.java @@ -1,10 +1,7 @@ package com.bc.exam.modules; -/** - * 通用常量 - * @author chd - */ + public class Constant { /** diff --git a/exam-api/src/main/java/com/bc/exam/modules/config/controller/SysConfigController.java b/exam-api/src/main/java/com/bc/exam/modules/config/controller/SysConfigController.java index 48ee264..d2c2d52 100644 --- a/exam-api/src/main/java/com/bc/exam/modules/config/controller/SysConfigController.java +++ b/exam-api/src/main/java/com/bc/exam/modules/config/controller/SysConfigController.java @@ -16,14 +16,11 @@ import org.springframework.web.bind.annotation.RequestMethod; import org.springframework.web.bind.annotation.RestController; /** -*

-* 通用配置控制器 -*

-* -* @author chd -* @since 2020-04-17 09:12 -*/ -@Api(tags={"通用配置"}) + * @Description 描述:通用配置控制器 + * @Author A贾宇婷034244310 + * @Date 20260615 + */ +@Api(tags={"系统配置"}) @RestController @RequestMapping("/exam/api/sys/config") public class SysConfigController extends BaseController { diff --git a/exam-api/src/main/java/com/bc/exam/modules/config/dto/SysConfigDTO.java b/exam-api/src/main/java/com/bc/exam/modules/config/dto/SysConfigDTO.java index de84607..443651d 100644 --- a/exam-api/src/main/java/com/bc/exam/modules/config/dto/SysConfigDTO.java +++ b/exam-api/src/main/java/com/bc/exam/modules/config/dto/SysConfigDTO.java @@ -6,16 +6,14 @@ import lombok.Data; import java.io.Serializable; + /** -*

-* 通用配置请求类 -*

-* -* @author chd -* @since 2020-04-17 09:12 -*/ + * @Description 描述:通用配置请求类 + * @Author A贾宇婷034244310 + * @Date 20260615 + */ @Data -@ApiModel(value="通用配置", description="通用配置") +@ApiModel(value="系统配置", description="系统配置") public class SysConfigDTO implements Serializable { private static final long serialVersionUID = 1L; diff --git a/exam-api/src/main/java/com/bc/exam/modules/config/entity/SysConfig.java b/exam-api/src/main/java/com/bc/exam/modules/config/entity/SysConfig.java index 40f54cb..af0faa2 100644 --- a/exam-api/src/main/java/com/bc/exam/modules/config/entity/SysConfig.java +++ b/exam-api/src/main/java/com/bc/exam/modules/config/entity/SysConfig.java @@ -7,14 +7,12 @@ import com.baomidou.mybatisplus.annotation.TableName; import com.baomidou.mybatisplus.extension.activerecord.Model; import lombok.Data; + /** -*

-* 通用配置实体类 -*

-* -* @author chd -* @since 2020-04-17 09:12 -*/ + * @Description 描述:系统配置实体类 + * @Author A贾宇婷034244310 + * @Date 20260615 + */ @Data @TableName("sys_config") public class SysConfig extends Model { diff --git a/exam-api/src/main/java/com/bc/exam/modules/config/mapper/SysConfigMapper.java b/exam-api/src/main/java/com/bc/exam/modules/config/mapper/SysConfigMapper.java index d3ebd40..0f36661 100644 --- a/exam-api/src/main/java/com/bc/exam/modules/config/mapper/SysConfigMapper.java +++ b/exam-api/src/main/java/com/bc/exam/modules/config/mapper/SysConfigMapper.java @@ -3,14 +3,12 @@ package com.bc.exam.modules.config.mapper; import com.baomidou.mybatisplus.core.mapper.BaseMapper; import com.bc.exam.modules.config.entity.SysConfig; + /** -*

-* 通用配置Mapper -*

-* -* @author chd -* @since 2020-04-17 09:12 -*/ + * @Description 描述:系统配置Mapper + * @Author A贾宇婷034244310 + * @Date 20260615 + */ public interface SysConfigMapper extends BaseMapper { } diff --git a/exam-api/src/main/java/com/bc/exam/modules/config/service/SysConfigService.java b/exam-api/src/main/java/com/bc/exam/modules/config/service/SysConfigService.java index d129162..2ee1a8a 100644 --- a/exam-api/src/main/java/com/bc/exam/modules/config/service/SysConfigService.java +++ b/exam-api/src/main/java/com/bc/exam/modules/config/service/SysConfigService.java @@ -4,14 +4,12 @@ import com.baomidou.mybatisplus.extension.service.IService; import com.bc.exam.modules.config.dto.SysConfigDTO; import com.bc.exam.modules.config.entity.SysConfig; + /** -*

-* 通用配置业务类 -*

-* -* @author chd -* @since 2020-04-17 09:12 -*/ + * @Description 描述:系统配置接口 + * @Author A贾宇婷034244310 + * @Date 20260615 + */ public interface SysConfigService extends IService { /** diff --git a/exam-api/src/main/java/com/bc/exam/modules/config/service/impl/SysConfigServiceImpl.java b/exam-api/src/main/java/com/bc/exam/modules/config/service/impl/SysConfigServiceImpl.java index c2a223f..0dc35d4 100644 --- a/exam-api/src/main/java/com/bc/exam/modules/config/service/impl/SysConfigServiceImpl.java +++ b/exam-api/src/main/java/com/bc/exam/modules/config/service/impl/SysConfigServiceImpl.java @@ -9,14 +9,12 @@ import com.bc.exam.modules.config.mapper.SysConfigMapper; import com.bc.exam.modules.config.service.SysConfigService; import org.springframework.stereotype.Service; + /** -*

-* 语言设置 服务实现类 -*

-* -* @author chd -* @since 2020-04-17 09:12 -*/ + * @Description 描述:语言设置 服务实现类 + * @Author A贾宇婷034244310 + * @Date 20260615 + */ @Service public class SysConfigServiceImpl extends ServiceImpl implements SysConfigService { diff --git a/exam-api/src/main/java/com/bc/exam/modules/depart/controller/SysDepartController.java b/exam-api/src/main/java/com/bc/exam/modules/depart/controller/SysDepartController.java deleted file mode 100644 index ace62f3..0000000 --- a/exam-api/src/main/java/com/bc/exam/modules/depart/controller/SysDepartController.java +++ /dev/null @@ -1,140 +0,0 @@ -package com.bc.exam.modules.depart.controller; - -import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; -import com.baomidou.mybatisplus.core.metadata.IPage; -import com.bc.exam.core.api.ApiRest; -import com.bc.exam.core.api.controller.BaseController; -import com.bc.exam.core.api.dto.BaseIdReqDTO; -import com.bc.exam.core.api.dto.BaseIdsReqDTO; -import com.bc.exam.core.api.dto.PagingReqDTO; -import com.bc.exam.core.utils.BeanMapper; -import com.bc.exam.modules.depart.dto.SysDepartDTO; -import com.bc.exam.modules.depart.dto.request.DepartSortReqDTO; -import com.bc.exam.modules.depart.dto.response.SysDepartTreeDTO; -import com.bc.exam.modules.depart.entity.SysDepart; -import com.bc.exam.modules.depart.service.SysDepartService; -import io.swagger.annotations.Api; -import io.swagger.annotations.ApiOperation; -import org.springframework.beans.BeanUtils; -import org.springframework.web.bind.annotation.PostMapping; -import org.springframework.web.bind.annotation.RequestBody; -import org.springframework.web.bind.annotation.RequestMapping; -import org.springframework.web.bind.annotation.RestController; - -import javax.annotation.Resource; -import java.util.List; - -/** -*

-* 部门信息控制器 -*

-* -* @author chd -* @since 2020-09-02 17:25 -*/ -@Api(tags={"部门信息"}) -@RestController -@RequestMapping("/exam/api/sys/depart") -public class SysDepartController extends BaseController { - - @Resource - private SysDepartService baseService; - - /** - * 添加或修改 - * @param reqDTO - * @return - */ - @ApiOperation(value = "添加或修改") - @PostMapping("save") - public ApiRest save(@RequestBody SysDepartDTO reqDTO) { - baseService.save(reqDTO); - return super.success(); - } - - /** - * 批量删除 - * @param reqDTO - * @return - */ - @ApiOperation(value = "批量删除") - @PostMapping("delete") - public ApiRest edit(@RequestBody BaseIdsReqDTO reqDTO) { - //根据ID删除 - baseService.removeByIds(reqDTO.getIds()); - return super.success(); - } - - /** - * 查找详情 - * @param reqDTO - * @return - */ - @ApiOperation(value = "查找详情") - @PostMapping("detail") - public ApiRest find(@RequestBody BaseIdReqDTO reqDTO) { - SysDepart entity = baseService.getById(reqDTO.getId()); - SysDepartDTO dto = new SysDepartDTO(); - BeanUtils.copyProperties(entity, dto); - return super.success(dto); - } - - /** - * 分页查找 - * @param reqDTO - * @return - */ - @ApiOperation(value = "分页查找") - @PostMapping("paging") - public ApiRest> paging(@RequestBody PagingReqDTO reqDTO) { - //分页查询并转换 - IPage page = baseService.paging(reqDTO); - return super.success(page); - } - - /** - * 查找列表,每次最多返回200条数据 - * @param reqDTO - * @return - */ - @ApiOperation(value = "查找列表") - @PostMapping("list") - public ApiRest> list(@RequestBody SysDepartDTO reqDTO) { - - //分页查询并转换 - QueryWrapper wrapper = new QueryWrapper<>(); - - //转换并返回 - List list = baseService.list(wrapper); - - //转换数据 - List dtoList = BeanMapper.mapList(list, SysDepartDTO.class); - - return super.success(dtoList); - } - - - /** - * 树列表 - * @return - */ - @ApiOperation(value = "树列表") - @PostMapping("tree") - public ApiRest> tree() { - List dtoList = baseService.findTree(); - return super.success(dtoList); - } - - - /** - * 分类排序 - * @param reqDTO - * @return - */ - @ApiOperation(value = "分类排序") - @PostMapping("sort") - public ApiRest sort(@RequestBody DepartSortReqDTO reqDTO) { - baseService.sort(reqDTO.getId(), reqDTO.getSort()); - return super.success(); - } -} diff --git a/exam-api/src/main/java/com/bc/exam/modules/depart/dto/SysDepartDTO.java b/exam-api/src/main/java/com/bc/exam/modules/depart/dto/SysDepartDTO.java deleted file mode 100644 index b79168d..0000000 --- a/exam-api/src/main/java/com/bc/exam/modules/depart/dto/SysDepartDTO.java +++ /dev/null @@ -1,41 +0,0 @@ -package com.bc.exam.modules.depart.dto; - -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import lombok.Data; - -import java.io.Serializable; - -/** -*

-* 部门信息数据传输类 -*

-* -* @author chd -* @since 2020-09-02 17:25 -*/ -@Data -@ApiModel(value="部门信息", description="部门信息") -public class SysDepartDTO implements Serializable { - - private static final long serialVersionUID = 1L; - - @ApiModelProperty(value = "ID", required=true) - private String id; - - @ApiModelProperty(value = "1公司2部门", required=true) - private Integer deptType; - - @ApiModelProperty(value = "所属上级", required=true) - private String parentId; - - @ApiModelProperty(value = "部门名称", required=true) - private String deptName; - - @ApiModelProperty(value = "部门编码", required=true) - private String deptCode; - - @ApiModelProperty(value = "排序", required=true) - private Integer sort; - -} diff --git a/exam-api/src/main/java/com/bc/exam/modules/depart/dto/request/DepartSortReqDTO.java b/exam-api/src/main/java/com/bc/exam/modules/depart/dto/request/DepartSortReqDTO.java deleted file mode 100644 index ce0b660..0000000 --- a/exam-api/src/main/java/com/bc/exam/modules/depart/dto/request/DepartSortReqDTO.java +++ /dev/null @@ -1,28 +0,0 @@ -package com.bc.exam.modules.depart.dto.request; - -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import lombok.Data; - -import java.io.Serializable; - -/** -*

-* 部门排序请求类 -*

-* -* @author chd -* @since 2020-03-14 10:37 -*/ -@Data -@ApiModel(value="部门排序请求类", description="部门排序请求类") -public class DepartSortReqDTO implements Serializable { - - private static final long serialVersionUID = 1L; - - @ApiModelProperty(value = "分类ID") - private String id; - - @ApiModelProperty(value = "排序,0下降,1上升") - private Integer sort; -} diff --git a/exam-api/src/main/java/com/bc/exam/modules/depart/dto/response/SysDepartTreeDTO.java b/exam-api/src/main/java/com/bc/exam/modules/depart/dto/response/SysDepartTreeDTO.java deleted file mode 100644 index a1086d4..0000000 --- a/exam-api/src/main/java/com/bc/exam/modules/depart/dto/response/SysDepartTreeDTO.java +++ /dev/null @@ -1,28 +0,0 @@ -package com.bc.exam.modules.depart.dto.response; - -import com.bc.exam.modules.depart.dto.SysDepartDTO; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import lombok.Data; - -import java.util.List; - -/** -*

-* 部门树结构响应类 -*

-* -* @author chd -* @since 2020-09-02 17:25 -*/ -@Data -@ApiModel(value="部门树结构响应类", description="部门树结构响应类") -public class SysDepartTreeDTO extends SysDepartDTO { - - private static final long serialVersionUID = 1L; - - @ApiModelProperty(value = "子列表", required=true) - private List children; - - -} diff --git a/exam-api/src/main/java/com/bc/exam/modules/depart/entity/SysDepart.java b/exam-api/src/main/java/com/bc/exam/modules/depart/entity/SysDepart.java deleted file mode 100644 index c97ec90..0000000 --- a/exam-api/src/main/java/com/bc/exam/modules/depart/entity/SysDepart.java +++ /dev/null @@ -1,59 +0,0 @@ -package com.bc.exam.modules.depart.entity; - -import com.baomidou.mybatisplus.annotation.IdType; -import com.baomidou.mybatisplus.annotation.TableField; -import com.baomidou.mybatisplus.annotation.TableId; -import com.baomidou.mybatisplus.annotation.TableName; -import com.baomidou.mybatisplus.extension.activerecord.Model; -import lombok.Data; - -/** -*

-* 部门信息实体类 -*

-* -* @author chd -* @since 2020-09-02 17:25 -*/ -@Data -@TableName("sys_depart") -public class SysDepart extends Model { - - private static final long serialVersionUID = 1L; - - /** - * ID - */ - @TableId(value = "id", type = IdType.ASSIGN_ID) - private String id; - - /** - * 1公司2部门 - */ - @TableField("dept_type") - private Integer deptType; - - /** - * 所属上级 - */ - @TableField("parent_id") - private String parentId; - - /** - * 部门名称 - */ - @TableField("dept_name") - private String deptName; - - /** - * 部门编码 - */ - @TableField("dept_code") - private String deptCode; - - /** - * 排序 - */ - private Integer sort; - -} diff --git a/exam-api/src/main/java/com/bc/exam/modules/depart/mapper/SysDepartMapper.java b/exam-api/src/main/java/com/bc/exam/modules/depart/mapper/SysDepartMapper.java deleted file mode 100644 index d8b8e02..0000000 --- a/exam-api/src/main/java/com/bc/exam/modules/depart/mapper/SysDepartMapper.java +++ /dev/null @@ -1,28 +0,0 @@ -package com.bc.exam.modules.depart.mapper; - -import com.baomidou.mybatisplus.core.mapper.BaseMapper; -import com.baomidou.mybatisplus.core.metadata.IPage; -import com.baomidou.mybatisplus.extension.plugins.pagination.Page; -import com.bc.exam.modules.depart.dto.SysDepartDTO; -import com.bc.exam.modules.depart.dto.response.SysDepartTreeDTO; -import com.bc.exam.modules.depart.entity.SysDepart; -import org.apache.ibatis.annotations.Param; - -/** -*

-* 部门信息Mapper -*

-* -* @author chd -* @since 2020-09-02 17:25 -*/ -public interface SysDepartMapper extends BaseMapper { - - /** - * 部门树分页 - * @param page - * @param query - * @return - */ - IPage paging(Page page, @Param("query") SysDepartDTO query); -} diff --git a/exam-api/src/main/java/com/bc/exam/modules/depart/service/SysDepartService.java b/exam-api/src/main/java/com/bc/exam/modules/depart/service/SysDepartService.java deleted file mode 100644 index 878137a..0000000 --- a/exam-api/src/main/java/com/bc/exam/modules/depart/service/SysDepartService.java +++ /dev/null @@ -1,62 +0,0 @@ -package com.bc.exam.modules.depart.service; - -import com.baomidou.mybatisplus.core.metadata.IPage; -import com.baomidou.mybatisplus.extension.service.IService; -import com.bc.exam.core.api.dto.PagingReqDTO; -import com.bc.exam.modules.depart.dto.SysDepartDTO; -import com.bc.exam.modules.depart.dto.response.SysDepartTreeDTO; -import com.bc.exam.modules.depart.entity.SysDepart; - -import java.util.List; - -/** -*

-* 部门信息业务类 -*

-* -* @author chd -* @since 2020-09-02 17:25 -*/ -public interface SysDepartService extends IService { - - /** - * 保存 - * @param reqDTO - */ - void save(SysDepartDTO reqDTO); - - /** - * 分页查询数据 - * @param reqDTO - * @return - */ - IPage paging(PagingReqDTO reqDTO); - - /** - * 查找部门树结构 - * @return - */ - List findTree(); - - /** - * 查找部门树 - * @param ids - * @return - */ - List findTree(List ids); - - /** - * 排序 - * @param id - * @param sort - */ - void sort(String id, Integer sort); - - - /** - * 获取某个部门ID下的所有子部门ID - * @param id - * @return - */ - List listAllSubIds( String id); -} diff --git a/exam-api/src/main/java/com/bc/exam/modules/depart/service/impl/SysDepartServiceImpl.java b/exam-api/src/main/java/com/bc/exam/modules/depart/service/impl/SysDepartServiceImpl.java deleted file mode 100644 index 34b8d55..0000000 --- a/exam-api/src/main/java/com/bc/exam/modules/depart/service/impl/SysDepartServiceImpl.java +++ /dev/null @@ -1,277 +0,0 @@ -package com.bc.exam.modules.depart.service.impl; - -import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; -import com.baomidou.mybatisplus.core.metadata.IPage; -import com.baomidou.mybatisplus.extension.plugins.pagination.Page; -import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; -import com.bc.exam.core.api.dto.PagingReqDTO; -import com.bc.exam.core.utils.BeanMapper; -import com.bc.exam.modules.depart.dto.SysDepartDTO; -import com.bc.exam.modules.depart.dto.response.SysDepartTreeDTO; -import com.bc.exam.modules.depart.entity.SysDepart; -import com.bc.exam.modules.depart.mapper.SysDepartMapper; -import com.bc.exam.modules.depart.service.SysDepartService; -import org.apache.commons.lang3.StringUtils; -import org.springframework.stereotype.Service; -import org.springframework.util.CollectionUtils; - -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; - -/** -*

-* 部门信息业务实现类 -*

-* -* @author chd -* @since 2020-09-02 17:25 -*/ -@Service -public class SysDepartServiceImpl extends ServiceImpl implements SysDepartService { - - - /** - * 0标识为顶级分类 - */ - private static final String ROOT_TAG = "0"; - - - @Override - public void save(SysDepartDTO reqDTO) { - - if(StringUtils.isBlank(reqDTO.getId())) { - this.fillCode(reqDTO); - }else{ - reqDTO.setSort(null); - reqDTO.setDeptCode(null); - } - - SysDepart entity = new SysDepart(); - BeanMapper.copy(reqDTO, entity); - this.saveOrUpdate(entity); - } - - @Override - public IPage paging(PagingReqDTO reqDTO) { - - // 创建分页对象 - Page query = new Page(reqDTO.getCurrent(), reqDTO.getSize()); - - // 请求参数 - SysDepartDTO params = reqDTO.getParams(); - - //转换结果 - IPage pageData = baseMapper.paging(query, params); - - return pageData; - } - - - @Override - public List findTree() { - return this.findTree(null); - } - - @Override - public List findTree(List ids) { - QueryWrapper wrapper = new QueryWrapper(); - wrapper.lambda().orderByAsc(SysDepart::getSort); - if(!CollectionUtils.isEmpty(ids)){ - List fullIds = new ArrayList<>(); - for(String id: ids){ - this.cycleAllParent(fullIds, id); - } - if(!CollectionUtils.isEmpty(fullIds)){ - wrapper.lambda().in(SysDepart::getId, fullIds); - } - } - //全部列表 - List list = this.list(wrapper); - List dtoList = BeanMapper.mapList(list, SysDepartTreeDTO.class); - //子结构的列表 - Map> map = new HashMap<>(16); - for(SysDepartTreeDTO item: dtoList){ - //如果存在 - if(map.containsKey(item.getParentId())){ - map.get(item.getParentId()).add(item); - continue; - } - //增加新的结构 - List a = new ArrayList<>(); - a.add(item); - map.put(item.getParentId(), a); - } - //注意,第0级为顶级的 - List topList = map.get(ROOT_TAG); - if(!CollectionUtils.isEmpty(topList)){ - for(SysDepartTreeDTO item: topList){ - this.fillChildren(map, item); - } - } - - return topList; - } - - @Override - public void sort(String id, Integer sort) { - - SysDepart depart = this.getById(id); - SysDepart exchange = null; - - QueryWrapper wrapper = new QueryWrapper<>(); - // 同级排序 - wrapper.lambda() - .eq(SysDepart::getParentId, depart.getParentId()); - wrapper.last("LIMIT 1"); - - // 上升 - if(sort == 0){ - // 同级排序 - wrapper.lambda() - .lt(SysDepart::getSort, depart.getSort()) - .orderByDesc(SysDepart::getSort); - exchange = this.getOne(wrapper, false); - } - - // 下降 - if(sort == 1){ - // 同级排序 - wrapper.lambda() - .gt(SysDepart::getSort, depart.getSort()) - .orderByAsc(SysDepart::getSort); - exchange = this.getOne(wrapper, false); - } - - - if(exchange!=null) { - SysDepart a = new SysDepart(); - a.setId(id); - a.setSort(exchange.getSort()); - SysDepart b = new SysDepart(); - b.setId(exchange.getId()); - b.setSort(depart.getSort()); - this.updateById(a); - this.updateById(b); - } - } - - /** - * 获取部门编号 - * @param reqDTO - * @return - */ - private void fillCode(SysDepartDTO reqDTO){ - - // 前缀 - String code = ""; - - if(StringUtils.isNotBlank(reqDTO.getParentId()) - && !ROOT_TAG.equals(reqDTO.getParentId())){ - SysDepart parent = this.getById(reqDTO.getParentId()); - code = parent.getDeptCode(); - } - - QueryWrapper wrapper = new QueryWrapper<>(); - - // 同级排序 - wrapper.lambda() - .eq(SysDepart::getParentId, reqDTO.getParentId()) - .orderByDesc(SysDepart::getSort); - wrapper.last("LIMIT 1"); - SysDepart depart = this.getOne(wrapper, false); - - if(depart !=null){ - code += this.formatCode(depart.getSort()+1); - reqDTO.setSort(depart.getSort()+1); - }else{ - code += this.formatCode(1); - reqDTO.setSort(1); - } - - reqDTO.setDeptCode(code); - } - - /** - * 根式化加0 - * @param sort - * @return - */ - private String formatCode(Integer sort){ - if(sort < 10){ - return "A0"+sort; - } - return "A"+sort; - } - - /** - * 递归去做填充数据 - * @param map - * @param item - */ - private void fillChildren(Map> map, SysDepartTreeDTO item){ - - //设置子类 - if(map.containsKey(item.getId())){ - - List children = map.get(item.getId()); - if(!CollectionUtils.isEmpty(children)){ - for(SysDepartTreeDTO sub: children){ - this.fillChildren(map, sub); - } - } - item.setChildren(children); - } - } - - - @Override - public List listAllSubIds( String id){ - - List ids = new ArrayList<>(); - this.cycleAllSubs(ids, id); - return ids; - } - - - /** - * 递归所有子级别ID - * @param list - * @param id - */ - private void cycleAllSubs(List list, String id){ - - // 添加ID - list.add(id); - - QueryWrapper wrapper = new QueryWrapper<>(); - wrapper.lambda() - .eq(SysDepart::getParentId, id) - .orderByDesc(SysDepart::getSort); - List subList = this.list(wrapper); - if(!CollectionUtils.isEmpty(subList)){ - for(SysDepart item: subList){ - this.cycleAllSubs(list, item.getId()); - } - } - } - - /** - * 递归所有子级别ID - * @param list - * @param id - */ - private void cycleAllParent(List list, String id){ - - // 往上递归获得父类 - list.add(id); - SysDepart depart = this.getById(id); - - if(StringUtils.isNotBlank(depart.getParentId()) - && !ROOT_TAG.equals(depart.getParentId())){ - this.cycleAllParent(list, depart.getParentId()); - } - - } -} diff --git a/exam-api/src/main/java/com/bc/exam/modules/dict/controller/SysDictDataController.java b/exam-api/src/main/java/com/bc/exam/modules/dict/controller/SysDictDataController.java index 7b163e6..6d9b1ee 100644 --- a/exam-api/src/main/java/com/bc/exam/modules/dict/controller/SysDictDataController.java +++ b/exam-api/src/main/java/com/bc/exam/modules/dict/controller/SysDictDataController.java @@ -20,13 +20,11 @@ import org.springframework.web.bind.annotation.RestController; import javax.annotation.Resource; + /** - *

- * 码值数据表 前端控制器 - *

- * - * @author chenhaodong - * @since 2022-11-24 + * @Description 描述:字典码值数据表 前端控制器 + * @Author A贾宇婷034244310 + * @Date 20260615 */ @RestController @RequestMapping("/sys/api/dict/data") diff --git a/exam-api/src/main/java/com/bc/exam/modules/dict/controller/SysDictTypeController.java b/exam-api/src/main/java/com/bc/exam/modules/dict/controller/SysDictTypeController.java index 5895dad..9321936 100644 --- a/exam-api/src/main/java/com/bc/exam/modules/dict/controller/SysDictTypeController.java +++ b/exam-api/src/main/java/com/bc/exam/modules/dict/controller/SysDictTypeController.java @@ -22,13 +22,11 @@ import java.util.List; import java.util.Map; import java.util.stream.Collectors; + /** - *

- * 码值大类表 前端控制器 - *

- * - * @author chenhaodong - * @since 2022-11-24 + * @Description 描述:字典 码值大类表 前端控制器 + * @Author A贾宇婷034244310 + * @Date 20260615 */ @RestController @RequestMapping("/sys/api/dict/type") diff --git a/exam-api/src/main/java/com/bc/exam/modules/dict/entity/SysDictData.java b/exam-api/src/main/java/com/bc/exam/modules/dict/entity/SysDictData.java index 6b73771..8acdd75 100644 --- a/exam-api/src/main/java/com/bc/exam/modules/dict/entity/SysDictData.java +++ b/exam-api/src/main/java/com/bc/exam/modules/dict/entity/SysDictData.java @@ -11,13 +11,11 @@ import com.baomidou.mybatisplus.annotation.TableName; import lombok.Data; import lombok.EqualsAndHashCode; + /** - *

- * 码值数据表 - *

- * - * @author chenhaodong - * @since 2022-11-24 + * @Description 描述:字典码值数据表 + * @Author A贾宇婷034244310 + * @Date 20260615 */ @Data @EqualsAndHashCode(callSuper = false) diff --git a/exam-api/src/main/java/com/bc/exam/modules/dict/entity/SysDictType.java b/exam-api/src/main/java/com/bc/exam/modules/dict/entity/SysDictType.java index af53190..176785f 100644 --- a/exam-api/src/main/java/com/bc/exam/modules/dict/entity/SysDictType.java +++ b/exam-api/src/main/java/com/bc/exam/modules/dict/entity/SysDictType.java @@ -10,13 +10,11 @@ import com.baomidou.mybatisplus.annotation.TableName; import lombok.Data; import lombok.EqualsAndHashCode; + /** - *

- * 码值大类表 - *

- * - * @author chenhaodong - * @since 2022-11-24 + * @Description 描述:字典码值大类表 + * @Author A贾宇婷034244310 + * @Date 20260615 */ @Data @EqualsAndHashCode(callSuper = false) diff --git a/exam-api/src/main/java/com/bc/exam/modules/dict/mapper/SysDictDataMapper.java b/exam-api/src/main/java/com/bc/exam/modules/dict/mapper/SysDictDataMapper.java index 08c71ed..07b9bb2 100644 --- a/exam-api/src/main/java/com/bc/exam/modules/dict/mapper/SysDictDataMapper.java +++ b/exam-api/src/main/java/com/bc/exam/modules/dict/mapper/SysDictDataMapper.java @@ -9,13 +9,11 @@ import org.apache.ibatis.annotations.Select; import java.util.List; + /** - *

- * 码值数据表 Mapper 接口 - *

- * - * @author chenhaodong - * @since 2022-11-24 + * @Description 描述:码值数据表 Mapper 接口 + * @Author A贾宇婷034244310 + * @Date 20260615 */ public interface SysDictDataMapper extends BaseMapper { @Select("${sqlStr}") diff --git a/exam-api/src/main/java/com/bc/exam/modules/dict/mapper/SysDictTypeMapper.java b/exam-api/src/main/java/com/bc/exam/modules/dict/mapper/SysDictTypeMapper.java index 94d6572..e1ffb8a 100644 --- a/exam-api/src/main/java/com/bc/exam/modules/dict/mapper/SysDictTypeMapper.java +++ b/exam-api/src/main/java/com/bc/exam/modules/dict/mapper/SysDictTypeMapper.java @@ -3,13 +3,11 @@ package com.bc.exam.modules.dict.mapper; import com.bc.exam.modules.dict.entity.SysDictType; import com.baomidou.mybatisplus.core.mapper.BaseMapper; + /** - *

- * 码值大类表 Mapper 接口 - *

- * - * @author chenhaodong - * @since 2022-11-24 + * @Description 描述:码值大类表 Mapper 接口 + * @Author A贾宇婷034244310 + * @Date 20260615 */ public interface SysDictTypeMapper extends BaseMapper { diff --git a/exam-api/src/main/java/com/bc/exam/modules/dict/service/SysDictDataService.java b/exam-api/src/main/java/com/bc/exam/modules/dict/service/SysDictDataService.java index c119808..5d9ae0b 100644 --- a/exam-api/src/main/java/com/bc/exam/modules/dict/service/SysDictDataService.java +++ b/exam-api/src/main/java/com/bc/exam/modules/dict/service/SysDictDataService.java @@ -11,12 +11,9 @@ import java.util.List; import java.util.Map; /** - *

- * 码值数据表 服务类 - *

- * - * @author chenhaodong - * @since 2022-11-24 + * @Description 描述:码值数据表 服务类 + * @Author A贾宇婷034244310 + * @Date 20260615 */ public interface SysDictDataService extends IService { diff --git a/exam-api/src/main/java/com/bc/exam/modules/dict/service/SysDictTypeService.java b/exam-api/src/main/java/com/bc/exam/modules/dict/service/SysDictTypeService.java index 6229e66..1a801ef 100644 --- a/exam-api/src/main/java/com/bc/exam/modules/dict/service/SysDictTypeService.java +++ b/exam-api/src/main/java/com/bc/exam/modules/dict/service/SysDictTypeService.java @@ -10,12 +10,9 @@ import java.util.List; import java.util.function.Function; /** - *

- * 码值大类表 服务类 - *

- * - * @author chenhaodong - * @since 2022-11-24 + * @Description 描述:码值大类表 服务类 + * @Author A贾宇婷034244310 + * @Date 20260615 */ public interface SysDictTypeService extends IService { /** diff --git a/exam-api/src/main/java/com/bc/exam/modules/dict/service/impl/SysDictDataServiceImpl.java b/exam-api/src/main/java/com/bc/exam/modules/dict/service/impl/SysDictDataServiceImpl.java index b328a43..39b22e7 100644 --- a/exam-api/src/main/java/com/bc/exam/modules/dict/service/impl/SysDictDataServiceImpl.java +++ b/exam-api/src/main/java/com/bc/exam/modules/dict/service/impl/SysDictDataServiceImpl.java @@ -21,12 +21,9 @@ import java.util.Map; import java.util.stream.Collectors; /** - *

- * 码值数据表 服务实现类 - *

- * - * @author chenhaodong - * @since 2022-11-24 + * @Description 描述:码值数据表 服务实现类 + * @Author A贾宇婷034244310 + * @Date 20260615 */ @Service public class SysDictDataServiceImpl extends ServiceImpl implements SysDictDataService { diff --git a/exam-api/src/main/java/com/bc/exam/modules/dict/service/impl/SysDictTypeServiceImpl.java b/exam-api/src/main/java/com/bc/exam/modules/dict/service/impl/SysDictTypeServiceImpl.java index a412db4..671d180 100644 --- a/exam-api/src/main/java/com/bc/exam/modules/dict/service/impl/SysDictTypeServiceImpl.java +++ b/exam-api/src/main/java/com/bc/exam/modules/dict/service/impl/SysDictTypeServiceImpl.java @@ -22,12 +22,9 @@ import java.util.List; import java.util.function.Function; /** - *

- * 码值大类表 服务实现类 - *

- * - * @author chenhaodong - * @since 2022-11-24 + * @Description 描述:码值大类表 服务实现类 + * @Author A贾宇婷034244310 + * @Date 20260615 */ @Service public class SysDictTypeServiceImpl extends ServiceImpl implements SysDictTypeService { diff --git a/exam-api/src/main/java/com/bc/exam/modules/gonggao/controller/TGonggaoController.java b/exam-api/src/main/java/com/bc/exam/modules/gonggao/controller/TGonggaoController.java index 1976473..67e6fe0 100644 --- a/exam-api/src/main/java/com/bc/exam/modules/gonggao/controller/TGonggaoController.java +++ b/exam-api/src/main/java/com/bc/exam/modules/gonggao/controller/TGonggaoController.java @@ -17,10 +17,9 @@ import org.springframework.web.bind.annotation.RestController; import javax.annotation.Resource; /** - * 公告表 前端控制器 - * - * @author chenhaodong - * @since 2023-03-03 + * @Description 描述:公告表 前端控制器 + * @Author A贾宇婷034244310 + * @Date 20260615 */ @RestController @RequestMapping("/gonggao/gggl") diff --git a/exam-api/src/main/java/com/bc/exam/modules/gonggao/entity/TGonggao.java b/exam-api/src/main/java/com/bc/exam/modules/gonggao/entity/TGonggao.java index a774688..2e381b3 100644 --- a/exam-api/src/main/java/com/bc/exam/modules/gonggao/entity/TGonggao.java +++ b/exam-api/src/main/java/com/bc/exam/modules/gonggao/entity/TGonggao.java @@ -7,12 +7,9 @@ import java.io.Serializable; import java.util.Date; /** - *

- * 公告表 - *

- * - * @author chenhaodong - * @since 2023-03-03 + * @Description 描述:公告表 + * @Author A贾宇婷034244310 + * @Date 20260615 */ @Data @EqualsAndHashCode(callSuper = false) diff --git a/exam-api/src/main/java/com/bc/exam/modules/gonggao/mapper/TGonggaoMapper.java b/exam-api/src/main/java/com/bc/exam/modules/gonggao/mapper/TGonggaoMapper.java index f7338eb..48680f5 100644 --- a/exam-api/src/main/java/com/bc/exam/modules/gonggao/mapper/TGonggaoMapper.java +++ b/exam-api/src/main/java/com/bc/exam/modules/gonggao/mapper/TGonggaoMapper.java @@ -4,12 +4,9 @@ import com.baomidou.mybatisplus.core.mapper.BaseMapper; import com.bc.exam.modules.gonggao.entity.TGonggao; /** - *

- * 公告表 Mapper 接口 - *

- * - * @author chenhaodong - * @since 2023-03-03 + * @Description 描述:公告表 Mapper 接口 + * @Author A贾宇婷034244310 + * @Date 20260615 */ public interface TGonggaoMapper extends BaseMapper { diff --git a/exam-api/src/main/java/com/bc/exam/modules/gonggao/service/TGonggaoService.java b/exam-api/src/main/java/com/bc/exam/modules/gonggao/service/TGonggaoService.java index d0ef74b..86aeab3 100644 --- a/exam-api/src/main/java/com/bc/exam/modules/gonggao/service/TGonggaoService.java +++ b/exam-api/src/main/java/com/bc/exam/modules/gonggao/service/TGonggaoService.java @@ -6,12 +6,9 @@ import com.bc.exam.core.api.dto.PagingReqDTO; import com.bc.exam.modules.gonggao.entity.TGonggao; /** - *

- * 公告表 服务类 - *

- * - * @author chenhaodong - * @since 2023-03-03 + * @Description 描述:公告表 服务类 + * @Author A贾宇婷034244310 + * @Date 20260615 */ public interface TGonggaoService extends IService { IPage paging(PagingReqDTO reqDTO); diff --git a/exam-api/src/main/java/com/bc/exam/modules/gonggao/service/impl/TGonggaoServiceImpl.java b/exam-api/src/main/java/com/bc/exam/modules/gonggao/service/impl/TGonggaoServiceImpl.java index f5792a5..6168140 100644 --- a/exam-api/src/main/java/com/bc/exam/modules/gonggao/service/impl/TGonggaoServiceImpl.java +++ b/exam-api/src/main/java/com/bc/exam/modules/gonggao/service/impl/TGonggaoServiceImpl.java @@ -14,12 +14,9 @@ import com.bc.exam.modules.gonggao.service.TGonggaoService; import org.springframework.stereotype.Service; /** - *

- * 公告表 服务实现类 - *

- * - * @author chenhaodong - * @since 2023-03-03 + * @Description 描述:公告表 服务实现类 + * @Author A贾宇婷034244310 + * @Date 20260615 */ @Service public class TGonggaoServiceImpl extends ServiceImpl implements TGonggaoService { diff --git a/exam-api/src/main/java/com/bc/exam/modules/liuyan/controller/TLiuyanController.java b/exam-api/src/main/java/com/bc/exam/modules/liuyan/controller/TLiuyanController.java index b61085c..02063b5 100644 --- a/exam-api/src/main/java/com/bc/exam/modules/liuyan/controller/TLiuyanController.java +++ b/exam-api/src/main/java/com/bc/exam/modules/liuyan/controller/TLiuyanController.java @@ -18,10 +18,9 @@ import org.springframework.web.bind.annotation.RestController; import javax.annotation.Resource; /** - * 留言信息表 前端控制器 - * - * @author chenhaodong - * @since 2023-03-03 + * @Description 描述:留言信息表 前端控制器 + * @Author A贾宇婷034244310 + * @Date 20260615 */ @RestController @RequestMapping("/liuyan/lygl") diff --git a/exam-api/src/main/java/com/bc/exam/modules/liuyan/entity/TLiuyan.java b/exam-api/src/main/java/com/bc/exam/modules/liuyan/entity/TLiuyan.java index 824e04e..81c3dbb 100644 --- a/exam-api/src/main/java/com/bc/exam/modules/liuyan/entity/TLiuyan.java +++ b/exam-api/src/main/java/com/bc/exam/modules/liuyan/entity/TLiuyan.java @@ -7,12 +7,9 @@ import java.io.Serializable; import java.util.Date; /** - *

- * 留言信息表 - *

- * - * @author chenhaodong - * @since 2023-03-03 + * @Description 描述:留言信息表 + * @Author A贾宇婷034244310 + * @Date 20260615 */ @Data @EqualsAndHashCode(callSuper = false) diff --git a/exam-api/src/main/java/com/bc/exam/modules/liuyan/mapper/TLiuyanMapper.java b/exam-api/src/main/java/com/bc/exam/modules/liuyan/mapper/TLiuyanMapper.java index b86492f..7ec6baa 100644 --- a/exam-api/src/main/java/com/bc/exam/modules/liuyan/mapper/TLiuyanMapper.java +++ b/exam-api/src/main/java/com/bc/exam/modules/liuyan/mapper/TLiuyanMapper.java @@ -4,12 +4,9 @@ import com.baomidou.mybatisplus.core.mapper.BaseMapper; import com.bc.exam.modules.liuyan.entity.TLiuyan; /** - *

- * 留言信息表 Mapper 接口 - *

- * - * @author chenhaodong - * @since 2023-03-03 + * @Description 描述:留言信息表 Mapper 接口 + * @Author A贾宇婷034244310 + * @Date 20260615 */ public interface TLiuyanMapper extends BaseMapper { diff --git a/exam-api/src/main/java/com/bc/exam/modules/liuyan/service/TLiuyanService.java b/exam-api/src/main/java/com/bc/exam/modules/liuyan/service/TLiuyanService.java index 2137302..43bdc5c 100644 --- a/exam-api/src/main/java/com/bc/exam/modules/liuyan/service/TLiuyanService.java +++ b/exam-api/src/main/java/com/bc/exam/modules/liuyan/service/TLiuyanService.java @@ -6,12 +6,9 @@ import com.bc.exam.core.api.dto.PagingReqDTO; import com.bc.exam.modules.liuyan.entity.TLiuyan; /** - *

- * 留言信息表 服务类 - *

- * - * @author chenhaodong - * @since 2023-03-03 + * @Description 描述:留言信息表 服务类 + * @Author A贾宇婷034244310 + * @Date 20260615 */ public interface TLiuyanService extends IService { diff --git a/exam-api/src/main/java/com/bc/exam/modules/liuyan/service/impl/TLiuyanServiceImpl.java b/exam-api/src/main/java/com/bc/exam/modules/liuyan/service/impl/TLiuyanServiceImpl.java index c499f7a..739448e 100644 --- a/exam-api/src/main/java/com/bc/exam/modules/liuyan/service/impl/TLiuyanServiceImpl.java +++ b/exam-api/src/main/java/com/bc/exam/modules/liuyan/service/impl/TLiuyanServiceImpl.java @@ -14,12 +14,9 @@ import com.bc.exam.modules.liuyan.service.TLiuyanService; import org.springframework.stereotype.Service; /** - *

- * 留言信息表 服务实现类 - *

- * - * @author chenhaodong - * @since 2023-03-03 + * @Description 描述:留言信息表 服务实现类 + * @Author A贾宇婷034244310 + * @Date 20260615 */ @Service public class TLiuyanServiceImpl extends ServiceImpl implements TLiuyanService { diff --git a/exam-api/src/main/java/com/bc/exam/modules/student/controller/StudentController.java b/exam-api/src/main/java/com/bc/exam/modules/student/controller/StudentController.java index a6ad6e1..94bcd28 100644 --- a/exam-api/src/main/java/com/bc/exam/modules/student/controller/StudentController.java +++ b/exam-api/src/main/java/com/bc/exam/modules/student/controller/StudentController.java @@ -14,10 +14,9 @@ import org.springframework.web.bind.annotation.*; import javax.annotation.Resource; /** - * 学生基础信息 前端控制器 - * - * @author chenhaodong - * @since 2023-02-26 + * @Description 描述:学生基础信息 前端控制器 + * @Author A贾宇婷034244310 + * @Date 20260615 */ @RestController @RequestMapping("/student/student") diff --git a/exam-api/src/main/java/com/bc/exam/modules/student/entity/Student.java b/exam-api/src/main/java/com/bc/exam/modules/student/entity/Student.java index 41661f8..3a6c6a4 100644 --- a/exam-api/src/main/java/com/bc/exam/modules/student/entity/Student.java +++ b/exam-api/src/main/java/com/bc/exam/modules/student/entity/Student.java @@ -10,12 +10,9 @@ import lombok.Data; import lombok.EqualsAndHashCode; /** - *

- * 学生基础信息 - *

- * - * @author chenhaodong - * @since 2023-02-26 + * @Description 描述:学生基础信息 + * @Author A贾宇婷034244310 + * @Date 20260615 */ @Data @EqualsAndHashCode(callSuper = false) diff --git a/exam-api/src/main/java/com/bc/exam/modules/student/mapper/StudentMapper.java b/exam-api/src/main/java/com/bc/exam/modules/student/mapper/StudentMapper.java index ec31348..dd381d2 100644 --- a/exam-api/src/main/java/com/bc/exam/modules/student/mapper/StudentMapper.java +++ b/exam-api/src/main/java/com/bc/exam/modules/student/mapper/StudentMapper.java @@ -8,12 +8,9 @@ import com.bc.exam.modules.student.entity.Student; import org.apache.ibatis.annotations.Param; /** - *

- * 学生基础信息 Mapper 接口 - *

- * - * @author chenhaodong - * @since 2023-02-26 + * @Description 描述:学生基础信息 Mapper 接口 + * @Author A贾宇婷034244310 + * @Date 20260615 */ public interface StudentMapper extends BaseMapper { IPage paging(Page page, @Param("ew") Wrapper wrapper); diff --git a/exam-api/src/main/java/com/bc/exam/modules/student/service/StudentService.java b/exam-api/src/main/java/com/bc/exam/modules/student/service/StudentService.java index 789a6ae..bf5b0ae 100644 --- a/exam-api/src/main/java/com/bc/exam/modules/student/service/StudentService.java +++ b/exam-api/src/main/java/com/bc/exam/modules/student/service/StudentService.java @@ -7,12 +7,9 @@ import com.baomidou.mybatisplus.extension.service.IService; /** - *

- * 学生基础信息 服务类 - *

- * - * @author chenhaodong - * @since 2023-02-26 + * @Description 描述:学生基础信息 服务类 + * @Author A贾宇婷034244310 + * @Date 20260615 */ public interface StudentService extends IService { diff --git a/exam-api/src/main/java/com/bc/exam/modules/student/service/impl/StudentServiceImpl.java b/exam-api/src/main/java/com/bc/exam/modules/student/service/impl/StudentServiceImpl.java index cee61a5..6b740c3 100644 --- a/exam-api/src/main/java/com/bc/exam/modules/student/service/impl/StudentServiceImpl.java +++ b/exam-api/src/main/java/com/bc/exam/modules/student/service/impl/StudentServiceImpl.java @@ -13,12 +13,9 @@ import org.springframework.stereotype.Service; /** - *

- * 学生基础信息 服务实现类 - *

- * - * @author chenhaodong - * @since 2023-02-26 + * @Description 描述:学生基础信息 服务实现类 + * @Author A贾宇婷034244310 + * @Date 20260615 */ @Service public class StudentServiceImpl extends ServiceImpl implements StudentService { diff --git a/exam-api/src/main/java/com/bc/exam/modules/system/mapper/SysDictMapper.java b/exam-api/src/main/java/com/bc/exam/modules/system/mapper/SysDictMapper.java index 86cddae..2d2c8b9 100644 --- a/exam-api/src/main/java/com/bc/exam/modules/system/mapper/SysDictMapper.java +++ b/exam-api/src/main/java/com/bc/exam/modules/system/mapper/SysDictMapper.java @@ -4,13 +4,10 @@ import org.apache.ibatis.annotations.Mapper; import org.apache.ibatis.annotations.Param; /** -*

-* 机主信息Mapper -*

-* -* @author chd -* @since 2020-08-22 13:46 -*/ + * @Description 描述:机主信息Mapper + * @Author A贾宇婷034244310 + * @Date 20260615 + */ @Mapper public interface SysDictMapper { diff --git a/exam-api/src/main/java/com/bc/exam/modules/system/service/SysDictService.java b/exam-api/src/main/java/com/bc/exam/modules/system/service/SysDictService.java index 37b34bc..e7576b6 100644 --- a/exam-api/src/main/java/com/bc/exam/modules/system/service/SysDictService.java +++ b/exam-api/src/main/java/com/bc/exam/modules/system/service/SysDictService.java @@ -1,9 +1,5 @@ package com.bc.exam.modules.system.service; -/** - * 数据字典工具类 - * @author bool - */ public interface SysDictService { /** diff --git a/exam-api/src/main/java/com/bc/exam/modules/system/service/impl/SysDictServiceImpl.java b/exam-api/src/main/java/com/bc/exam/modules/system/service/impl/SysDictServiceImpl.java index 29da023..8056856 100644 --- a/exam-api/src/main/java/com/bc/exam/modules/system/service/impl/SysDictServiceImpl.java +++ b/exam-api/src/main/java/com/bc/exam/modules/system/service/impl/SysDictServiceImpl.java @@ -5,9 +5,6 @@ import com.bc.exam.modules.system.service.SysDictService; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; -/** - * @author bool - */ @Service public class SysDictServiceImpl implements SysDictService { diff --git a/exam-api/src/main/java/com/bc/exam/modules/tjhxxb/controller/TJhxxbController.java b/exam-api/src/main/java/com/bc/exam/modules/tjhxxb/controller/TJhxxbController.java index 6cd3532..17ba0f6 100644 --- a/exam-api/src/main/java/com/bc/exam/modules/tjhxxb/controller/TJhxxbController.java +++ b/exam-api/src/main/java/com/bc/exam/modules/tjhxxb/controller/TJhxxbController.java @@ -25,10 +25,9 @@ import java.util.Calendar; import java.util.Date; /** - * 借还信息表前端控制器 - * - * @author chenhaodong - * @since 2023-02-27 + * @Description 描述:借还信息表前端控制器 + * @Author A贾宇婷034244310 + * @Date 20260615 */ @RestController @RequestMapping("/tjhxxb/controller") diff --git a/exam-api/src/main/java/com/bc/exam/modules/tjhxxb/entity/TJhxxb.java b/exam-api/src/main/java/com/bc/exam/modules/tjhxxb/entity/TJhxxb.java index 2e4d57d..279ac08 100644 --- a/exam-api/src/main/java/com/bc/exam/modules/tjhxxb/entity/TJhxxb.java +++ b/exam-api/src/main/java/com/bc/exam/modules/tjhxxb/entity/TJhxxb.java @@ -10,10 +10,9 @@ import lombok.Data; import lombok.EqualsAndHashCode; /** - * 借还信息表 - * - * @author chenhaodong - * @since 2023-02-27 + * @Description 描述:借还信息表 + * @Author A贾宇婷034244310 + * @Date 20260615 */ @Data @EqualsAndHashCode(callSuper = false) diff --git a/exam-api/src/main/java/com/bc/exam/modules/tjhxxb/mapper/TJhxxbMapper.java b/exam-api/src/main/java/com/bc/exam/modules/tjhxxb/mapper/TJhxxbMapper.java index c2778a7..92ccb26 100644 --- a/exam-api/src/main/java/com/bc/exam/modules/tjhxxb/mapper/TJhxxbMapper.java +++ b/exam-api/src/main/java/com/bc/exam/modules/tjhxxb/mapper/TJhxxbMapper.java @@ -7,13 +7,11 @@ import com.bc.exam.modules.tjhxxb.entity.TJhxxb; import com.baomidou.mybatisplus.core.mapper.BaseMapper; import org.apache.ibatis.annotations.Param; + /** - *

- * Mapper 接口 - *

- * - * @author chenhaodong - * @since 2023-02-27 + * @Description 描述:借还信息表mapper + * @Author A贾宇婷034244310 + * @Date 20260615 */ public interface TJhxxbMapper extends BaseMapper { IPage paging(Page page, @Param("ew") Wrapper wrapper); diff --git a/exam-api/src/main/java/com/bc/exam/modules/tjhxxb/service/TJhxxbService.java b/exam-api/src/main/java/com/bc/exam/modules/tjhxxb/service/TJhxxbService.java index 8a25b28..f41cbd5 100644 --- a/exam-api/src/main/java/com/bc/exam/modules/tjhxxb/service/TJhxxbService.java +++ b/exam-api/src/main/java/com/bc/exam/modules/tjhxxb/service/TJhxxbService.java @@ -6,12 +6,9 @@ import com.bc.exam.modules.tjhxxb.entity.TJhxxb; import com.baomidou.mybatisplus.extension.service.IService; /** - *

- * 服务类 - *

- * - * @author chenhaodong - * @since 2023-02-27 + * @Description 描述:借还信息表实现 + * @Author A贾宇婷034244310 + * @Date 20260615 */ public interface TJhxxbService extends IService { diff --git a/exam-api/src/main/java/com/bc/exam/modules/tjhxxb/service/impl/TJhxxbServiceImpl.java b/exam-api/src/main/java/com/bc/exam/modules/tjhxxb/service/impl/TJhxxbServiceImpl.java index a0f7803..3bac477 100644 --- a/exam-api/src/main/java/com/bc/exam/modules/tjhxxb/service/impl/TJhxxbServiceImpl.java +++ b/exam-api/src/main/java/com/bc/exam/modules/tjhxxb/service/impl/TJhxxbServiceImpl.java @@ -12,12 +12,9 @@ import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; import org.springframework.stereotype.Service; /** - *

- * 服务实现类 - *

- * - * @author chenhaodong - * @since 2023-02-27 + * @Description 描述:借还信息表实现 + * @Author A贾宇婷034244310 + * @Date 20260615 */ @Service public class TJhxxbServiceImpl extends ServiceImpl implements TJhxxbService { diff --git a/exam-api/src/main/java/com/bc/exam/modules/tlog/controller/TLogController.java b/exam-api/src/main/java/com/bc/exam/modules/tlog/controller/TLogController.java index 8ecd5f7..6154465 100644 --- a/exam-api/src/main/java/com/bc/exam/modules/tlog/controller/TLogController.java +++ b/exam-api/src/main/java/com/bc/exam/modules/tlog/controller/TLogController.java @@ -17,10 +17,9 @@ import org.springframework.web.bind.annotation.RestController; import javax.annotation.Resource; /** - * 书籍借还日志记录前端控制器 - * - * @author chenhaodong - * @since 2023-03-03 + * @Description 描述:书籍借还日志记录前端控制器 + * @Author A贾宇婷034244310 + * @Date 20260615 */ @RestController @RequestMapping("/tlog/logcontrol") diff --git a/exam-api/src/main/java/com/bc/exam/modules/tlog/entity/TLog.java b/exam-api/src/main/java/com/bc/exam/modules/tlog/entity/TLog.java index a041752..05ec536 100644 --- a/exam-api/src/main/java/com/bc/exam/modules/tlog/entity/TLog.java +++ b/exam-api/src/main/java/com/bc/exam/modules/tlog/entity/TLog.java @@ -6,12 +6,9 @@ import lombok.Data; import lombok.EqualsAndHashCode; /** - *

- * - *

- * - * @author chenhaodong - * @since 2023-03-03 + * @Description 描述:借还日志 + * @Author A贾宇婷034244310 + * @Date 20260615 */ @Data @EqualsAndHashCode(callSuper = false) diff --git a/exam-api/src/main/java/com/bc/exam/modules/tlog/mapper/TLogMapper.java b/exam-api/src/main/java/com/bc/exam/modules/tlog/mapper/TLogMapper.java index b0c9af2..204b406 100644 --- a/exam-api/src/main/java/com/bc/exam/modules/tlog/mapper/TLogMapper.java +++ b/exam-api/src/main/java/com/bc/exam/modules/tlog/mapper/TLogMapper.java @@ -3,13 +3,11 @@ package com.bc.exam.modules.tlog.mapper; import com.bc.exam.modules.tlog.entity.TLog; import com.baomidou.mybatisplus.core.mapper.BaseMapper; + /** - *

- * Mapper 接口 - *

- * - * @author chenhaodong - * @since 2023-03-03 + * @Description 描述:借还日志接口 + * @Author A贾宇婷034244310 + * @Date 20260615 */ public interface TLogMapper extends BaseMapper { diff --git a/exam-api/src/main/java/com/bc/exam/modules/tlog/service/TLogService.java b/exam-api/src/main/java/com/bc/exam/modules/tlog/service/TLogService.java index 90b37b7..3e56dd3 100644 --- a/exam-api/src/main/java/com/bc/exam/modules/tlog/service/TLogService.java +++ b/exam-api/src/main/java/com/bc/exam/modules/tlog/service/TLogService.java @@ -6,12 +6,9 @@ import com.bc.exam.modules.tlog.entity.TLog; import com.baomidou.mybatisplus.extension.service.IService; /** - *

- * 服务类 - *

- * - * @author chenhaodong - * @since 2023-03-03 + * @Description 描述:借还日志服务类 + * @Author A贾宇婷034244310 + * @Date 20260615 */ public interface TLogService extends IService { IPage paging(PagingReqDTO reqDTO); diff --git a/exam-api/src/main/java/com/bc/exam/modules/tlog/service/impl/TLogServiceImpl.java b/exam-api/src/main/java/com/bc/exam/modules/tlog/service/impl/TLogServiceImpl.java index 9ad7810..dfebb64 100644 --- a/exam-api/src/main/java/com/bc/exam/modules/tlog/service/impl/TLogServiceImpl.java +++ b/exam-api/src/main/java/com/bc/exam/modules/tlog/service/impl/TLogServiceImpl.java @@ -12,12 +12,9 @@ import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; import org.springframework.stereotype.Service; /** - *

- * 服务实现类 - *

- * - * @author chenhaodong - * @since 2023-03-03 + * @Description 描述:借还日志服务 + * @Author A贾宇婷034244310 + * @Date 20260615 */ @Service public class TLogServiceImpl extends ServiceImpl implements TLogService { diff --git a/exam-api/src/main/java/com/bc/exam/modules/tsjxxb/controller/TSjxxbController.java b/exam-api/src/main/java/com/bc/exam/modules/tsjxxb/controller/TSjxxbController.java index 430cee5..aab869d 100644 --- a/exam-api/src/main/java/com/bc/exam/modules/tsjxxb/controller/TSjxxbController.java +++ b/exam-api/src/main/java/com/bc/exam/modules/tsjxxb/controller/TSjxxbController.java @@ -17,10 +17,9 @@ import org.springframework.web.bind.annotation.*; import javax.annotation.Resource; /** - * 书籍信息表前端控制器 - * - * @author chenhaodong - * @since 2023-02-27 + * @Description 描述:书籍信息表前端控制器 + * @Author A贾宇婷034244310 + * @Date 20260615 */ @RestController @RequestMapping("/tsjxxb/controller") diff --git a/exam-api/src/main/java/com/bc/exam/modules/tsjxxb/entity/TSjxxb.java b/exam-api/src/main/java/com/bc/exam/modules/tsjxxb/entity/TSjxxb.java index 35975dc..fde7800 100644 --- a/exam-api/src/main/java/com/bc/exam/modules/tsjxxb/entity/TSjxxb.java +++ b/exam-api/src/main/java/com/bc/exam/modules/tsjxxb/entity/TSjxxb.java @@ -10,10 +10,9 @@ import lombok.Data; import lombok.EqualsAndHashCode; /** - * 书籍信息表 - * - * @author chenhaodong - * @since 2023-02-27 + * @Description 描述:书籍信息表 + * @Author A贾宇婷034244310 + * @Date 20260615 */ @Data @EqualsAndHashCode(callSuper = false) diff --git a/exam-api/src/main/java/com/bc/exam/modules/tsjxxb/mapper/TSjxxbMapper.java b/exam-api/src/main/java/com/bc/exam/modules/tsjxxb/mapper/TSjxxbMapper.java index 8eb67d2..ba010d2 100644 --- a/exam-api/src/main/java/com/bc/exam/modules/tsjxxb/mapper/TSjxxbMapper.java +++ b/exam-api/src/main/java/com/bc/exam/modules/tsjxxb/mapper/TSjxxbMapper.java @@ -4,12 +4,9 @@ import com.bc.exam.modules.tsjxxb.entity.TSjxxb; import com.baomidou.mybatisplus.core.mapper.BaseMapper; /** - *

- * Mapper 接口 - *

- * - * @author chenhaodong - * @since 2023-02-27 + * @Description 描述:书籍信息表mapper + * @Author A贾宇婷034244310 + * @Date 20260615 */ public interface TSjxxbMapper extends BaseMapper { diff --git a/exam-api/src/main/java/com/bc/exam/modules/tsjxxb/service/TSjxxbService.java b/exam-api/src/main/java/com/bc/exam/modules/tsjxxb/service/TSjxxbService.java index f76b4cb..b83cee9 100644 --- a/exam-api/src/main/java/com/bc/exam/modules/tsjxxb/service/TSjxxbService.java +++ b/exam-api/src/main/java/com/bc/exam/modules/tsjxxb/service/TSjxxbService.java @@ -6,12 +6,9 @@ import com.bc.exam.modules.tsjxxb.entity.TSjxxb; import com.baomidou.mybatisplus.extension.service.IService; /** - *

- * 服务类 - *

- * - * @author chenhaodong - * @since 2023-02-27 + * @Description 描述:书籍信息表服务 + * @Author A贾宇婷034244310 + * @Date 20260615 */ public interface TSjxxbService extends IService { diff --git a/exam-api/src/main/java/com/bc/exam/modules/tsjxxb/service/impl/TSjxxbServiceImpl.java b/exam-api/src/main/java/com/bc/exam/modules/tsjxxb/service/impl/TSjxxbServiceImpl.java index bdf7392..74e8564 100644 --- a/exam-api/src/main/java/com/bc/exam/modules/tsjxxb/service/impl/TSjxxbServiceImpl.java +++ b/exam-api/src/main/java/com/bc/exam/modules/tsjxxb/service/impl/TSjxxbServiceImpl.java @@ -12,12 +12,9 @@ import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; import org.springframework.stereotype.Service; /** - *

- * 服务实现类 - *

- * - * @author chenhaodong - * @since 2023-02-27 + * @Description 描述:书籍信息表服务实现类 + * @Author A贾宇婷034244310 + * @Date 20260615 */ @Service public class TSjxxbServiceImpl extends ServiceImpl implements TSjxxbService { diff --git a/exam-api/src/main/java/com/bc/exam/modules/user/UserUtils.java b/exam-api/src/main/java/com/bc/exam/modules/user/UserUtils.java index 8494b84..fdbaa2e 100644 --- a/exam-api/src/main/java/com/bc/exam/modules/user/UserUtils.java +++ b/exam-api/src/main/java/com/bc/exam/modules/user/UserUtils.java @@ -6,8 +6,9 @@ import com.bc.exam.modules.user.dto.response.SysUserLoginDTO; import org.apache.shiro.SecurityUtils; /** - * 用户静态工具类 - * @author chd + * @Description 描述:用户静态工具类 + * @Author A贾宇婷034244310 + * @Date 20260615 */ public class UserUtils { @@ -28,32 +29,6 @@ public class UserUtils { } } - /** - * 获取当前登录用户的ID - * @param throwable - * @return - */ - public static boolean isAdmin(boolean throwable){ - try { - SysUserLoginDTO dto = ((SysUserLoginDTO) SecurityUtils.getSubject().getPrincipal()); - return dto.getRoles().contains("sa"); - }catch (Exception e){ - if(throwable){ - throw new ServiceException(ApiError.ERROR_10010002); - } - } - - return false; - } - - /** - * 判断当前用户不是admin, 默认不抛异常 - * @return true 不是admin, false 是admin - */ - public static boolean isNotAdmin(){ - return !isAdmin(false); - } - /** * 获取当前登录用户的ID,默认是会抛异常的 * @return diff --git a/exam-api/src/main/java/com/bc/exam/modules/user/controller/SysRoleController.java b/exam-api/src/main/java/com/bc/exam/modules/user/controller/SysRoleController.java index 7897de1..2c250a7 100644 --- a/exam-api/src/main/java/com/bc/exam/modules/user/controller/SysRoleController.java +++ b/exam-api/src/main/java/com/bc/exam/modules/user/controller/SysRoleController.java @@ -20,12 +20,9 @@ import org.springframework.web.bind.annotation.RestController; import java.util.List; /** - *

- * 管理用户控制器 - *

- * - * @author chd - * @since 2020-04-13 16:57 + * @Description 描述:用户角色 + * @Author A贾宇婷034244310 + * @Date 20260615 */ @Api(tags = {"管理用户"}) @RestController diff --git a/exam-api/src/main/java/com/bc/exam/modules/user/controller/SysUserController.java b/exam-api/src/main/java/com/bc/exam/modules/user/controller/SysUserController.java index 82a6a40..34f53e8 100644 --- a/exam-api/src/main/java/com/bc/exam/modules/user/controller/SysUserController.java +++ b/exam-api/src/main/java/com/bc/exam/modules/user/controller/SysUserController.java @@ -22,12 +22,9 @@ import javax.servlet.http.HttpServletRequest; import java.util.List; /** - *

- * 管理用户控制器 - *

- * - * @author chd - * @since 2020-04-13 16:57 + * @Description 描述:管理用户控制器 + * @Author A贾宇婷034244310 + * @Date 20260615 */ @Api(tags = {"管理用户"}) @RestController diff --git a/exam-api/src/main/java/com/bc/exam/modules/user/dto/SysRoleDTO.java b/exam-api/src/main/java/com/bc/exam/modules/user/dto/SysRoleDTO.java index ebff901..0e6e732 100644 --- a/exam-api/src/main/java/com/bc/exam/modules/user/dto/SysRoleDTO.java +++ b/exam-api/src/main/java/com/bc/exam/modules/user/dto/SysRoleDTO.java @@ -7,13 +7,10 @@ import lombok.Data; import java.io.Serializable; /** -*

-* 角色请求类 -*

-* -* @author chenhaodong -* @since 2020-04-13 16:57 -*/ + * @Description 描述:角色类 + * @Author A贾宇婷034244310 + * @Date 20260615 + */ @Data @ApiModel(value="角色", description="角色") public class SysRoleDTO implements Serializable { diff --git a/exam-api/src/main/java/com/bc/exam/modules/user/dto/SysUserDTO.java b/exam-api/src/main/java/com/bc/exam/modules/user/dto/SysUserDTO.java index d89c391..b305181 100644 --- a/exam-api/src/main/java/com/bc/exam/modules/user/dto/SysUserDTO.java +++ b/exam-api/src/main/java/com/bc/exam/modules/user/dto/SysUserDTO.java @@ -8,13 +8,10 @@ import java.io.Serializable; import java.util.Date; /** -*

-* 管理用户请求类 -*

-* -* @author chenhaodong -* @since 2020-04-13 16:57 -*/ + * @Description 描述:管理用户 + * @Author A贾宇婷034244310 + * @Date 20260615 + */ @Data @ApiModel(value="管理用户", description="管理用户") public class SysUserDTO implements Serializable { diff --git a/exam-api/src/main/java/com/bc/exam/modules/user/dto/SysUserRoleDTO.java b/exam-api/src/main/java/com/bc/exam/modules/user/dto/SysUserRoleDTO.java index 6301304..fdc32c9 100644 --- a/exam-api/src/main/java/com/bc/exam/modules/user/dto/SysUserRoleDTO.java +++ b/exam-api/src/main/java/com/bc/exam/modules/user/dto/SysUserRoleDTO.java @@ -7,13 +7,10 @@ import lombok.Data; import java.io.Serializable; /** -*

-* 用户角色请求类 -*

-* -* @author chenhaodong -* @since 2020-04-13 16:57 -*/ + * @Description 描述:用户角色 + * @Author A贾宇婷034244310 + * @Date 20260615 + */ @Data @ApiModel(value="用户角色", description="用户角色") public class SysUserRoleDTO implements Serializable { diff --git a/exam-api/src/main/java/com/bc/exam/modules/user/dto/request/SysUserLoginReqDTO.java b/exam-api/src/main/java/com/bc/exam/modules/user/dto/request/SysUserLoginReqDTO.java index 73456c7..cde1186 100644 --- a/exam-api/src/main/java/com/bc/exam/modules/user/dto/request/SysUserLoginReqDTO.java +++ b/exam-api/src/main/java/com/bc/exam/modules/user/dto/request/SysUserLoginReqDTO.java @@ -7,13 +7,10 @@ import lombok.Data; import java.io.Serializable; /** -*

-* 管理员登录请求类 -*

-* -* @author chenhaodong -* @since 2020-04-13 16:57 -*/ + * @Description 描述:登录请求 + * @Author A贾宇婷034244310 + * @Date 20260615 + */ @Data @ApiModel(value="管理员登录请求类", description="管理员登录请求类") public class SysUserLoginReqDTO implements Serializable { diff --git a/exam-api/src/main/java/com/bc/exam/modules/user/dto/request/SysUserSaveReqDTO.java b/exam-api/src/main/java/com/bc/exam/modules/user/dto/request/SysUserSaveReqDTO.java index 0973f43..e44acc7 100644 --- a/exam-api/src/main/java/com/bc/exam/modules/user/dto/request/SysUserSaveReqDTO.java +++ b/exam-api/src/main/java/com/bc/exam/modules/user/dto/request/SysUserSaveReqDTO.java @@ -8,13 +8,10 @@ import java.io.Serializable; import java.util.List; /** -*

-* 管理员登录请求类 -*

-* -* @author chenhaodong -* @since 2020-04-13 16:57 -*/ + * @Description 描述:登录信息保存 + * @Author A贾宇婷034244310 + * @Date 20260615 + */ @Data @ApiModel(value="管理员保存请求类", description="管理员保存请求类") public class SysUserSaveReqDTO implements Serializable { diff --git a/exam-api/src/main/java/com/bc/exam/modules/user/dto/request/SysUserTokenReqDTO.java b/exam-api/src/main/java/com/bc/exam/modules/user/dto/request/SysUserTokenReqDTO.java index aca1c54..5cc7537 100644 --- a/exam-api/src/main/java/com/bc/exam/modules/user/dto/request/SysUserTokenReqDTO.java +++ b/exam-api/src/main/java/com/bc/exam/modules/user/dto/request/SysUserTokenReqDTO.java @@ -7,13 +7,10 @@ import lombok.Data; import java.io.Serializable; /** -*

-* 会话检查请求类 -*

-* -* @author chenhaodong -* @since 2020-04-13 16:57 -*/ + * @Description 描述:请求token + * @Author A贾宇婷034244310 + * @Date 20260615 + */ @Data @ApiModel(value="会话检查请求类", description="会话检查请求类") public class SysUserTokenReqDTO implements Serializable { diff --git a/exam-api/src/main/java/com/bc/exam/modules/user/dto/response/SysUserLoginDTO.java b/exam-api/src/main/java/com/bc/exam/modules/user/dto/response/SysUserLoginDTO.java index 447774c..4acc2ba 100644 --- a/exam-api/src/main/java/com/bc/exam/modules/user/dto/response/SysUserLoginDTO.java +++ b/exam-api/src/main/java/com/bc/exam/modules/user/dto/response/SysUserLoginDTO.java @@ -11,13 +11,10 @@ import java.util.List; import java.util.Map; /** -*

-* 管理用户请求类 -*

-* -* @author chenhaodong -* @since 2020-04-13 16:57 -*/ + * @Description 描述:管理用户登录响应类 + * @Author A贾宇婷034244310 + * @Date 20260615 + */ @Data @ApiModel(value="管理用户登录响应类", description="管理用户登录响应类") public class SysUserLoginDTO implements Serializable { diff --git a/exam-api/src/main/java/com/bc/exam/modules/user/entity/SysRole.java b/exam-api/src/main/java/com/bc/exam/modules/user/entity/SysRole.java index 703e44b..2e55639 100644 --- a/exam-api/src/main/java/com/bc/exam/modules/user/entity/SysRole.java +++ b/exam-api/src/main/java/com/bc/exam/modules/user/entity/SysRole.java @@ -8,13 +8,10 @@ import com.baomidou.mybatisplus.extension.activerecord.Model; import lombok.Data; /** -*

-* 角色实体类 -*

-* -* @author chenhaodong -* @since 2020-04-13 16:57 -*/ + * @Description 描述:角色 + * @Author A贾宇婷034244310 + * @Date 20260615 + */ @Data @TableName("sys_role") public class SysRole extends Model { diff --git a/exam-api/src/main/java/com/bc/exam/modules/user/entity/SysUser.java b/exam-api/src/main/java/com/bc/exam/modules/user/entity/SysUser.java index 9794b05..cc6235c 100644 --- a/exam-api/src/main/java/com/bc/exam/modules/user/entity/SysUser.java +++ b/exam-api/src/main/java/com/bc/exam/modules/user/entity/SysUser.java @@ -10,13 +10,10 @@ import lombok.Data; import java.util.Date; /** -*

-* 管理用户实体类 -*

-* -* @author chd -* @since 2020-04-13 16:57 -*/ + * @Description 描述:用户类 + * @Author A贾宇婷034244310 + * @Date 20260615 + */ @Data @TableName("sys_user") public class SysUser extends Model { diff --git a/exam-api/src/main/java/com/bc/exam/modules/user/entity/SysUserRole.java b/exam-api/src/main/java/com/bc/exam/modules/user/entity/SysUserRole.java index f3c7446..93564d8 100644 --- a/exam-api/src/main/java/com/bc/exam/modules/user/entity/SysUserRole.java +++ b/exam-api/src/main/java/com/bc/exam/modules/user/entity/SysUserRole.java @@ -8,13 +8,10 @@ import com.baomidou.mybatisplus.extension.activerecord.Model; import lombok.Data; /** -*

-* 用户角色实体类 -*

-* -* @author chenhaodong -* @since 2020-04-13 16:57 -*/ + * @Description 描述:用户角色 + * @Author A贾宇婷034244310 + * @Date 20260615 + */ @Data @TableName("sys_user_role") public class SysUserRole extends Model { diff --git a/exam-api/src/main/java/com/bc/exam/modules/user/mapper/SysRoleMapper.java b/exam-api/src/main/java/com/bc/exam/modules/user/mapper/SysRoleMapper.java index 35711f4..6358520 100644 --- a/exam-api/src/main/java/com/bc/exam/modules/user/mapper/SysRoleMapper.java +++ b/exam-api/src/main/java/com/bc/exam/modules/user/mapper/SysRoleMapper.java @@ -3,13 +3,10 @@ import com.baomidou.mybatisplus.core.mapper.BaseMapper; import com.bc.exam.modules.user.entity.SysRole; /** -*

-* 角色Mapper -*

-* -* @author chenhaodong -* @since 2020-04-13 16:57 -*/ + * @Description 描述:角色Mapper + * @Author A贾宇婷034244310 + * @Date 20260615 + */ public interface SysRoleMapper extends BaseMapper { } diff --git a/exam-api/src/main/java/com/bc/exam/modules/user/mapper/SysUserMapper.java b/exam-api/src/main/java/com/bc/exam/modules/user/mapper/SysUserMapper.java index dabdd84..1a4c1a9 100644 --- a/exam-api/src/main/java/com/bc/exam/modules/user/mapper/SysUserMapper.java +++ b/exam-api/src/main/java/com/bc/exam/modules/user/mapper/SysUserMapper.java @@ -4,13 +4,10 @@ import com.baomidou.mybatisplus.core.mapper.BaseMapper; import com.bc.exam.modules.user.entity.SysUser; /** -*

-* 管理用户Mapper -*

-* -* @author chenhaodong -* @since 2020-04-13 16:57 -*/ + * @Description 描述:管理用户Mapper + * @Author A贾宇婷034244310 + * @Date 20260615 + */ public interface SysUserMapper extends BaseMapper { } diff --git a/exam-api/src/main/java/com/bc/exam/modules/user/mapper/SysUserRoleMapper.java b/exam-api/src/main/java/com/bc/exam/modules/user/mapper/SysUserRoleMapper.java index 39e5858..a72be36 100644 --- a/exam-api/src/main/java/com/bc/exam/modules/user/mapper/SysUserRoleMapper.java +++ b/exam-api/src/main/java/com/bc/exam/modules/user/mapper/SysUserRoleMapper.java @@ -4,13 +4,10 @@ import com.baomidou.mybatisplus.core.mapper.BaseMapper; import com.bc.exam.modules.user.entity.SysUserRole; /** -*

-* 用户角色Mapper -*

-* -* @author chenhaodong -* @since 2020-04-13 16:57 -*/ + * @Description 描述:用户角色Mapper + * @Author A贾宇婷034244310 + * @Date 20260615 + */ public interface SysUserRoleMapper extends BaseMapper { } diff --git a/exam-api/src/main/java/com/bc/exam/modules/user/service/SysRoleService.java b/exam-api/src/main/java/com/bc/exam/modules/user/service/SysRoleService.java index a8a0079..00b5f4a 100644 --- a/exam-api/src/main/java/com/bc/exam/modules/user/service/SysRoleService.java +++ b/exam-api/src/main/java/com/bc/exam/modules/user/service/SysRoleService.java @@ -7,13 +7,10 @@ import com.bc.exam.modules.user.dto.SysRoleDTO; import com.bc.exam.modules.user.entity.SysRole; /** -*

-* 角色业务类 -*

-* -* @author chd -* @since 2020-04-13 16:57 -*/ + * @Description 描述:角色 + * @Author A贾宇婷034244310 + * @Date 20260615 + */ public interface SysRoleService extends IService { /** diff --git a/exam-api/src/main/java/com/bc/exam/modules/user/service/SysUserRoleService.java b/exam-api/src/main/java/com/bc/exam/modules/user/service/SysUserRoleService.java index 46b988f..cd8b978 100644 --- a/exam-api/src/main/java/com/bc/exam/modules/user/service/SysUserRoleService.java +++ b/exam-api/src/main/java/com/bc/exam/modules/user/service/SysUserRoleService.java @@ -9,13 +9,10 @@ import com.bc.exam.modules.user.entity.SysUserRole; import java.util.List; /** -*

-* 用户角色业务类 -*

-* -* @author chd -* @since 2020-04-13 16:57 -*/ + * @Description 描述:用户角色 + * @Author A贾宇婷034244310 + * @Date 20260615 + */ public interface SysUserRoleService extends IService { /** diff --git a/exam-api/src/main/java/com/bc/exam/modules/user/service/SysUserService.java b/exam-api/src/main/java/com/bc/exam/modules/user/service/SysUserService.java index 0ea846b..bc1fa3c 100644 --- a/exam-api/src/main/java/com/bc/exam/modules/user/service/SysUserService.java +++ b/exam-api/src/main/java/com/bc/exam/modules/user/service/SysUserService.java @@ -11,13 +11,10 @@ import com.bc.exam.modules.user.entity.SysUser; import java.util.List; /** -*

-* 管理用户业务类 -*

-* -* @author chd -* @since 2020-04-13 16:57 -*/ + * @Description 描述:管理用户 + * @Author A贾宇婷034244310 + * @Date 20260615 + */ public interface SysUserService extends IService { /** diff --git a/exam-api/src/main/java/com/bc/exam/modules/user/service/impl/SysRoleServiceImpl.java b/exam-api/src/main/java/com/bc/exam/modules/user/service/impl/SysRoleServiceImpl.java index 2df8cd2..08f54c2 100644 --- a/exam-api/src/main/java/com/bc/exam/modules/user/service/impl/SysRoleServiceImpl.java +++ b/exam-api/src/main/java/com/bc/exam/modules/user/service/impl/SysRoleServiceImpl.java @@ -14,13 +14,10 @@ import com.bc.exam.modules.user.service.SysRoleService; import org.springframework.stereotype.Service; /** -*

-* 语言设置 服务实现类 -*

-* -* @author chenhaodong -* @since 2020-04-13 16:57 -*/ + * @Description 描述:系统角色 + * @Author A贾宇婷034244310 + * @Date 20260615 + */ @Service public class SysRoleServiceImpl extends ServiceImpl implements SysRoleService { diff --git a/exam-api/src/main/java/com/bc/exam/modules/user/service/impl/SysUserRoleServiceImpl.java b/exam-api/src/main/java/com/bc/exam/modules/user/service/impl/SysUserRoleServiceImpl.java index e45395a..a11e218 100644 --- a/exam-api/src/main/java/com/bc/exam/modules/user/service/impl/SysUserRoleServiceImpl.java +++ b/exam-api/src/main/java/com/bc/exam/modules/user/service/impl/SysUserRoleServiceImpl.java @@ -19,13 +19,10 @@ import java.util.ArrayList; import java.util.List; /** -*

-* 语言设置 服务实现类 -*

-* -* @author chd -* @since 2020-04-13 16:57 -*/ + * @Description 描述:用户角色 + * @Author A贾宇婷034244310 + * @Date 20260615 + */ @Service public class SysUserRoleServiceImpl extends ServiceImpl implements SysUserRoleService { diff --git a/exam-api/src/main/java/com/bc/exam/modules/user/service/impl/SysUserServiceImpl.java b/exam-api/src/main/java/com/bc/exam/modules/user/service/impl/SysUserServiceImpl.java index 6dfd8dd..f3160de 100644 --- a/exam-api/src/main/java/com/bc/exam/modules/user/service/impl/SysUserServiceImpl.java +++ b/exam-api/src/main/java/com/bc/exam/modules/user/service/impl/SysUserServiceImpl.java @@ -36,13 +36,10 @@ import java.util.ArrayList; import java.util.List; /** -*

-* 语言设置 服务实现类 -*

-* -* @author chd -* @since 2020-04-13 16:57 -*/ + * @Description 描述:用户 + * @Author A贾宇婷034244310 + * @Date 20260615 + */ @Service public class SysUserServiceImpl extends ServiceImpl implements SysUserService { diff --git a/exam-api/src/main/resources/application-dev.yml b/exam-api/src/main/resources/application-dev.yml index 8a1b198..e220c50 100644 --- a/exam-api/src/main/resources/application-dev.yml +++ b/exam-api/src/main/resources/application-dev.yml @@ -4,9 +4,9 @@ spring: datasource: type: com.alibaba.druid.pool.DruidDataSource driver-class-name: com.mysql.cj.jdbc.Driver - url: jdbc:mysql://localhost:3306/jyt?useSSL=false&serverTimezone=Asia/Shanghai&useUnicode=true&characterEncoding=utf-8&allowPublicKeyRetrieval=true - username: root - password: qq755141 + url: jdbc:mysql://110.42.189.169:3306/chdtushu?useSSL=false&serverTimezone=Asia/Shanghai&useUnicode=true&characterEncoding=utf-8&allowPublicKeyRetrieval=true + username: chdtushu + password: chdtushu filters: stat max-active: 5000 initial-size: 20 @@ -21,15 +21,6 @@ spring: max-open-prepared-statements: 1000 async-init: true -# 文件上传配置 -conf: - upload: - # 物理文件存储位置,以/结束,windows已正斜杠,如:d:/exam-upload/ - dir: /Users/van/Documents/work/upload/ - # 访问地址,注意不要去除/upload/file/,此节点为虚拟标识符 - # 如:http://localhost:8101/upload/file/exam.jpg,对应物理文件为:/data/upload/exam.jpg - url: http://localhost:8111/upload/file/ - # 开启文档 swagger: enable: true diff --git a/exam-api/src/main/resources/mapper/sys/depart/SysDepartMapper.xml b/exam-api/src/main/resources/mapper/sys/depart/SysDepartMapper.xml deleted file mode 100644 index a33ac5c..0000000 --- a/exam-api/src/main/resources/mapper/sys/depart/SysDepartMapper.xml +++ /dev/null @@ -1,41 +0,0 @@ - - - - - - - - - - - - - - - - - `id`,`dept_type`,`parent_id`,`dept_name`,`dept_code`,`sort` - - - - - - - - - - - - - diff --git a/exam-api/src/test/java/com/bc/exam/chdtest.java b/exam-api/src/test/java/com/bc/exam/chdtest.java deleted file mode 100644 index c907ab2..0000000 --- a/exam-api/src/test/java/com/bc/exam/chdtest.java +++ /dev/null @@ -1,18 +0,0 @@ -package com.bc.exam; - -import com.bc.exam.modules.tlog.service.TLogService; -import org.junit.Test; -import javax.annotation.Resource; - -public class chdtest { - - @Resource - TLogService tLogService; - - @Test - public void test1(){ - System.out.println("123"); - } - - -} diff --git a/logs/chdbs/spring.log b/logs/chdbs/spring.log index a458c9a..e02d194 100644 --- a/logs/chdbs/spring.log +++ b/logs/chdbs/spring.log @@ -69,3 +69,1059 @@ 2026-06-17 21:55:47.569 INFO 33408 --- [Thread-19] o.s.s.c.ThreadPoolTaskScheduler : Shutting down ExecutorService 'taskScheduler' 2026-06-17 21:55:47.571 INFO 33408 --- [Thread-19] com.alibaba.druid.pool.DruidDataSource : {dataSource-1} closing ... 2026-06-17 21:55:47.575 INFO 33408 --- [Thread-19] com.alibaba.druid.pool.DruidDataSource : {dataSource-1} closed +2026-06-17 22:58:30.880 INFO 22732 --- [main] com.bc.exam.ExamApplication : Starting ExamApplication on yx with PID 22732 (D:\git\exam-jyt\exam-api\target\classes started by 75514 in D:\git\exam-jyt) +2026-06-17 22:58:30.883 INFO 22732 --- [main] com.bc.exam.ExamApplication : The following profiles are active: dev +2026-06-17 22:58:31.649 INFO 22732 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'scheduledConfig' of type [com.bc.exam.config.ScheduledConfig$$EnhancerBySpringCGLIB$$d7e4b442] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2026-06-17 22:58:31.659 INFO 22732 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'shiroConfig' of type [com.bc.exam.config.ShiroConfig$$EnhancerBySpringCGLIB$$d923fc86] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2026-06-17 22:58:31.700 INFO 22732 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'shiroRealm' of type [com.bc.exam.ability.shiro.ShiroRealm] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2026-06-17 22:58:31.861 INFO 22732 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'securityManager' of type [org.apache.shiro.web.mgt.DefaultWebSecurityManager] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2026-06-17 22:58:31.883 INFO 22732 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'authorizationAttributeSourceAdvisor' of type [org.apache.shiro.spring.security.interceptor.AuthorizationAttributeSourceAdvisor] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2026-06-17 22:58:31.918 INFO 22732 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration' of type [org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration$$EnhancerBySpringCGLIB$$2468108b] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2026-06-17 22:58:31.933 INFO 22732 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'com.alibaba.druid.spring.boot.autoconfigure.DruidDataSourceAutoConfigure' of type [com.alibaba.druid.spring.boot.autoconfigure.DruidDataSourceAutoConfigure$$EnhancerBySpringCGLIB$$3e1405fd] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2026-06-17 22:58:31.936 INFO 22732 --- [main] c.a.d.s.b.a.DruidDataSourceAutoConfigure : Init DruidDataSource +2026-06-17 22:58:31.985 INFO 22732 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'spring.datasource-org.springframework.boot.autoconfigure.jdbc.DataSourceProperties' of type [org.springframework.boot.autoconfigure.jdbc.DataSourceProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2026-06-17 22:58:32.024 INFO 22732 --- [main] com.alibaba.druid.pool.DruidDataSource : {dataSource-1} inited +2026-06-17 22:58:32.026 INFO 22732 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'dataSource' of type [com.alibaba.druid.spring.boot.autoconfigure.DruidDataSourceWrapper] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2026-06-17 22:58:32.062 INFO 22732 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.boot.autoconfigure.jdbc.DataSourceInitializerInvoker' of type [org.springframework.boot.autoconfigure.jdbc.DataSourceInitializerInvoker] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2026-06-17 22:58:32.070 INFO 22732 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.boot.autoconfigure.transaction.TransactionAutoConfiguration' of type [org.springframework.boot.autoconfigure.transaction.TransactionAutoConfiguration$$EnhancerBySpringCGLIB$$b8dc0b95] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2026-06-17 22:58:32.078 INFO 22732 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'spring.transaction-org.springframework.boot.autoconfigure.transaction.TransactionProperties' of type [org.springframework.boot.autoconfigure.transaction.TransactionProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2026-06-17 22:58:32.080 INFO 22732 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'platformTransactionManagerCustomizers' of type [org.springframework.boot.autoconfigure.transaction.TransactionManagerCustomizers] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2026-06-17 22:58:32.080 INFO 22732 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.boot.autoconfigure.jdbc.DataSourceTransactionManagerAutoConfiguration$DataSourceTransactionManagerConfiguration' of type [org.springframework.boot.autoconfigure.jdbc.DataSourceTransactionManagerAutoConfiguration$DataSourceTransactionManagerConfiguration$$EnhancerBySpringCGLIB$$d168a8fa] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2026-06-17 22:58:32.099 INFO 22732 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'transactionManager' of type [org.springframework.jdbc.datasource.DataSourceTransactionManager] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2026-06-17 22:58:32.101 INFO 22732 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'transactionAopConfig' of type [com.bc.exam.config.TransactionAopConfig$$EnhancerBySpringCGLIB$$1b03e813] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2026-06-17 22:58:32.110 INFO 22732 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'txAdvice' of type [org.springframework.transaction.interceptor.TransactionInterceptor] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2026-06-17 22:58:32.110 INFO 22732 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'advisor' of type [org.springframework.aop.support.DefaultPointcutAdvisor] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2026-06-17 22:58:32.193 INFO 22732 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'org.apache.shiro.spring.boot.autoconfigure.ShiroBeanAutoConfiguration' of type [org.apache.shiro.spring.boot.autoconfigure.ShiroBeanAutoConfiguration$$EnhancerBySpringCGLIB$$3780ee3b] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2026-06-17 22:58:32.196 INFO 22732 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'eventBus' of type [org.apache.shiro.event.support.DefaultEventBus] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2026-06-17 22:58:32.543 INFO 22732 --- [main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port(s): 8101 (http) +2026-06-17 22:58:32.563 INFO 22732 --- [main] o.apache.catalina.core.StandardService : Starting service [Tomcat] +2026-06-17 22:58:32.563 INFO 22732 --- [main] org.apache.catalina.core.StandardEngine : Starting Servlet engine: [Apache Tomcat/9.0.17] +2026-06-17 22:58:32.656 INFO 22732 --- [main] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring embedded WebApplicationContext +2026-06-17 22:58:32.656 INFO 22732 --- [main] o.s.web.context.ContextLoader : Root WebApplicationContext: initialization completed in 1733 ms +2026-06-17 22:58:34.174 INFO 22732 --- [main] o.s.s.c.ThreadPoolTaskScheduler : Initializing ExecutorService 'taskScheduler' +2026-06-17 22:58:34.182 INFO 22732 --- [main] o.s.s.concurrent.ThreadPoolTaskExecutor : Initializing ExecutorService +2026-06-17 22:58:34.184 INFO 22732 --- [main] o.s.s.concurrent.ThreadPoolTaskExecutor : Initializing ExecutorService 'asyncExecutor' +2026-06-17 22:58:34.196 INFO 22732 --- [main] pertySourcedRequestMappingHandlerMapping : Mapped URL path [/v2/api-docs] onto method [public org.springframework.http.ResponseEntity springfox.documentation.swagger2.web.Swagger2Controller.getDocumentation(java.lang.String,javax.servlet.http.HttpServletRequest)] +2026-06-17 22:58:34.540 INFO 22732 --- [main] o.s.b.a.w.s.WelcomePageHandlerMapping : Adding welcome page: class path resource [static/index.html] +2026-06-17 22:58:34.669 INFO 22732 --- [main] d.s.w.p.DocumentationPluginsBootstrapper : Context refreshed +2026-06-17 22:58:34.693 INFO 22732 --- [main] d.s.w.p.DocumentationPluginsBootstrapper : Found 1 custom documentation plugin(s) +2026-06-17 22:58:34.738 INFO 22732 --- [main] s.d.s.w.s.ApiListingReferenceScanner : Scanning for api listing references +2026-06-17 22:58:34.892 INFO 22732 --- [main] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: findUsingPOST_1 +2026-06-17 22:58:34.904 INFO 22732 --- [main] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: saveUsingPOST_1 +2026-06-17 22:58:34.910 INFO 22732 --- [main] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: listUsingPOST_1 +2026-06-17 22:58:34.915 INFO 22732 --- [main] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: pagingUsingPOST_1 +2026-06-17 22:58:34.917 INFO 22732 --- [main] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: editUsingPOST_1 +2026-06-17 22:58:34.930 INFO 22732 --- [main] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: pagingUsingPOST_2 +2026-06-17 22:58:34.935 INFO 22732 --- [main] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: saveUsingPOST_2 +2026-06-17 22:58:34.983 INFO 22732 --- [main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat started on port(s): 8101 (http) with context path '' +2026-06-17 22:58:34.986 INFO 22732 --- [main] com.bc.exam.ExamApplication : Started ExamApplication in 4.419 seconds (JVM running for 5.271) +2026-06-17 22:58:34.989 INFO 22732 --- [main] com.bc.exam.ExamApplication : +---------------------------------------------------------- + 系统启动成功,访问路径如下: + 本地路径: http://127.0.0.1:8101/ + 网络地址: http://192.168.3.104:8101/ + API文档: http://192.168.3.104:8101/doc.html +---------------------------------------------------------- +2026-06-17 22:58:37.163 INFO 22732 --- [http-nio-8101-exec-1] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring DispatcherServlet 'dispatcherServlet' +2026-06-17 22:58:37.163 INFO 22732 --- [http-nio-8101-exec-1] o.s.web.servlet.DispatcherServlet : Initializing Servlet 'dispatcherServlet' +2026-06-17 22:58:37.173 INFO 22732 --- [http-nio-8101-exec-1] o.s.web.servlet.DispatcherServlet : Completed initialization in 10 ms +2026-06-17 22:58:37.963 WARN 22732 --- [http-nio-8101-exec-8] o.s.j.d.DataSourceTransactionManager : Custom isolation level specified but no actual transaction initiated; isolation level will effectively be ignored: PROPAGATION_SUPPORTS,ISOLATION_READ_COMMITTED,readOnly,-java.lang.Exception +2026-06-17 22:58:42.240 ERROR 22732 --- [Druid-ConnectionPool-Create-2113328739] com.alibaba.druid.pool.DruidDataSource : create connection SQLException, url: jdbc:mysql://localhost:3306/jyt?useSSL=false&serverTimezone=Asia/Shanghai&useUnicode=true&characterEncoding=utf-8&allowPublicKeyRetrieval=true, errorCode 0, state 08S01 + +com.mysql.cj.jdbc.exceptions.CommunicationsException: Communications link failure + +The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server. + at com.mysql.cj.jdbc.exceptions.SQLError.createCommunicationsException(SQLError.java:172) ~[mysql-connector-java-8.0.11.jar:8.0.11] + at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:64) ~[mysql-connector-java-8.0.11.jar:8.0.11] + at com.mysql.cj.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:862) ~[mysql-connector-java-8.0.11.jar:8.0.11] + at com.mysql.cj.jdbc.ConnectionImpl.(ConnectionImpl.java:444) ~[mysql-connector-java-8.0.11.jar:8.0.11] + at com.mysql.cj.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:230) ~[mysql-connector-java-8.0.11.jar:8.0.11] + at com.mysql.cj.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:226) ~[mysql-connector-java-8.0.11.jar:8.0.11] + at com.alibaba.druid.pool.DruidAbstractDataSource.createPhysicalConnection(DruidAbstractDataSource.java:1657) ~[druid-1.2.6.jar:1.2.6] + at com.alibaba.druid.pool.DruidAbstractDataSource.createPhysicalConnection(DruidAbstractDataSource.java:1723) ~[druid-1.2.6.jar:1.2.6] + at com.alibaba.druid.pool.DruidDataSource$CreateConnectionThread.run(DruidDataSource.java:2801) ~[druid-1.2.6.jar:1.2.6] +Caused by: com.mysql.cj.exceptions.CJCommunicationsException: Communications link failure + +The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server. + at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[na:1.8.0_131] + at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) ~[na:1.8.0_131] + at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[na:1.8.0_131] + at java.lang.reflect.Constructor.newInstance(Constructor.java:423) ~[na:1.8.0_131] + at com.mysql.cj.exceptions.ExceptionFactory.createException(ExceptionFactory.java:59) ~[mysql-connector-java-8.0.11.jar:8.0.11] + at com.mysql.cj.exceptions.ExceptionFactory.createException(ExceptionFactory.java:103) ~[mysql-connector-java-8.0.11.jar:8.0.11] + at com.mysql.cj.exceptions.ExceptionFactory.createException(ExceptionFactory.java:149) ~[mysql-connector-java-8.0.11.jar:8.0.11] + at com.mysql.cj.exceptions.ExceptionFactory.createCommunicationsException(ExceptionFactory.java:165) ~[mysql-connector-java-8.0.11.jar:8.0.11] + at com.mysql.cj.protocol.a.NativeSocketConnection.connect(NativeSocketConnection.java:92) ~[mysql-connector-java-8.0.11.jar:8.0.11] + at com.mysql.cj.NativeSession.connect(NativeSession.java:152) ~[mysql-connector-java-8.0.11.jar:8.0.11] + at com.mysql.cj.jdbc.ConnectionImpl.connectOneTryOnly(ConnectionImpl.java:982) ~[mysql-connector-java-8.0.11.jar:8.0.11] + at com.mysql.cj.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:852) ~[mysql-connector-java-8.0.11.jar:8.0.11] + ... 6 common frames omitted +Caused by: java.net.ConnectException: Connection refused: connect + at java.net.DualStackPlainSocketImpl.connect0(Native Method) ~[na:1.8.0_131] + at java.net.DualStackPlainSocketImpl.socketConnect(DualStackPlainSocketImpl.java:79) ~[na:1.8.0_131] + at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350) ~[na:1.8.0_131] + at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206) ~[na:1.8.0_131] + at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188) ~[na:1.8.0_131] + at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:172) ~[na:1.8.0_131] + at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392) ~[na:1.8.0_131] + at java.net.Socket.connect(Socket.java:589) ~[na:1.8.0_131] + at com.mysql.cj.protocol.StandardSocketFactory.connect(StandardSocketFactory.java:173) ~[mysql-connector-java-8.0.11.jar:8.0.11] + at com.mysql.cj.protocol.a.NativeSocketConnection.connect(NativeSocketConnection.java:66) ~[mysql-connector-java-8.0.11.jar:8.0.11] + ... 9 common frames omitted + +2026-06-17 22:58:46.315 ERROR 22732 --- [Druid-ConnectionPool-Create-2113328739] com.alibaba.druid.pool.DruidDataSource : create connection SQLException, url: jdbc:mysql://localhost:3306/jyt?useSSL=false&serverTimezone=Asia/Shanghai&useUnicode=true&characterEncoding=utf-8&allowPublicKeyRetrieval=true, errorCode 0, state 08S01 + +com.mysql.cj.jdbc.exceptions.CommunicationsException: Communications link failure + +The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server. + at com.mysql.cj.jdbc.exceptions.SQLError.createCommunicationsException(SQLError.java:172) ~[mysql-connector-java-8.0.11.jar:8.0.11] + at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:64) ~[mysql-connector-java-8.0.11.jar:8.0.11] + at com.mysql.cj.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:862) ~[mysql-connector-java-8.0.11.jar:8.0.11] + at com.mysql.cj.jdbc.ConnectionImpl.(ConnectionImpl.java:444) ~[mysql-connector-java-8.0.11.jar:8.0.11] + at com.mysql.cj.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:230) ~[mysql-connector-java-8.0.11.jar:8.0.11] + at com.mysql.cj.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:226) ~[mysql-connector-java-8.0.11.jar:8.0.11] + at com.alibaba.druid.pool.DruidAbstractDataSource.createPhysicalConnection(DruidAbstractDataSource.java:1657) ~[druid-1.2.6.jar:1.2.6] + at com.alibaba.druid.pool.DruidAbstractDataSource.createPhysicalConnection(DruidAbstractDataSource.java:1723) ~[druid-1.2.6.jar:1.2.6] + at com.alibaba.druid.pool.DruidDataSource$CreateConnectionThread.run(DruidDataSource.java:2801) ~[druid-1.2.6.jar:1.2.6] +Caused by: com.mysql.cj.exceptions.CJCommunicationsException: Communications link failure + +The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server. + at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[na:1.8.0_131] + at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) ~[na:1.8.0_131] + at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[na:1.8.0_131] + at java.lang.reflect.Constructor.newInstance(Constructor.java:423) ~[na:1.8.0_131] + at com.mysql.cj.exceptions.ExceptionFactory.createException(ExceptionFactory.java:59) ~[mysql-connector-java-8.0.11.jar:8.0.11] + at com.mysql.cj.exceptions.ExceptionFactory.createException(ExceptionFactory.java:103) ~[mysql-connector-java-8.0.11.jar:8.0.11] + at com.mysql.cj.exceptions.ExceptionFactory.createException(ExceptionFactory.java:149) ~[mysql-connector-java-8.0.11.jar:8.0.11] + at com.mysql.cj.exceptions.ExceptionFactory.createCommunicationsException(ExceptionFactory.java:165) ~[mysql-connector-java-8.0.11.jar:8.0.11] + at com.mysql.cj.protocol.a.NativeSocketConnection.connect(NativeSocketConnection.java:92) ~[mysql-connector-java-8.0.11.jar:8.0.11] + at com.mysql.cj.NativeSession.connect(NativeSession.java:152) ~[mysql-connector-java-8.0.11.jar:8.0.11] + at com.mysql.cj.jdbc.ConnectionImpl.connectOneTryOnly(ConnectionImpl.java:982) ~[mysql-connector-java-8.0.11.jar:8.0.11] + at com.mysql.cj.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:852) ~[mysql-connector-java-8.0.11.jar:8.0.11] + ... 6 common frames omitted +Caused by: java.net.ConnectException: Connection refused: connect + at java.net.DualStackPlainSocketImpl.connect0(Native Method) ~[na:1.8.0_131] + at java.net.DualStackPlainSocketImpl.socketConnect(DualStackPlainSocketImpl.java:79) ~[na:1.8.0_131] + at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350) ~[na:1.8.0_131] + at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206) ~[na:1.8.0_131] + at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188) ~[na:1.8.0_131] + at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:172) ~[na:1.8.0_131] + at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392) ~[na:1.8.0_131] + at java.net.Socket.connect(Socket.java:589) ~[na:1.8.0_131] + at com.mysql.cj.protocol.StandardSocketFactory.connect(StandardSocketFactory.java:173) ~[mysql-connector-java-8.0.11.jar:8.0.11] + at com.mysql.cj.protocol.a.NativeSocketConnection.connect(NativeSocketConnection.java:66) ~[mysql-connector-java-8.0.11.jar:8.0.11] + ... 9 common frames omitted + +2026-06-17 22:58:46.315 INFO 22732 --- [Druid-ConnectionPool-Create-2113328739] c.a.druid.pool.DruidAbstractDataSource : {dataSource-1} failContinuous is true +2026-06-17 22:58:50.917 ERROR 22732 --- [Druid-ConnectionPool-Create-2113328739] com.alibaba.druid.pool.DruidDataSource : create connection SQLException, url: jdbc:mysql://localhost:3306/jyt?useSSL=false&serverTimezone=Asia/Shanghai&useUnicode=true&characterEncoding=utf-8&allowPublicKeyRetrieval=true, errorCode 0, state 08S01 + +com.mysql.cj.jdbc.exceptions.CommunicationsException: Communications link failure + +The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server. + at com.mysql.cj.jdbc.exceptions.SQLError.createCommunicationsException(SQLError.java:172) ~[mysql-connector-java-8.0.11.jar:8.0.11] + at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:64) ~[mysql-connector-java-8.0.11.jar:8.0.11] + at com.mysql.cj.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:862) ~[mysql-connector-java-8.0.11.jar:8.0.11] + at com.mysql.cj.jdbc.ConnectionImpl.(ConnectionImpl.java:444) ~[mysql-connector-java-8.0.11.jar:8.0.11] + at com.mysql.cj.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:230) ~[mysql-connector-java-8.0.11.jar:8.0.11] + at com.mysql.cj.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:226) ~[mysql-connector-java-8.0.11.jar:8.0.11] + at com.alibaba.druid.pool.DruidAbstractDataSource.createPhysicalConnection(DruidAbstractDataSource.java:1657) ~[druid-1.2.6.jar:1.2.6] + at com.alibaba.druid.pool.DruidAbstractDataSource.createPhysicalConnection(DruidAbstractDataSource.java:1723) ~[druid-1.2.6.jar:1.2.6] + at com.alibaba.druid.pool.DruidDataSource$CreateConnectionThread.run(DruidDataSource.java:2801) ~[druid-1.2.6.jar:1.2.6] +Caused by: com.mysql.cj.exceptions.CJCommunicationsException: Communications link failure + +The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server. + at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[na:1.8.0_131] + at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) ~[na:1.8.0_131] + at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[na:1.8.0_131] + at java.lang.reflect.Constructor.newInstance(Constructor.java:423) ~[na:1.8.0_131] + at com.mysql.cj.exceptions.ExceptionFactory.createException(ExceptionFactory.java:59) ~[mysql-connector-java-8.0.11.jar:8.0.11] + at com.mysql.cj.exceptions.ExceptionFactory.createException(ExceptionFactory.java:103) ~[mysql-connector-java-8.0.11.jar:8.0.11] + at com.mysql.cj.exceptions.ExceptionFactory.createException(ExceptionFactory.java:149) ~[mysql-connector-java-8.0.11.jar:8.0.11] + at com.mysql.cj.exceptions.ExceptionFactory.createCommunicationsException(ExceptionFactory.java:165) ~[mysql-connector-java-8.0.11.jar:8.0.11] + at com.mysql.cj.protocol.a.NativeSocketConnection.connect(NativeSocketConnection.java:92) ~[mysql-connector-java-8.0.11.jar:8.0.11] + at com.mysql.cj.NativeSession.connect(NativeSession.java:152) ~[mysql-connector-java-8.0.11.jar:8.0.11] + at com.mysql.cj.jdbc.ConnectionImpl.connectOneTryOnly(ConnectionImpl.java:982) ~[mysql-connector-java-8.0.11.jar:8.0.11] + at com.mysql.cj.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:852) ~[mysql-connector-java-8.0.11.jar:8.0.11] + ... 6 common frames omitted +Caused by: java.net.ConnectException: Connection refused: connect + at java.net.DualStackPlainSocketImpl.connect0(Native Method) ~[na:1.8.0_131] + at java.net.DualStackPlainSocketImpl.socketConnect(DualStackPlainSocketImpl.java:79) ~[na:1.8.0_131] + at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350) ~[na:1.8.0_131] + at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206) ~[na:1.8.0_131] + at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188) ~[na:1.8.0_131] + at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:172) ~[na:1.8.0_131] + at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392) ~[na:1.8.0_131] + at java.net.Socket.connect(Socket.java:589) ~[na:1.8.0_131] + at com.mysql.cj.protocol.StandardSocketFactory.connect(StandardSocketFactory.java:173) ~[mysql-connector-java-8.0.11.jar:8.0.11] + at com.mysql.cj.protocol.a.NativeSocketConnection.connect(NativeSocketConnection.java:66) ~[mysql-connector-java-8.0.11.jar:8.0.11] + ... 9 common frames omitted + +2026-06-17 22:58:55.508 ERROR 22732 --- [Druid-ConnectionPool-Create-2113328739] com.alibaba.druid.pool.DruidDataSource : create connection SQLException, url: jdbc:mysql://localhost:3306/jyt?useSSL=false&serverTimezone=Asia/Shanghai&useUnicode=true&characterEncoding=utf-8&allowPublicKeyRetrieval=true, errorCode 0, state 08S01 + +com.mysql.cj.jdbc.exceptions.CommunicationsException: Communications link failure + +The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server. + at com.mysql.cj.jdbc.exceptions.SQLError.createCommunicationsException(SQLError.java:172) ~[mysql-connector-java-8.0.11.jar:8.0.11] + at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:64) ~[mysql-connector-java-8.0.11.jar:8.0.11] + at com.mysql.cj.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:862) ~[mysql-connector-java-8.0.11.jar:8.0.11] + at com.mysql.cj.jdbc.ConnectionImpl.(ConnectionImpl.java:444) ~[mysql-connector-java-8.0.11.jar:8.0.11] + at com.mysql.cj.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:230) ~[mysql-connector-java-8.0.11.jar:8.0.11] + at com.mysql.cj.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:226) ~[mysql-connector-java-8.0.11.jar:8.0.11] + at com.alibaba.druid.pool.DruidAbstractDataSource.createPhysicalConnection(DruidAbstractDataSource.java:1657) ~[druid-1.2.6.jar:1.2.6] + at com.alibaba.druid.pool.DruidAbstractDataSource.createPhysicalConnection(DruidAbstractDataSource.java:1723) ~[druid-1.2.6.jar:1.2.6] + at com.alibaba.druid.pool.DruidDataSource$CreateConnectionThread.run(DruidDataSource.java:2801) ~[druid-1.2.6.jar:1.2.6] +Caused by: com.mysql.cj.exceptions.CJCommunicationsException: Communications link failure + +The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server. + at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[na:1.8.0_131] + at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) ~[na:1.8.0_131] + at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[na:1.8.0_131] + at java.lang.reflect.Constructor.newInstance(Constructor.java:423) ~[na:1.8.0_131] + at com.mysql.cj.exceptions.ExceptionFactory.createException(ExceptionFactory.java:59) ~[mysql-connector-java-8.0.11.jar:8.0.11] + at com.mysql.cj.exceptions.ExceptionFactory.createException(ExceptionFactory.java:103) ~[mysql-connector-java-8.0.11.jar:8.0.11] + at com.mysql.cj.exceptions.ExceptionFactory.createException(ExceptionFactory.java:149) ~[mysql-connector-java-8.0.11.jar:8.0.11] + at com.mysql.cj.exceptions.ExceptionFactory.createCommunicationsException(ExceptionFactory.java:165) ~[mysql-connector-java-8.0.11.jar:8.0.11] + at com.mysql.cj.protocol.a.NativeSocketConnection.connect(NativeSocketConnection.java:92) ~[mysql-connector-java-8.0.11.jar:8.0.11] + at com.mysql.cj.NativeSession.connect(NativeSession.java:152) ~[mysql-connector-java-8.0.11.jar:8.0.11] + at com.mysql.cj.jdbc.ConnectionImpl.connectOneTryOnly(ConnectionImpl.java:982) ~[mysql-connector-java-8.0.11.jar:8.0.11] + at com.mysql.cj.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:852) ~[mysql-connector-java-8.0.11.jar:8.0.11] + ... 6 common frames omitted +Caused by: java.net.ConnectException: Connection refused: connect + at java.net.DualStackPlainSocketImpl.connect0(Native Method) ~[na:1.8.0_131] + at java.net.DualStackPlainSocketImpl.socketConnect(DualStackPlainSocketImpl.java:79) ~[na:1.8.0_131] + at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350) ~[na:1.8.0_131] + at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206) ~[na:1.8.0_131] + at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188) ~[na:1.8.0_131] + at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:172) ~[na:1.8.0_131] + at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392) ~[na:1.8.0_131] + at java.net.Socket.connect(Socket.java:589) ~[na:1.8.0_131] + at com.mysql.cj.protocol.StandardSocketFactory.connect(StandardSocketFactory.java:173) ~[mysql-connector-java-8.0.11.jar:8.0.11] + at com.mysql.cj.protocol.a.NativeSocketConnection.connect(NativeSocketConnection.java:66) ~[mysql-connector-java-8.0.11.jar:8.0.11] + ... 9 common frames omitted + +2026-06-17 22:59:00.096 ERROR 22732 --- [Druid-ConnectionPool-Create-2113328739] com.alibaba.druid.pool.DruidDataSource : create connection SQLException, url: jdbc:mysql://localhost:3306/jyt?useSSL=false&serverTimezone=Asia/Shanghai&useUnicode=true&characterEncoding=utf-8&allowPublicKeyRetrieval=true, errorCode 0, state 08S01 + +com.mysql.cj.jdbc.exceptions.CommunicationsException: Communications link failure + +The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server. + at com.mysql.cj.jdbc.exceptions.SQLError.createCommunicationsException(SQLError.java:172) ~[mysql-connector-java-8.0.11.jar:8.0.11] + at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:64) ~[mysql-connector-java-8.0.11.jar:8.0.11] + at com.mysql.cj.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:862) ~[mysql-connector-java-8.0.11.jar:8.0.11] + at com.mysql.cj.jdbc.ConnectionImpl.(ConnectionImpl.java:444) ~[mysql-connector-java-8.0.11.jar:8.0.11] + at com.mysql.cj.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:230) ~[mysql-connector-java-8.0.11.jar:8.0.11] + at com.mysql.cj.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:226) ~[mysql-connector-java-8.0.11.jar:8.0.11] + at com.alibaba.druid.pool.DruidAbstractDataSource.createPhysicalConnection(DruidAbstractDataSource.java:1657) ~[druid-1.2.6.jar:1.2.6] + at com.alibaba.druid.pool.DruidAbstractDataSource.createPhysicalConnection(DruidAbstractDataSource.java:1723) ~[druid-1.2.6.jar:1.2.6] + at com.alibaba.druid.pool.DruidDataSource$CreateConnectionThread.run(DruidDataSource.java:2801) ~[druid-1.2.6.jar:1.2.6] +Caused by: com.mysql.cj.exceptions.CJCommunicationsException: Communications link failure + +The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server. + at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[na:1.8.0_131] + at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) ~[na:1.8.0_131] + at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[na:1.8.0_131] + at java.lang.reflect.Constructor.newInstance(Constructor.java:423) ~[na:1.8.0_131] + at com.mysql.cj.exceptions.ExceptionFactory.createException(ExceptionFactory.java:59) ~[mysql-connector-java-8.0.11.jar:8.0.11] + at com.mysql.cj.exceptions.ExceptionFactory.createException(ExceptionFactory.java:103) ~[mysql-connector-java-8.0.11.jar:8.0.11] + at com.mysql.cj.exceptions.ExceptionFactory.createException(ExceptionFactory.java:149) ~[mysql-connector-java-8.0.11.jar:8.0.11] + at com.mysql.cj.exceptions.ExceptionFactory.createCommunicationsException(ExceptionFactory.java:165) ~[mysql-connector-java-8.0.11.jar:8.0.11] + at com.mysql.cj.protocol.a.NativeSocketConnection.connect(NativeSocketConnection.java:92) ~[mysql-connector-java-8.0.11.jar:8.0.11] + at com.mysql.cj.NativeSession.connect(NativeSession.java:152) ~[mysql-connector-java-8.0.11.jar:8.0.11] + at com.mysql.cj.jdbc.ConnectionImpl.connectOneTryOnly(ConnectionImpl.java:982) ~[mysql-connector-java-8.0.11.jar:8.0.11] + at com.mysql.cj.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:852) ~[mysql-connector-java-8.0.11.jar:8.0.11] + ... 6 common frames omitted +Caused by: java.net.ConnectException: Connection refused: connect + at java.net.DualStackPlainSocketImpl.connect0(Native Method) ~[na:1.8.0_131] + at java.net.DualStackPlainSocketImpl.socketConnect(DualStackPlainSocketImpl.java:79) ~[na:1.8.0_131] + at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350) ~[na:1.8.0_131] + at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206) ~[na:1.8.0_131] + at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188) ~[na:1.8.0_131] + at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:172) ~[na:1.8.0_131] + at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392) ~[na:1.8.0_131] + at java.net.Socket.connect(Socket.java:589) ~[na:1.8.0_131] + at com.mysql.cj.protocol.StandardSocketFactory.connect(StandardSocketFactory.java:173) ~[mysql-connector-java-8.0.11.jar:8.0.11] + at com.mysql.cj.protocol.a.NativeSocketConnection.connect(NativeSocketConnection.java:66) ~[mysql-connector-java-8.0.11.jar:8.0.11] + ... 9 common frames omitted + +2026-06-17 22:59:04.694 ERROR 22732 --- [Druid-ConnectionPool-Create-2113328739] com.alibaba.druid.pool.DruidDataSource : create connection SQLException, url: jdbc:mysql://localhost:3306/jyt?useSSL=false&serverTimezone=Asia/Shanghai&useUnicode=true&characterEncoding=utf-8&allowPublicKeyRetrieval=true, errorCode 0, state 08S01 + +com.mysql.cj.jdbc.exceptions.CommunicationsException: Communications link failure + +The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server. + at com.mysql.cj.jdbc.exceptions.SQLError.createCommunicationsException(SQLError.java:172) ~[mysql-connector-java-8.0.11.jar:8.0.11] + at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:64) ~[mysql-connector-java-8.0.11.jar:8.0.11] + at com.mysql.cj.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:862) ~[mysql-connector-java-8.0.11.jar:8.0.11] + at com.mysql.cj.jdbc.ConnectionImpl.(ConnectionImpl.java:444) ~[mysql-connector-java-8.0.11.jar:8.0.11] + at com.mysql.cj.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:230) ~[mysql-connector-java-8.0.11.jar:8.0.11] + at com.mysql.cj.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:226) ~[mysql-connector-java-8.0.11.jar:8.0.11] + at com.alibaba.druid.pool.DruidAbstractDataSource.createPhysicalConnection(DruidAbstractDataSource.java:1657) ~[druid-1.2.6.jar:1.2.6] + at com.alibaba.druid.pool.DruidAbstractDataSource.createPhysicalConnection(DruidAbstractDataSource.java:1723) ~[druid-1.2.6.jar:1.2.6] + at com.alibaba.druid.pool.DruidDataSource$CreateConnectionThread.run(DruidDataSource.java:2801) ~[druid-1.2.6.jar:1.2.6] +Caused by: com.mysql.cj.exceptions.CJCommunicationsException: Communications link failure + +The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server. + at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[na:1.8.0_131] + at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) ~[na:1.8.0_131] + at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[na:1.8.0_131] + at java.lang.reflect.Constructor.newInstance(Constructor.java:423) ~[na:1.8.0_131] + at com.mysql.cj.exceptions.ExceptionFactory.createException(ExceptionFactory.java:59) ~[mysql-connector-java-8.0.11.jar:8.0.11] + at com.mysql.cj.exceptions.ExceptionFactory.createException(ExceptionFactory.java:103) ~[mysql-connector-java-8.0.11.jar:8.0.11] + at com.mysql.cj.exceptions.ExceptionFactory.createException(ExceptionFactory.java:149) ~[mysql-connector-java-8.0.11.jar:8.0.11] + at com.mysql.cj.exceptions.ExceptionFactory.createCommunicationsException(ExceptionFactory.java:165) ~[mysql-connector-java-8.0.11.jar:8.0.11] + at com.mysql.cj.protocol.a.NativeSocketConnection.connect(NativeSocketConnection.java:92) ~[mysql-connector-java-8.0.11.jar:8.0.11] + at com.mysql.cj.NativeSession.connect(NativeSession.java:152) ~[mysql-connector-java-8.0.11.jar:8.0.11] + at com.mysql.cj.jdbc.ConnectionImpl.connectOneTryOnly(ConnectionImpl.java:982) ~[mysql-connector-java-8.0.11.jar:8.0.11] + at com.mysql.cj.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:852) ~[mysql-connector-java-8.0.11.jar:8.0.11] + ... 6 common frames omitted +Caused by: java.net.ConnectException: Connection refused: connect + at java.net.DualStackPlainSocketImpl.connect0(Native Method) ~[na:1.8.0_131] + at java.net.DualStackPlainSocketImpl.socketConnect(DualStackPlainSocketImpl.java:79) ~[na:1.8.0_131] + at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350) ~[na:1.8.0_131] + at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206) ~[na:1.8.0_131] + at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188) ~[na:1.8.0_131] + at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:172) ~[na:1.8.0_131] + at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392) ~[na:1.8.0_131] + at java.net.Socket.connect(Socket.java:589) ~[na:1.8.0_131] + at com.mysql.cj.protocol.StandardSocketFactory.connect(StandardSocketFactory.java:173) ~[mysql-connector-java-8.0.11.jar:8.0.11] + at com.mysql.cj.protocol.a.NativeSocketConnection.connect(NativeSocketConnection.java:66) ~[mysql-connector-java-8.0.11.jar:8.0.11] + ... 9 common frames omitted + +2026-06-17 22:59:09.280 ERROR 22732 --- [Druid-ConnectionPool-Create-2113328739] com.alibaba.druid.pool.DruidDataSource : create connection SQLException, url: jdbc:mysql://localhost:3306/jyt?useSSL=false&serverTimezone=Asia/Shanghai&useUnicode=true&characterEncoding=utf-8&allowPublicKeyRetrieval=true, errorCode 0, state 08S01 + +com.mysql.cj.jdbc.exceptions.CommunicationsException: Communications link failure + +The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server. + at com.mysql.cj.jdbc.exceptions.SQLError.createCommunicationsException(SQLError.java:172) ~[mysql-connector-java-8.0.11.jar:8.0.11] + at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:64) ~[mysql-connector-java-8.0.11.jar:8.0.11] + at com.mysql.cj.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:862) ~[mysql-connector-java-8.0.11.jar:8.0.11] + at com.mysql.cj.jdbc.ConnectionImpl.(ConnectionImpl.java:444) ~[mysql-connector-java-8.0.11.jar:8.0.11] + at com.mysql.cj.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:230) ~[mysql-connector-java-8.0.11.jar:8.0.11] + at com.mysql.cj.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:226) ~[mysql-connector-java-8.0.11.jar:8.0.11] + at com.alibaba.druid.pool.DruidAbstractDataSource.createPhysicalConnection(DruidAbstractDataSource.java:1657) ~[druid-1.2.6.jar:1.2.6] + at com.alibaba.druid.pool.DruidAbstractDataSource.createPhysicalConnection(DruidAbstractDataSource.java:1723) ~[druid-1.2.6.jar:1.2.6] + at com.alibaba.druid.pool.DruidDataSource$CreateConnectionThread.run(DruidDataSource.java:2801) ~[druid-1.2.6.jar:1.2.6] +Caused by: com.mysql.cj.exceptions.CJCommunicationsException: Communications link failure + +The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server. + at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[na:1.8.0_131] + at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) ~[na:1.8.0_131] + at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[na:1.8.0_131] + at java.lang.reflect.Constructor.newInstance(Constructor.java:423) ~[na:1.8.0_131] + at com.mysql.cj.exceptions.ExceptionFactory.createException(ExceptionFactory.java:59) ~[mysql-connector-java-8.0.11.jar:8.0.11] + at com.mysql.cj.exceptions.ExceptionFactory.createException(ExceptionFactory.java:103) ~[mysql-connector-java-8.0.11.jar:8.0.11] + at com.mysql.cj.exceptions.ExceptionFactory.createException(ExceptionFactory.java:149) ~[mysql-connector-java-8.0.11.jar:8.0.11] + at com.mysql.cj.exceptions.ExceptionFactory.createCommunicationsException(ExceptionFactory.java:165) ~[mysql-connector-java-8.0.11.jar:8.0.11] + at com.mysql.cj.protocol.a.NativeSocketConnection.connect(NativeSocketConnection.java:92) ~[mysql-connector-java-8.0.11.jar:8.0.11] + at com.mysql.cj.NativeSession.connect(NativeSession.java:152) ~[mysql-connector-java-8.0.11.jar:8.0.11] + at com.mysql.cj.jdbc.ConnectionImpl.connectOneTryOnly(ConnectionImpl.java:982) ~[mysql-connector-java-8.0.11.jar:8.0.11] + at com.mysql.cj.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:852) ~[mysql-connector-java-8.0.11.jar:8.0.11] + ... 6 common frames omitted +Caused by: java.net.ConnectException: Connection refused: connect + at java.net.DualStackPlainSocketImpl.connect0(Native Method) ~[na:1.8.0_131] + at java.net.DualStackPlainSocketImpl.socketConnect(DualStackPlainSocketImpl.java:79) ~[na:1.8.0_131] + at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350) ~[na:1.8.0_131] + at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206) ~[na:1.8.0_131] + at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188) ~[na:1.8.0_131] + at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:172) ~[na:1.8.0_131] + at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392) ~[na:1.8.0_131] + at java.net.Socket.connect(Socket.java:589) ~[na:1.8.0_131] + at com.mysql.cj.protocol.StandardSocketFactory.connect(StandardSocketFactory.java:173) ~[mysql-connector-java-8.0.11.jar:8.0.11] + at com.mysql.cj.protocol.a.NativeSocketConnection.connect(NativeSocketConnection.java:66) ~[mysql-connector-java-8.0.11.jar:8.0.11] + ... 9 common frames omitted + +2026-06-17 22:59:11.162 INFO 22732 --- [Thread-11] o.s.s.concurrent.ThreadPoolTaskExecutor : Shutting down ExecutorService 'asyncExecutor' +2026-06-17 22:59:11.163 INFO 22732 --- [Thread-11] o.s.s.c.ThreadPoolTaskScheduler : Shutting down ExecutorService 'taskScheduler' +2026-06-17 22:59:11.163 INFO 22732 --- [Thread-11] o.s.s.c.ThreadPoolTaskScheduler : Shutting down ExecutorService 'taskScheduler' +2026-06-17 22:59:11.164 INFO 22732 --- [Thread-11] com.alibaba.druid.pool.DruidDataSource : {dataSource-1} closing ... +2026-06-17 22:59:11.166 INFO 22732 --- [Thread-11] com.alibaba.druid.pool.DruidDataSource : {dataSource-1} closed +2026-06-17 22:59:28.424 INFO 24284 --- [main] com.bc.exam.ExamApplication : Starting ExamApplication on yx with PID 24284 (D:\git\exam-jyt\exam-api\target\classes started by 75514 in D:\git\exam-jyt) +2026-06-17 22:59:28.426 INFO 24284 --- [main] com.bc.exam.ExamApplication : The following profiles are active: dev +2026-06-17 22:59:29.154 INFO 24284 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'scheduledConfig' of type [com.bc.exam.config.ScheduledConfig$$EnhancerBySpringCGLIB$$9d9acc00] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2026-06-17 22:59:29.164 INFO 24284 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'shiroConfig' of type [com.bc.exam.config.ShiroConfig$$EnhancerBySpringCGLIB$$9eda1444] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2026-06-17 22:59:29.201 INFO 24284 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'shiroRealm' of type [com.bc.exam.ability.shiro.ShiroRealm] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2026-06-17 22:59:29.350 INFO 24284 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'securityManager' of type [org.apache.shiro.web.mgt.DefaultWebSecurityManager] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2026-06-17 22:59:29.370 INFO 24284 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'authorizationAttributeSourceAdvisor' of type [org.apache.shiro.spring.security.interceptor.AuthorizationAttributeSourceAdvisor] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2026-06-17 22:59:29.404 INFO 24284 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration' of type [org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration$$EnhancerBySpringCGLIB$$ea1e2849] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2026-06-17 22:59:29.418 INFO 24284 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'com.alibaba.druid.spring.boot.autoconfigure.DruidDataSourceAutoConfigure' of type [com.alibaba.druid.spring.boot.autoconfigure.DruidDataSourceAutoConfigure$$EnhancerBySpringCGLIB$$3ca1dbb] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2026-06-17 22:59:29.422 INFO 24284 --- [main] c.a.d.s.b.a.DruidDataSourceAutoConfigure : Init DruidDataSource +2026-06-17 22:59:29.469 INFO 24284 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'spring.datasource-org.springframework.boot.autoconfigure.jdbc.DataSourceProperties' of type [org.springframework.boot.autoconfigure.jdbc.DataSourceProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2026-06-17 22:59:29.509 INFO 24284 --- [main] com.alibaba.druid.pool.DruidDataSource : {dataSource-1} inited +2026-06-17 22:59:29.509 INFO 24284 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'dataSource' of type [com.alibaba.druid.spring.boot.autoconfigure.DruidDataSourceWrapper] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2026-06-17 22:59:29.544 INFO 24284 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.boot.autoconfigure.jdbc.DataSourceInitializerInvoker' of type [org.springframework.boot.autoconfigure.jdbc.DataSourceInitializerInvoker] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2026-06-17 22:59:29.550 INFO 24284 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.boot.autoconfigure.transaction.TransactionAutoConfiguration' of type [org.springframework.boot.autoconfigure.transaction.TransactionAutoConfiguration$$EnhancerBySpringCGLIB$$7e922353] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2026-06-17 22:59:29.555 INFO 24284 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'spring.transaction-org.springframework.boot.autoconfigure.transaction.TransactionProperties' of type [org.springframework.boot.autoconfigure.transaction.TransactionProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2026-06-17 22:59:29.557 INFO 24284 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'platformTransactionManagerCustomizers' of type [org.springframework.boot.autoconfigure.transaction.TransactionManagerCustomizers] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2026-06-17 22:59:29.558 INFO 24284 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.boot.autoconfigure.jdbc.DataSourceTransactionManagerAutoConfiguration$DataSourceTransactionManagerConfiguration' of type [org.springframework.boot.autoconfigure.jdbc.DataSourceTransactionManagerAutoConfiguration$DataSourceTransactionManagerConfiguration$$EnhancerBySpringCGLIB$$971ec0b8] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2026-06-17 22:59:29.573 INFO 24284 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'transactionManager' of type [org.springframework.jdbc.datasource.DataSourceTransactionManager] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2026-06-17 22:59:29.574 INFO 24284 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'transactionAopConfig' of type [com.bc.exam.config.TransactionAopConfig$$EnhancerBySpringCGLIB$$e0b9ffd1] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2026-06-17 22:59:29.580 INFO 24284 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'txAdvice' of type [org.springframework.transaction.interceptor.TransactionInterceptor] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2026-06-17 22:59:29.581 INFO 24284 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'advisor' of type [org.springframework.aop.support.DefaultPointcutAdvisor] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2026-06-17 22:59:29.663 INFO 24284 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'org.apache.shiro.spring.boot.autoconfigure.ShiroBeanAutoConfiguration' of type [org.apache.shiro.spring.boot.autoconfigure.ShiroBeanAutoConfiguration$$EnhancerBySpringCGLIB$$fd3705f9] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2026-06-17 22:59:29.668 INFO 24284 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'eventBus' of type [org.apache.shiro.event.support.DefaultEventBus] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2026-06-17 22:59:29.983 INFO 24284 --- [main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port(s): 8101 (http) +2026-06-17 22:59:30.002 INFO 24284 --- [main] o.apache.catalina.core.StandardService : Starting service [Tomcat] +2026-06-17 22:59:30.002 INFO 24284 --- [main] org.apache.catalina.core.StandardEngine : Starting Servlet engine: [Apache Tomcat/9.0.17] +2026-06-17 22:59:30.087 INFO 24284 --- [main] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring embedded WebApplicationContext +2026-06-17 22:59:30.087 INFO 24284 --- [main] o.s.web.context.ContextLoader : Root WebApplicationContext: initialization completed in 1621 ms +2026-06-17 22:59:31.454 INFO 24284 --- [main] o.s.s.c.ThreadPoolTaskScheduler : Initializing ExecutorService 'taskScheduler' +2026-06-17 22:59:31.462 INFO 24284 --- [main] o.s.s.concurrent.ThreadPoolTaskExecutor : Initializing ExecutorService +2026-06-17 22:59:31.463 INFO 24284 --- [main] o.s.s.concurrent.ThreadPoolTaskExecutor : Initializing ExecutorService 'asyncExecutor' +2026-06-17 22:59:31.473 INFO 24284 --- [main] pertySourcedRequestMappingHandlerMapping : Mapped URL path [/v2/api-docs] onto method [public org.springframework.http.ResponseEntity springfox.documentation.swagger2.web.Swagger2Controller.getDocumentation(java.lang.String,javax.servlet.http.HttpServletRequest)] +2026-06-17 22:59:31.786 INFO 24284 --- [main] o.s.b.a.w.s.WelcomePageHandlerMapping : Adding welcome page: class path resource [static/index.html] +2026-06-17 22:59:31.924 INFO 24284 --- [main] d.s.w.p.DocumentationPluginsBootstrapper : Context refreshed +2026-06-17 22:59:31.948 INFO 24284 --- [main] d.s.w.p.DocumentationPluginsBootstrapper : Found 1 custom documentation plugin(s) +2026-06-17 22:59:31.996 INFO 24284 --- [main] s.d.s.w.s.ApiListingReferenceScanner : Scanning for api listing references +2026-06-17 22:59:32.157 INFO 24284 --- [main] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: findUsingPOST_1 +2026-06-17 22:59:32.167 INFO 24284 --- [main] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: saveUsingPOST_1 +2026-06-17 22:59:32.174 INFO 24284 --- [main] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: listUsingPOST_1 +2026-06-17 22:59:32.180 INFO 24284 --- [main] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: pagingUsingPOST_1 +2026-06-17 22:59:32.183 INFO 24284 --- [main] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: editUsingPOST_1 +2026-06-17 22:59:32.196 INFO 24284 --- [main] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: pagingUsingPOST_2 +2026-06-17 22:59:32.201 INFO 24284 --- [main] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: saveUsingPOST_2 +2026-06-17 22:59:32.261 INFO 24284 --- [main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat started on port(s): 8101 (http) with context path '' +2026-06-17 22:59:32.265 INFO 24284 --- [main] com.bc.exam.ExamApplication : Started ExamApplication in 4.127 seconds (JVM running for 4.655) +2026-06-17 22:59:32.268 INFO 24284 --- [main] com.bc.exam.ExamApplication : +---------------------------------------------------------- + 系统启动成功,访问路径如下: + 本地路径: http://127.0.0.1:8101/ + 网络地址: http://192.168.3.104:8101/ + API文档: http://192.168.3.104:8101/doc.html +---------------------------------------------------------- +2026-06-17 22:59:35.540 INFO 24284 --- [http-nio-8101-exec-1] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring DispatcherServlet 'dispatcherServlet' +2026-06-17 22:59:35.540 INFO 24284 --- [http-nio-8101-exec-1] o.s.web.servlet.DispatcherServlet : Initializing Servlet 'dispatcherServlet' +2026-06-17 22:59:35.549 INFO 24284 --- [http-nio-8101-exec-1] o.s.web.servlet.DispatcherServlet : Completed initialization in 9 ms +2026-06-17 22:59:35.781 WARN 24284 --- [http-nio-8101-exec-9] o.s.j.d.DataSourceTransactionManager : Custom isolation level specified but no actual transaction initiated; isolation level will effectively be ignored: PROPAGATION_SUPPORTS,ISOLATION_READ_COMMITTED,readOnly,-java.lang.Exception +2026-06-17 22:59:36.202 INFO 24284 --- [http-nio-8101-exec-9] org.dozer.config.GlobalSettings : Trying to find Dozer configuration file: dozer.properties +2026-06-17 22:59:36.214 WARN 24284 --- [http-nio-8101-exec-9] org.dozer.config.GlobalSettings : Dozer configuration file not found: dozer.properties. Using defaults for all Dozer global properties. +2026-06-17 22:59:36.216 INFO 24284 --- [http-nio-8101-exec-9] org.dozer.DozerInitializer : Initializing Dozer. Version: 5.5.0, Thread Name: http-nio-8101-exec-9 +2026-06-17 22:59:36.219 INFO 24284 --- [http-nio-8101-exec-9] org.dozer.jmx.JMXPlatformImpl : Dozer JMX MBean [org.dozer.jmx:type=DozerStatisticsController] auto registered with the Platform MBean Server +2026-06-17 22:59:36.220 INFO 24284 --- [http-nio-8101-exec-9] org.dozer.jmx.JMXPlatformImpl : Dozer JMX MBean [org.dozer.jmx:type=DozerAdminController] auto registered with the Platform MBean Server +2026-06-17 22:59:36.220 INFO 24284 --- [http-nio-8101-exec-9] org.dozer.DozerBeanMapper : Initializing a new instance of dozer bean mapper. +2026-06-17 22:59:45.249 WARN 24284 --- [http-nio-8101-exec-9] o.s.j.d.DataSourceTransactionManager : Custom isolation level specified but no actual transaction initiated; isolation level will effectively be ignored: PROPAGATION_SUPPORTS,ISOLATION_READ_COMMITTED,readOnly,-java.lang.Exception +2026-06-17 22:59:49.550 WARN 24284 --- [http-nio-8101-exec-4] o.s.j.d.DataSourceTransactionManager : Custom isolation level specified but no actual transaction initiated; isolation level will effectively be ignored: PROPAGATION_SUPPORTS,ISOLATION_READ_COMMITTED,readOnly,-java.lang.Exception +2026-06-17 22:59:52.974 WARN 24284 --- [http-nio-8101-exec-4] o.s.j.d.DataSourceTransactionManager : Custom isolation level specified but no actual transaction initiated; isolation level will effectively be ignored: PROPAGATION_SUPPORTS,ISOLATION_READ_COMMITTED,readOnly,-java.lang.Exception +2026-06-17 22:59:55.284 INFO 24284 --- [Thread-10] o.s.s.concurrent.ThreadPoolTaskExecutor : Shutting down ExecutorService 'asyncExecutor' +2026-06-17 22:59:55.284 INFO 24284 --- [Thread-10] o.s.s.c.ThreadPoolTaskScheduler : Shutting down ExecutorService 'taskScheduler' +2026-06-17 22:59:55.284 INFO 24284 --- [Thread-10] o.s.s.c.ThreadPoolTaskScheduler : Shutting down ExecutorService 'taskScheduler' +2026-06-17 22:59:55.285 INFO 24284 --- [Thread-10] com.alibaba.druid.pool.DruidDataSource : {dataSource-1} closing ... +2026-06-17 22:59:55.289 INFO 24284 --- [Thread-10] com.alibaba.druid.pool.DruidDataSource : {dataSource-1} closed +2026-06-17 23:00:20.687 INFO 19600 --- [main] com.bc.exam.ExamApplication : Starting ExamApplication on yx with PID 19600 (D:\git\exam-jyt\exam-api\target\classes started by 75514 in D:\git\exam-jyt) +2026-06-17 23:00:20.689 INFO 19600 --- [main] com.bc.exam.ExamApplication : The following profiles are active: dev +2026-06-17 23:00:21.416 INFO 19600 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'scheduledConfig' of type [com.bc.exam.config.ScheduledConfig$$EnhancerBySpringCGLIB$$828a91] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2026-06-17 23:00:21.426 INFO 19600 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'shiroConfig' of type [com.bc.exam.config.ShiroConfig$$EnhancerBySpringCGLIB$$1c1d2d5] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2026-06-17 23:00:21.462 INFO 19600 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'shiroRealm' of type [com.bc.exam.ability.shiro.ShiroRealm] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2026-06-17 23:00:21.614 INFO 19600 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'securityManager' of type [org.apache.shiro.web.mgt.DefaultWebSecurityManager] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2026-06-17 23:00:21.636 INFO 19600 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'authorizationAttributeSourceAdvisor' of type [org.apache.shiro.spring.security.interceptor.AuthorizationAttributeSourceAdvisor] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2026-06-17 23:00:21.668 INFO 19600 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration' of type [org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration$$EnhancerBySpringCGLIB$$4d05e6da] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2026-06-17 23:00:21.680 INFO 19600 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'com.alibaba.druid.spring.boot.autoconfigure.DruidDataSourceAutoConfigure' of type [com.alibaba.druid.spring.boot.autoconfigure.DruidDataSourceAutoConfigure$$EnhancerBySpringCGLIB$$66b1dc4c] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2026-06-17 23:00:21.684 INFO 19600 --- [main] c.a.d.s.b.a.DruidDataSourceAutoConfigure : Init DruidDataSource +2026-06-17 23:00:21.730 INFO 19600 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'spring.datasource-org.springframework.boot.autoconfigure.jdbc.DataSourceProperties' of type [org.springframework.boot.autoconfigure.jdbc.DataSourceProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2026-06-17 23:00:21.769 INFO 19600 --- [main] com.alibaba.druid.pool.DruidDataSource : {dataSource-1} inited +2026-06-17 23:00:21.769 INFO 19600 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'dataSource' of type [com.alibaba.druid.spring.boot.autoconfigure.DruidDataSourceWrapper] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2026-06-17 23:00:21.805 INFO 19600 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.boot.autoconfigure.jdbc.DataSourceInitializerInvoker' of type [org.springframework.boot.autoconfigure.jdbc.DataSourceInitializerInvoker] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2026-06-17 23:00:21.813 INFO 19600 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.boot.autoconfigure.transaction.TransactionAutoConfiguration' of type [org.springframework.boot.autoconfigure.transaction.TransactionAutoConfiguration$$EnhancerBySpringCGLIB$$e179e1e4] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2026-06-17 23:00:21.819 INFO 19600 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'spring.transaction-org.springframework.boot.autoconfigure.transaction.TransactionProperties' of type [org.springframework.boot.autoconfigure.transaction.TransactionProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2026-06-17 23:00:21.821 INFO 19600 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'platformTransactionManagerCustomizers' of type [org.springframework.boot.autoconfigure.transaction.TransactionManagerCustomizers] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2026-06-17 23:00:21.822 INFO 19600 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.boot.autoconfigure.jdbc.DataSourceTransactionManagerAutoConfiguration$DataSourceTransactionManagerConfiguration' of type [org.springframework.boot.autoconfigure.jdbc.DataSourceTransactionManagerAutoConfiguration$DataSourceTransactionManagerConfiguration$$EnhancerBySpringCGLIB$$fa067f49] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2026-06-17 23:00:21.830 INFO 19600 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'transactionManager' of type [org.springframework.jdbc.datasource.DataSourceTransactionManager] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2026-06-17 23:00:21.832 INFO 19600 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'transactionAopConfig' of type [com.bc.exam.config.TransactionAopConfig$$EnhancerBySpringCGLIB$$43a1be62] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2026-06-17 23:00:21.846 INFO 19600 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'txAdvice' of type [org.springframework.transaction.interceptor.TransactionInterceptor] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2026-06-17 23:00:21.846 INFO 19600 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'advisor' of type [org.springframework.aop.support.DefaultPointcutAdvisor] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2026-06-17 23:00:21.925 INFO 19600 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'org.apache.shiro.spring.boot.autoconfigure.ShiroBeanAutoConfiguration' of type [org.apache.shiro.spring.boot.autoconfigure.ShiroBeanAutoConfiguration$$EnhancerBySpringCGLIB$$601ec48a] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2026-06-17 23:00:21.929 INFO 19600 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'eventBus' of type [org.apache.shiro.event.support.DefaultEventBus] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2026-06-17 23:00:22.249 INFO 19600 --- [main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port(s): 8101 (http) +2026-06-17 23:00:22.269 INFO 19600 --- [main] o.apache.catalina.core.StandardService : Starting service [Tomcat] +2026-06-17 23:00:22.270 INFO 19600 --- [main] org.apache.catalina.core.StandardEngine : Starting Servlet engine: [Apache Tomcat/9.0.17] +2026-06-17 23:00:22.355 INFO 19600 --- [main] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring embedded WebApplicationContext +2026-06-17 23:00:22.355 INFO 19600 --- [main] o.s.web.context.ContextLoader : Root WebApplicationContext: initialization completed in 1630 ms +2026-06-17 23:00:23.773 INFO 19600 --- [main] o.s.s.c.ThreadPoolTaskScheduler : Initializing ExecutorService 'taskScheduler' +2026-06-17 23:00:23.781 INFO 19600 --- [main] o.s.s.concurrent.ThreadPoolTaskExecutor : Initializing ExecutorService +2026-06-17 23:00:23.781 INFO 19600 --- [main] o.s.s.concurrent.ThreadPoolTaskExecutor : Initializing ExecutorService 'asyncExecutor' +2026-06-17 23:00:23.792 INFO 19600 --- [main] pertySourcedRequestMappingHandlerMapping : Mapped URL path [/v2/api-docs] onto method [public org.springframework.http.ResponseEntity springfox.documentation.swagger2.web.Swagger2Controller.getDocumentation(java.lang.String,javax.servlet.http.HttpServletRequest)] +2026-06-17 23:00:24.109 INFO 19600 --- [main] o.s.b.a.w.s.WelcomePageHandlerMapping : Adding welcome page: class path resource [static/index.html] +2026-06-17 23:00:24.237 INFO 19600 --- [main] d.s.w.p.DocumentationPluginsBootstrapper : Context refreshed +2026-06-17 23:00:24.262 INFO 19600 --- [main] d.s.w.p.DocumentationPluginsBootstrapper : Found 1 custom documentation plugin(s) +2026-06-17 23:00:24.307 INFO 19600 --- [main] s.d.s.w.s.ApiListingReferenceScanner : Scanning for api listing references +2026-06-17 23:00:24.474 INFO 19600 --- [main] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: findUsingPOST_1 +2026-06-17 23:00:24.484 INFO 19600 --- [main] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: saveUsingPOST_1 +2026-06-17 23:00:24.491 INFO 19600 --- [main] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: listUsingPOST_1 +2026-06-17 23:00:24.494 INFO 19600 --- [main] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: pagingUsingPOST_1 +2026-06-17 23:00:24.497 INFO 19600 --- [main] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: editUsingPOST_1 +2026-06-17 23:00:24.512 INFO 19600 --- [main] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: pagingUsingPOST_2 +2026-06-17 23:00:24.517 INFO 19600 --- [main] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: saveUsingPOST_2 +2026-06-17 23:00:24.566 INFO 19600 --- [main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat started on port(s): 8101 (http) with context path '' +2026-06-17 23:00:24.569 INFO 19600 --- [main] com.bc.exam.ExamApplication : Started ExamApplication in 4.178 seconds (JVM running for 4.64) +2026-06-17 23:00:24.572 INFO 19600 --- [main] com.bc.exam.ExamApplication : +---------------------------------------------------------- + 系统启动成功,访问路径如下: + 本地路径: http://127.0.0.1:8101/ + 网络地址: http://192.168.3.104:8101/ + API文档: http://192.168.3.104:8101/doc.html +---------------------------------------------------------- +2026-06-17 23:00:25.474 INFO 19600 --- [http-nio-8101-exec-1] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring DispatcherServlet 'dispatcherServlet' +2026-06-17 23:00:25.474 INFO 19600 --- [http-nio-8101-exec-1] o.s.web.servlet.DispatcherServlet : Initializing Servlet 'dispatcherServlet' +2026-06-17 23:00:25.484 INFO 19600 --- [http-nio-8101-exec-1] o.s.web.servlet.DispatcherServlet : Completed initialization in 10 ms +2026-06-17 23:00:25.577 WARN 19600 --- [http-nio-8101-exec-1] o.s.j.d.DataSourceTransactionManager : Custom isolation level specified but no actual transaction initiated; isolation level will effectively be ignored: PROPAGATION_SUPPORTS,ISOLATION_READ_COMMITTED,readOnly,-java.lang.Exception +2026-06-17 23:00:25.969 INFO 19600 --- [http-nio-8101-exec-1] org.dozer.config.GlobalSettings : Trying to find Dozer configuration file: dozer.properties +2026-06-17 23:00:25.982 WARN 19600 --- [http-nio-8101-exec-1] org.dozer.config.GlobalSettings : Dozer configuration file not found: dozer.properties. Using defaults for all Dozer global properties. +2026-06-17 23:00:25.984 INFO 19600 --- [http-nio-8101-exec-1] org.dozer.DozerInitializer : Initializing Dozer. Version: 5.5.0, Thread Name: http-nio-8101-exec-1 +2026-06-17 23:00:25.987 INFO 19600 --- [http-nio-8101-exec-1] org.dozer.jmx.JMXPlatformImpl : Dozer JMX MBean [org.dozer.jmx:type=DozerStatisticsController] auto registered with the Platform MBean Server +2026-06-17 23:00:25.988 INFO 19600 --- [http-nio-8101-exec-1] org.dozer.jmx.JMXPlatformImpl : Dozer JMX MBean [org.dozer.jmx:type=DozerAdminController] auto registered with the Platform MBean Server +2026-06-17 23:00:25.989 INFO 19600 --- [http-nio-8101-exec-1] org.dozer.DozerBeanMapper : Initializing a new instance of dozer bean mapper. +2026-06-17 23:00:28.770 WARN 19600 --- [http-nio-8101-exec-8] o.s.j.d.DataSourceTransactionManager : Custom isolation level specified but no actual transaction initiated; isolation level will effectively be ignored: PROPAGATION_SUPPORTS,ISOLATION_READ_COMMITTED,readOnly,-java.lang.Exception +2026-06-17 23:00:28.774 WARN 19600 --- [http-nio-8101-exec-10] o.s.j.d.DataSourceTransactionManager : Custom isolation level specified but no actual transaction initiated; isolation level will effectively be ignored: PROPAGATION_SUPPORTS,ISOLATION_READ_COMMITTED,readOnly,-java.lang.Exception +2026-06-17 23:00:28.777 WARN 19600 --- [http-nio-8101-exec-6] o.s.j.d.DataSourceTransactionManager : Custom isolation level specified but no actual transaction initiated; isolation level will effectively be ignored: PROPAGATION_SUPPORTS,ISOLATION_READ_COMMITTED,readOnly,-java.lang.Exception +2026-06-17 23:00:28.781 WARN 19600 --- [http-nio-8101-exec-5] o.s.j.d.DataSourceTransactionManager : Custom isolation level specified but no actual transaction initiated; isolation level will effectively be ignored: PROPAGATION_SUPPORTS,ISOLATION_READ_COMMITTED,readOnly,-java.lang.Exception +2026-06-17 23:00:28.782 WARN 19600 --- [http-nio-8101-exec-9] o.s.j.d.DataSourceTransactionManager : Custom isolation level specified but no actual transaction initiated; isolation level will effectively be ignored: PROPAGATION_SUPPORTS,ISOLATION_READ_COMMITTED,readOnly,-java.lang.Exception +2026-06-17 23:00:28.788 WARN 19600 --- [http-nio-8101-exec-7] o.s.j.d.DataSourceTransactionManager : Custom isolation level specified but no actual transaction initiated; isolation level will effectively be ignored: PROPAGATION_SUPPORTS,ISOLATION_READ_COMMITTED,readOnly,-java.lang.Exception +2026-06-17 23:00:28.860 WARN 19600 --- [http-nio-8101-exec-2] o.s.j.d.DataSourceTransactionManager : Custom isolation level specified but no actual transaction initiated; isolation level will effectively be ignored: PROPAGATION_SUPPORTS,ISOLATION_READ_COMMITTED,readOnly,-java.lang.Exception +2026-06-17 23:00:28.867 WARN 19600 --- [http-nio-8101-exec-1] o.s.j.d.DataSourceTransactionManager : Custom isolation level specified but no actual transaction initiated; isolation level will effectively be ignored: PROPAGATION_SUPPORTS,ISOLATION_READ_COMMITTED,readOnly,-java.lang.Exception +2026-06-17 23:00:28.872 WARN 19600 --- [http-nio-8101-exec-4] o.s.j.d.DataSourceTransactionManager : Custom isolation level specified but no actual transaction initiated; isolation level will effectively be ignored: PROPAGATION_SUPPORTS,ISOLATION_READ_COMMITTED,readOnly,-java.lang.Exception +2026-06-17 23:00:28.875 WARN 19600 --- [http-nio-8101-exec-3] o.s.j.d.DataSourceTransactionManager : Custom isolation level specified but no actual transaction initiated; isolation level will effectively be ignored: PROPAGATION_SUPPORTS,ISOLATION_READ_COMMITTED,readOnly,-java.lang.Exception +2026-06-17 23:00:28.880 WARN 19600 --- [http-nio-8101-exec-10] o.s.j.d.DataSourceTransactionManager : Custom isolation level specified but no actual transaction initiated; isolation level will effectively be ignored: PROPAGATION_SUPPORTS,ISOLATION_READ_COMMITTED,readOnly,-java.lang.Exception +2026-06-17 23:00:28.882 WARN 19600 --- [http-nio-8101-exec-8] o.s.j.d.DataSourceTransactionManager : Custom isolation level specified but no actual transaction initiated; isolation level will effectively be ignored: PROPAGATION_SUPPORTS,ISOLATION_READ_COMMITTED,readOnly,-java.lang.Exception +2026-06-17 23:00:28.916 WARN 19600 --- [http-nio-8101-exec-6] o.s.j.d.DataSourceTransactionManager : Custom isolation level specified but no actual transaction initiated; isolation level will effectively be ignored: PROPAGATION_SUPPORTS,ISOLATION_READ_COMMITTED,readOnly,-java.lang.Exception +2026-06-17 23:00:28.920 WARN 19600 --- [http-nio-8101-exec-7] o.s.j.d.DataSourceTransactionManager : Custom isolation level specified but no actual transaction initiated; isolation level will effectively be ignored: PROPAGATION_SUPPORTS,ISOLATION_READ_COMMITTED,readOnly,-java.lang.Exception +2026-06-17 23:00:28.921 WARN 19600 --- [http-nio-8101-exec-5] o.s.j.d.DataSourceTransactionManager : Custom isolation level specified but no actual transaction initiated; isolation level will effectively be ignored: PROPAGATION_SUPPORTS,ISOLATION_READ_COMMITTED,readOnly,-java.lang.Exception +2026-06-17 23:00:28.923 WARN 19600 --- [http-nio-8101-exec-9] o.s.j.d.DataSourceTransactionManager : Custom isolation level specified but no actual transaction initiated; isolation level will effectively be ignored: PROPAGATION_SUPPORTS,ISOLATION_READ_COMMITTED,readOnly,-java.lang.Exception +2026-06-17 23:00:29.464 WARN 19600 --- [http-nio-8101-exec-2] o.s.j.d.DataSourceTransactionManager : Custom isolation level specified but no actual transaction initiated; isolation level will effectively be ignored: PROPAGATION_SUPPORTS,ISOLATION_READ_COMMITTED,readOnly,-java.lang.Exception +2026-06-17 23:00:30.488 WARN 19600 --- [http-nio-8101-exec-7] o.s.j.d.DataSourceTransactionManager : Custom isolation level specified but no actual transaction initiated; isolation level will effectively be ignored: PROPAGATION_SUPPORTS,ISOLATION_READ_COMMITTED,readOnly,-java.lang.Exception +2026-06-17 23:00:30.494 WARN 19600 --- [http-nio-8101-exec-6] o.s.j.d.DataSourceTransactionManager : Custom isolation level specified but no actual transaction initiated; isolation level will effectively be ignored: PROPAGATION_SUPPORTS,ISOLATION_READ_COMMITTED,readOnly,-java.lang.Exception +2026-06-17 23:00:30.498 WARN 19600 --- [http-nio-8101-exec-7] o.s.j.d.DataSourceTransactionManager : Custom isolation level specified but no actual transaction initiated; isolation level will effectively be ignored: PROPAGATION_SUPPORTS,ISOLATION_READ_COMMITTED,readOnly,-java.lang.Exception +2026-06-17 23:00:30.505 WARN 19600 --- [http-nio-8101-exec-6] o.s.j.d.DataSourceTransactionManager : Custom isolation level specified but no actual transaction initiated; isolation level will effectively be ignored: PROPAGATION_SUPPORTS,ISOLATION_READ_COMMITTED,readOnly,-java.lang.Exception +2026-06-17 23:00:30.532 WARN 19600 --- [http-nio-8101-exec-2] o.s.j.d.DataSourceTransactionManager : Custom isolation level specified but no actual transaction initiated; isolation level will effectively be ignored: PROPAGATION_SUPPORTS,ISOLATION_READ_COMMITTED,readOnly,-java.lang.Exception +2026-06-17 23:00:30.536 WARN 19600 --- [http-nio-8101-exec-3] o.s.j.d.DataSourceTransactionManager : Custom isolation level specified but no actual transaction initiated; isolation level will effectively be ignored: PROPAGATION_SUPPORTS,ISOLATION_READ_COMMITTED,readOnly,-java.lang.Exception +2026-06-17 23:00:30.542 WARN 19600 --- [http-nio-8101-exec-2] o.s.j.d.DataSourceTransactionManager : Custom isolation level specified but no actual transaction initiated; isolation level will effectively be ignored: PROPAGATION_SUPPORTS,ISOLATION_READ_COMMITTED,readOnly,-java.lang.Exception +2026-06-17 23:00:30.546 WARN 19600 --- [http-nio-8101-exec-3] o.s.j.d.DataSourceTransactionManager : Custom isolation level specified but no actual transaction initiated; isolation level will effectively be ignored: PROPAGATION_SUPPORTS,ISOLATION_READ_COMMITTED,readOnly,-java.lang.Exception +2026-06-17 23:00:31.560 WARN 19600 --- [http-nio-8101-exec-7] o.s.j.d.DataSourceTransactionManager : Custom isolation level specified but no actual transaction initiated; isolation level will effectively be ignored: PROPAGATION_SUPPORTS,ISOLATION_READ_COMMITTED,readOnly,-java.lang.Exception +2026-06-17 23:00:31.563 WARN 19600 --- [http-nio-8101-exec-6] o.s.j.d.DataSourceTransactionManager : Custom isolation level specified but no actual transaction initiated; isolation level will effectively be ignored: PROPAGATION_SUPPORTS,ISOLATION_READ_COMMITTED,readOnly,-java.lang.Exception +2026-06-17 23:00:31.567 WARN 19600 --- [http-nio-8101-exec-7] o.s.j.d.DataSourceTransactionManager : Custom isolation level specified but no actual transaction initiated; isolation level will effectively be ignored: PROPAGATION_SUPPORTS,ISOLATION_READ_COMMITTED,readOnly,-java.lang.Exception +2026-06-17 23:00:31.572 WARN 19600 --- [http-nio-8101-exec-6] o.s.j.d.DataSourceTransactionManager : Custom isolation level specified but no actual transaction initiated; isolation level will effectively be ignored: PROPAGATION_SUPPORTS,ISOLATION_READ_COMMITTED,readOnly,-java.lang.Exception +2026-06-17 23:00:31.592 WARN 19600 --- [http-nio-8101-exec-2] o.s.j.d.DataSourceTransactionManager : Custom isolation level specified but no actual transaction initiated; isolation level will effectively be ignored: PROPAGATION_SUPPORTS,ISOLATION_READ_COMMITTED,readOnly,-java.lang.Exception +2026-06-17 23:00:31.597 WARN 19600 --- [http-nio-8101-exec-10] o.s.j.d.DataSourceTransactionManager : Custom isolation level specified but no actual transaction initiated; isolation level will effectively be ignored: PROPAGATION_SUPPORTS,ISOLATION_READ_COMMITTED,readOnly,-java.lang.Exception +2026-06-17 23:00:31.599 WARN 19600 --- [http-nio-8101-exec-2] o.s.j.d.DataSourceTransactionManager : Custom isolation level specified but no actual transaction initiated; isolation level will effectively be ignored: PROPAGATION_SUPPORTS,ISOLATION_READ_COMMITTED,readOnly,-java.lang.Exception +2026-06-17 23:00:31.606 WARN 19600 --- [http-nio-8101-exec-10] o.s.j.d.DataSourceTransactionManager : Custom isolation level specified but no actual transaction initiated; isolation level will effectively be ignored: PROPAGATION_SUPPORTS,ISOLATION_READ_COMMITTED,readOnly,-java.lang.Exception +2026-06-17 23:00:32.885 WARN 19600 --- [http-nio-8101-exec-1] o.s.j.d.DataSourceTransactionManager : Custom isolation level specified but no actual transaction initiated; isolation level will effectively be ignored: PROPAGATION_SUPPORTS,ISOLATION_READ_COMMITTED,readOnly,-java.lang.Exception +2026-06-17 23:00:32.885 WARN 19600 --- [http-nio-8101-exec-8] o.s.j.d.DataSourceTransactionManager : Custom isolation level specified but no actual transaction initiated; isolation level will effectively be ignored: PROPAGATION_SUPPORTS,ISOLATION_READ_COMMITTED,readOnly,-java.lang.Exception +2026-06-17 23:00:32.892 WARN 19600 --- [http-nio-8101-exec-8] o.s.j.d.DataSourceTransactionManager : Custom isolation level specified but no actual transaction initiated; isolation level will effectively be ignored: PROPAGATION_SUPPORTS,ISOLATION_READ_COMMITTED,readOnly,-java.lang.Exception +2026-06-17 23:00:32.892 WARN 19600 --- [http-nio-8101-exec-1] o.s.j.d.DataSourceTransactionManager : Custom isolation level specified but no actual transaction initiated; isolation level will effectively be ignored: PROPAGATION_SUPPORTS,ISOLATION_READ_COMMITTED,readOnly,-java.lang.Exception +2026-06-17 23:00:33.859 WARN 19600 --- [http-nio-8101-exec-9] o.s.j.d.DataSourceTransactionManager : Custom isolation level specified but no actual transaction initiated; isolation level will effectively be ignored: PROPAGATION_SUPPORTS,ISOLATION_READ_COMMITTED,readOnly,-java.lang.Exception +2026-06-17 23:00:33.861 WARN 19600 --- [http-nio-8101-exec-5] o.s.j.d.DataSourceTransactionManager : Custom isolation level specified but no actual transaction initiated; isolation level will effectively be ignored: PROPAGATION_SUPPORTS,ISOLATION_READ_COMMITTED,readOnly,-java.lang.Exception +2026-06-17 23:00:33.866 WARN 19600 --- [http-nio-8101-exec-9] o.s.j.d.DataSourceTransactionManager : Custom isolation level specified but no actual transaction initiated; isolation level will effectively be ignored: PROPAGATION_SUPPORTS,ISOLATION_READ_COMMITTED,readOnly,-java.lang.Exception +2026-06-17 23:00:33.869 WARN 19600 --- [http-nio-8101-exec-5] o.s.j.d.DataSourceTransactionManager : Custom isolation level specified but no actual transaction initiated; isolation level will effectively be ignored: PROPAGATION_SUPPORTS,ISOLATION_READ_COMMITTED,readOnly,-java.lang.Exception +2026-06-17 23:00:43.810 INFO 19600 --- [Thread-10] o.s.s.concurrent.ThreadPoolTaskExecutor : Shutting down ExecutorService 'asyncExecutor' +2026-06-17 23:00:43.810 INFO 19600 --- [Thread-10] o.s.s.c.ThreadPoolTaskScheduler : Shutting down ExecutorService 'taskScheduler' +2026-06-17 23:00:43.810 INFO 19600 --- [Thread-10] o.s.s.c.ThreadPoolTaskScheduler : Shutting down ExecutorService 'taskScheduler' +2026-06-17 23:00:43.812 INFO 19600 --- [Thread-10] com.alibaba.druid.pool.DruidDataSource : {dataSource-1} closing ... +2026-06-17 23:00:43.817 INFO 19600 --- [Thread-10] com.alibaba.druid.pool.DruidDataSource : {dataSource-1} closed +2026-06-17 23:00:46.543 INFO 12444 --- [main] com.bc.exam.ExamApplication : Starting ExamApplication on yx with PID 12444 (D:\git\exam-jyt\exam-api\target\classes started by 75514 in D:\git\exam-jyt) +2026-06-17 23:00:46.545 INFO 12444 --- [main] com.bc.exam.ExamApplication : The following profiles are active: dev +2026-06-17 23:00:47.260 INFO 12444 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'scheduledConfig' of type [com.bc.exam.config.ScheduledConfig$$EnhancerBySpringCGLIB$$7113bb1f] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2026-06-17 23:00:47.272 INFO 12444 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'shiroConfig' of type [com.bc.exam.config.ShiroConfig$$EnhancerBySpringCGLIB$$72530363] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2026-06-17 23:00:47.311 INFO 12444 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'shiroRealm' of type [com.bc.exam.ability.shiro.ShiroRealm] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2026-06-17 23:00:47.459 INFO 12444 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'securityManager' of type [org.apache.shiro.web.mgt.DefaultWebSecurityManager] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2026-06-17 23:00:47.480 INFO 12444 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'authorizationAttributeSourceAdvisor' of type [org.apache.shiro.spring.security.interceptor.AuthorizationAttributeSourceAdvisor] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2026-06-17 23:00:47.517 INFO 12444 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration' of type [org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration$$EnhancerBySpringCGLIB$$bd971768] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2026-06-17 23:00:47.530 INFO 12444 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'com.alibaba.druid.spring.boot.autoconfigure.DruidDataSourceAutoConfigure' of type [com.alibaba.druid.spring.boot.autoconfigure.DruidDataSourceAutoConfigure$$EnhancerBySpringCGLIB$$d7430cda] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2026-06-17 23:00:47.533 INFO 12444 --- [main] c.a.d.s.b.a.DruidDataSourceAutoConfigure : Init DruidDataSource +2026-06-17 23:00:47.577 INFO 12444 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'spring.datasource-org.springframework.boot.autoconfigure.jdbc.DataSourceProperties' of type [org.springframework.boot.autoconfigure.jdbc.DataSourceProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2026-06-17 23:00:47.614 INFO 12444 --- [main] com.alibaba.druid.pool.DruidDataSource : {dataSource-1} inited +2026-06-17 23:00:47.614 INFO 12444 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'dataSource' of type [com.alibaba.druid.spring.boot.autoconfigure.DruidDataSourceWrapper] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2026-06-17 23:00:47.652 INFO 12444 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.boot.autoconfigure.jdbc.DataSourceInitializerInvoker' of type [org.springframework.boot.autoconfigure.jdbc.DataSourceInitializerInvoker] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2026-06-17 23:00:47.659 INFO 12444 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.boot.autoconfigure.transaction.TransactionAutoConfiguration' of type [org.springframework.boot.autoconfigure.transaction.TransactionAutoConfiguration$$EnhancerBySpringCGLIB$$520b1272] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2026-06-17 23:00:47.665 INFO 12444 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'spring.transaction-org.springframework.boot.autoconfigure.transaction.TransactionProperties' of type [org.springframework.boot.autoconfigure.transaction.TransactionProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2026-06-17 23:00:47.666 INFO 12444 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'platformTransactionManagerCustomizers' of type [org.springframework.boot.autoconfigure.transaction.TransactionManagerCustomizers] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2026-06-17 23:00:47.667 INFO 12444 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.boot.autoconfigure.jdbc.DataSourceTransactionManagerAutoConfiguration$DataSourceTransactionManagerConfiguration' of type [org.springframework.boot.autoconfigure.jdbc.DataSourceTransactionManagerAutoConfiguration$DataSourceTransactionManagerConfiguration$$EnhancerBySpringCGLIB$$6a97afd7] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2026-06-17 23:00:47.674 INFO 12444 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'transactionManager' of type [org.springframework.jdbc.datasource.DataSourceTransactionManager] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2026-06-17 23:00:47.682 INFO 12444 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'transactionAopConfig' of type [com.bc.exam.config.TransactionAopConfig$$EnhancerBySpringCGLIB$$b432eef0] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2026-06-17 23:00:47.689 INFO 12444 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'txAdvice' of type [org.springframework.transaction.interceptor.TransactionInterceptor] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2026-06-17 23:00:47.689 INFO 12444 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'advisor' of type [org.springframework.aop.support.DefaultPointcutAdvisor] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2026-06-17 23:00:47.765 INFO 12444 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'org.apache.shiro.spring.boot.autoconfigure.ShiroBeanAutoConfiguration' of type [org.apache.shiro.spring.boot.autoconfigure.ShiroBeanAutoConfiguration$$EnhancerBySpringCGLIB$$d0aff518] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2026-06-17 23:00:47.769 INFO 12444 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'eventBus' of type [org.apache.shiro.event.support.DefaultEventBus] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2026-06-17 23:00:48.096 INFO 12444 --- [main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port(s): 8101 (http) +2026-06-17 23:00:48.116 INFO 12444 --- [main] o.apache.catalina.core.StandardService : Starting service [Tomcat] +2026-06-17 23:00:48.117 INFO 12444 --- [main] org.apache.catalina.core.StandardEngine : Starting Servlet engine: [Apache Tomcat/9.0.17] +2026-06-17 23:00:48.198 INFO 12444 --- [main] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring embedded WebApplicationContext +2026-06-17 23:00:48.198 INFO 12444 --- [main] o.s.web.context.ContextLoader : Root WebApplicationContext: initialization completed in 1616 ms +2026-06-17 23:00:49.586 INFO 12444 --- [main] o.s.s.c.ThreadPoolTaskScheduler : Initializing ExecutorService 'taskScheduler' +2026-06-17 23:00:49.594 INFO 12444 --- [main] o.s.s.concurrent.ThreadPoolTaskExecutor : Initializing ExecutorService +2026-06-17 23:00:49.596 INFO 12444 --- [main] o.s.s.concurrent.ThreadPoolTaskExecutor : Initializing ExecutorService 'asyncExecutor' +2026-06-17 23:00:49.606 INFO 12444 --- [main] pertySourcedRequestMappingHandlerMapping : Mapped URL path [/v2/api-docs] onto method [public org.springframework.http.ResponseEntity springfox.documentation.swagger2.web.Swagger2Controller.getDocumentation(java.lang.String,javax.servlet.http.HttpServletRequest)] +2026-06-17 23:00:49.929 INFO 12444 --- [main] o.s.b.a.w.s.WelcomePageHandlerMapping : Adding welcome page: class path resource [static/index.html] +2026-06-17 23:00:50.060 INFO 12444 --- [main] d.s.w.p.DocumentationPluginsBootstrapper : Context refreshed +2026-06-17 23:00:50.085 INFO 12444 --- [main] d.s.w.p.DocumentationPluginsBootstrapper : Found 1 custom documentation plugin(s) +2026-06-17 23:00:50.134 INFO 12444 --- [main] s.d.s.w.s.ApiListingReferenceScanner : Scanning for api listing references +2026-06-17 23:00:50.290 INFO 12444 --- [main] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: findUsingPOST_1 +2026-06-17 23:00:50.300 INFO 12444 --- [main] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: saveUsingPOST_1 +2026-06-17 23:00:50.306 INFO 12444 --- [main] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: listUsingPOST_1 +2026-06-17 23:00:50.311 INFO 12444 --- [main] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: pagingUsingPOST_1 +2026-06-17 23:00:50.315 INFO 12444 --- [main] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: editUsingPOST_1 +2026-06-17 23:00:50.328 INFO 12444 --- [main] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: pagingUsingPOST_2 +2026-06-17 23:00:50.332 INFO 12444 --- [main] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: saveUsingPOST_2 +2026-06-17 23:00:50.390 INFO 12444 --- [main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat started on port(s): 8101 (http) with context path '' +2026-06-17 23:00:50.395 INFO 12444 --- [main] com.bc.exam.ExamApplication : Started ExamApplication in 4.137 seconds (JVM running for 4.664) +2026-06-17 23:00:50.398 INFO 12444 --- [main] com.bc.exam.ExamApplication : +---------------------------------------------------------- + 系统启动成功,访问路径如下: + 本地路径: http://127.0.0.1:8101/ + 网络地址: http://192.168.3.104:8101/ + API文档: http://192.168.3.104:8101/doc.html +---------------------------------------------------------- +2026-06-17 23:00:52.166 INFO 12444 --- [http-nio-8101-exec-1] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring DispatcherServlet 'dispatcherServlet' +2026-06-17 23:00:52.167 INFO 12444 --- [http-nio-8101-exec-1] o.s.web.servlet.DispatcherServlet : Initializing Servlet 'dispatcherServlet' +2026-06-17 23:00:52.177 INFO 12444 --- [http-nio-8101-exec-1] o.s.web.servlet.DispatcherServlet : Completed initialization in 10 ms +2026-06-17 23:00:52.390 WARN 12444 --- [http-nio-8101-exec-4] o.s.j.d.DataSourceTransactionManager : Custom isolation level specified but no actual transaction initiated; isolation level will effectively be ignored: PROPAGATION_SUPPORTS,ISOLATION_READ_COMMITTED,readOnly,-java.lang.Exception +2026-06-17 23:00:52.776 INFO 12444 --- [http-nio-8101-exec-4] org.dozer.config.GlobalSettings : Trying to find Dozer configuration file: dozer.properties +2026-06-17 23:00:52.787 WARN 12444 --- [http-nio-8101-exec-4] org.dozer.config.GlobalSettings : Dozer configuration file not found: dozer.properties. Using defaults for all Dozer global properties. +2026-06-17 23:00:52.789 INFO 12444 --- [http-nio-8101-exec-4] org.dozer.DozerInitializer : Initializing Dozer. Version: 5.5.0, Thread Name: http-nio-8101-exec-4 +2026-06-17 23:00:52.792 INFO 12444 --- [http-nio-8101-exec-4] org.dozer.jmx.JMXPlatformImpl : Dozer JMX MBean [org.dozer.jmx:type=DozerStatisticsController] auto registered with the Platform MBean Server +2026-06-17 23:00:52.794 INFO 12444 --- [http-nio-8101-exec-4] org.dozer.jmx.JMXPlatformImpl : Dozer JMX MBean [org.dozer.jmx:type=DozerAdminController] auto registered with the Platform MBean Server +2026-06-17 23:00:52.794 INFO 12444 --- [http-nio-8101-exec-4] org.dozer.DozerBeanMapper : Initializing a new instance of dozer bean mapper. +2026-06-17 23:01:34.297 WARN 12444 --- [http-nio-8101-exec-10] o.s.j.d.DataSourceTransactionManager : Custom isolation level specified but no actual transaction initiated; isolation level will effectively be ignored: PROPAGATION_SUPPORTS,ISOLATION_READ_COMMITTED,readOnly,-java.lang.Exception +2026-06-17 23:06:29.166 INFO 12444 --- [Thread-10] o.s.s.concurrent.ThreadPoolTaskExecutor : Shutting down ExecutorService 'asyncExecutor' +2026-06-17 23:06:29.166 INFO 12444 --- [Thread-10] o.s.s.c.ThreadPoolTaskScheduler : Shutting down ExecutorService 'taskScheduler' +2026-06-17 23:06:29.166 INFO 12444 --- [Thread-10] o.s.s.c.ThreadPoolTaskScheduler : Shutting down ExecutorService 'taskScheduler' +2026-06-17 23:06:29.167 INFO 12444 --- [Thread-10] com.alibaba.druid.pool.DruidDataSource : {dataSource-1} closing ... +2026-06-17 23:06:29.172 INFO 12444 --- [Thread-10] com.alibaba.druid.pool.DruidDataSource : {dataSource-1} closed +2026-06-17 23:06:33.299 INFO 23112 --- [main] com.bc.exam.ExamApplication : Starting ExamApplication on yx with PID 23112 (D:\git\exam-jyt\exam-api\target\classes started by 75514 in D:\git\exam-jyt) +2026-06-17 23:06:33.301 INFO 23112 --- [main] com.bc.exam.ExamApplication : The following profiles are active: dev +2026-06-17 23:06:34.010 INFO 23112 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'scheduledConfig' of type [com.bc.exam.config.ScheduledConfig$$EnhancerBySpringCGLIB$$60369d87] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2026-06-17 23:06:34.019 INFO 23112 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'shiroConfig' of type [com.bc.exam.config.ShiroConfig$$EnhancerBySpringCGLIB$$6175e5cb] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2026-06-17 23:06:34.056 INFO 23112 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'shiroRealm' of type [com.bc.exam.ability.shiro.ShiroRealm] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2026-06-17 23:06:34.201 INFO 23112 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'securityManager' of type [org.apache.shiro.web.mgt.DefaultWebSecurityManager] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2026-06-17 23:06:34.225 INFO 23112 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'authorizationAttributeSourceAdvisor' of type [org.apache.shiro.spring.security.interceptor.AuthorizationAttributeSourceAdvisor] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2026-06-17 23:06:34.259 INFO 23112 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration' of type [org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration$$EnhancerBySpringCGLIB$$acb9f9d0] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2026-06-17 23:06:34.271 INFO 23112 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'com.alibaba.druid.spring.boot.autoconfigure.DruidDataSourceAutoConfigure' of type [com.alibaba.druid.spring.boot.autoconfigure.DruidDataSourceAutoConfigure$$EnhancerBySpringCGLIB$$c665ef42] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2026-06-17 23:06:34.274 INFO 23112 --- [main] c.a.d.s.b.a.DruidDataSourceAutoConfigure : Init DruidDataSource +2026-06-17 23:06:34.319 INFO 23112 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'spring.datasource-org.springframework.boot.autoconfigure.jdbc.DataSourceProperties' of type [org.springframework.boot.autoconfigure.jdbc.DataSourceProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2026-06-17 23:06:34.356 INFO 23112 --- [main] com.alibaba.druid.pool.DruidDataSource : {dataSource-1} inited +2026-06-17 23:06:34.356 INFO 23112 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'dataSource' of type [com.alibaba.druid.spring.boot.autoconfigure.DruidDataSourceWrapper] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2026-06-17 23:06:34.390 INFO 23112 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.boot.autoconfigure.jdbc.DataSourceInitializerInvoker' of type [org.springframework.boot.autoconfigure.jdbc.DataSourceInitializerInvoker] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2026-06-17 23:06:34.397 INFO 23112 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.boot.autoconfigure.transaction.TransactionAutoConfiguration' of type [org.springframework.boot.autoconfigure.transaction.TransactionAutoConfiguration$$EnhancerBySpringCGLIB$$412df4da] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2026-06-17 23:06:34.403 INFO 23112 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'spring.transaction-org.springframework.boot.autoconfigure.transaction.TransactionProperties' of type [org.springframework.boot.autoconfigure.transaction.TransactionProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2026-06-17 23:06:34.405 INFO 23112 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'platformTransactionManagerCustomizers' of type [org.springframework.boot.autoconfigure.transaction.TransactionManagerCustomizers] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2026-06-17 23:06:34.405 INFO 23112 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.boot.autoconfigure.jdbc.DataSourceTransactionManagerAutoConfiguration$DataSourceTransactionManagerConfiguration' of type [org.springframework.boot.autoconfigure.jdbc.DataSourceTransactionManagerAutoConfiguration$DataSourceTransactionManagerConfiguration$$EnhancerBySpringCGLIB$$59ba923f] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2026-06-17 23:06:34.412 INFO 23112 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'transactionManager' of type [org.springframework.jdbc.datasource.DataSourceTransactionManager] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2026-06-17 23:06:34.414 INFO 23112 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'transactionAopConfig' of type [com.bc.exam.config.TransactionAopConfig$$EnhancerBySpringCGLIB$$a355d158] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2026-06-17 23:06:34.419 INFO 23112 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'txAdvice' of type [org.springframework.transaction.interceptor.TransactionInterceptor] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2026-06-17 23:06:34.419 INFO 23112 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'advisor' of type [org.springframework.aop.support.DefaultPointcutAdvisor] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2026-06-17 23:06:34.503 INFO 23112 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'org.apache.shiro.spring.boot.autoconfigure.ShiroBeanAutoConfiguration' of type [org.apache.shiro.spring.boot.autoconfigure.ShiroBeanAutoConfiguration$$EnhancerBySpringCGLIB$$bfd2d780] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2026-06-17 23:06:34.507 INFO 23112 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'eventBus' of type [org.apache.shiro.event.support.DefaultEventBus] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2026-06-17 23:06:34.846 INFO 23112 --- [main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port(s): 8101 (http) +2026-06-17 23:06:34.867 INFO 23112 --- [main] o.apache.catalina.core.StandardService : Starting service [Tomcat] +2026-06-17 23:06:34.867 INFO 23112 --- [main] org.apache.catalina.core.StandardEngine : Starting Servlet engine: [Apache Tomcat/9.0.17] +2026-06-17 23:06:34.947 INFO 23112 --- [main] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring embedded WebApplicationContext +2026-06-17 23:06:34.947 INFO 23112 --- [main] o.s.web.context.ContextLoader : Root WebApplicationContext: initialization completed in 1610 ms +2026-06-17 23:06:36.325 INFO 23112 --- [main] o.s.s.c.ThreadPoolTaskScheduler : Initializing ExecutorService 'taskScheduler' +2026-06-17 23:06:36.332 INFO 23112 --- [main] o.s.s.concurrent.ThreadPoolTaskExecutor : Initializing ExecutorService +2026-06-17 23:06:36.333 INFO 23112 --- [main] o.s.s.concurrent.ThreadPoolTaskExecutor : Initializing ExecutorService 'asyncExecutor' +2026-06-17 23:06:36.342 INFO 23112 --- [main] pertySourcedRequestMappingHandlerMapping : Mapped URL path [/v2/api-docs] onto method [public org.springframework.http.ResponseEntity springfox.documentation.swagger2.web.Swagger2Controller.getDocumentation(java.lang.String,javax.servlet.http.HttpServletRequest)] +2026-06-17 23:06:36.656 INFO 23112 --- [main] o.s.b.a.w.s.WelcomePageHandlerMapping : Adding welcome page: class path resource [static/index.html] +2026-06-17 23:06:36.790 INFO 23112 --- [main] d.s.w.p.DocumentationPluginsBootstrapper : Context refreshed +2026-06-17 23:06:36.816 INFO 23112 --- [main] d.s.w.p.DocumentationPluginsBootstrapper : Found 1 custom documentation plugin(s) +2026-06-17 23:06:36.862 INFO 23112 --- [main] s.d.s.w.s.ApiListingReferenceScanner : Scanning for api listing references +2026-06-17 23:06:37.024 INFO 23112 --- [main] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: findUsingPOST_1 +2026-06-17 23:06:37.035 INFO 23112 --- [main] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: saveUsingPOST_1 +2026-06-17 23:06:37.041 INFO 23112 --- [main] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: listUsingPOST_1 +2026-06-17 23:06:37.045 INFO 23112 --- [main] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: pagingUsingPOST_1 +2026-06-17 23:06:37.048 INFO 23112 --- [main] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: editUsingPOST_1 +2026-06-17 23:06:37.063 INFO 23112 --- [main] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: pagingUsingPOST_2 +2026-06-17 23:06:37.069 INFO 23112 --- [main] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: saveUsingPOST_2 +2026-06-17 23:06:37.127 INFO 23112 --- [main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat started on port(s): 8101 (http) with context path '' +2026-06-17 23:06:37.130 INFO 23112 --- [main] com.bc.exam.ExamApplication : Started ExamApplication in 4.114 seconds (JVM running for 4.57) +2026-06-17 23:06:37.133 INFO 23112 --- [main] com.bc.exam.ExamApplication : +---------------------------------------------------------- + 系统启动成功,访问路径如下: + 本地路径: http://127.0.0.1:8101/ + 网络地址: http://192.168.3.104:8101/ + API文档: http://192.168.3.104:8101/doc.html +---------------------------------------------------------- +2026-06-17 23:06:41.431 INFO 23112 --- [http-nio-8101-exec-2] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring DispatcherServlet 'dispatcherServlet' +2026-06-17 23:06:41.431 INFO 23112 --- [http-nio-8101-exec-2] o.s.web.servlet.DispatcherServlet : Initializing Servlet 'dispatcherServlet' +2026-06-17 23:06:41.441 INFO 23112 --- [http-nio-8101-exec-2] o.s.web.servlet.DispatcherServlet : Completed initialization in 10 ms +2026-06-17 23:06:41.680 WARN 23112 --- [http-nio-8101-exec-7] o.s.j.d.DataSourceTransactionManager : Custom isolation level specified but no actual transaction initiated; isolation level will effectively be ignored: PROPAGATION_SUPPORTS,ISOLATION_READ_COMMITTED,readOnly,-java.lang.Exception +2026-06-17 23:06:42.083 INFO 23112 --- [http-nio-8101-exec-7] org.dozer.config.GlobalSettings : Trying to find Dozer configuration file: dozer.properties +2026-06-17 23:06:42.095 WARN 23112 --- [http-nio-8101-exec-7] org.dozer.config.GlobalSettings : Dozer configuration file not found: dozer.properties. Using defaults for all Dozer global properties. +2026-06-17 23:06:42.097 INFO 23112 --- [http-nio-8101-exec-7] org.dozer.DozerInitializer : Initializing Dozer. Version: 5.5.0, Thread Name: http-nio-8101-exec-7 +2026-06-17 23:06:42.100 INFO 23112 --- [http-nio-8101-exec-7] org.dozer.jmx.JMXPlatformImpl : Dozer JMX MBean [org.dozer.jmx:type=DozerStatisticsController] auto registered with the Platform MBean Server +2026-06-17 23:06:42.100 INFO 23112 --- [http-nio-8101-exec-7] org.dozer.jmx.JMXPlatformImpl : Dozer JMX MBean [org.dozer.jmx:type=DozerAdminController] auto registered with the Platform MBean Server +2026-06-17 23:06:42.101 INFO 23112 --- [http-nio-8101-exec-7] org.dozer.DozerBeanMapper : Initializing a new instance of dozer bean mapper. +2026-06-17 23:06:44.360 WARN 23112 --- [http-nio-8101-exec-5] o.s.j.d.DataSourceTransactionManager : Custom isolation level specified but no actual transaction initiated; isolation level will effectively be ignored: PROPAGATION_SUPPORTS,ISOLATION_READ_COMMITTED,readOnly,-java.lang.Exception +2026-06-17 23:06:45.021 WARN 23112 --- [http-nio-8101-exec-9] o.s.j.d.DataSourceTransactionManager : Custom isolation level specified but no actual transaction initiated; isolation level will effectively be ignored: PROPAGATION_SUPPORTS,ISOLATION_READ_COMMITTED,readOnly,-java.lang.Exception +2026-06-17 23:06:45.021 WARN 23112 --- [http-nio-8101-exec-8] o.s.j.d.DataSourceTransactionManager : Custom isolation level specified but no actual transaction initiated; isolation level will effectively be ignored: PROPAGATION_SUPPORTS,ISOLATION_READ_COMMITTED,readOnly,-java.lang.Exception +2026-06-17 23:06:45.029 WARN 23112 --- [http-nio-8101-exec-10] o.s.j.d.DataSourceTransactionManager : Custom isolation level specified but no actual transaction initiated; isolation level will effectively be ignored: PROPAGATION_SUPPORTS,ISOLATION_READ_COMMITTED,readOnly,-java.lang.Exception +2026-06-17 23:06:45.029 WARN 23112 --- [http-nio-8101-exec-2] o.s.j.d.DataSourceTransactionManager : Custom isolation level specified but no actual transaction initiated; isolation level will effectively be ignored: PROPAGATION_SUPPORTS,ISOLATION_READ_COMMITTED,readOnly,-java.lang.Exception +2026-06-17 23:06:45.034 WARN 23112 --- [http-nio-8101-exec-1] o.s.j.d.DataSourceTransactionManager : Custom isolation level specified but no actual transaction initiated; isolation level will effectively be ignored: PROPAGATION_SUPPORTS,ISOLATION_READ_COMMITTED,readOnly,-java.lang.Exception +2026-06-17 23:06:45.035 WARN 23112 --- [http-nio-8101-exec-5] o.s.j.d.DataSourceTransactionManager : Custom isolation level specified but no actual transaction initiated; isolation level will effectively be ignored: PROPAGATION_SUPPORTS,ISOLATION_READ_COMMITTED,readOnly,-java.lang.Exception +2026-06-17 23:06:45.104 WARN 23112 --- [http-nio-8101-exec-6] o.s.j.d.DataSourceTransactionManager : Custom isolation level specified but no actual transaction initiated; isolation level will effectively be ignored: PROPAGATION_SUPPORTS,ISOLATION_READ_COMMITTED,readOnly,-java.lang.Exception +2026-06-17 23:06:45.239 WARN 23112 --- [http-nio-8101-exec-4] o.s.j.d.DataSourceTransactionManager : Custom isolation level specified but no actual transaction initiated; isolation level will effectively be ignored: PROPAGATION_SUPPORTS,ISOLATION_READ_COMMITTED,readOnly,-java.lang.Exception +2026-06-17 23:06:45.239 WARN 23112 --- [http-nio-8101-exec-7] o.s.j.d.DataSourceTransactionManager : Custom isolation level specified but no actual transaction initiated; isolation level will effectively be ignored: PROPAGATION_SUPPORTS,ISOLATION_READ_COMMITTED,readOnly,-java.lang.Exception +2026-06-17 23:06:45.239 WARN 23112 --- [http-nio-8101-exec-3] o.s.j.d.DataSourceTransactionManager : Custom isolation level specified but no actual transaction initiated; isolation level will effectively be ignored: PROPAGATION_SUPPORTS,ISOLATION_READ_COMMITTED,readOnly,-java.lang.Exception +2026-06-17 23:06:45.268 WARN 23112 --- [http-nio-8101-exec-9] o.s.j.d.DataSourceTransactionManager : Custom isolation level specified but no actual transaction initiated; isolation level will effectively be ignored: PROPAGATION_SUPPORTS,ISOLATION_READ_COMMITTED,readOnly,-java.lang.Exception +2026-06-17 23:06:45.276 WARN 23112 --- [http-nio-8101-exec-8] o.s.j.d.DataSourceTransactionManager : Custom isolation level specified but no actual transaction initiated; isolation level will effectively be ignored: PROPAGATION_SUPPORTS,ISOLATION_READ_COMMITTED,readOnly,-java.lang.Exception +2026-06-17 23:06:45.282 WARN 23112 --- [http-nio-8101-exec-10] o.s.j.d.DataSourceTransactionManager : Custom isolation level specified but no actual transaction initiated; isolation level will effectively be ignored: PROPAGATION_SUPPORTS,ISOLATION_READ_COMMITTED,readOnly,-java.lang.Exception +2026-06-17 23:06:45.291 WARN 23112 --- [http-nio-8101-exec-1] o.s.j.d.DataSourceTransactionManager : Custom isolation level specified but no actual transaction initiated; isolation level will effectively be ignored: PROPAGATION_SUPPORTS,ISOLATION_READ_COMMITTED,readOnly,-java.lang.Exception +2026-06-17 23:06:45.299 WARN 23112 --- [http-nio-8101-exec-2] o.s.j.d.DataSourceTransactionManager : Custom isolation level specified but no actual transaction initiated; isolation level will effectively be ignored: PROPAGATION_SUPPORTS,ISOLATION_READ_COMMITTED,readOnly,-java.lang.Exception +2026-06-17 23:06:45.303 WARN 23112 --- [http-nio-8101-exec-5] o.s.j.d.DataSourceTransactionManager : Custom isolation level specified but no actual transaction initiated; isolation level will effectively be ignored: PROPAGATION_SUPPORTS,ISOLATION_READ_COMMITTED,readOnly,-java.lang.Exception +2026-06-17 23:06:50.980 INFO 23112 --- [Thread-10] o.s.s.concurrent.ThreadPoolTaskExecutor : Shutting down ExecutorService 'asyncExecutor' +2026-06-17 23:06:50.980 INFO 23112 --- [Thread-10] o.s.s.c.ThreadPoolTaskScheduler : Shutting down ExecutorService 'taskScheduler' +2026-06-17 23:06:50.980 INFO 23112 --- [Thread-10] o.s.s.c.ThreadPoolTaskScheduler : Shutting down ExecutorService 'taskScheduler' +2026-06-17 23:06:50.981 INFO 23112 --- [Thread-10] com.alibaba.druid.pool.DruidDataSource : {dataSource-1} closing ... +2026-06-17 23:06:50.986 INFO 23112 --- [Thread-10] com.alibaba.druid.pool.DruidDataSource : {dataSource-1} closed +2026-06-17 23:06:53.777 INFO 19220 --- [main] com.bc.exam.ExamApplication : Starting ExamApplication on yx with PID 19220 (D:\git\exam-jyt\exam-api\target\classes started by 75514 in D:\git\exam-jyt) +2026-06-17 23:06:53.779 INFO 19220 --- [main] com.bc.exam.ExamApplication : The following profiles are active: dev +2026-06-17 23:06:54.482 INFO 19220 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'scheduledConfig' of type [com.bc.exam.config.ScheduledConfig$$EnhancerBySpringCGLIB$$8257a827] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2026-06-17 23:06:54.492 INFO 19220 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'shiroConfig' of type [com.bc.exam.config.ShiroConfig$$EnhancerBySpringCGLIB$$8396f06b] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2026-06-17 23:06:54.529 INFO 19220 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'shiroRealm' of type [com.bc.exam.ability.shiro.ShiroRealm] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2026-06-17 23:06:54.672 INFO 19220 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'securityManager' of type [org.apache.shiro.web.mgt.DefaultWebSecurityManager] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2026-06-17 23:06:54.694 INFO 19220 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'authorizationAttributeSourceAdvisor' of type [org.apache.shiro.spring.security.interceptor.AuthorizationAttributeSourceAdvisor] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2026-06-17 23:06:54.726 INFO 19220 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration' of type [org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration$$EnhancerBySpringCGLIB$$cedb0470] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2026-06-17 23:06:54.740 INFO 19220 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'com.alibaba.druid.spring.boot.autoconfigure.DruidDataSourceAutoConfigure' of type [com.alibaba.druid.spring.boot.autoconfigure.DruidDataSourceAutoConfigure$$EnhancerBySpringCGLIB$$e886f9e2] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2026-06-17 23:06:54.742 INFO 19220 --- [main] c.a.d.s.b.a.DruidDataSourceAutoConfigure : Init DruidDataSource +2026-06-17 23:06:54.788 INFO 19220 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'spring.datasource-org.springframework.boot.autoconfigure.jdbc.DataSourceProperties' of type [org.springframework.boot.autoconfigure.jdbc.DataSourceProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2026-06-17 23:06:54.825 INFO 19220 --- [main] com.alibaba.druid.pool.DruidDataSource : {dataSource-1} inited +2026-06-17 23:06:54.825 INFO 19220 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'dataSource' of type [com.alibaba.druid.spring.boot.autoconfigure.DruidDataSourceWrapper] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2026-06-17 23:06:54.860 INFO 19220 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.boot.autoconfigure.jdbc.DataSourceInitializerInvoker' of type [org.springframework.boot.autoconfigure.jdbc.DataSourceInitializerInvoker] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2026-06-17 23:06:54.866 INFO 19220 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.boot.autoconfigure.transaction.TransactionAutoConfiguration' of type [org.springframework.boot.autoconfigure.transaction.TransactionAutoConfiguration$$EnhancerBySpringCGLIB$$634eff7a] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2026-06-17 23:06:54.872 INFO 19220 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'spring.transaction-org.springframework.boot.autoconfigure.transaction.TransactionProperties' of type [org.springframework.boot.autoconfigure.transaction.TransactionProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2026-06-17 23:06:54.874 INFO 19220 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'platformTransactionManagerCustomizers' of type [org.springframework.boot.autoconfigure.transaction.TransactionManagerCustomizers] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2026-06-17 23:06:54.875 INFO 19220 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.boot.autoconfigure.jdbc.DataSourceTransactionManagerAutoConfiguration$DataSourceTransactionManagerConfiguration' of type [org.springframework.boot.autoconfigure.jdbc.DataSourceTransactionManagerAutoConfiguration$DataSourceTransactionManagerConfiguration$$EnhancerBySpringCGLIB$$7bdb9cdf] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2026-06-17 23:06:54.882 INFO 19220 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'transactionManager' of type [org.springframework.jdbc.datasource.DataSourceTransactionManager] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2026-06-17 23:06:54.883 INFO 19220 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'transactionAopConfig' of type [com.bc.exam.config.TransactionAopConfig$$EnhancerBySpringCGLIB$$c576dbf8] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2026-06-17 23:06:54.897 INFO 19220 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'txAdvice' of type [org.springframework.transaction.interceptor.TransactionInterceptor] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2026-06-17 23:06:54.897 INFO 19220 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'advisor' of type [org.springframework.aop.support.DefaultPointcutAdvisor] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2026-06-17 23:06:54.972 INFO 19220 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'org.apache.shiro.spring.boot.autoconfigure.ShiroBeanAutoConfiguration' of type [org.apache.shiro.spring.boot.autoconfigure.ShiroBeanAutoConfiguration$$EnhancerBySpringCGLIB$$e1f3e220] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2026-06-17 23:06:54.975 INFO 19220 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'eventBus' of type [org.apache.shiro.event.support.DefaultEventBus] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2026-06-17 23:06:55.284 INFO 19220 --- [main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port(s): 8101 (http) +2026-06-17 23:06:55.304 INFO 19220 --- [main] o.apache.catalina.core.StandardService : Starting service [Tomcat] +2026-06-17 23:06:55.304 INFO 19220 --- [main] org.apache.catalina.core.StandardEngine : Starting Servlet engine: [Apache Tomcat/9.0.17] +2026-06-17 23:06:55.387 INFO 19220 --- [main] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring embedded WebApplicationContext +2026-06-17 23:06:55.387 INFO 19220 --- [main] o.s.web.context.ContextLoader : Root WebApplicationContext: initialization completed in 1573 ms +2026-06-17 23:06:56.748 INFO 19220 --- [main] o.s.s.c.ThreadPoolTaskScheduler : Initializing ExecutorService 'taskScheduler' +2026-06-17 23:06:56.757 INFO 19220 --- [main] o.s.s.concurrent.ThreadPoolTaskExecutor : Initializing ExecutorService +2026-06-17 23:06:56.758 INFO 19220 --- [main] o.s.s.concurrent.ThreadPoolTaskExecutor : Initializing ExecutorService 'asyncExecutor' +2026-06-17 23:06:56.767 INFO 19220 --- [main] pertySourcedRequestMappingHandlerMapping : Mapped URL path [/v2/api-docs] onto method [public org.springframework.http.ResponseEntity springfox.documentation.swagger2.web.Swagger2Controller.getDocumentation(java.lang.String,javax.servlet.http.HttpServletRequest)] +2026-06-17 23:06:57.081 INFO 19220 --- [main] o.s.b.a.w.s.WelcomePageHandlerMapping : Adding welcome page: class path resource [static/index.html] +2026-06-17 23:06:57.212 INFO 19220 --- [main] d.s.w.p.DocumentationPluginsBootstrapper : Context refreshed +2026-06-17 23:06:57.236 INFO 19220 --- [main] d.s.w.p.DocumentationPluginsBootstrapper : Found 1 custom documentation plugin(s) +2026-06-17 23:06:57.282 INFO 19220 --- [main] s.d.s.w.s.ApiListingReferenceScanner : Scanning for api listing references +2026-06-17 23:06:57.444 INFO 19220 --- [main] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: findUsingPOST_1 +2026-06-17 23:06:57.453 INFO 19220 --- [main] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: saveUsingPOST_1 +2026-06-17 23:06:57.460 INFO 19220 --- [main] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: listUsingPOST_1 +2026-06-17 23:06:57.464 INFO 19220 --- [main] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: pagingUsingPOST_1 +2026-06-17 23:06:57.467 INFO 19220 --- [main] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: editUsingPOST_1 +2026-06-17 23:06:57.481 INFO 19220 --- [main] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: pagingUsingPOST_2 +2026-06-17 23:06:57.486 INFO 19220 --- [main] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: saveUsingPOST_2 +2026-06-17 23:06:57.533 INFO 19220 --- [main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat started on port(s): 8101 (http) with context path '' +2026-06-17 23:06:57.536 INFO 19220 --- [main] com.bc.exam.ExamApplication : Started ExamApplication in 4.035 seconds (JVM running for 4.502) +2026-06-17 23:06:57.539 INFO 19220 --- [main] com.bc.exam.ExamApplication : +---------------------------------------------------------- + 系统启动成功,访问路径如下: + 本地路径: http://127.0.0.1:8101/ + 网络地址: http://192.168.3.104:8101/ + API文档: http://192.168.3.104:8101/doc.html +---------------------------------------------------------- +2026-06-17 23:06:59.659 INFO 19220 --- [http-nio-8101-exec-1] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring DispatcherServlet 'dispatcherServlet' +2026-06-17 23:06:59.660 INFO 19220 --- [http-nio-8101-exec-1] o.s.web.servlet.DispatcherServlet : Initializing Servlet 'dispatcherServlet' +2026-06-17 23:06:59.669 INFO 19220 --- [http-nio-8101-exec-1] o.s.web.servlet.DispatcherServlet : Completed initialization in 9 ms +2026-06-17 23:06:59.758 WARN 19220 --- [http-nio-8101-exec-1] o.s.j.d.DataSourceTransactionManager : Custom isolation level specified but no actual transaction initiated; isolation level will effectively be ignored: PROPAGATION_SUPPORTS,ISOLATION_READ_COMMITTED,readOnly,-java.lang.Exception +2026-06-17 23:07:00.167 INFO 19220 --- [http-nio-8101-exec-1] org.dozer.config.GlobalSettings : Trying to find Dozer configuration file: dozer.properties +2026-06-17 23:07:00.178 WARN 19220 --- [http-nio-8101-exec-1] org.dozer.config.GlobalSettings : Dozer configuration file not found: dozer.properties. Using defaults for all Dozer global properties. +2026-06-17 23:07:00.180 INFO 19220 --- [http-nio-8101-exec-1] org.dozer.DozerInitializer : Initializing Dozer. Version: 5.5.0, Thread Name: http-nio-8101-exec-1 +2026-06-17 23:07:00.184 INFO 19220 --- [http-nio-8101-exec-1] org.dozer.jmx.JMXPlatformImpl : Dozer JMX MBean [org.dozer.jmx:type=DozerStatisticsController] auto registered with the Platform MBean Server +2026-06-17 23:07:00.185 INFO 19220 --- [http-nio-8101-exec-1] org.dozer.jmx.JMXPlatformImpl : Dozer JMX MBean [org.dozer.jmx:type=DozerAdminController] auto registered with the Platform MBean Server +2026-06-17 23:07:00.185 INFO 19220 --- [http-nio-8101-exec-1] org.dozer.DozerBeanMapper : Initializing a new instance of dozer bean mapper. +2026-06-17 23:07:02.227 WARN 19220 --- [http-nio-8101-exec-4] o.s.j.d.DataSourceTransactionManager : Custom isolation level specified but no actual transaction initiated; isolation level will effectively be ignored: PROPAGATION_SUPPORTS,ISOLATION_READ_COMMITTED,readOnly,-java.lang.Exception +2026-06-17 23:07:02.968 WARN 19220 --- [http-nio-8101-exec-6] o.s.j.d.DataSourceTransactionManager : Custom isolation level specified but no actual transaction initiated; isolation level will effectively be ignored: PROPAGATION_SUPPORTS,ISOLATION_READ_COMMITTED,readOnly,-java.lang.Exception +2026-06-17 23:07:02.972 WARN 19220 --- [http-nio-8101-exec-10] o.s.j.d.DataSourceTransactionManager : Custom isolation level specified but no actual transaction initiated; isolation level will effectively be ignored: PROPAGATION_SUPPORTS,ISOLATION_READ_COMMITTED,readOnly,-java.lang.Exception +2026-06-17 23:07:02.977 WARN 19220 --- [http-nio-8101-exec-9] o.s.j.d.DataSourceTransactionManager : Custom isolation level specified but no actual transaction initiated; isolation level will effectively be ignored: PROPAGATION_SUPPORTS,ISOLATION_READ_COMMITTED,readOnly,-java.lang.Exception +2026-06-17 23:07:02.977 WARN 19220 --- [http-nio-8101-exec-8] o.s.j.d.DataSourceTransactionManager : Custom isolation level specified but no actual transaction initiated; isolation level will effectively be ignored: PROPAGATION_SUPPORTS,ISOLATION_READ_COMMITTED,readOnly,-java.lang.Exception +2026-06-17 23:07:02.983 WARN 19220 --- [http-nio-8101-exec-1] o.s.j.d.DataSourceTransactionManager : Custom isolation level specified but no actual transaction initiated; isolation level will effectively be ignored: PROPAGATION_SUPPORTS,ISOLATION_READ_COMMITTED,readOnly,-java.lang.Exception +2026-06-17 23:07:02.985 WARN 19220 --- [http-nio-8101-exec-7] o.s.j.d.DataSourceTransactionManager : Custom isolation level specified but no actual transaction initiated; isolation level will effectively be ignored: PROPAGATION_SUPPORTS,ISOLATION_READ_COMMITTED,readOnly,-java.lang.Exception +2026-06-17 23:07:03.061 WARN 19220 --- [http-nio-8101-exec-4] o.s.j.d.DataSourceTransactionManager : Custom isolation level specified but no actual transaction initiated; isolation level will effectively be ignored: PROPAGATION_SUPPORTS,ISOLATION_READ_COMMITTED,readOnly,-java.lang.Exception +2026-06-17 23:07:03.064 WARN 19220 --- [http-nio-8101-exec-5] o.s.j.d.DataSourceTransactionManager : Custom isolation level specified but no actual transaction initiated; isolation level will effectively be ignored: PROPAGATION_SUPPORTS,ISOLATION_READ_COMMITTED,readOnly,-java.lang.Exception +2026-06-17 23:07:03.067 WARN 19220 --- [http-nio-8101-exec-2] o.s.j.d.DataSourceTransactionManager : Custom isolation level specified but no actual transaction initiated; isolation level will effectively be ignored: PROPAGATION_SUPPORTS,ISOLATION_READ_COMMITTED,readOnly,-java.lang.Exception +2026-06-17 23:07:03.067 WARN 19220 --- [http-nio-8101-exec-6] o.s.j.d.DataSourceTransactionManager : Custom isolation level specified but no actual transaction initiated; isolation level will effectively be ignored: PROPAGATION_SUPPORTS,ISOLATION_READ_COMMITTED,readOnly,-java.lang.Exception +2026-06-17 23:07:03.078 WARN 19220 --- [http-nio-8101-exec-10] o.s.j.d.DataSourceTransactionManager : Custom isolation level specified but no actual transaction initiated; isolation level will effectively be ignored: PROPAGATION_SUPPORTS,ISOLATION_READ_COMMITTED,readOnly,-java.lang.Exception +2026-06-17 23:07:03.101 WARN 19220 --- [http-nio-8101-exec-3] o.s.j.d.DataSourceTransactionManager : Custom isolation level specified but no actual transaction initiated; isolation level will effectively be ignored: PROPAGATION_SUPPORTS,ISOLATION_READ_COMMITTED,readOnly,-java.lang.Exception +2026-06-17 23:07:03.120 WARN 19220 --- [http-nio-8101-exec-9] o.s.j.d.DataSourceTransactionManager : Custom isolation level specified but no actual transaction initiated; isolation level will effectively be ignored: PROPAGATION_SUPPORTS,ISOLATION_READ_COMMITTED,readOnly,-java.lang.Exception +2026-06-17 23:07:03.123 WARN 19220 --- [http-nio-8101-exec-7] o.s.j.d.DataSourceTransactionManager : Custom isolation level specified but no actual transaction initiated; isolation level will effectively be ignored: PROPAGATION_SUPPORTS,ISOLATION_READ_COMMITTED,readOnly,-java.lang.Exception +2026-06-17 23:07:03.123 WARN 19220 --- [http-nio-8101-exec-8] o.s.j.d.DataSourceTransactionManager : Custom isolation level specified but no actual transaction initiated; isolation level will effectively be ignored: PROPAGATION_SUPPORTS,ISOLATION_READ_COMMITTED,readOnly,-java.lang.Exception +2026-06-17 23:07:03.123 WARN 19220 --- [http-nio-8101-exec-1] o.s.j.d.DataSourceTransactionManager : Custom isolation level specified but no actual transaction initiated; isolation level will effectively be ignored: PROPAGATION_SUPPORTS,ISOLATION_READ_COMMITTED,readOnly,-java.lang.Exception +2026-06-17 23:07:03.809 WARN 19220 --- [http-nio-8101-exec-10] o.s.j.d.DataSourceTransactionManager : Custom isolation level specified but no actual transaction initiated; isolation level will effectively be ignored: PROPAGATION_SUPPORTS,ISOLATION_READ_COMMITTED,readOnly,-java.lang.Exception +2026-06-17 23:07:05.592 WARN 19220 --- [http-nio-8101-exec-1] o.s.j.d.DataSourceTransactionManager : Custom isolation level specified but no actual transaction initiated; isolation level will effectively be ignored: PROPAGATION_SUPPORTS,ISOLATION_READ_COMMITTED,readOnly,-java.lang.Exception +2026-06-17 23:07:05.592 WARN 19220 --- [http-nio-8101-exec-8] o.s.j.d.DataSourceTransactionManager : Custom isolation level specified but no actual transaction initiated; isolation level will effectively be ignored: PROPAGATION_SUPPORTS,ISOLATION_READ_COMMITTED,readOnly,-java.lang.Exception +2026-06-17 23:07:05.604 WARN 19220 --- [http-nio-8101-exec-8] o.s.j.d.DataSourceTransactionManager : Custom isolation level specified but no actual transaction initiated; isolation level will effectively be ignored: PROPAGATION_SUPPORTS,ISOLATION_READ_COMMITTED,readOnly,-java.lang.Exception +2026-06-17 23:07:05.604 WARN 19220 --- [http-nio-8101-exec-1] o.s.j.d.DataSourceTransactionManager : Custom isolation level specified but no actual transaction initiated; isolation level will effectively be ignored: PROPAGATION_SUPPORTS,ISOLATION_READ_COMMITTED,readOnly,-java.lang.Exception +2026-06-17 23:07:06.363 WARN 19220 --- [http-nio-8101-exec-10] o.s.j.d.DataSourceTransactionManager : Custom isolation level specified but no actual transaction initiated; isolation level will effectively be ignored: PROPAGATION_SUPPORTS,ISOLATION_READ_COMMITTED,readOnly,-java.lang.Exception +2026-06-17 23:07:06.365 WARN 19220 --- [http-nio-8101-exec-5] o.s.j.d.DataSourceTransactionManager : Custom isolation level specified but no actual transaction initiated; isolation level will effectively be ignored: PROPAGATION_SUPPORTS,ISOLATION_READ_COMMITTED,readOnly,-java.lang.Exception +2026-06-17 23:07:06.370 WARN 19220 --- [http-nio-8101-exec-10] o.s.j.d.DataSourceTransactionManager : Custom isolation level specified but no actual transaction initiated; isolation level will effectively be ignored: PROPAGATION_SUPPORTS,ISOLATION_READ_COMMITTED,readOnly,-java.lang.Exception +2026-06-17 23:07:06.373 WARN 19220 --- [http-nio-8101-exec-5] o.s.j.d.DataSourceTransactionManager : Custom isolation level specified but no actual transaction initiated; isolation level will effectively be ignored: PROPAGATION_SUPPORTS,ISOLATION_READ_COMMITTED,readOnly,-java.lang.Exception +2026-06-17 23:11:54.709 WARN 19220 --- [http-nio-8101-exec-6] o.s.j.d.DataSourceTransactionManager : Custom isolation level specified but no actual transaction initiated; isolation level will effectively be ignored: PROPAGATION_SUPPORTS,ISOLATION_READ_COMMITTED,readOnly,-java.lang.Exception +2026-06-17 23:12:01.340 WARN 19220 --- [http-nio-8101-exec-9] o.s.j.d.DataSourceTransactionManager : Custom isolation level specified but no actual transaction initiated; isolation level will effectively be ignored: PROPAGATION_SUPPORTS,ISOLATION_READ_COMMITTED,readOnly,-java.lang.Exception +2026-06-17 23:31:24.706 INFO 19220 --- [Thread-10] o.s.s.concurrent.ThreadPoolTaskExecutor : Shutting down ExecutorService 'asyncExecutor' +2026-06-17 23:31:24.707 INFO 19220 --- [Thread-10] o.s.s.c.ThreadPoolTaskScheduler : Shutting down ExecutorService 'taskScheduler' +2026-06-17 23:31:24.707 INFO 19220 --- [Thread-10] o.s.s.c.ThreadPoolTaskScheduler : Shutting down ExecutorService 'taskScheduler' +2026-06-17 23:31:24.708 INFO 19220 --- [Thread-10] com.alibaba.druid.pool.DruidDataSource : {dataSource-1} closing ... +2026-06-17 23:31:24.712 INFO 19220 --- [Thread-10] com.alibaba.druid.pool.DruidDataSource : {dataSource-1} closed +2026-06-17 23:31:29.852 INFO 22164 --- [main] com.bc.exam.ExamApplication : Starting ExamApplication on yx with PID 22164 (D:\git\exam-jyt\exam-api\target\classes started by 75514 in D:\git\exam-jyt) +2026-06-17 23:31:29.854 INFO 22164 --- [main] com.bc.exam.ExamApplication : The following profiles are active: dev +2026-06-17 23:31:30.589 INFO 22164 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'scheduledConfig' of type [com.bc.exam.config.ScheduledConfig$$EnhancerBySpringCGLIB$$efe035ca] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2026-06-17 23:31:30.599 INFO 22164 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'shiroConfig' of type [com.bc.exam.config.ShiroConfig$$EnhancerBySpringCGLIB$$f11f7e0e] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2026-06-17 23:31:30.635 INFO 22164 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'shiroRealm' of type [com.bc.exam.ability.shiro.ShiroRealm] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2026-06-17 23:31:30.785 INFO 22164 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'securityManager' of type [org.apache.shiro.web.mgt.DefaultWebSecurityManager] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2026-06-17 23:31:30.806 INFO 22164 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'authorizationAttributeSourceAdvisor' of type [org.apache.shiro.spring.security.interceptor.AuthorizationAttributeSourceAdvisor] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2026-06-17 23:31:30.836 INFO 22164 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration' of type [org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration$$EnhancerBySpringCGLIB$$3c639213] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2026-06-17 23:31:30.849 INFO 22164 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'com.alibaba.druid.spring.boot.autoconfigure.DruidDataSourceAutoConfigure' of type [com.alibaba.druid.spring.boot.autoconfigure.DruidDataSourceAutoConfigure$$EnhancerBySpringCGLIB$$560f8785] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2026-06-17 23:31:30.853 INFO 22164 --- [main] c.a.d.s.b.a.DruidDataSourceAutoConfigure : Init DruidDataSource +2026-06-17 23:31:30.902 INFO 22164 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'spring.datasource-org.springframework.boot.autoconfigure.jdbc.DataSourceProperties' of type [org.springframework.boot.autoconfigure.jdbc.DataSourceProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2026-06-17 23:31:30.939 INFO 22164 --- [main] com.alibaba.druid.pool.DruidDataSource : {dataSource-1} inited +2026-06-17 23:31:30.939 INFO 22164 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'dataSource' of type [com.alibaba.druid.spring.boot.autoconfigure.DruidDataSourceWrapper] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2026-06-17 23:31:30.974 INFO 22164 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.boot.autoconfigure.jdbc.DataSourceInitializerInvoker' of type [org.springframework.boot.autoconfigure.jdbc.DataSourceInitializerInvoker] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2026-06-17 23:31:30.981 INFO 22164 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.boot.autoconfigure.transaction.TransactionAutoConfiguration' of type [org.springframework.boot.autoconfigure.transaction.TransactionAutoConfiguration$$EnhancerBySpringCGLIB$$d0d78d1d] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2026-06-17 23:31:30.987 INFO 22164 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'spring.transaction-org.springframework.boot.autoconfigure.transaction.TransactionProperties' of type [org.springframework.boot.autoconfigure.transaction.TransactionProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2026-06-17 23:31:30.989 INFO 22164 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'platformTransactionManagerCustomizers' of type [org.springframework.boot.autoconfigure.transaction.TransactionManagerCustomizers] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2026-06-17 23:31:30.989 INFO 22164 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.boot.autoconfigure.jdbc.DataSourceTransactionManagerAutoConfiguration$DataSourceTransactionManagerConfiguration' of type [org.springframework.boot.autoconfigure.jdbc.DataSourceTransactionManagerAutoConfiguration$DataSourceTransactionManagerConfiguration$$EnhancerBySpringCGLIB$$e9642a82] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2026-06-17 23:31:30.997 INFO 22164 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'transactionManager' of type [org.springframework.jdbc.datasource.DataSourceTransactionManager] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2026-06-17 23:31:30.999 INFO 22164 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'transactionAopConfig' of type [com.bc.exam.config.TransactionAopConfig$$EnhancerBySpringCGLIB$$32ff699b] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2026-06-17 23:31:31.005 INFO 22164 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'txAdvice' of type [org.springframework.transaction.interceptor.TransactionInterceptor] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2026-06-17 23:31:31.005 INFO 22164 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'advisor' of type [org.springframework.aop.support.DefaultPointcutAdvisor] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2026-06-17 23:31:31.090 INFO 22164 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'org.apache.shiro.spring.boot.autoconfigure.ShiroBeanAutoConfiguration' of type [org.apache.shiro.spring.boot.autoconfigure.ShiroBeanAutoConfiguration$$EnhancerBySpringCGLIB$$4f7c6fc3] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2026-06-17 23:31:31.093 INFO 22164 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'eventBus' of type [org.apache.shiro.event.support.DefaultEventBus] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2026-06-17 23:31:31.401 INFO 22164 --- [main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port(s): 8101 (http) +2026-06-17 23:31:31.420 INFO 22164 --- [main] o.apache.catalina.core.StandardService : Starting service [Tomcat] +2026-06-17 23:31:31.421 INFO 22164 --- [main] org.apache.catalina.core.StandardEngine : Starting Servlet engine: [Apache Tomcat/9.0.17] +2026-06-17 23:31:31.508 INFO 22164 --- [main] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring embedded WebApplicationContext +2026-06-17 23:31:31.509 INFO 22164 --- [main] o.s.web.context.ContextLoader : Root WebApplicationContext: initialization completed in 1618 ms +2026-06-17 23:31:31.982 WARN 22164 --- [main] ConfigServletWebServerApplicationContext : Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'sysConfigController': Unsatisfied dependency expressed through field 'baseService'; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'sysConfigServiceImpl': Unsatisfied dependency expressed through field 'baseMapper'; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'sysConfigMapper' defined in file [D:\git\exam-jyt\exam-api\target\classes\com\bc\exam\modules\config\mapper\SysConfigMapper.class]: Unsatisfied dependency expressed through bean property 'sqlSessionFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sqlSessionFactory' defined in class path resource [com/baomidou/mybatisplus/autoconfigure/MybatisPlusAutoConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.apache.ibatis.session.SqlSessionFactory]: Factory method 'sqlSessionFactory' threw exception; nested exception is org.springframework.core.NestedIOException: Failed to parse mapping resource: 'file [D:\git\exam-jyt\exam-api\target\classes\mapper\sys\depart\SysDepartMapper.xml]'; nested exception is org.apache.ibatis.builder.BuilderException: Error parsing Mapper XML. The XML location is 'file [D:\git\exam-jyt\exam-api\target\classes\mapper\sys\depart\SysDepartMapper.xml]'. Cause: org.apache.ibatis.builder.BuilderException: Error resolving class. Cause: org.apache.ibatis.type.TypeException: Could not resolve type alias 'com.bc.exam.modules.depart.entity.SysDepart'. Cause: java.lang.ClassNotFoundException: Cannot find class: com.bc.exam.modules.depart.entity.SysDepart +2026-06-17 23:31:31.983 INFO 22164 --- [main] com.alibaba.druid.pool.DruidDataSource : {dataSource-1} closing ... +2026-06-17 23:31:31.984 INFO 22164 --- [main] com.alibaba.druid.pool.DruidDataSource : {dataSource-1} closed +2026-06-17 23:31:31.986 INFO 22164 --- [main] o.apache.catalina.core.StandardService : Stopping service [Tomcat] +2026-06-17 23:31:31.993 INFO 22164 --- [main] ConditionEvaluationReportLoggingListener : + +Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled. +2026-06-17 23:31:32.002 ERROR 22164 --- [main] o.s.boot.SpringApplication : Application run failed + +org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'sysConfigController': Unsatisfied dependency expressed through field 'baseService'; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'sysConfigServiceImpl': Unsatisfied dependency expressed through field 'baseMapper'; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'sysConfigMapper' defined in file [D:\git\exam-jyt\exam-api\target\classes\com\bc\exam\modules\config\mapper\SysConfigMapper.class]: Unsatisfied dependency expressed through bean property 'sqlSessionFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sqlSessionFactory' defined in class path resource [com/baomidou/mybatisplus/autoconfigure/MybatisPlusAutoConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.apache.ibatis.session.SqlSessionFactory]: Factory method 'sqlSessionFactory' threw exception; nested exception is org.springframework.core.NestedIOException: Failed to parse mapping resource: 'file [D:\git\exam-jyt\exam-api\target\classes\mapper\sys\depart\SysDepartMapper.xml]'; nested exception is org.apache.ibatis.builder.BuilderException: Error parsing Mapper XML. The XML location is 'file [D:\git\exam-jyt\exam-api\target\classes\mapper\sys\depart\SysDepartMapper.xml]'. Cause: org.apache.ibatis.builder.BuilderException: Error resolving class. Cause: org.apache.ibatis.type.TypeException: Could not resolve type alias 'com.bc.exam.modules.depart.entity.SysDepart'. Cause: java.lang.ClassNotFoundException: Cannot find class: com.bc.exam.modules.depart.entity.SysDepart + at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:596) ~[spring-beans-5.1.6.RELEASE.jar:5.1.6.RELEASE] + at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:90) ~[spring-beans-5.1.6.RELEASE.jar:5.1.6.RELEASE] + at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessProperties(AutowiredAnnotationBeanPostProcessor.java:374) ~[spring-beans-5.1.6.RELEASE.jar:5.1.6.RELEASE] + at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1411) ~[spring-beans-5.1.6.RELEASE.jar:5.1.6.RELEASE] + at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:592) ~[spring-beans-5.1.6.RELEASE.jar:5.1.6.RELEASE] + at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:515) ~[spring-beans-5.1.6.RELEASE.jar:5.1.6.RELEASE] + at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:320) ~[spring-beans-5.1.6.RELEASE.jar:5.1.6.RELEASE] + at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222) ~[spring-beans-5.1.6.RELEASE.jar:5.1.6.RELEASE] + at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:318) ~[spring-beans-5.1.6.RELEASE.jar:5.1.6.RELEASE] + at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:199) ~[spring-beans-5.1.6.RELEASE.jar:5.1.6.RELEASE] + at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:849) ~[spring-beans-5.1.6.RELEASE.jar:5.1.6.RELEASE] + at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:877) ~[spring-context-5.1.6.RELEASE.jar:5.1.6.RELEASE] + at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:549) ~[spring-context-5.1.6.RELEASE.jar:5.1.6.RELEASE] + at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:142) ~[spring-boot-2.1.4.RELEASE.jar:2.1.4.RELEASE] + at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:775) [spring-boot-2.1.4.RELEASE.jar:2.1.4.RELEASE] + at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:397) [spring-boot-2.1.4.RELEASE.jar:2.1.4.RELEASE] + at org.springframework.boot.SpringApplication.run(SpringApplication.java:316) [spring-boot-2.1.4.RELEASE.jar:2.1.4.RELEASE] + at org.springframework.boot.SpringApplication.run(SpringApplication.java:1260) [spring-boot-2.1.4.RELEASE.jar:2.1.4.RELEASE] + at org.springframework.boot.SpringApplication.run(SpringApplication.java:1248) [spring-boot-2.1.4.RELEASE.jar:2.1.4.RELEASE] + at com.bc.exam.ExamApplication.main(ExamApplication.java:28) [classes/:na] +Caused by: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'sysConfigServiceImpl': Unsatisfied dependency expressed through field 'baseMapper'; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'sysConfigMapper' defined in file [D:\git\exam-jyt\exam-api\target\classes\com\bc\exam\modules\config\mapper\SysConfigMapper.class]: Unsatisfied dependency expressed through bean property 'sqlSessionFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sqlSessionFactory' defined in class path resource [com/baomidou/mybatisplus/autoconfigure/MybatisPlusAutoConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.apache.ibatis.session.SqlSessionFactory]: Factory method 'sqlSessionFactory' threw exception; nested exception is org.springframework.core.NestedIOException: Failed to parse mapping resource: 'file [D:\git\exam-jyt\exam-api\target\classes\mapper\sys\depart\SysDepartMapper.xml]'; nested exception is org.apache.ibatis.builder.BuilderException: Error parsing Mapper XML. The XML location is 'file [D:\git\exam-jyt\exam-api\target\classes\mapper\sys\depart\SysDepartMapper.xml]'. Cause: org.apache.ibatis.builder.BuilderException: Error resolving class. Cause: org.apache.ibatis.type.TypeException: Could not resolve type alias 'com.bc.exam.modules.depart.entity.SysDepart'. Cause: java.lang.ClassNotFoundException: Cannot find class: com.bc.exam.modules.depart.entity.SysDepart + at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:596) ~[spring-beans-5.1.6.RELEASE.jar:5.1.6.RELEASE] + at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:90) ~[spring-beans-5.1.6.RELEASE.jar:5.1.6.RELEASE] + at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessProperties(AutowiredAnnotationBeanPostProcessor.java:374) ~[spring-beans-5.1.6.RELEASE.jar:5.1.6.RELEASE] + at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1411) ~[spring-beans-5.1.6.RELEASE.jar:5.1.6.RELEASE] + at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:592) ~[spring-beans-5.1.6.RELEASE.jar:5.1.6.RELEASE] + at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:515) ~[spring-beans-5.1.6.RELEASE.jar:5.1.6.RELEASE] + at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:320) ~[spring-beans-5.1.6.RELEASE.jar:5.1.6.RELEASE] + at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222) ~[spring-beans-5.1.6.RELEASE.jar:5.1.6.RELEASE] + at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:318) ~[spring-beans-5.1.6.RELEASE.jar:5.1.6.RELEASE] + at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:199) ~[spring-beans-5.1.6.RELEASE.jar:5.1.6.RELEASE] + at org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:277) ~[spring-beans-5.1.6.RELEASE.jar:5.1.6.RELEASE] + at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1247) ~[spring-beans-5.1.6.RELEASE.jar:5.1.6.RELEASE] + at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1167) ~[spring-beans-5.1.6.RELEASE.jar:5.1.6.RELEASE] + at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:593) ~[spring-beans-5.1.6.RELEASE.jar:5.1.6.RELEASE] + ... 19 common frames omitted +Caused by: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'sysConfigMapper' defined in file [D:\git\exam-jyt\exam-api\target\classes\com\bc\exam\modules\config\mapper\SysConfigMapper.class]: Unsatisfied dependency expressed through bean property 'sqlSessionFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sqlSessionFactory' defined in class path resource [com/baomidou/mybatisplus/autoconfigure/MybatisPlusAutoConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.apache.ibatis.session.SqlSessionFactory]: Factory method 'sqlSessionFactory' threw exception; nested exception is org.springframework.core.NestedIOException: Failed to parse mapping resource: 'file [D:\git\exam-jyt\exam-api\target\classes\mapper\sys\depart\SysDepartMapper.xml]'; nested exception is org.apache.ibatis.builder.BuilderException: Error parsing Mapper XML. The XML location is 'file [D:\git\exam-jyt\exam-api\target\classes\mapper\sys\depart\SysDepartMapper.xml]'. Cause: org.apache.ibatis.builder.BuilderException: Error resolving class. Cause: org.apache.ibatis.type.TypeException: Could not resolve type alias 'com.bc.exam.modules.depart.entity.SysDepart'. Cause: java.lang.ClassNotFoundException: Cannot find class: com.bc.exam.modules.depart.entity.SysDepart + at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireByType(AbstractAutowireCapableBeanFactory.java:1515) ~[spring-beans-5.1.6.RELEASE.jar:5.1.6.RELEASE] + at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1395) ~[spring-beans-5.1.6.RELEASE.jar:5.1.6.RELEASE] + at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:592) ~[spring-beans-5.1.6.RELEASE.jar:5.1.6.RELEASE] + at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:515) ~[spring-beans-5.1.6.RELEASE.jar:5.1.6.RELEASE] + at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:320) ~[spring-beans-5.1.6.RELEASE.jar:5.1.6.RELEASE] + at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222) ~[spring-beans-5.1.6.RELEASE.jar:5.1.6.RELEASE] + at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:318) ~[spring-beans-5.1.6.RELEASE.jar:5.1.6.RELEASE] + at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:199) ~[spring-beans-5.1.6.RELEASE.jar:5.1.6.RELEASE] + at org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:277) ~[spring-beans-5.1.6.RELEASE.jar:5.1.6.RELEASE] + at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1247) ~[spring-beans-5.1.6.RELEASE.jar:5.1.6.RELEASE] + at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1167) ~[spring-beans-5.1.6.RELEASE.jar:5.1.6.RELEASE] + at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:593) ~[spring-beans-5.1.6.RELEASE.jar:5.1.6.RELEASE] + ... 32 common frames omitted +Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sqlSessionFactory' defined in class path resource [com/baomidou/mybatisplus/autoconfigure/MybatisPlusAutoConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.apache.ibatis.session.SqlSessionFactory]: Factory method 'sqlSessionFactory' threw exception; nested exception is org.springframework.core.NestedIOException: Failed to parse mapping resource: 'file [D:\git\exam-jyt\exam-api\target\classes\mapper\sys\depart\SysDepartMapper.xml]'; nested exception is org.apache.ibatis.builder.BuilderException: Error parsing Mapper XML. The XML location is 'file [D:\git\exam-jyt\exam-api\target\classes\mapper\sys\depart\SysDepartMapper.xml]'. Cause: org.apache.ibatis.builder.BuilderException: Error resolving class. Cause: org.apache.ibatis.type.TypeException: Could not resolve type alias 'com.bc.exam.modules.depart.entity.SysDepart'. Cause: java.lang.ClassNotFoundException: Cannot find class: com.bc.exam.modules.depart.entity.SysDepart + at org.springframework.beans.factory.support.ConstructorResolver.instantiate(ConstructorResolver.java:627) ~[spring-beans-5.1.6.RELEASE.jar:5.1.6.RELEASE] + at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:607) ~[spring-beans-5.1.6.RELEASE.jar:5.1.6.RELEASE] + at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1321) ~[spring-beans-5.1.6.RELEASE.jar:5.1.6.RELEASE] + at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1160) ~[spring-beans-5.1.6.RELEASE.jar:5.1.6.RELEASE] + at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:555) ~[spring-beans-5.1.6.RELEASE.jar:5.1.6.RELEASE] + at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:515) ~[spring-beans-5.1.6.RELEASE.jar:5.1.6.RELEASE] + at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:320) ~[spring-beans-5.1.6.RELEASE.jar:5.1.6.RELEASE] + at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222) ~[spring-beans-5.1.6.RELEASE.jar:5.1.6.RELEASE] + at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:318) ~[spring-beans-5.1.6.RELEASE.jar:5.1.6.RELEASE] + at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:199) ~[spring-beans-5.1.6.RELEASE.jar:5.1.6.RELEASE] + at org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:277) ~[spring-beans-5.1.6.RELEASE.jar:5.1.6.RELEASE] + at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1247) ~[spring-beans-5.1.6.RELEASE.jar:5.1.6.RELEASE] + at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1167) ~[spring-beans-5.1.6.RELEASE.jar:5.1.6.RELEASE] + at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireByType(AbstractAutowireCapableBeanFactory.java:1500) ~[spring-beans-5.1.6.RELEASE.jar:5.1.6.RELEASE] + ... 43 common frames omitted +Caused by: org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.apache.ibatis.session.SqlSessionFactory]: Factory method 'sqlSessionFactory' threw exception; nested exception is org.springframework.core.NestedIOException: Failed to parse mapping resource: 'file [D:\git\exam-jyt\exam-api\target\classes\mapper\sys\depart\SysDepartMapper.xml]'; nested exception is org.apache.ibatis.builder.BuilderException: Error parsing Mapper XML. The XML location is 'file [D:\git\exam-jyt\exam-api\target\classes\mapper\sys\depart\SysDepartMapper.xml]'. Cause: org.apache.ibatis.builder.BuilderException: Error resolving class. Cause: org.apache.ibatis.type.TypeException: Could not resolve type alias 'com.bc.exam.modules.depart.entity.SysDepart'. Cause: java.lang.ClassNotFoundException: Cannot find class: com.bc.exam.modules.depart.entity.SysDepart + at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:185) ~[spring-beans-5.1.6.RELEASE.jar:5.1.6.RELEASE] + at org.springframework.beans.factory.support.ConstructorResolver.instantiate(ConstructorResolver.java:622) ~[spring-beans-5.1.6.RELEASE.jar:5.1.6.RELEASE] + ... 56 common frames omitted +Caused by: org.springframework.core.NestedIOException: Failed to parse mapping resource: 'file [D:\git\exam-jyt\exam-api\target\classes\mapper\sys\depart\SysDepartMapper.xml]'; nested exception is org.apache.ibatis.builder.BuilderException: Error parsing Mapper XML. The XML location is 'file [D:\git\exam-jyt\exam-api\target\classes\mapper\sys\depart\SysDepartMapper.xml]'. Cause: org.apache.ibatis.builder.BuilderException: Error resolving class. Cause: org.apache.ibatis.type.TypeException: Could not resolve type alias 'com.bc.exam.modules.depart.entity.SysDepart'. Cause: java.lang.ClassNotFoundException: Cannot find class: com.bc.exam.modules.depart.entity.SysDepart + at com.baomidou.mybatisplus.extension.spring.MybatisSqlSessionFactoryBean.buildSqlSessionFactory(MybatisSqlSessionFactoryBean.java:595) ~[mybatis-plus-extension-3.4.1.jar:3.4.1] + at com.baomidou.mybatisplus.extension.spring.MybatisSqlSessionFactoryBean.afterPropertiesSet(MybatisSqlSessionFactoryBean.java:431) ~[mybatis-plus-extension-3.4.1.jar:3.4.1] + at com.baomidou.mybatisplus.extension.spring.MybatisSqlSessionFactoryBean.getObject(MybatisSqlSessionFactoryBean.java:628) ~[mybatis-plus-extension-3.4.1.jar:3.4.1] + at com.baomidou.mybatisplus.autoconfigure.MybatisPlusAutoConfiguration.sqlSessionFactory(MybatisPlusAutoConfiguration.java:218) ~[mybatis-plus-boot-starter-3.4.1.jar:3.4.1] + at com.baomidou.mybatisplus.autoconfigure.MybatisPlusAutoConfiguration$$EnhancerBySpringCGLIB$$7a2bfead.CGLIB$sqlSessionFactory$2() ~[mybatis-plus-boot-starter-3.4.1.jar:3.4.1] + at com.baomidou.mybatisplus.autoconfigure.MybatisPlusAutoConfiguration$$EnhancerBySpringCGLIB$$7a2bfead$$FastClassBySpringCGLIB$$10de5660.invoke() ~[mybatis-plus-boot-starter-3.4.1.jar:3.4.1] + at org.springframework.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:244) ~[spring-core-5.1.6.RELEASE.jar:5.1.6.RELEASE] + at org.springframework.context.annotation.ConfigurationClassEnhancer$BeanMethodInterceptor.intercept(ConfigurationClassEnhancer.java:363) ~[spring-context-5.1.6.RELEASE.jar:5.1.6.RELEASE] + at com.baomidou.mybatisplus.autoconfigure.MybatisPlusAutoConfiguration$$EnhancerBySpringCGLIB$$7a2bfead.sqlSessionFactory() ~[mybatis-plus-boot-starter-3.4.1.jar:3.4.1] + at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_131] + at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_131] + at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_131] + at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_131] + at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:154) ~[spring-beans-5.1.6.RELEASE.jar:5.1.6.RELEASE] + ... 57 common frames omitted +Caused by: org.apache.ibatis.builder.BuilderException: Error parsing Mapper XML. The XML location is 'file [D:\git\exam-jyt\exam-api\target\classes\mapper\sys\depart\SysDepartMapper.xml]'. Cause: org.apache.ibatis.builder.BuilderException: Error resolving class. Cause: org.apache.ibatis.type.TypeException: Could not resolve type alias 'com.bc.exam.modules.depart.entity.SysDepart'. Cause: java.lang.ClassNotFoundException: Cannot find class: com.bc.exam.modules.depart.entity.SysDepart + at org.apache.ibatis.builder.xml.XMLMapperBuilder.configurationElement(XMLMapperBuilder.java:123) ~[mybatis-3.5.6.jar:3.5.6] + at org.apache.ibatis.builder.xml.XMLMapperBuilder.parse(XMLMapperBuilder.java:95) ~[mybatis-3.5.6.jar:3.5.6] + at com.baomidou.mybatisplus.extension.spring.MybatisSqlSessionFactoryBean.buildSqlSessionFactory(MybatisSqlSessionFactoryBean.java:593) ~[mybatis-plus-extension-3.4.1.jar:3.4.1] + ... 70 common frames omitted +Caused by: org.apache.ibatis.builder.BuilderException: Error resolving class. Cause: org.apache.ibatis.type.TypeException: Could not resolve type alias 'com.bc.exam.modules.depart.entity.SysDepart'. Cause: java.lang.ClassNotFoundException: Cannot find class: com.bc.exam.modules.depart.entity.SysDepart + at org.apache.ibatis.builder.BaseBuilder.resolveClass(BaseBuilder.java:118) ~[mybatis-3.5.6.jar:3.5.6] + at org.apache.ibatis.builder.xml.XMLMapperBuilder.resultMapElement(XMLMapperBuilder.java:263) ~[mybatis-3.5.6.jar:3.5.6] + at org.apache.ibatis.builder.xml.XMLMapperBuilder.resultMapElement(XMLMapperBuilder.java:254) ~[mybatis-3.5.6.jar:3.5.6] + at org.apache.ibatis.builder.xml.XMLMapperBuilder.resultMapElements(XMLMapperBuilder.java:246) ~[mybatis-3.5.6.jar:3.5.6] + at org.apache.ibatis.builder.xml.XMLMapperBuilder.configurationElement(XMLMapperBuilder.java:119) ~[mybatis-3.5.6.jar:3.5.6] + ... 72 common frames omitted +Caused by: org.apache.ibatis.type.TypeException: Could not resolve type alias 'com.bc.exam.modules.depart.entity.SysDepart'. Cause: java.lang.ClassNotFoundException: Cannot find class: com.bc.exam.modules.depart.entity.SysDepart + at org.apache.ibatis.type.TypeAliasRegistry.resolveAlias(TypeAliasRegistry.java:120) ~[mybatis-3.5.6.jar:3.5.6] + at org.apache.ibatis.builder.BaseBuilder.resolveAlias(BaseBuilder.java:149) ~[mybatis-3.5.6.jar:3.5.6] + at org.apache.ibatis.builder.BaseBuilder.resolveClass(BaseBuilder.java:116) ~[mybatis-3.5.6.jar:3.5.6] + ... 76 common frames omitted +Caused by: java.lang.ClassNotFoundException: Cannot find class: com.bc.exam.modules.depart.entity.SysDepart + at org.apache.ibatis.io.ClassLoaderWrapper.classForName(ClassLoaderWrapper.java:196) ~[mybatis-3.5.6.jar:3.5.6] + at org.apache.ibatis.io.ClassLoaderWrapper.classForName(ClassLoaderWrapper.java:89) ~[mybatis-3.5.6.jar:3.5.6] + at org.apache.ibatis.io.Resources.classForName(Resources.java:261) ~[mybatis-3.5.6.jar:3.5.6] + at org.apache.ibatis.type.TypeAliasRegistry.resolveAlias(TypeAliasRegistry.java:116) ~[mybatis-3.5.6.jar:3.5.6] + ... 78 common frames omitted + +2026-06-17 23:31:53.854 INFO 16772 --- [main] com.bc.exam.ExamApplication : Starting ExamApplication on yx with PID 16772 (D:\git\exam-jyt\exam-api\target\classes started by 75514 in D:\git\exam-jyt) +2026-06-17 23:31:53.857 INFO 16772 --- [main] com.bc.exam.ExamApplication : The following profiles are active: dev +2026-06-17 23:31:54.589 INFO 16772 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'scheduledConfig' of type [com.bc.exam.config.ScheduledConfig$$EnhancerBySpringCGLIB$$dd63b04e] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2026-06-17 23:31:54.600 INFO 16772 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'shiroConfig' of type [com.bc.exam.config.ShiroConfig$$EnhancerBySpringCGLIB$$dea2f892] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2026-06-17 23:31:54.638 INFO 16772 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'shiroRealm' of type [com.bc.exam.ability.shiro.ShiroRealm] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2026-06-17 23:31:54.792 INFO 16772 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'securityManager' of type [org.apache.shiro.web.mgt.DefaultWebSecurityManager] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2026-06-17 23:31:54.813 INFO 16772 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'authorizationAttributeSourceAdvisor' of type [org.apache.shiro.spring.security.interceptor.AuthorizationAttributeSourceAdvisor] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2026-06-17 23:31:54.846 INFO 16772 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration' of type [org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration$$EnhancerBySpringCGLIB$$29e70c97] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2026-06-17 23:31:54.860 INFO 16772 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'com.alibaba.druid.spring.boot.autoconfigure.DruidDataSourceAutoConfigure' of type [com.alibaba.druid.spring.boot.autoconfigure.DruidDataSourceAutoConfigure$$EnhancerBySpringCGLIB$$43930209] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2026-06-17 23:31:54.863 INFO 16772 --- [main] c.a.d.s.b.a.DruidDataSourceAutoConfigure : Init DruidDataSource +2026-06-17 23:31:54.912 INFO 16772 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'spring.datasource-org.springframework.boot.autoconfigure.jdbc.DataSourceProperties' of type [org.springframework.boot.autoconfigure.jdbc.DataSourceProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2026-06-17 23:31:54.951 INFO 16772 --- [main] com.alibaba.druid.pool.DruidDataSource : {dataSource-1} inited +2026-06-17 23:31:54.952 INFO 16772 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'dataSource' of type [com.alibaba.druid.spring.boot.autoconfigure.DruidDataSourceWrapper] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2026-06-17 23:31:54.987 INFO 16772 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.boot.autoconfigure.jdbc.DataSourceInitializerInvoker' of type [org.springframework.boot.autoconfigure.jdbc.DataSourceInitializerInvoker] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2026-06-17 23:31:54.995 INFO 16772 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.boot.autoconfigure.transaction.TransactionAutoConfiguration' of type [org.springframework.boot.autoconfigure.transaction.TransactionAutoConfiguration$$EnhancerBySpringCGLIB$$be5b07a1] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2026-06-17 23:31:55.003 INFO 16772 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'spring.transaction-org.springframework.boot.autoconfigure.transaction.TransactionProperties' of type [org.springframework.boot.autoconfigure.transaction.TransactionProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2026-06-17 23:31:55.005 INFO 16772 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'platformTransactionManagerCustomizers' of type [org.springframework.boot.autoconfigure.transaction.TransactionManagerCustomizers] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2026-06-17 23:31:55.005 INFO 16772 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.boot.autoconfigure.jdbc.DataSourceTransactionManagerAutoConfiguration$DataSourceTransactionManagerConfiguration' of type [org.springframework.boot.autoconfigure.jdbc.DataSourceTransactionManagerAutoConfiguration$DataSourceTransactionManagerConfiguration$$EnhancerBySpringCGLIB$$d6e7a506] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2026-06-17 23:31:55.013 INFO 16772 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'transactionManager' of type [org.springframework.jdbc.datasource.DataSourceTransactionManager] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2026-06-17 23:31:55.015 INFO 16772 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'transactionAopConfig' of type [com.bc.exam.config.TransactionAopConfig$$EnhancerBySpringCGLIB$$2082e41f] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2026-06-17 23:31:55.022 INFO 16772 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'txAdvice' of type [org.springframework.transaction.interceptor.TransactionInterceptor] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2026-06-17 23:31:55.022 INFO 16772 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'advisor' of type [org.springframework.aop.support.DefaultPointcutAdvisor] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2026-06-17 23:31:55.115 INFO 16772 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'org.apache.shiro.spring.boot.autoconfigure.ShiroBeanAutoConfiguration' of type [org.apache.shiro.spring.boot.autoconfigure.ShiroBeanAutoConfiguration$$EnhancerBySpringCGLIB$$3cffea47] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2026-06-17 23:31:55.119 INFO 16772 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'eventBus' of type [org.apache.shiro.event.support.DefaultEventBus] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2026-06-17 23:31:55.446 INFO 16772 --- [main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port(s): 8101 (http) +2026-06-17 23:31:55.466 INFO 16772 --- [main] o.apache.catalina.core.StandardService : Starting service [Tomcat] +2026-06-17 23:31:55.466 INFO 16772 --- [main] org.apache.catalina.core.StandardEngine : Starting Servlet engine: [Apache Tomcat/9.0.17] +2026-06-17 23:31:55.554 INFO 16772 --- [main] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring embedded WebApplicationContext +2026-06-17 23:31:55.555 INFO 16772 --- [main] o.s.web.context.ContextLoader : Root WebApplicationContext: initialization completed in 1662 ms +2026-06-17 23:31:56.931 INFO 16772 --- [main] o.s.s.c.ThreadPoolTaskScheduler : Initializing ExecutorService 'taskScheduler' +2026-06-17 23:31:56.941 INFO 16772 --- [main] o.s.s.concurrent.ThreadPoolTaskExecutor : Initializing ExecutorService +2026-06-17 23:31:56.942 INFO 16772 --- [main] o.s.s.concurrent.ThreadPoolTaskExecutor : Initializing ExecutorService 'asyncExecutor' +2026-06-17 23:31:56.953 INFO 16772 --- [main] pertySourcedRequestMappingHandlerMapping : Mapped URL path [/v2/api-docs] onto method [public org.springframework.http.ResponseEntity springfox.documentation.swagger2.web.Swagger2Controller.getDocumentation(java.lang.String,javax.servlet.http.HttpServletRequest)] +2026-06-17 23:31:57.287 INFO 16772 --- [main] o.s.b.a.w.s.WelcomePageHandlerMapping : Adding welcome page: class path resource [static/index.html] +2026-06-17 23:31:57.422 INFO 16772 --- [main] d.s.w.p.DocumentationPluginsBootstrapper : Context refreshed +2026-06-17 23:31:57.446 INFO 16772 --- [main] d.s.w.p.DocumentationPluginsBootstrapper : Found 1 custom documentation plugin(s) +2026-06-17 23:31:57.499 INFO 16772 --- [main] s.d.s.w.s.ApiListingReferenceScanner : Scanning for api listing references +2026-06-17 23:31:57.689 INFO 16772 --- [main] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: pagingUsingPOST_1 +2026-06-17 23:31:57.697 INFO 16772 --- [main] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: saveUsingPOST_1 +2026-06-17 23:31:57.751 INFO 16772 --- [main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat started on port(s): 8101 (http) with context path '' +2026-06-17 23:31:57.755 INFO 16772 --- [main] com.bc.exam.ExamApplication : Started ExamApplication in 4.191 seconds (JVM running for 4.684) +2026-06-17 23:31:57.758 INFO 16772 --- [main] com.bc.exam.ExamApplication : +---------------------------------------------------------- + 系统启动成功,访问路径如下: + 本地路径: http://127.0.0.1:8101/ + 网络地址: http://192.168.3.104:8101/ + API文档: http://192.168.3.104:8101/doc.html +---------------------------------------------------------- +2026-06-17 23:32:23.055 INFO 16772 --- [http-nio-8101-exec-2] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring DispatcherServlet 'dispatcherServlet' +2026-06-17 23:32:23.055 INFO 16772 --- [http-nio-8101-exec-2] o.s.web.servlet.DispatcherServlet : Initializing Servlet 'dispatcherServlet' +2026-06-17 23:32:23.065 INFO 16772 --- [http-nio-8101-exec-2] o.s.web.servlet.DispatcherServlet : Completed initialization in 10 ms +2026-06-17 23:32:23.247 WARN 16772 --- [http-nio-8101-exec-9] o.s.j.d.DataSourceTransactionManager : Custom isolation level specified but no actual transaction initiated; isolation level will effectively be ignored: PROPAGATION_SUPPORTS,ISOLATION_READ_COMMITTED,readOnly,-java.lang.Exception +2026-06-17 23:32:23.672 INFO 16772 --- [http-nio-8101-exec-9] org.dozer.config.GlobalSettings : Trying to find Dozer configuration file: dozer.properties +2026-06-17 23:32:23.684 WARN 16772 --- [http-nio-8101-exec-9] org.dozer.config.GlobalSettings : Dozer configuration file not found: dozer.properties. Using defaults for all Dozer global properties. +2026-06-17 23:32:23.686 INFO 16772 --- [http-nio-8101-exec-9] org.dozer.DozerInitializer : Initializing Dozer. Version: 5.5.0, Thread Name: http-nio-8101-exec-9 +2026-06-17 23:32:23.689 INFO 16772 --- [http-nio-8101-exec-9] org.dozer.jmx.JMXPlatformImpl : Dozer JMX MBean [org.dozer.jmx:type=DozerStatisticsController] auto registered with the Platform MBean Server +2026-06-17 23:32:23.691 INFO 16772 --- [http-nio-8101-exec-9] org.dozer.jmx.JMXPlatformImpl : Dozer JMX MBean [org.dozer.jmx:type=DozerAdminController] auto registered with the Platform MBean Server +2026-06-17 23:32:23.692 INFO 16772 --- [http-nio-8101-exec-9] org.dozer.DozerBeanMapper : Initializing a new instance of dozer bean mapper. +2026-06-17 23:32:54.085 INFO 16772 --- [Thread-10] o.s.s.concurrent.ThreadPoolTaskExecutor : Shutting down ExecutorService 'asyncExecutor' +2026-06-17 23:32:54.085 INFO 16772 --- [Thread-10] o.s.s.c.ThreadPoolTaskScheduler : Shutting down ExecutorService 'taskScheduler' +2026-06-17 23:32:54.086 INFO 16772 --- [Thread-10] o.s.s.c.ThreadPoolTaskScheduler : Shutting down ExecutorService 'taskScheduler' +2026-06-17 23:32:54.087 INFO 16772 --- [Thread-10] com.alibaba.druid.pool.DruidDataSource : {dataSource-1} closing ... +2026-06-17 23:32:54.092 INFO 16772 --- [Thread-10] com.alibaba.druid.pool.DruidDataSource : {dataSource-1} closed +2026-06-17 23:32:57.102 INFO 18172 --- [main] com.bc.exam.ExamApplication : Starting ExamApplication on yx with PID 18172 (D:\git\exam-jyt\exam-api\target\classes started by 75514 in D:\git\exam-jyt) +2026-06-17 23:32:57.103 INFO 18172 --- [main] com.bc.exam.ExamApplication : The following profiles are active: dev +2026-06-17 23:32:57.844 INFO 18172 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'scheduledConfig' of type [com.bc.exam.config.ScheduledConfig$$EnhancerBySpringCGLIB$$c659c1e0] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2026-06-17 23:32:57.854 INFO 18172 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'shiroConfig' of type [com.bc.exam.config.ShiroConfig$$EnhancerBySpringCGLIB$$c7990a24] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2026-06-17 23:32:57.892 INFO 18172 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'shiroRealm' of type [com.bc.exam.ability.shiro.ShiroRealm] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2026-06-17 23:32:58.040 INFO 18172 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'securityManager' of type [org.apache.shiro.web.mgt.DefaultWebSecurityManager] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2026-06-17 23:32:58.061 INFO 18172 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'authorizationAttributeSourceAdvisor' of type [org.apache.shiro.spring.security.interceptor.AuthorizationAttributeSourceAdvisor] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2026-06-17 23:32:58.091 INFO 18172 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration' of type [org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration$$EnhancerBySpringCGLIB$$12dd1e29] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2026-06-17 23:32:58.104 INFO 18172 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'com.alibaba.druid.spring.boot.autoconfigure.DruidDataSourceAutoConfigure' of type [com.alibaba.druid.spring.boot.autoconfigure.DruidDataSourceAutoConfigure$$EnhancerBySpringCGLIB$$2c89139b] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2026-06-17 23:32:58.107 INFO 18172 --- [main] c.a.d.s.b.a.DruidDataSourceAutoConfigure : Init DruidDataSource +2026-06-17 23:32:58.156 INFO 18172 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'spring.datasource-org.springframework.boot.autoconfigure.jdbc.DataSourceProperties' of type [org.springframework.boot.autoconfigure.jdbc.DataSourceProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2026-06-17 23:32:58.194 INFO 18172 --- [main] com.alibaba.druid.pool.DruidDataSource : {dataSource-1} inited +2026-06-17 23:32:58.194 INFO 18172 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'dataSource' of type [com.alibaba.druid.spring.boot.autoconfigure.DruidDataSourceWrapper] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2026-06-17 23:32:58.229 INFO 18172 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.boot.autoconfigure.jdbc.DataSourceInitializerInvoker' of type [org.springframework.boot.autoconfigure.jdbc.DataSourceInitializerInvoker] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2026-06-17 23:32:58.236 INFO 18172 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.boot.autoconfigure.transaction.TransactionAutoConfiguration' of type [org.springframework.boot.autoconfigure.transaction.TransactionAutoConfiguration$$EnhancerBySpringCGLIB$$a7511933] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2026-06-17 23:32:58.242 INFO 18172 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'spring.transaction-org.springframework.boot.autoconfigure.transaction.TransactionProperties' of type [org.springframework.boot.autoconfigure.transaction.TransactionProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2026-06-17 23:32:58.244 INFO 18172 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'platformTransactionManagerCustomizers' of type [org.springframework.boot.autoconfigure.transaction.TransactionManagerCustomizers] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2026-06-17 23:32:58.244 INFO 18172 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.boot.autoconfigure.jdbc.DataSourceTransactionManagerAutoConfiguration$DataSourceTransactionManagerConfiguration' of type [org.springframework.boot.autoconfigure.jdbc.DataSourceTransactionManagerAutoConfiguration$DataSourceTransactionManagerConfiguration$$EnhancerBySpringCGLIB$$bfddb698] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2026-06-17 23:32:58.251 INFO 18172 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'transactionManager' of type [org.springframework.jdbc.datasource.DataSourceTransactionManager] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2026-06-17 23:32:58.253 INFO 18172 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'transactionAopConfig' of type [com.bc.exam.config.TransactionAopConfig$$EnhancerBySpringCGLIB$$978f5b1] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2026-06-17 23:32:58.259 INFO 18172 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'txAdvice' of type [org.springframework.transaction.interceptor.TransactionInterceptor] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2026-06-17 23:32:58.259 INFO 18172 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'advisor' of type [org.springframework.aop.support.DefaultPointcutAdvisor] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2026-06-17 23:32:58.349 INFO 18172 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'org.apache.shiro.spring.boot.autoconfigure.ShiroBeanAutoConfiguration' of type [org.apache.shiro.spring.boot.autoconfigure.ShiroBeanAutoConfiguration$$EnhancerBySpringCGLIB$$25f5fbd9] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2026-06-17 23:32:58.354 INFO 18172 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'eventBus' of type [org.apache.shiro.event.support.DefaultEventBus] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2026-06-17 23:32:58.672 INFO 18172 --- [main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port(s): 8101 (http) +2026-06-17 23:32:58.691 INFO 18172 --- [main] o.apache.catalina.core.StandardService : Starting service [Tomcat] +2026-06-17 23:32:58.691 INFO 18172 --- [main] org.apache.catalina.core.StandardEngine : Starting Servlet engine: [Apache Tomcat/9.0.17] +2026-06-17 23:32:58.778 INFO 18172 --- [main] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring embedded WebApplicationContext +2026-06-17 23:32:58.778 INFO 18172 --- [main] o.s.web.context.ContextLoader : Root WebApplicationContext: initialization completed in 1636 ms +2026-06-17 23:33:00.131 INFO 18172 --- [main] o.s.s.c.ThreadPoolTaskScheduler : Initializing ExecutorService 'taskScheduler' +2026-06-17 23:33:00.139 INFO 18172 --- [main] o.s.s.concurrent.ThreadPoolTaskExecutor : Initializing ExecutorService +2026-06-17 23:33:00.139 INFO 18172 --- [main] o.s.s.concurrent.ThreadPoolTaskExecutor : Initializing ExecutorService 'asyncExecutor' +2026-06-17 23:33:00.150 INFO 18172 --- [main] pertySourcedRequestMappingHandlerMapping : Mapped URL path [/v2/api-docs] onto method [public org.springframework.http.ResponseEntity springfox.documentation.swagger2.web.Swagger2Controller.getDocumentation(java.lang.String,javax.servlet.http.HttpServletRequest)] +2026-06-17 23:33:00.477 INFO 18172 --- [main] o.s.b.a.w.s.WelcomePageHandlerMapping : Adding welcome page: class path resource [static/index.html] +2026-06-17 23:33:00.613 INFO 18172 --- [main] d.s.w.p.DocumentationPluginsBootstrapper : Context refreshed +2026-06-17 23:33:00.639 INFO 18172 --- [main] d.s.w.p.DocumentationPluginsBootstrapper : Found 1 custom documentation plugin(s) +2026-06-17 23:33:00.687 INFO 18172 --- [main] s.d.s.w.s.ApiListingReferenceScanner : Scanning for api listing references +2026-06-17 23:33:00.874 INFO 18172 --- [main] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: pagingUsingPOST_1 +2026-06-17 23:33:00.879 INFO 18172 --- [main] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: saveUsingPOST_1 +2026-06-17 23:33:00.934 INFO 18172 --- [main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat started on port(s): 8101 (http) with context path '' +2026-06-17 23:33:00.937 INFO 18172 --- [main] com.bc.exam.ExamApplication : Started ExamApplication in 4.125 seconds (JVM running for 4.63) +2026-06-17 23:33:00.940 INFO 18172 --- [main] com.bc.exam.ExamApplication : +---------------------------------------------------------- + 系统启动成功,访问路径如下: + 本地路径: http://127.0.0.1:8101/API文档: http://127.0.0.1:8101/doc.html---------------------------------------------------------- +2026-06-17 23:33:10.173 INFO 18172 --- [Thread-10] o.s.s.concurrent.ThreadPoolTaskExecutor : Shutting down ExecutorService 'asyncExecutor' +2026-06-17 23:33:10.173 INFO 18172 --- [Thread-10] o.s.s.c.ThreadPoolTaskScheduler : Shutting down ExecutorService 'taskScheduler' +2026-06-17 23:33:10.173 INFO 18172 --- [Thread-10] o.s.s.c.ThreadPoolTaskScheduler : Shutting down ExecutorService 'taskScheduler' +2026-06-17 23:33:10.175 INFO 18172 --- [Thread-10] com.alibaba.druid.pool.DruidDataSource : {dataSource-1} closing ... +2026-06-17 23:33:10.177 INFO 18172 --- [Thread-10] com.alibaba.druid.pool.DruidDataSource : {dataSource-1} closed