style(java): 统一Springboot3版本代码格式化和优化依赖配置

This commit is contained in:
2025-12-29 12:02:27 +08:00
parent c1521dcb9a
commit 4097e1801f
108 changed files with 4497 additions and 5155 deletions
@@ -17,14 +17,14 @@
package cn.odboy;
import cn.odboy.framework.monitor.service.KitHealthCheckPointService;
import cn.odboy.system.service.SystemDictService;
import cn.odboy.system.dal.mysql.SystemDictMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.http.ResponseEntity;
import org.springframework.stereotype.Component;
@Component
public class HealthCheckPointer implements KitHealthCheckPointService {
@Autowired private SystemDictService systemDictService;
@Autowired private SystemDictMapper systemDictMapper;
/**
* 系统准备就绪
@@ -39,6 +39,6 @@ public class HealthCheckPointer implements KitHealthCheckPointService {
*/
@Override
public ResponseEntity<?> doLiveness() {
return ResponseEntity.ok(systemDictService.getById(1));
return ResponseEntity.ok(systemDictMapper.selectById(1));
}
}
@@ -20,7 +20,6 @@ import cn.hutool.core.collection.CollUtil;
import cn.odboy.system.dal.dataobject.SystemDeptTb;
import cn.odboy.system.dal.dataobject.SystemJobTb;
import cn.odboy.system.dal.dataobject.SystemRoleTb;
import cn.odboy.system.dal.dataobject.SystemUserTb;
import cn.odboy.system.dal.model.SystemUserVo;
import cn.odboy.system.service.SystemUserService;
import java.util.Set;