From 37b198e2ed9a87ae52987e0069d7c7d7e01cc7fb Mon Sep 17 00:00:00 2001 From: whyclxw <810412026@qq.com> Date: 星期五, 13 六月 2025 18:55:34 +0800 Subject: [PATCH] 获取电池组告警参数和获取电源告警参数 --- src/main/java/com/whyc/service/BattInfService.java | 5 src/main/resources/mapper/PowerInfMapper.xml | 28 +++ src/main/java/com/whyc/controller/AlmParamController.java | 17 + src/main/java/com/whyc/mapper/PowerInfMapper.java | 4 src/main/java/com/whyc/service/PowerInfService.java | 5 src/main/java/com/whyc/service/BattAlmparamService.java | 19 + web_logs/battery_gwm.log | 358 +++++++++++++++++++++++++++++++++++++++ src/main/java/com/whyc/dto/Param/ParamAlmDto.java | 19 ++ src/main/java/com/whyc/mapper/BattInfMapper.java | 5 src/main/java/com/whyc/service/PwrdevAlarmParamService.java | 27 ++ src/main/resources/mapper/BattInfMapper.xml | 28 +++ 11 files changed, 496 insertions(+), 19 deletions(-) diff --git a/src/main/java/com/whyc/controller/AlmParamController.java b/src/main/java/com/whyc/controller/AlmParamController.java index 50a2e27..dc35473 100644 --- a/src/main/java/com/whyc/controller/AlmParamController.java +++ b/src/main/java/com/whyc/controller/AlmParamController.java @@ -2,6 +2,7 @@ import com.whyc.constant.*; import com.whyc.dto.AlarmParam; +import com.whyc.dto.Param.ParamAlmDto; import com.whyc.dto.Real.AlmDto; import com.whyc.dto.Response; import com.whyc.dto.Station.Power; @@ -41,10 +42,12 @@ return battAlmparamService.getBattAlmParam(almDto); }*/ - @GetMapping("getBattAlmParam") + @PostMapping("getBattAlmParam") @ApiOperation("鑾峰彇鐢垫睜鍛婅鍙傛暟") - public Response getBattAlmParam(@RequestParam Integer battgroupId){ - return battAlmparamService.getBattAlmParam(battgroupId); + public Response getBattAlmParam(@RequestBody ParamAlmDto dto){ + Integer uid=ActionUtil.getUser().getId(); + dto.setUid(uid); + return battAlmparamService.getBattAlmParam(dto); } @PostMapping("setBattAlmParam") @@ -72,10 +75,12 @@ return pwrAlmparamService.getPwrAlmParam(almDto); }*/ - @GetMapping("getPwrAlmParam") + @PostMapping("getPwrAlmParam") @ApiOperation("鑾峰彇鐢垫簮鍛婅鍙傛暟") - public Response getPwrAlmParam(@RequestParam Integer powerId){ - return pwrAlmparamService.getPwrAlmParam(powerId); + public Response getPwrAlmParam(@RequestBody ParamAlmDto dto){ + Integer uid=ActionUtil.getUser().getId(); + dto.setUid(uid); + return pwrAlmparamService.getPwrAlmParam(dto); } diff --git a/src/main/java/com/whyc/dto/Param/ParamAlmDto.java b/src/main/java/com/whyc/dto/Param/ParamAlmDto.java new file mode 100644 index 0000000..61b3946 --- /dev/null +++ b/src/main/java/com/whyc/dto/Param/ParamAlmDto.java @@ -0,0 +1,19 @@ +package com.whyc.dto.Param; + +import lombok.Data; + +import java.util.List; + +@Data +public class ParamAlmDto { + private String provice; + private String city; + private String country; + private Integer stationId; + private Integer powerId; + private Integer battgroupId; + private List<Integer> almIdList; + private Integer uid; + private Integer pageNum; + private Integer pageSize; +} \ No newline at end of file diff --git a/src/main/java/com/whyc/mapper/BattInfMapper.java b/src/main/java/com/whyc/mapper/BattInfMapper.java index 70c135d..f5e8a80 100644 --- a/src/main/java/com/whyc/mapper/BattInfMapper.java +++ b/src/main/java/com/whyc/mapper/BattInfMapper.java @@ -2,6 +2,7 @@ import com.whyc.dto.BattDto; import com.whyc.dto.InfoDto; +import com.whyc.dto.Param.ParamAlmDto; import com.whyc.dto.Statistic.*; import com.whyc.pojo.db_station.BattInf; import org.apache.ibatis.annotations.Param; @@ -57,6 +58,6 @@ List<BattInf> getListByUserId(Integer userId); //鑾峰彇绔欑偣涓嬬殑鐢垫睜缁�(涓嬫媺) List<BattInf> getBattByUid(@Param("uid") Integer uid, @Param("provice") String provice, @Param("city") String city, @Param("country") String country, @Param("stationName") String stationName); - - + //鏍规嵁鏌ヨ鏉′欢鑾峰彇鐢垫睜缁勯泦鍚� + List<Integer> getBattgroupIdList(@Param("dto") ParamAlmDto dto); } \ No newline at end of file diff --git a/src/main/java/com/whyc/mapper/PowerInfMapper.java b/src/main/java/com/whyc/mapper/PowerInfMapper.java index 843e85a..38ec720 100644 --- a/src/main/java/com/whyc/mapper/PowerInfMapper.java +++ b/src/main/java/com/whyc/mapper/PowerInfMapper.java @@ -1,5 +1,6 @@ package com.whyc.mapper; +import com.whyc.dto.Param.ParamAlmDto; import com.whyc.dto.PowerDto; import com.whyc.dto.Statistic.Pwr7Stic; import com.whyc.dto.Statistic.StationStic; @@ -33,5 +34,6 @@ List<PowerInf> getPwr7Statistic(@Param("stic") Pwr7Stic stic); List<PowerInf> getListByUserId(Integer userId); - + //鏍规嵁鏌ヨ鏉′欢鑾峰彇鐢垫簮闆嗗悎 + List<Integer> getPowerIdList(@Param("dto") ParamAlmDto dto); } \ No newline at end of file diff --git a/src/main/java/com/whyc/service/BattAlmparamService.java b/src/main/java/com/whyc/service/BattAlmparamService.java index 04eeb97..49814a8 100644 --- a/src/main/java/com/whyc/service/BattAlmparamService.java +++ b/src/main/java/com/whyc/service/BattAlmparamService.java @@ -5,6 +5,7 @@ import com.github.pagehelper.PageHelper; import com.github.pagehelper.PageInfo; import com.whyc.constant.BattAlarmIdEnum; +import com.whyc.dto.Param.ParamAlmDto; import com.whyc.dto.Real.AlmDto; import com.whyc.dto.Response; import com.whyc.mapper.BattAlmparamMapper; @@ -19,13 +20,25 @@ public class BattAlmparamService { @Autowired(required = false) private BattAlmparamMapper mapper; + + @Autowired(required = false) + private BattInfService binfService; //鑾峰彇鐢垫睜鍛婅鍙傛暟 - public Response getBattAlmParam(Integer battgroupId) { + public Response getBattAlmParam(ParamAlmDto dto) { + //鏍规嵁鏌ヨ鏉′欢鑾峰彇鐢垫睜缁勯泦鍚� + List<Integer> idList=binfService.getBattgroupIdList(dto); QueryWrapper wrapper=new QueryWrapper(); - wrapper.eq("battgroup_id",battgroupId); + if(idList!=null){ + wrapper.in("battgroup_id",idList); + } + if(dto.getAlmIdList()!=null){ + wrapper.in("alm_id",dto.getAlmIdList()); + } wrapper.orderByAsc("alm_id"); + PageHelper.startPage(dto.getPageNum(),dto.getPageSize()); List<BattAlmparam> list = mapper.selectList(wrapper); - return new Response().setII(1,list!=null,list,"鑾峰彇鐢垫睜鍛婅鍙傛暟"); + PageInfo<BattAlmparam> pageInfo=new PageInfo<>(list); + return new Response().setII(1,list!=null,pageInfo,"鑾峰彇鐢垫睜鍛婅鍙傛暟"); } //淇敼鐢垫睜鍛婅鍙傛暟 public Response setBattAlmParam(List<BattAlmparam> almparamList) { diff --git a/src/main/java/com/whyc/service/BattInfService.java b/src/main/java/com/whyc/service/BattInfService.java index 6ebd286..56db89c 100644 --- a/src/main/java/com/whyc/service/BattInfService.java +++ b/src/main/java/com/whyc/service/BattInfService.java @@ -8,6 +8,7 @@ import com.whyc.constant.PowerAlarmEnum; import com.whyc.dto.BattDto; import com.whyc.dto.InfoDto; +import com.whyc.dto.Param.ParamAlmDto; import com.whyc.dto.Real.QuarterDto; import com.whyc.dto.Response; import com.whyc.dto.Statistic.*; @@ -483,4 +484,8 @@ List<BattInf> list=mapper.getBattByUid(uid,provice,city,country,stationName); return new Response().setII(1,list.size()>0,list,"鑾峰彇绔欑偣涓嬬殑鐢垫睜缁�(涓嬫媺)"); } + //鏍规嵁鏌ヨ鏉′欢鑾峰彇鐢垫睜缁勯泦鍚� + public List<Integer> getBattgroupIdList(ParamAlmDto dto) { + return mapper.getBattgroupIdList(dto); + } } \ No newline at end of file diff --git a/src/main/java/com/whyc/service/PowerInfService.java b/src/main/java/com/whyc/service/PowerInfService.java index 919e4d7..00dbd6e 100644 --- a/src/main/java/com/whyc/service/PowerInfService.java +++ b/src/main/java/com/whyc/service/PowerInfService.java @@ -4,6 +4,7 @@ import com.baomidou.mybatisplus.core.conditions.update.UpdateWrapper; import com.github.pagehelper.PageHelper; import com.github.pagehelper.PageInfo; +import com.whyc.dto.Param.ParamAlmDto; import com.whyc.dto.PowerDto; import com.whyc.dto.Response; import com.whyc.dto.Statistic.Pwr7Stic; @@ -157,4 +158,8 @@ public List<PowerInf> getListByUserId(Integer userId) { return mapper.getListByUserId(userId); } + //鏍规嵁鏌ヨ鏉′欢鑾峰彇鐢垫簮闆嗗悎 + public List<Integer> getPowerIdList(ParamAlmDto dto) { + return mapper.getPowerIdList(dto); + } } \ No newline at end of file diff --git a/src/main/java/com/whyc/service/PwrdevAlarmParamService.java b/src/main/java/com/whyc/service/PwrdevAlarmParamService.java index 593d131..c9c72fa 100644 --- a/src/main/java/com/whyc/service/PwrdevAlarmParamService.java +++ b/src/main/java/com/whyc/service/PwrdevAlarmParamService.java @@ -7,6 +7,7 @@ import com.github.pagehelper.PageInfo; import com.whyc.constant.PowerAlarmEnum; import com.whyc.dto.AlarmParam; +import com.whyc.dto.Param.ParamAlmDto; import com.whyc.dto.Real.AlmDto; import com.whyc.dto.Response; import com.whyc.mapper.PwrdevAlarmParamMapper; @@ -29,24 +30,35 @@ @Autowired(required = false) private PwrdevAlarmParamMapper mapper; + @Autowired(required = false) + private PowerInfService pinfService; + //鑾峰彇鐢垫簮鍛婅鍙傛暟 - public Response getPwrAlmParam(Integer powerId) { - Map<String, List<PwrdevAlarmParam>> map=new HashMap<>(); + public Response getPwrAlmParam(ParamAlmDto dto) { + //鏍规嵁鏌ヨ鏉′欢鑾峰彇鐢垫簮闆嗗悎 + List<Integer> idList=pinfService.getPowerIdList(dto); + /*Map<String, List<PwrdevAlarmParam>> map=new HashMap<>(); List<PwrdevAlarmParam> almmap30=new ArrayList<>(); List<PwrdevAlarmParam> almmap31=new ArrayList<>(); List<PwrdevAlarmParam> almmap32=new ArrayList<>(); List<PwrdevAlarmParam> almmap33=new ArrayList<>(); List<PwrdevAlarmParam> almmap34=new ArrayList<>(); List<PwrdevAlarmParam> almmap35=new ArrayList<>(); - List<PwrdevAlarmParam> almmap36=new ArrayList<>(); + List<PwrdevAlarmParam> almmap36=new ArrayList<>();*/ QueryWrapper wrapper=new QueryWrapper(); - wrapper.eq("power_id",powerId); + if(idList!=null){ + wrapper.in("power_id",idList); + } + if(dto.getAlmIdList()!=null){ + wrapper.in("alm_id",dto.getAlmIdList()); + } wrapper.orderByAsc("alm_id"); + PageHelper.startPage(dto.getPageNum(),dto.getPageSize()); List<PwrdevAlarmParam> list = mapper.selectList(wrapper); if(list!=null && list.size()>0){ for (PwrdevAlarmParam alm:list) { alm.setAlarmName(PowerAlarmEnum.getValue(alm.getAlmId())); - if(alm.getAlmId()/100000==30){ + /* if(alm.getAlmId()/100000==30){ almmap30.add(alm); map.put("鏁呴殰鍛婅",almmap30); } @@ -73,10 +85,11 @@ if(alm.getAlmId()/100000==36){ almmap36.add(alm); map.put("鐩存祦鍛婅",almmap36); - } + }*/ } } - return new Response().setII(1,list!=null,map,"鑾峰彇鐢垫簮鍛婅鍙傛暟"); + PageInfo<PwrdevAlarmParam> pageInfo=new PageInfo(list); + return new Response().setII(1,list!=null,pageInfo,"鑾峰彇鐢垫簮鍛婅鍙傛暟"); } //淇敼鐢垫簮鍛婅鍙傛暟 public Response setPwrAlmParam(List<PwrdevAlarmParam> almparamList) { diff --git a/src/main/resources/mapper/BattInfMapper.xml b/src/main/resources/mapper/BattInfMapper.xml index ea0330e..1b9658a 100644 --- a/src/main/resources/mapper/BattInfMapper.xml +++ b/src/main/resources/mapper/BattInfMapper.xml @@ -452,4 +452,32 @@ </if> </where> </select> + <select id="getBattgroupIdList" resultType="java.lang.Integer"> + select distinct battgroup_id from db_station.tb_batt_inf,db_station.tb_station_inf + <where> + tb_batt_inf.station_id=tb_station_inf.station_id + <if test="dto.provice!=null"> + and tb_station_inf.provice=#{dto.provice} + </if> + <if test="dto.city!=null"> + and tb_station_inf.city=#{dto.city} + </if> + <if test="dto.country!=null"> + and tb_station_inf.country=#{dto.country} + </if> + <if test="dto.stationId!=null"> + and tb_station_inf.station_id=#{dto.stationId} + </if> + <if test="dto.battgroupId!=null"> + and battgroup_id.battgroup_id=#{dto.battgroupId} + </if> + <if test="dto.uid>100"> + and tb_station_inf.station_id in( + select distinct station_id from db_user.tb_baojigroup_power,db_user.tb_baojigroup_usr + where tb_baojigroup_power.baoji_group_id=tb_baojigroup_usr.baoji_group_id + and tb_baojigroup_usr.uid=#{dto.uid} + ) + </if> + </where> + </select> </mapper> \ No newline at end of file diff --git a/src/main/resources/mapper/PowerInfMapper.xml b/src/main/resources/mapper/PowerInfMapper.xml index b730e21..7cb7ad3 100644 --- a/src/main/resources/mapper/PowerInfMapper.xml +++ b/src/main/resources/mapper/PowerInfMapper.xml @@ -169,5 +169,33 @@ and bu.uid = #{userId} ) </select> + <select id="getPowerIdList" resultType="java.lang.Integer"> + select distinct power_id from db_station.tb_power_inf,db_station.tb_station_inf + <where> + tb_power_inf.station_id=tb_station_inf.station_id + <if test="dto.provice!=null"> + and tb_station_inf.provice=#{dto.provice} + </if> + <if test="dto.city!=null"> + and tb_station_inf.city=#{dto.city} + </if> + <if test="dto.country!=null"> + and tb_station_inf.country=#{dto.country} + </if> + <if test="dto.stationId!=null"> + and tb_station_inf.station_id=#{dto.stationId} + </if> + <if test="dto.powerId!=null"> + and tb_power_inf.power_id=#{dto.powerId} + </if> + <if test="dto.uid>100"> + and tb_power_inf.power_id in( + select distinct power_id from db_user.tb_baojigroup_power,db_user.tb_baojigroup_usr + where tb_baojigroup_power.baoji_group_id=tb_baojigroup_usr.baoji_group_id + and tb_baojigroup_usr.uid=#{dto.uid} + ) + </if> + </where> + </select> </mapper> \ No newline at end of file diff --git a/web_logs/battery_gwm.log b/web_logs/battery_gwm.log index 00cd35d..f0ea124 100644 --- a/web_logs/battery_gwm.log +++ b/web_logs/battery_gwm.log @@ -352,3 +352,361 @@ 2025-06-13 18:18:22 [http-nio-8108-exec-1] INFO o.s.web.servlet.DispatcherServlet - Initializing Servlet 'dispatcherServlet' 2025-06-13 18:18:22 [http-nio-8108-exec-1] INFO o.s.web.servlet.DispatcherServlet - Completed initialization in 15 ms 2025-06-13 18:18:22 [http-nio-8108-exec-1] INFO o.a.s.s.m.AbstractValidatingSessionManager - Enabling session validation scheduler... +2025-06-13 18:45:37 [main] INFO com.whyc.App - Starting App on DESKTOP-Q82RRVK with PID 35128 (E:\GitWorkSpace\powerIntelligenceSystem\target\classes started by Administrator in E:\GitWorkSpace\powerIntelligenceSystem) +2025-06-13 18:45:37 [main] INFO com.whyc.App - The following profiles are active: dev +2025-06-13 18:45:38 [main] INFO c.u.j.c.EnableEncryptablePropertiesBeanFactoryPostProcessor - Post-processing PropertySource instances +2025-06-13 18:45:38 [main] INFO c.u.j.EncryptablePropertySourceConverter - Skipping PropertySource configurationProperties [class org.springframework.boot.context.properties.source.ConfigurationPropertySourcesPropertySource +2025-06-13 18:45:38 [main] INFO c.u.j.EncryptablePropertySourceConverter - Skipping PropertySource servletConfigInitParams [class org.springframework.core.env.PropertySource$StubPropertySource +2025-06-13 18:45:38 [main] INFO c.u.j.EncryptablePropertySourceConverter - Skipping PropertySource servletContextInitParams [class org.springframework.core.env.PropertySource$StubPropertySource +2025-06-13 18:45:38 [main] INFO c.u.j.EncryptablePropertySourceConverter - Converting PropertySource systemProperties [org.springframework.core.env.PropertiesPropertySource] to EncryptableMapPropertySourceWrapper +2025-06-13 18:45:38 [main] INFO c.u.j.EncryptablePropertySourceConverter - Converting PropertySource systemEnvironment [org.springframework.boot.env.SystemEnvironmentPropertySourceEnvironmentPostProcessor$OriginAwareSystemEnvironmentPropertySource] to EncryptableSystemEnvironmentPropertySourceWrapper +2025-06-13 18:45:38 [main] INFO c.u.j.EncryptablePropertySourceConverter - Converting PropertySource random [org.springframework.boot.env.RandomValuePropertySource] to EncryptablePropertySourceWrapper +2025-06-13 18:45:38 [main] INFO c.u.j.EncryptablePropertySourceConverter - Converting PropertySource applicationConfig: [classpath:/config/application-dev.yml] [org.springframework.boot.env.OriginTrackedMapPropertySource] to EncryptableMapPropertySourceWrapper +2025-06-13 18:45:38 [main] INFO c.u.j.EncryptablePropertySourceConverter - Converting PropertySource applicationConfig: [classpath:/config/application.yml] [org.springframework.boot.env.OriginTrackedMapPropertySource] to EncryptableMapPropertySourceWrapper +2025-06-13 18:45:38 [main] INFO c.u.j.f.DefaultLazyPropertyFilter - Property Filter custom Bean not found with name 'encryptablePropertyFilter'. Initializing Default Property Filter +2025-06-13 18:45:38 [main] INFO c.u.j.r.DefaultLazyPropertyResolver - Property Resolver custom Bean not found with name 'encryptablePropertyResolver'. Initializing Default Property Resolver +2025-06-13 18:45:38 [main] INFO c.u.j.d.DefaultLazyPropertyDetector - Property Detector custom Bean not found with name 'encryptablePropertyDetector'. Initializing Default Property Detector +2025-06-13 18:45:38 [main] INFO c.u.j.encryptor.DefaultLazyEncryptor - String Encryptor custom Bean not found with name 'jasyptStringEncryptor'. Initializing Default String Encryptor +2025-06-13 18:45:38 [main] INFO c.u.j.c.StringEncryptorBuilder - Encryptor config not found for property jasypt.encryptor.key-obtention-iterations, using default value: 1000 +2025-06-13 18:45:38 [main] INFO c.u.j.c.StringEncryptorBuilder - Encryptor config not found for property jasypt.encryptor.pool-size, using default value: 1 +2025-06-13 18:45:38 [main] INFO c.u.j.c.StringEncryptorBuilder - Encryptor config not found for property jasypt.encryptor.provider-name, using default value: null +2025-06-13 18:45:38 [main] INFO c.u.j.c.StringEncryptorBuilder - Encryptor config not found for property jasypt.encryptor.provider-class-name, using default value: null +2025-06-13 18:45:38 [main] INFO c.u.j.c.StringEncryptorBuilder - Encryptor config not found for property jasypt.encryptor.salt-generator-classname, using default value: org.jasypt.salt.RandomSaltGenerator +2025-06-13 18:45:38 [main] INFO c.u.j.c.StringEncryptorBuilder - Encryptor config not found for property jasypt.encryptor.string-output-type, using default value: base64 +2025-06-13 18:45:39 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'yamlProperties' of type [com.whyc.constant.YamlProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2025-06-13 18:45:39 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'customRealm' of type [com.whyc.realm.CustomRealm] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2025-06-13 18:45:39 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'shiroConfig' of type [com.whyc.config.ShiroConfig$$EnhancerBySpringCGLIB$$973918b0] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2025-06-13 18:45:39 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$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) +2025-06-13 18:45:39 [main] WARN com.whyc.properties.PropertiesUtil - 璧勬簮璺緞涓笉瀛樺湪authentication.properties鏉冮檺鏂囦欢锛屽拷鐣ヨ鍙栵紒 +2025-06-13 18:45:39 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'getAuthorizationAttributeSourceAdvisor' 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) +2025-06-13 18:45:39 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration' of type [org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration$$EnhancerBySpringCGLIB$$f6d8131e] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2025-06-13 18:45:39 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'org.apache.shiro.spring.boot.autoconfigure.ShiroBeanAutoConfiguration' of type [org.apache.shiro.spring.boot.autoconfigure.ShiroBeanAutoConfiguration$$EnhancerBySpringCGLIB$$9f0f0ce] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2025-06-13 18:45:39 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$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) +2025-06-13 18:45:39 [main] INFO o.s.b.w.e.tomcat.TomcatWebServer - Tomcat initialized with port(s): 8108 (http) +2025-06-13 18:45:39 [main] INFO o.a.coyote.http11.Http11NioProtocol - Initializing ProtocolHandler ["http-nio-8108"] +2025-06-13 18:45:39 [main] INFO o.a.catalina.core.StandardService - Starting service [Tomcat] +2025-06-13 18:45:39 [main] INFO o.a.catalina.core.StandardEngine - Starting Servlet engine: [] +2025-06-13 18:45:39 [main] INFO o.a.c.c.C.[.[localhost].[/pis] - Initializing Spring embedded WebApplicationContext +2025-06-13 18:45:39 [main] INFO o.s.web.context.ContextLoader - Root WebApplicationContext: initialization completed in 2169 ms +2025-06-13 18:45:40 [main] INFO c.alibaba.druid.pool.DruidDataSource - {dataSource-1} inited +2025-06-13 18:45:42 [main] INFO s.d.s.w.PropertySourcedRequestMappingHandlerMapping - Mapped URL path [/v2/api-docs] onto method [public org.springframework.http.ResponseEntity<springfox.documentation.spring.web.json.Json> springfox.documentation.swagger2.web.Swagger2Controller.getDocumentation(java.lang.String,javax.servlet.http.HttpServletRequest)] +2025-06-13 18:45:42 [main] INFO o.s.s.c.ThreadPoolTaskScheduler - Initializing ExecutorService 'taskScheduler' +2025-06-13 18:45:42 [main] INFO s.d.s.w.p.DocumentationPluginsBootstrapper - Context refreshed +2025-06-13 18:45:42 [main] INFO s.d.s.w.p.DocumentationPluginsBootstrapper - Found 1 custom documentation plugin(s) +2025-06-13 18:45:42 [main] INFO s.d.s.w.s.ApiListingReferenceScanner - Scanning for api listing references +2025-06-13 18:45:42 [main] INFO s.d.s.w.r.o.CachingOperationNameGenerator - Generating unique operation named: getPageUsingGET_1 +2025-06-13 18:45:42 [main] INFO s.d.s.w.r.o.CachingOperationNameGenerator - Generating unique operation named: addUsingPOST_1 +2025-06-13 18:45:42 [main] INFO s.d.s.w.r.o.CachingOperationNameGenerator - Generating unique operation named: deleteUsingPOST_1 +2025-06-13 18:45:42 [main] INFO s.d.s.w.r.o.CachingOperationNameGenerator - Generating unique operation named: getListUsingGET_1 +2025-06-13 18:45:43 [main] INFO s.d.s.w.r.o.CachingOperationNameGenerator - Generating unique operation named: getPageUsingGET_2 +2025-06-13 18:45:43 [main] INFO s.d.s.w.r.o.CachingOperationNameGenerator - Generating unique operation named: updateUsingPOST_1 +2025-06-13 18:45:43 [main] INFO s.d.s.w.r.o.CachingOperationNameGenerator - Generating unique operation named: getListUsingGET_2 +2025-06-13 18:45:43 [main] INFO s.d.s.w.r.o.CachingOperationNameGenerator - Generating unique operation named: addUsingPOST_2 +2025-06-13 18:45:43 [main] INFO s.d.s.w.r.o.CachingOperationNameGenerator - Generating unique operation named: deleteUsingPOST_2 +2025-06-13 18:45:43 [main] INFO s.d.s.w.r.o.CachingOperationNameGenerator - Generating unique operation named: getListUsingGET_3 +2025-06-13 18:45:43 [main] INFO s.d.s.w.r.o.CachingOperationNameGenerator - Generating unique operation named: updateUsingPOST_2 +2025-06-13 18:45:43 [main] INFO s.d.s.w.r.o.CachingOperationNameGenerator - Generating unique operation named: getPermitListUsingGET_1 +2025-06-13 18:45:43 [main] INFO o.a.coyote.http11.Http11NioProtocol - Starting ProtocolHandler ["http-nio-8108"] +2025-06-13 18:45:43 [main] INFO o.s.b.w.e.tomcat.TomcatWebServer - Tomcat started on port(s): 8108 (http) with context path '/pis' +2025-06-13 18:45:43 [main] INFO c.u.j.c.RefreshScopeRefreshedEventListener - Refreshing cached encryptable property sources on ServletWebServerInitializedEvent +2025-06-13 18:45:43 [main] INFO c.u.j.c.CachingDelegateEncryptablePropertySource - Property Source systemProperties refreshed +2025-06-13 18:45:43 [main] INFO c.u.j.c.CachingDelegateEncryptablePropertySource - Property Source systemEnvironment refreshed +2025-06-13 18:45:43 [main] INFO c.u.j.c.CachingDelegateEncryptablePropertySource - Property Source random refreshed +2025-06-13 18:45:43 [main] INFO c.u.j.c.CachingDelegateEncryptablePropertySource - Property Source applicationConfig: [classpath:/config/application-dev.yml] refreshed +2025-06-13 18:45:43 [main] INFO c.u.j.c.CachingDelegateEncryptablePropertySource - Property Source applicationConfig: [classpath:/config/application.yml] refreshed +2025-06-13 18:45:43 [main] INFO c.u.j.EncryptablePropertySourceConverter - Converting PropertySource server.ports [org.springframework.core.env.MapPropertySource] to EncryptableMapPropertySourceWrapper +2025-06-13 18:45:43 [main] INFO c.u.j.EncryptablePropertySourceConverter - Skipping PropertySource configurationProperties [class org.springframework.boot.context.properties.source.ConfigurationPropertySourcesPropertySource +2025-06-13 18:45:43 [main] INFO c.u.j.EncryptablePropertySourceConverter - Skipping PropertySource servletConfigInitParams [class org.springframework.core.env.PropertySource$StubPropertySource +2025-06-13 18:45:43 [main] INFO c.u.j.EncryptablePropertySourceConverter - Converting PropertySource servletContextInitParams [org.springframework.web.context.support.ServletContextPropertySource] to EncryptableEnumerablePropertySourceWrapper +2025-06-13 18:45:43 [main] INFO com.whyc.App - Started App in 6.063 seconds (JVM running for 6.938) +2025-06-13 18:45:45 [http-nio-8108-exec-1] INFO o.a.c.c.C.[.[localhost].[/pis] - Initializing Spring DispatcherServlet 'dispatcherServlet' +2025-06-13 18:45:45 [http-nio-8108-exec-1] INFO o.s.web.servlet.DispatcherServlet - Initializing Servlet 'dispatcherServlet' +2025-06-13 18:45:45 [http-nio-8108-exec-1] INFO o.s.web.servlet.DispatcherServlet - Completed initialization in 11 ms +2025-06-13 18:45:45 [http-nio-8108-exec-1] INFO o.a.s.s.m.AbstractValidatingSessionManager - Enabling session validation scheduler... +2025-06-13 18:49:17 [main] INFO com.whyc.App - Starting App on DESKTOP-Q82RRVK with PID 43988 (E:\GitWorkSpace\powerIntelligenceSystem\target\classes started by Administrator in E:\GitWorkSpace\powerIntelligenceSystem) +2025-06-13 18:49:17 [main] INFO com.whyc.App - The following profiles are active: dev +2025-06-13 18:49:18 [main] INFO c.u.j.c.EnableEncryptablePropertiesBeanFactoryPostProcessor - Post-processing PropertySource instances +2025-06-13 18:49:18 [main] INFO c.u.j.EncryptablePropertySourceConverter - Skipping PropertySource configurationProperties [class org.springframework.boot.context.properties.source.ConfigurationPropertySourcesPropertySource +2025-06-13 18:49:18 [main] INFO c.u.j.EncryptablePropertySourceConverter - Skipping PropertySource servletConfigInitParams [class org.springframework.core.env.PropertySource$StubPropertySource +2025-06-13 18:49:18 [main] INFO c.u.j.EncryptablePropertySourceConverter - Skipping PropertySource servletContextInitParams [class org.springframework.core.env.PropertySource$StubPropertySource +2025-06-13 18:49:18 [main] INFO c.u.j.EncryptablePropertySourceConverter - Converting PropertySource systemProperties [org.springframework.core.env.PropertiesPropertySource] to EncryptableMapPropertySourceWrapper +2025-06-13 18:49:18 [main] INFO c.u.j.EncryptablePropertySourceConverter - Converting PropertySource systemEnvironment [org.springframework.boot.env.SystemEnvironmentPropertySourceEnvironmentPostProcessor$OriginAwareSystemEnvironmentPropertySource] to EncryptableSystemEnvironmentPropertySourceWrapper +2025-06-13 18:49:18 [main] INFO c.u.j.EncryptablePropertySourceConverter - Converting PropertySource random [org.springframework.boot.env.RandomValuePropertySource] to EncryptablePropertySourceWrapper +2025-06-13 18:49:18 [main] INFO c.u.j.EncryptablePropertySourceConverter - Converting PropertySource applicationConfig: [classpath:/config/application-dev.yml] [org.springframework.boot.env.OriginTrackedMapPropertySource] to EncryptableMapPropertySourceWrapper +2025-06-13 18:49:18 [main] INFO c.u.j.EncryptablePropertySourceConverter - Converting PropertySource applicationConfig: [classpath:/config/application.yml] [org.springframework.boot.env.OriginTrackedMapPropertySource] to EncryptableMapPropertySourceWrapper +2025-06-13 18:49:18 [main] INFO c.u.j.f.DefaultLazyPropertyFilter - Property Filter custom Bean not found with name 'encryptablePropertyFilter'. Initializing Default Property Filter +2025-06-13 18:49:18 [main] INFO c.u.j.r.DefaultLazyPropertyResolver - Property Resolver custom Bean not found with name 'encryptablePropertyResolver'. Initializing Default Property Resolver +2025-06-13 18:49:18 [main] INFO c.u.j.d.DefaultLazyPropertyDetector - Property Detector custom Bean not found with name 'encryptablePropertyDetector'. Initializing Default Property Detector +2025-06-13 18:49:18 [main] INFO c.u.j.encryptor.DefaultLazyEncryptor - String Encryptor custom Bean not found with name 'jasyptStringEncryptor'. Initializing Default String Encryptor +2025-06-13 18:49:18 [main] INFO c.u.j.c.StringEncryptorBuilder - Encryptor config not found for property jasypt.encryptor.key-obtention-iterations, using default value: 1000 +2025-06-13 18:49:18 [main] INFO c.u.j.c.StringEncryptorBuilder - Encryptor config not found for property jasypt.encryptor.pool-size, using default value: 1 +2025-06-13 18:49:18 [main] INFO c.u.j.c.StringEncryptorBuilder - Encryptor config not found for property jasypt.encryptor.provider-name, using default value: null +2025-06-13 18:49:18 [main] INFO c.u.j.c.StringEncryptorBuilder - Encryptor config not found for property jasypt.encryptor.provider-class-name, using default value: null +2025-06-13 18:49:18 [main] INFO c.u.j.c.StringEncryptorBuilder - Encryptor config not found for property jasypt.encryptor.salt-generator-classname, using default value: org.jasypt.salt.RandomSaltGenerator +2025-06-13 18:49:18 [main] INFO c.u.j.c.StringEncryptorBuilder - Encryptor config not found for property jasypt.encryptor.string-output-type, using default value: base64 +2025-06-13 18:49:19 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'yamlProperties' of type [com.whyc.constant.YamlProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2025-06-13 18:49:19 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'customRealm' of type [com.whyc.realm.CustomRealm] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2025-06-13 18:49:19 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'shiroConfig' of type [com.whyc.config.ShiroConfig$$EnhancerBySpringCGLIB$$a98566d2] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2025-06-13 18:49:19 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$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) +2025-06-13 18:49:19 [main] WARN com.whyc.properties.PropertiesUtil - 璧勬簮璺緞涓笉瀛樺湪authentication.properties鏉冮檺鏂囦欢锛屽拷鐣ヨ鍙栵紒 +2025-06-13 18:49:19 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'getAuthorizationAttributeSourceAdvisor' 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) +2025-06-13 18:49:19 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration' of type [org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration$$EnhancerBySpringCGLIB$$9246140] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2025-06-13 18:49:19 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'org.apache.shiro.spring.boot.autoconfigure.ShiroBeanAutoConfiguration' of type [org.apache.shiro.spring.boot.autoconfigure.ShiroBeanAutoConfiguration$$EnhancerBySpringCGLIB$$1c3d3ef0] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2025-06-13 18:49:19 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$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) +2025-06-13 18:49:19 [main] INFO o.s.b.w.e.tomcat.TomcatWebServer - Tomcat initialized with port(s): 8108 (http) +2025-06-13 18:49:19 [main] INFO o.a.coyote.http11.Http11NioProtocol - Initializing ProtocolHandler ["http-nio-8108"] +2025-06-13 18:49:19 [main] INFO o.a.catalina.core.StandardService - Starting service [Tomcat] +2025-06-13 18:49:19 [main] INFO o.a.catalina.core.StandardEngine - Starting Servlet engine: [] +2025-06-13 18:49:19 [main] INFO o.a.c.c.C.[.[localhost].[/pis] - Initializing Spring embedded WebApplicationContext +2025-06-13 18:49:19 [main] INFO o.s.web.context.ContextLoader - Root WebApplicationContext: initialization completed in 1859 ms +2025-06-13 18:49:19 [main] INFO c.alibaba.druid.pool.DruidDataSource - {dataSource-1} inited +2025-06-13 18:49:21 [main] INFO s.d.s.w.PropertySourcedRequestMappingHandlerMapping - Mapped URL path [/v2/api-docs] onto method [public org.springframework.http.ResponseEntity<springfox.documentation.spring.web.json.Json> springfox.documentation.swagger2.web.Swagger2Controller.getDocumentation(java.lang.String,javax.servlet.http.HttpServletRequest)] +2025-06-13 18:49:22 [main] INFO o.s.s.c.ThreadPoolTaskScheduler - Initializing ExecutorService 'taskScheduler' +2025-06-13 18:49:22 [main] INFO s.d.s.w.p.DocumentationPluginsBootstrapper - Context refreshed +2025-06-13 18:49:22 [main] INFO s.d.s.w.p.DocumentationPluginsBootstrapper - Found 1 custom documentation plugin(s) +2025-06-13 18:49:22 [main] INFO s.d.s.w.s.ApiListingReferenceScanner - Scanning for api listing references +2025-06-13 18:49:22 [main] INFO s.d.s.w.r.o.CachingOperationNameGenerator - Generating unique operation named: getPageUsingGET_1 +2025-06-13 18:49:22 [main] INFO s.d.s.w.r.o.CachingOperationNameGenerator - Generating unique operation named: addUsingPOST_1 +2025-06-13 18:49:22 [main] INFO s.d.s.w.r.o.CachingOperationNameGenerator - Generating unique operation named: deleteUsingPOST_1 +2025-06-13 18:49:22 [main] INFO s.d.s.w.r.o.CachingOperationNameGenerator - Generating unique operation named: getListUsingGET_1 +2025-06-13 18:49:22 [main] INFO s.d.s.w.r.o.CachingOperationNameGenerator - Generating unique operation named: getPageUsingGET_2 +2025-06-13 18:49:22 [main] INFO s.d.s.w.r.o.CachingOperationNameGenerator - Generating unique operation named: updateUsingPOST_1 +2025-06-13 18:49:22 [main] INFO s.d.s.w.r.o.CachingOperationNameGenerator - Generating unique operation named: getListUsingGET_2 +2025-06-13 18:49:22 [main] INFO s.d.s.w.r.o.CachingOperationNameGenerator - Generating unique operation named: addUsingPOST_2 +2025-06-13 18:49:22 [main] INFO s.d.s.w.r.o.CachingOperationNameGenerator - Generating unique operation named: deleteUsingPOST_2 +2025-06-13 18:49:22 [main] INFO s.d.s.w.r.o.CachingOperationNameGenerator - Generating unique operation named: getListUsingGET_3 +2025-06-13 18:49:22 [main] INFO s.d.s.w.r.o.CachingOperationNameGenerator - Generating unique operation named: updateUsingPOST_2 +2025-06-13 18:49:22 [main] INFO s.d.s.w.r.o.CachingOperationNameGenerator - Generating unique operation named: getPermitListUsingGET_1 +2025-06-13 18:49:22 [main] INFO o.a.coyote.http11.Http11NioProtocol - Starting ProtocolHandler ["http-nio-8108"] +2025-06-13 18:49:22 [main] INFO o.s.b.w.e.tomcat.TomcatWebServer - Tomcat started on port(s): 8108 (http) with context path '/pis' +2025-06-13 18:49:22 [main] INFO c.u.j.c.RefreshScopeRefreshedEventListener - Refreshing cached encryptable property sources on ServletWebServerInitializedEvent +2025-06-13 18:49:22 [main] INFO c.u.j.c.CachingDelegateEncryptablePropertySource - Property Source systemProperties refreshed +2025-06-13 18:49:22 [main] INFO c.u.j.c.CachingDelegateEncryptablePropertySource - Property Source systemEnvironment refreshed +2025-06-13 18:49:22 [main] INFO c.u.j.c.CachingDelegateEncryptablePropertySource - Property Source random refreshed +2025-06-13 18:49:22 [main] INFO c.u.j.c.CachingDelegateEncryptablePropertySource - Property Source applicationConfig: [classpath:/config/application-dev.yml] refreshed +2025-06-13 18:49:22 [main] INFO c.u.j.c.CachingDelegateEncryptablePropertySource - Property Source applicationConfig: [classpath:/config/application.yml] refreshed +2025-06-13 18:49:22 [main] INFO c.u.j.EncryptablePropertySourceConverter - Converting PropertySource server.ports [org.springframework.core.env.MapPropertySource] to EncryptableMapPropertySourceWrapper +2025-06-13 18:49:22 [main] INFO c.u.j.EncryptablePropertySourceConverter - Skipping PropertySource configurationProperties [class org.springframework.boot.context.properties.source.ConfigurationPropertySourcesPropertySource +2025-06-13 18:49:22 [main] INFO c.u.j.EncryptablePropertySourceConverter - Skipping PropertySource servletConfigInitParams [class org.springframework.core.env.PropertySource$StubPropertySource +2025-06-13 18:49:22 [main] INFO c.u.j.EncryptablePropertySourceConverter - Converting PropertySource servletContextInitParams [org.springframework.web.context.support.ServletContextPropertySource] to EncryptableEnumerablePropertySourceWrapper +2025-06-13 18:49:22 [main] INFO com.whyc.App - Started App in 5.372 seconds (JVM running for 6.162) +2025-06-13 18:49:38 [http-nio-8108-exec-1] INFO o.a.c.c.C.[.[localhost].[/pis] - Initializing Spring DispatcherServlet 'dispatcherServlet' +2025-06-13 18:49:38 [http-nio-8108-exec-1] INFO o.s.web.servlet.DispatcherServlet - Initializing Servlet 'dispatcherServlet' +2025-06-13 18:49:38 [http-nio-8108-exec-1] INFO o.s.web.servlet.DispatcherServlet - Completed initialization in 14 ms +2025-06-13 18:49:38 [http-nio-8108-exec-1] INFO o.a.s.s.m.AbstractValidatingSessionManager - Enabling session validation scheduler... +2025-06-13 18:50:11 [main] INFO com.whyc.App - Starting App on DESKTOP-Q82RRVK with PID 41660 (E:\GitWorkSpace\powerIntelligenceSystem\target\classes started by Administrator in E:\GitWorkSpace\powerIntelligenceSystem) +2025-06-13 18:50:11 [main] INFO com.whyc.App - The following profiles are active: dev +2025-06-13 18:50:12 [main] INFO c.u.j.c.EnableEncryptablePropertiesBeanFactoryPostProcessor - Post-processing PropertySource instances +2025-06-13 18:50:12 [main] INFO c.u.j.EncryptablePropertySourceConverter - Skipping PropertySource configurationProperties [class org.springframework.boot.context.properties.source.ConfigurationPropertySourcesPropertySource +2025-06-13 18:50:12 [main] INFO c.u.j.EncryptablePropertySourceConverter - Skipping PropertySource servletConfigInitParams [class org.springframework.core.env.PropertySource$StubPropertySource +2025-06-13 18:50:12 [main] INFO c.u.j.EncryptablePropertySourceConverter - Skipping PropertySource servletContextInitParams [class org.springframework.core.env.PropertySource$StubPropertySource +2025-06-13 18:50:12 [main] INFO c.u.j.EncryptablePropertySourceConverter - Converting PropertySource systemProperties [org.springframework.core.env.PropertiesPropertySource] to EncryptableMapPropertySourceWrapper +2025-06-13 18:50:12 [main] INFO c.u.j.EncryptablePropertySourceConverter - Converting PropertySource systemEnvironment [org.springframework.boot.env.SystemEnvironmentPropertySourceEnvironmentPostProcessor$OriginAwareSystemEnvironmentPropertySource] to EncryptableSystemEnvironmentPropertySourceWrapper +2025-06-13 18:50:12 [main] INFO c.u.j.EncryptablePropertySourceConverter - Converting PropertySource random [org.springframework.boot.env.RandomValuePropertySource] to EncryptablePropertySourceWrapper +2025-06-13 18:50:12 [main] INFO c.u.j.EncryptablePropertySourceConverter - Converting PropertySource applicationConfig: [classpath:/config/application-dev.yml] [org.springframework.boot.env.OriginTrackedMapPropertySource] to EncryptableMapPropertySourceWrapper +2025-06-13 18:50:12 [main] INFO c.u.j.EncryptablePropertySourceConverter - Converting PropertySource applicationConfig: [classpath:/config/application.yml] [org.springframework.boot.env.OriginTrackedMapPropertySource] to EncryptableMapPropertySourceWrapper +2025-06-13 18:50:12 [main] INFO c.u.j.f.DefaultLazyPropertyFilter - Property Filter custom Bean not found with name 'encryptablePropertyFilter'. Initializing Default Property Filter +2025-06-13 18:50:12 [main] INFO c.u.j.r.DefaultLazyPropertyResolver - Property Resolver custom Bean not found with name 'encryptablePropertyResolver'. Initializing Default Property Resolver +2025-06-13 18:50:12 [main] INFO c.u.j.d.DefaultLazyPropertyDetector - Property Detector custom Bean not found with name 'encryptablePropertyDetector'. Initializing Default Property Detector +2025-06-13 18:50:12 [main] INFO c.u.j.encryptor.DefaultLazyEncryptor - String Encryptor custom Bean not found with name 'jasyptStringEncryptor'. Initializing Default String Encryptor +2025-06-13 18:50:12 [main] INFO c.u.j.c.StringEncryptorBuilder - Encryptor config not found for property jasypt.encryptor.key-obtention-iterations, using default value: 1000 +2025-06-13 18:50:12 [main] INFO c.u.j.c.StringEncryptorBuilder - Encryptor config not found for property jasypt.encryptor.pool-size, using default value: 1 +2025-06-13 18:50:12 [main] INFO c.u.j.c.StringEncryptorBuilder - Encryptor config not found for property jasypt.encryptor.provider-name, using default value: null +2025-06-13 18:50:12 [main] INFO c.u.j.c.StringEncryptorBuilder - Encryptor config not found for property jasypt.encryptor.provider-class-name, using default value: null +2025-06-13 18:50:12 [main] INFO c.u.j.c.StringEncryptorBuilder - Encryptor config not found for property jasypt.encryptor.salt-generator-classname, using default value: org.jasypt.salt.RandomSaltGenerator +2025-06-13 18:50:12 [main] INFO c.u.j.c.StringEncryptorBuilder - Encryptor config not found for property jasypt.encryptor.string-output-type, using default value: base64 +2025-06-13 18:50:12 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'yamlProperties' of type [com.whyc.constant.YamlProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2025-06-13 18:50:12 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'customRealm' of type [com.whyc.realm.CustomRealm] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2025-06-13 18:50:12 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'shiroConfig' of type [com.whyc.config.ShiroConfig$$EnhancerBySpringCGLIB$$2e1f860a] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2025-06-13 18:50:12 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$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) +2025-06-13 18:50:12 [main] WARN com.whyc.properties.PropertiesUtil - 璧勬簮璺緞涓笉瀛樺湪authentication.properties鏉冮檺鏂囦欢锛屽拷鐣ヨ鍙栵紒 +2025-06-13 18:50:12 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'getAuthorizationAttributeSourceAdvisor' 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) +2025-06-13 18:50:12 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration' of type [org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration$$EnhancerBySpringCGLIB$$8dbe8078] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2025-06-13 18:50:12 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'org.apache.shiro.spring.boot.autoconfigure.ShiroBeanAutoConfiguration' of type [org.apache.shiro.spring.boot.autoconfigure.ShiroBeanAutoConfiguration$$EnhancerBySpringCGLIB$$a0d75e28] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2025-06-13 18:50:12 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$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) +2025-06-13 18:50:13 [main] INFO o.s.b.w.e.tomcat.TomcatWebServer - Tomcat initialized with port(s): 8108 (http) +2025-06-13 18:50:13 [main] INFO o.a.coyote.http11.Http11NioProtocol - Initializing ProtocolHandler ["http-nio-8108"] +2025-06-13 18:50:13 [main] INFO o.a.catalina.core.StandardService - Starting service [Tomcat] +2025-06-13 18:50:13 [main] INFO o.a.catalina.core.StandardEngine - Starting Servlet engine: [] +2025-06-13 18:50:13 [main] INFO o.a.c.c.C.[.[localhost].[/pis] - Initializing Spring embedded WebApplicationContext +2025-06-13 18:50:13 [main] INFO o.s.web.context.ContextLoader - Root WebApplicationContext: initialization completed in 2043 ms +2025-06-13 18:50:13 [main] INFO c.alibaba.druid.pool.DruidDataSource - {dataSource-1} inited +2025-06-13 18:50:16 [main] INFO s.d.s.w.PropertySourcedRequestMappingHandlerMapping - Mapped URL path [/v2/api-docs] onto method [public org.springframework.http.ResponseEntity<springfox.documentation.spring.web.json.Json> springfox.documentation.swagger2.web.Swagger2Controller.getDocumentation(java.lang.String,javax.servlet.http.HttpServletRequest)] +2025-06-13 18:50:16 [main] INFO o.s.s.c.ThreadPoolTaskScheduler - Initializing ExecutorService 'taskScheduler' +2025-06-13 18:50:16 [main] INFO s.d.s.w.p.DocumentationPluginsBootstrapper - Context refreshed +2025-06-13 18:50:16 [main] INFO s.d.s.w.p.DocumentationPluginsBootstrapper - Found 1 custom documentation plugin(s) +2025-06-13 18:50:16 [main] INFO s.d.s.w.s.ApiListingReferenceScanner - Scanning for api listing references +2025-06-13 18:50:16 [main] INFO s.d.s.w.r.o.CachingOperationNameGenerator - Generating unique operation named: getPageUsingGET_1 +2025-06-13 18:50:17 [main] INFO s.d.s.w.r.o.CachingOperationNameGenerator - Generating unique operation named: addUsingPOST_1 +2025-06-13 18:50:17 [main] INFO s.d.s.w.r.o.CachingOperationNameGenerator - Generating unique operation named: deleteUsingPOST_1 +2025-06-13 18:50:17 [main] INFO s.d.s.w.r.o.CachingOperationNameGenerator - Generating unique operation named: getListUsingGET_1 +2025-06-13 18:50:17 [main] INFO s.d.s.w.r.o.CachingOperationNameGenerator - Generating unique operation named: getPageUsingGET_2 +2025-06-13 18:50:17 [main] INFO s.d.s.w.r.o.CachingOperationNameGenerator - Generating unique operation named: updateUsingPOST_1 +2025-06-13 18:50:17 [main] INFO s.d.s.w.r.o.CachingOperationNameGenerator - Generating unique operation named: getListUsingGET_2 +2025-06-13 18:50:17 [main] INFO s.d.s.w.r.o.CachingOperationNameGenerator - Generating unique operation named: addUsingPOST_2 +2025-06-13 18:50:17 [main] INFO s.d.s.w.r.o.CachingOperationNameGenerator - Generating unique operation named: deleteUsingPOST_2 +2025-06-13 18:50:17 [main] INFO s.d.s.w.r.o.CachingOperationNameGenerator - Generating unique operation named: getListUsingGET_3 +2025-06-13 18:50:17 [main] INFO s.d.s.w.r.o.CachingOperationNameGenerator - Generating unique operation named: updateUsingPOST_2 +2025-06-13 18:50:17 [main] INFO s.d.s.w.r.o.CachingOperationNameGenerator - Generating unique operation named: getPermitListUsingGET_1 +2025-06-13 18:50:17 [main] INFO o.a.coyote.http11.Http11NioProtocol - Starting ProtocolHandler ["http-nio-8108"] +2025-06-13 18:50:17 [main] INFO o.s.b.w.e.tomcat.TomcatWebServer - Tomcat started on port(s): 8108 (http) with context path '/pis' +2025-06-13 18:50:17 [main] INFO c.u.j.c.RefreshScopeRefreshedEventListener - Refreshing cached encryptable property sources on ServletWebServerInitializedEvent +2025-06-13 18:50:17 [main] INFO c.u.j.c.CachingDelegateEncryptablePropertySource - Property Source systemProperties refreshed +2025-06-13 18:50:17 [main] INFO c.u.j.c.CachingDelegateEncryptablePropertySource - Property Source systemEnvironment refreshed +2025-06-13 18:50:17 [main] INFO c.u.j.c.CachingDelegateEncryptablePropertySource - Property Source random refreshed +2025-06-13 18:50:17 [main] INFO c.u.j.c.CachingDelegateEncryptablePropertySource - Property Source applicationConfig: [classpath:/config/application-dev.yml] refreshed +2025-06-13 18:50:17 [main] INFO c.u.j.c.CachingDelegateEncryptablePropertySource - Property Source applicationConfig: [classpath:/config/application.yml] refreshed +2025-06-13 18:50:17 [main] INFO c.u.j.EncryptablePropertySourceConverter - Converting PropertySource server.ports [org.springframework.core.env.MapPropertySource] to EncryptableMapPropertySourceWrapper +2025-06-13 18:50:17 [main] INFO c.u.j.EncryptablePropertySourceConverter - Skipping PropertySource configurationProperties [class org.springframework.boot.context.properties.source.ConfigurationPropertySourcesPropertySource +2025-06-13 18:50:17 [main] INFO c.u.j.EncryptablePropertySourceConverter - Skipping PropertySource servletConfigInitParams [class org.springframework.core.env.PropertySource$StubPropertySource +2025-06-13 18:50:17 [main] INFO c.u.j.EncryptablePropertySourceConverter - Converting PropertySource servletContextInitParams [org.springframework.web.context.support.ServletContextPropertySource] to EncryptableEnumerablePropertySourceWrapper +2025-06-13 18:50:17 [main] INFO com.whyc.App - Started App in 6.419 seconds (JVM running for 8.087) +2025-06-13 18:50:23 [http-nio-8108-exec-1] INFO o.a.c.c.C.[.[localhost].[/pis] - Initializing Spring DispatcherServlet 'dispatcherServlet' +2025-06-13 18:50:23 [http-nio-8108-exec-1] INFO o.s.web.servlet.DispatcherServlet - Initializing Servlet 'dispatcherServlet' +2025-06-13 18:50:23 [http-nio-8108-exec-1] INFO o.s.web.servlet.DispatcherServlet - Completed initialization in 15 ms +2025-06-13 18:50:23 [http-nio-8108-exec-1] INFO o.a.s.s.m.AbstractValidatingSessionManager - Enabling session validation scheduler... +2025-06-13 18:50:58 [Thread-16] INFO o.s.s.c.ThreadPoolTaskScheduler - Shutting down ExecutorService 'taskScheduler' +2025-06-13 18:50:58 [Thread-16] INFO c.alibaba.druid.pool.DruidDataSource - {dataSource-1} closed +2025-06-13 18:50:58 [Thread-16] INFO o.a.s.s.m.AbstractValidatingSessionManager - Disabled session validation scheduler. +2025-06-13 18:51:18 [main] INFO com.whyc.App - Starting App on DESKTOP-Q82RRVK with PID 43724 (E:\GitWorkSpace\powerIntelligenceSystem\target\classes started by Administrator in E:\GitWorkSpace\powerIntelligenceSystem) +2025-06-13 18:51:18 [main] INFO com.whyc.App - The following profiles are active: dev +2025-06-13 18:51:19 [main] INFO c.u.j.c.EnableEncryptablePropertiesBeanFactoryPostProcessor - Post-processing PropertySource instances +2025-06-13 18:51:19 [main] INFO c.u.j.EncryptablePropertySourceConverter - Skipping PropertySource configurationProperties [class org.springframework.boot.context.properties.source.ConfigurationPropertySourcesPropertySource +2025-06-13 18:51:19 [main] INFO c.u.j.EncryptablePropertySourceConverter - Skipping PropertySource servletConfigInitParams [class org.springframework.core.env.PropertySource$StubPropertySource +2025-06-13 18:51:19 [main] INFO c.u.j.EncryptablePropertySourceConverter - Skipping PropertySource servletContextInitParams [class org.springframework.core.env.PropertySource$StubPropertySource +2025-06-13 18:51:19 [main] INFO c.u.j.EncryptablePropertySourceConverter - Converting PropertySource systemProperties [org.springframework.core.env.PropertiesPropertySource] to EncryptableMapPropertySourceWrapper +2025-06-13 18:51:19 [main] INFO c.u.j.EncryptablePropertySourceConverter - Converting PropertySource systemEnvironment [org.springframework.boot.env.SystemEnvironmentPropertySourceEnvironmentPostProcessor$OriginAwareSystemEnvironmentPropertySource] to EncryptableSystemEnvironmentPropertySourceWrapper +2025-06-13 18:51:19 [main] INFO c.u.j.EncryptablePropertySourceConverter - Converting PropertySource random [org.springframework.boot.env.RandomValuePropertySource] to EncryptablePropertySourceWrapper +2025-06-13 18:51:19 [main] INFO c.u.j.EncryptablePropertySourceConverter - Converting PropertySource applicationConfig: [classpath:/config/application-dev.yml] [org.springframework.boot.env.OriginTrackedMapPropertySource] to EncryptableMapPropertySourceWrapper +2025-06-13 18:51:19 [main] INFO c.u.j.EncryptablePropertySourceConverter - Converting PropertySource applicationConfig: [classpath:/config/application.yml] [org.springframework.boot.env.OriginTrackedMapPropertySource] to EncryptableMapPropertySourceWrapper +2025-06-13 18:51:19 [main] INFO c.u.j.f.DefaultLazyPropertyFilter - Property Filter custom Bean not found with name 'encryptablePropertyFilter'. Initializing Default Property Filter +2025-06-13 18:51:19 [main] INFO c.u.j.r.DefaultLazyPropertyResolver - Property Resolver custom Bean not found with name 'encryptablePropertyResolver'. Initializing Default Property Resolver +2025-06-13 18:51:19 [main] INFO c.u.j.d.DefaultLazyPropertyDetector - Property Detector custom Bean not found with name 'encryptablePropertyDetector'. Initializing Default Property Detector +2025-06-13 18:51:19 [main] INFO c.u.j.encryptor.DefaultLazyEncryptor - String Encryptor custom Bean not found with name 'jasyptStringEncryptor'. Initializing Default String Encryptor +2025-06-13 18:51:19 [main] INFO c.u.j.c.StringEncryptorBuilder - Encryptor config not found for property jasypt.encryptor.key-obtention-iterations, using default value: 1000 +2025-06-13 18:51:19 [main] INFO c.u.j.c.StringEncryptorBuilder - Encryptor config not found for property jasypt.encryptor.pool-size, using default value: 1 +2025-06-13 18:51:19 [main] INFO c.u.j.c.StringEncryptorBuilder - Encryptor config not found for property jasypt.encryptor.provider-name, using default value: null +2025-06-13 18:51:19 [main] INFO c.u.j.c.StringEncryptorBuilder - Encryptor config not found for property jasypt.encryptor.provider-class-name, using default value: null +2025-06-13 18:51:19 [main] INFO c.u.j.c.StringEncryptorBuilder - Encryptor config not found for property jasypt.encryptor.salt-generator-classname, using default value: org.jasypt.salt.RandomSaltGenerator +2025-06-13 18:51:19 [main] INFO c.u.j.c.StringEncryptorBuilder - Encryptor config not found for property jasypt.encryptor.string-output-type, using default value: base64 +2025-06-13 18:51:19 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'yamlProperties' of type [com.whyc.constant.YamlProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2025-06-13 18:51:19 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'customRealm' of type [com.whyc.realm.CustomRealm] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2025-06-13 18:51:19 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'shiroConfig' of type [com.whyc.config.ShiroConfig$$EnhancerBySpringCGLIB$$dbcde71f] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2025-06-13 18:51:19 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$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) +2025-06-13 18:51:19 [main] WARN com.whyc.properties.PropertiesUtil - 璧勬簮璺緞涓笉瀛樺湪authentication.properties鏉冮檺鏂囦欢锛屽拷鐣ヨ鍙栵紒 +2025-06-13 18:51:19 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'getAuthorizationAttributeSourceAdvisor' 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) +2025-06-13 18:51:19 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration' of type [org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration$$EnhancerBySpringCGLIB$$3b6ce18d] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2025-06-13 18:51:19 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'org.apache.shiro.spring.boot.autoconfigure.ShiroBeanAutoConfiguration' of type [org.apache.shiro.spring.boot.autoconfigure.ShiroBeanAutoConfiguration$$EnhancerBySpringCGLIB$$4e85bf3d] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2025-06-13 18:51:19 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$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) +2025-06-13 18:51:20 [main] INFO o.s.b.w.e.tomcat.TomcatWebServer - Tomcat initialized with port(s): 8108 (http) +2025-06-13 18:51:20 [main] INFO o.a.coyote.http11.Http11NioProtocol - Initializing ProtocolHandler ["http-nio-8108"] +2025-06-13 18:51:20 [main] INFO o.a.catalina.core.StandardService - Starting service [Tomcat] +2025-06-13 18:51:20 [main] INFO o.a.catalina.core.StandardEngine - Starting Servlet engine: [] +2025-06-13 18:51:20 [main] INFO o.a.c.c.C.[.[localhost].[/pis] - Initializing Spring embedded WebApplicationContext +2025-06-13 18:51:20 [main] INFO o.s.web.context.ContextLoader - Root WebApplicationContext: initialization completed in 1983 ms +2025-06-13 18:51:20 [main] INFO c.alibaba.druid.pool.DruidDataSource - {dataSource-1} inited +2025-06-13 18:51:22 [main] INFO s.d.s.w.PropertySourcedRequestMappingHandlerMapping - Mapped URL path [/v2/api-docs] onto method [public org.springframework.http.ResponseEntity<springfox.documentation.spring.web.json.Json> springfox.documentation.swagger2.web.Swagger2Controller.getDocumentation(java.lang.String,javax.servlet.http.HttpServletRequest)] +2025-06-13 18:51:22 [main] INFO o.s.s.c.ThreadPoolTaskScheduler - Initializing ExecutorService 'taskScheduler' +2025-06-13 18:51:22 [main] INFO s.d.s.w.p.DocumentationPluginsBootstrapper - Context refreshed +2025-06-13 18:51:22 [main] INFO s.d.s.w.p.DocumentationPluginsBootstrapper - Found 1 custom documentation plugin(s) +2025-06-13 18:51:23 [main] INFO s.d.s.w.s.ApiListingReferenceScanner - Scanning for api listing references +2025-06-13 18:51:23 [main] INFO s.d.s.w.r.o.CachingOperationNameGenerator - Generating unique operation named: getPageUsingGET_1 +2025-06-13 18:51:23 [main] INFO s.d.s.w.r.o.CachingOperationNameGenerator - Generating unique operation named: addUsingPOST_1 +2025-06-13 18:51:23 [main] INFO s.d.s.w.r.o.CachingOperationNameGenerator - Generating unique operation named: deleteUsingPOST_1 +2025-06-13 18:51:23 [main] INFO s.d.s.w.r.o.CachingOperationNameGenerator - Generating unique operation named: getListUsingGET_1 +2025-06-13 18:51:23 [main] INFO s.d.s.w.r.o.CachingOperationNameGenerator - Generating unique operation named: getPageUsingGET_2 +2025-06-13 18:51:23 [main] INFO s.d.s.w.r.o.CachingOperationNameGenerator - Generating unique operation named: updateUsingPOST_1 +2025-06-13 18:51:23 [main] INFO s.d.s.w.r.o.CachingOperationNameGenerator - Generating unique operation named: getListUsingGET_2 +2025-06-13 18:51:23 [main] INFO s.d.s.w.r.o.CachingOperationNameGenerator - Generating unique operation named: addUsingPOST_2 +2025-06-13 18:51:23 [main] INFO s.d.s.w.r.o.CachingOperationNameGenerator - Generating unique operation named: deleteUsingPOST_2 +2025-06-13 18:51:23 [main] INFO s.d.s.w.r.o.CachingOperationNameGenerator - Generating unique operation named: getListUsingGET_3 +2025-06-13 18:51:23 [main] INFO s.d.s.w.r.o.CachingOperationNameGenerator - Generating unique operation named: updateUsingPOST_2 +2025-06-13 18:51:23 [main] INFO s.d.s.w.r.o.CachingOperationNameGenerator - Generating unique operation named: getPermitListUsingGET_1 +2025-06-13 18:51:23 [main] INFO o.a.coyote.http11.Http11NioProtocol - Starting ProtocolHandler ["http-nio-8108"] +2025-06-13 18:51:23 [main] INFO o.s.b.w.e.tomcat.TomcatWebServer - Tomcat started on port(s): 8108 (http) with context path '/pis' +2025-06-13 18:51:23 [main] INFO c.u.j.c.RefreshScopeRefreshedEventListener - Refreshing cached encryptable property sources on ServletWebServerInitializedEvent +2025-06-13 18:51:23 [main] INFO c.u.j.c.CachingDelegateEncryptablePropertySource - Property Source systemProperties refreshed +2025-06-13 18:51:23 [main] INFO c.u.j.c.CachingDelegateEncryptablePropertySource - Property Source systemEnvironment refreshed +2025-06-13 18:51:23 [main] INFO c.u.j.c.CachingDelegateEncryptablePropertySource - Property Source random refreshed +2025-06-13 18:51:23 [main] INFO c.u.j.c.CachingDelegateEncryptablePropertySource - Property Source applicationConfig: [classpath:/config/application-dev.yml] refreshed +2025-06-13 18:51:23 [main] INFO c.u.j.c.CachingDelegateEncryptablePropertySource - Property Source applicationConfig: [classpath:/config/application.yml] refreshed +2025-06-13 18:51:23 [main] INFO c.u.j.EncryptablePropertySourceConverter - Converting PropertySource server.ports [org.springframework.core.env.MapPropertySource] to EncryptableMapPropertySourceWrapper +2025-06-13 18:51:23 [main] INFO c.u.j.EncryptablePropertySourceConverter - Skipping PropertySource configurationProperties [class org.springframework.boot.context.properties.source.ConfigurationPropertySourcesPropertySource +2025-06-13 18:51:23 [main] INFO c.u.j.EncryptablePropertySourceConverter - Skipping PropertySource servletConfigInitParams [class org.springframework.core.env.PropertySource$StubPropertySource +2025-06-13 18:51:23 [main] INFO c.u.j.EncryptablePropertySourceConverter - Converting PropertySource servletContextInitParams [org.springframework.web.context.support.ServletContextPropertySource] to EncryptableEnumerablePropertySourceWrapper +2025-06-13 18:51:23 [main] INFO com.whyc.App - Started App in 5.607 seconds (JVM running for 6.362) +2025-06-13 18:51:26 [http-nio-8108-exec-1] INFO o.a.c.c.C.[.[localhost].[/pis] - Initializing Spring DispatcherServlet 'dispatcherServlet' +2025-06-13 18:51:26 [http-nio-8108-exec-1] INFO o.s.web.servlet.DispatcherServlet - Initializing Servlet 'dispatcherServlet' +2025-06-13 18:51:26 [http-nio-8108-exec-1] INFO o.s.web.servlet.DispatcherServlet - Completed initialization in 14 ms +2025-06-13 18:51:26 [http-nio-8108-exec-1] INFO o.a.s.s.m.AbstractValidatingSessionManager - Enabling session validation scheduler... +2025-06-13 18:52:31 [main] INFO com.whyc.App - Starting App on DESKTOP-Q82RRVK with PID 40784 (E:\GitWorkSpace\powerIntelligenceSystem\target\classes started by Administrator in E:\GitWorkSpace\powerIntelligenceSystem) +2025-06-13 18:52:31 [main] INFO com.whyc.App - The following profiles are active: dev +2025-06-13 18:52:32 [main] INFO c.u.j.c.EnableEncryptablePropertiesBeanFactoryPostProcessor - Post-processing PropertySource instances +2025-06-13 18:52:32 [main] INFO c.u.j.EncryptablePropertySourceConverter - Skipping PropertySource configurationProperties [class org.springframework.boot.context.properties.source.ConfigurationPropertySourcesPropertySource +2025-06-13 18:52:32 [main] INFO c.u.j.EncryptablePropertySourceConverter - Skipping PropertySource servletConfigInitParams [class org.springframework.core.env.PropertySource$StubPropertySource +2025-06-13 18:52:32 [main] INFO c.u.j.EncryptablePropertySourceConverter - Skipping PropertySource servletContextInitParams [class org.springframework.core.env.PropertySource$StubPropertySource +2025-06-13 18:52:32 [main] INFO c.u.j.EncryptablePropertySourceConverter - Converting PropertySource systemProperties [org.springframework.core.env.PropertiesPropertySource] to EncryptableMapPropertySourceWrapper +2025-06-13 18:52:32 [main] INFO c.u.j.EncryptablePropertySourceConverter - Converting PropertySource systemEnvironment [org.springframework.boot.env.SystemEnvironmentPropertySourceEnvironmentPostProcessor$OriginAwareSystemEnvironmentPropertySource] to EncryptableSystemEnvironmentPropertySourceWrapper +2025-06-13 18:52:32 [main] INFO c.u.j.EncryptablePropertySourceConverter - Converting PropertySource random [org.springframework.boot.env.RandomValuePropertySource] to EncryptablePropertySourceWrapper +2025-06-13 18:52:32 [main] INFO c.u.j.EncryptablePropertySourceConverter - Converting PropertySource applicationConfig: [classpath:/config/application-dev.yml] [org.springframework.boot.env.OriginTrackedMapPropertySource] to EncryptableMapPropertySourceWrapper +2025-06-13 18:52:32 [main] INFO c.u.j.EncryptablePropertySourceConverter - Converting PropertySource applicationConfig: [classpath:/config/application.yml] [org.springframework.boot.env.OriginTrackedMapPropertySource] to EncryptableMapPropertySourceWrapper +2025-06-13 18:52:32 [main] INFO c.u.j.f.DefaultLazyPropertyFilter - Property Filter custom Bean not found with name 'encryptablePropertyFilter'. Initializing Default Property Filter +2025-06-13 18:52:32 [main] INFO c.u.j.r.DefaultLazyPropertyResolver - Property Resolver custom Bean not found with name 'encryptablePropertyResolver'. Initializing Default Property Resolver +2025-06-13 18:52:32 [main] INFO c.u.j.d.DefaultLazyPropertyDetector - Property Detector custom Bean not found with name 'encryptablePropertyDetector'. Initializing Default Property Detector +2025-06-13 18:52:32 [main] INFO c.u.j.encryptor.DefaultLazyEncryptor - String Encryptor custom Bean not found with name 'jasyptStringEncryptor'. Initializing Default String Encryptor +2025-06-13 18:52:32 [main] INFO c.u.j.c.StringEncryptorBuilder - Encryptor config not found for property jasypt.encryptor.key-obtention-iterations, using default value: 1000 +2025-06-13 18:52:32 [main] INFO c.u.j.c.StringEncryptorBuilder - Encryptor config not found for property jasypt.encryptor.pool-size, using default value: 1 +2025-06-13 18:52:32 [main] INFO c.u.j.c.StringEncryptorBuilder - Encryptor config not found for property jasypt.encryptor.provider-name, using default value: null +2025-06-13 18:52:32 [main] INFO c.u.j.c.StringEncryptorBuilder - Encryptor config not found for property jasypt.encryptor.provider-class-name, using default value: null +2025-06-13 18:52:32 [main] INFO c.u.j.c.StringEncryptorBuilder - Encryptor config not found for property jasypt.encryptor.salt-generator-classname, using default value: org.jasypt.salt.RandomSaltGenerator +2025-06-13 18:52:32 [main] INFO c.u.j.c.StringEncryptorBuilder - Encryptor config not found for property jasypt.encryptor.string-output-type, using default value: base64 +2025-06-13 18:52:32 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'yamlProperties' of type [com.whyc.constant.YamlProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2025-06-13 18:52:33 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'customRealm' of type [com.whyc.realm.CustomRealm] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2025-06-13 18:52:33 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'shiroConfig' of type [com.whyc.config.ShiroConfig$$EnhancerBySpringCGLIB$$ccbbd469] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2025-06-13 18:52:33 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$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) +2025-06-13 18:52:33 [main] WARN com.whyc.properties.PropertiesUtil - 璧勬簮璺緞涓笉瀛樺湪authentication.properties鏉冮檺鏂囦欢锛屽拷鐣ヨ鍙栵紒 +2025-06-13 18:52:33 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'getAuthorizationAttributeSourceAdvisor' 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) +2025-06-13 18:52:33 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration' of type [org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration$$EnhancerBySpringCGLIB$$2c5aced7] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2025-06-13 18:52:33 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'org.apache.shiro.spring.boot.autoconfigure.ShiroBeanAutoConfiguration' of type [org.apache.shiro.spring.boot.autoconfigure.ShiroBeanAutoConfiguration$$EnhancerBySpringCGLIB$$3f73ac87] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2025-06-13 18:52:33 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$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) +2025-06-13 18:52:33 [main] INFO o.s.b.w.e.tomcat.TomcatWebServer - Tomcat initialized with port(s): 8108 (http) +2025-06-13 18:52:33 [main] INFO o.a.coyote.http11.Http11NioProtocol - Initializing ProtocolHandler ["http-nio-8108"] +2025-06-13 18:52:33 [main] INFO o.a.catalina.core.StandardService - Starting service [Tomcat] +2025-06-13 18:52:33 [main] INFO o.a.catalina.core.StandardEngine - Starting Servlet engine: [] +2025-06-13 18:52:33 [main] INFO o.a.c.c.C.[.[localhost].[/pis] - Initializing Spring embedded WebApplicationContext +2025-06-13 18:52:33 [main] INFO o.s.web.context.ContextLoader - Root WebApplicationContext: initialization completed in 1903 ms +2025-06-13 18:52:33 [main] INFO c.alibaba.druid.pool.DruidDataSource - {dataSource-1} inited +2025-06-13 18:52:35 [main] INFO s.d.s.w.PropertySourcedRequestMappingHandlerMapping - Mapped URL path [/v2/api-docs] onto method [public org.springframework.http.ResponseEntity<springfox.documentation.spring.web.json.Json> springfox.documentation.swagger2.web.Swagger2Controller.getDocumentation(java.lang.String,javax.servlet.http.HttpServletRequest)] +2025-06-13 18:52:36 [main] INFO o.s.s.c.ThreadPoolTaskScheduler - Initializing ExecutorService 'taskScheduler' +2025-06-13 18:52:36 [main] INFO s.d.s.w.p.DocumentationPluginsBootstrapper - Context refreshed +2025-06-13 18:52:36 [main] INFO s.d.s.w.p.DocumentationPluginsBootstrapper - Found 1 custom documentation plugin(s) +2025-06-13 18:52:36 [main] INFO s.d.s.w.s.ApiListingReferenceScanner - Scanning for api listing references +2025-06-13 18:52:36 [main] INFO s.d.s.w.r.o.CachingOperationNameGenerator - Generating unique operation named: getPageUsingGET_1 +2025-06-13 18:52:36 [main] INFO s.d.s.w.r.o.CachingOperationNameGenerator - Generating unique operation named: addUsingPOST_1 +2025-06-13 18:52:36 [main] INFO s.d.s.w.r.o.CachingOperationNameGenerator - Generating unique operation named: deleteUsingPOST_1 +2025-06-13 18:52:36 [main] INFO s.d.s.w.r.o.CachingOperationNameGenerator - Generating unique operation named: getListUsingGET_1 +2025-06-13 18:52:36 [main] INFO s.d.s.w.r.o.CachingOperationNameGenerator - Generating unique operation named: getPageUsingGET_2 +2025-06-13 18:52:36 [main] INFO s.d.s.w.r.o.CachingOperationNameGenerator - Generating unique operation named: updateUsingPOST_1 +2025-06-13 18:52:36 [main] INFO s.d.s.w.r.o.CachingOperationNameGenerator - Generating unique operation named: getListUsingGET_2 +2025-06-13 18:52:36 [main] INFO s.d.s.w.r.o.CachingOperationNameGenerator - Generating unique operation named: addUsingPOST_2 +2025-06-13 18:52:36 [main] INFO s.d.s.w.r.o.CachingOperationNameGenerator - Generating unique operation named: deleteUsingPOST_2 +2025-06-13 18:52:36 [main] INFO s.d.s.w.r.o.CachingOperationNameGenerator - Generating unique operation named: getListUsingGET_3 +2025-06-13 18:52:36 [main] INFO s.d.s.w.r.o.CachingOperationNameGenerator - Generating unique operation named: updateUsingPOST_2 +2025-06-13 18:52:36 [main] INFO s.d.s.w.r.o.CachingOperationNameGenerator - Generating unique operation named: getPermitListUsingGET_1 +2025-06-13 18:52:36 [main] INFO o.a.coyote.http11.Http11NioProtocol - Starting ProtocolHandler ["http-nio-8108"] +2025-06-13 18:52:36 [main] INFO o.s.b.w.e.tomcat.TomcatWebServer - Tomcat started on port(s): 8108 (http) with context path '/pis' +2025-06-13 18:52:36 [main] INFO c.u.j.c.RefreshScopeRefreshedEventListener - Refreshing cached encryptable property sources on ServletWebServerInitializedEvent +2025-06-13 18:52:36 [main] INFO c.u.j.c.CachingDelegateEncryptablePropertySource - Property Source systemProperties refreshed +2025-06-13 18:52:36 [main] INFO c.u.j.c.CachingDelegateEncryptablePropertySource - Property Source systemEnvironment refreshed +2025-06-13 18:52:36 [main] INFO c.u.j.c.CachingDelegateEncryptablePropertySource - Property Source random refreshed +2025-06-13 18:52:36 [main] INFO c.u.j.c.CachingDelegateEncryptablePropertySource - Property Source applicationConfig: [classpath:/config/application-dev.yml] refreshed +2025-06-13 18:52:36 [main] INFO c.u.j.c.CachingDelegateEncryptablePropertySource - Property Source applicationConfig: [classpath:/config/application.yml] refreshed +2025-06-13 18:52:36 [main] INFO c.u.j.EncryptablePropertySourceConverter - Converting PropertySource server.ports [org.springframework.core.env.MapPropertySource] to EncryptableMapPropertySourceWrapper +2025-06-13 18:52:36 [main] INFO c.u.j.EncryptablePropertySourceConverter - Skipping PropertySource configurationProperties [class org.springframework.boot.context.properties.source.ConfigurationPropertySourcesPropertySource +2025-06-13 18:52:36 [main] INFO c.u.j.EncryptablePropertySourceConverter - Skipping PropertySource servletConfigInitParams [class org.springframework.core.env.PropertySource$StubPropertySource +2025-06-13 18:52:36 [main] INFO c.u.j.EncryptablePropertySourceConverter - Converting PropertySource servletContextInitParams [org.springframework.web.context.support.ServletContextPropertySource] to EncryptableEnumerablePropertySourceWrapper +2025-06-13 18:52:36 [main] INFO com.whyc.App - Started App in 5.558 seconds (JVM running for 6.386) +2025-06-13 18:52:40 [http-nio-8108-exec-1] INFO o.a.c.c.C.[.[localhost].[/pis] - Initializing Spring DispatcherServlet 'dispatcherServlet' +2025-06-13 18:52:40 [http-nio-8108-exec-1] INFO o.s.web.servlet.DispatcherServlet - Initializing Servlet 'dispatcherServlet' +2025-06-13 18:52:40 [http-nio-8108-exec-1] INFO o.s.web.servlet.DispatcherServlet - Completed initialization in 15 ms +2025-06-13 18:52:40 [http-nio-8108-exec-1] INFO o.a.s.s.m.AbstractValidatingSessionManager - Enabling session validation scheduler... -- Gitblit v1.9.1