Commit graph

125 commits

Author SHA1 Message Date
sol
e7c257b4da feat(discovery): Add a service discovery plugin and replace Nacos dependencies 2026-01-08 14:15:04 +08:00
smile
f7475580f8 feat(core): add Excel import/export capability and template download
- Introduce PoiCapability utility class to provide core Excel import/export functions
- Add generic methods in BaseController to obtain entity and DTO classes
- Implement base methods for downloading import templates and importing data from Excel
- Rename generic parameters in BasePageDto for better readability
- Upgrade fastexcel to version 1.3.0
- Remove legacy BasePoiController and BasePoiService classes
- Integrate and expose Excel import APIs in RoleController
- Rewrite importValidator in RoleService to support row-level validation
- Create new capability package and PoiCapability class for unified POI operations
2025-12-11 18:07:50 +08:00
sol
43b1df2abf chore(config)(2Core 2GB): Adjust system resource allocation to optimize performance. 2025-12-02 02:49:29 +08:00
sol
5784a7b0a9 Merge remote-tracking branch 'origin/main' 2025-12-01 23:16:47 +08:00
sol
05d910e5d8 feat(pom): Introduce new dependencies and optimize configurations 2025-12-01 23:16:30 +08:00
smile
6881da91d8 refactor(threadpool): refactor ThreadPoolTaskExecutor 2025-12-01 16:49:32 +08:00
sol
3f39223c7f refactor(ssh): Replace System.out with slf4j logs 2025-12-01 16:05:59 +08:00
sol
ab793366b9 feat(controller): Add a success message 2025-12-01 16:00:09 +08:00
smile
eb8c6517c7 refactor(threadpool): refactor ThreadPoolTaskExecutor 2025-12-01 11:12:36 +08:00
smile
7c9778de28 refactor (core): Restructure the package architecture of the POI export history module
- Migrate PoiExportHistoryEntity from common-base-model to common-core-base
- Migrate PoiExportHistoryPageDto from common-base-model to common-core-base
- Update relevant import paths to match the new package structure
- Add department association fields and annotations in PoiExportHistoryEntity
- Adjust dependency injection and type references in the controller and service layers
- Remove unnecessary ObjectUtils imports and unused List imports
2025-11-28 10:07:08 +08:00
smile
e987fa902c feat(poi): Extend exported history fields
- Added a username field to track the user performing the export operation
- Add a file size field to record the total size of exported files
- Add a field to count and export the number of files
- Update the database table structure to support the storage of new fields
- Improve the mapping of entity class attributes and interface documentation descriptions
2025-11-27 15:55:59 +08:00
smile
0e137b1f04 feat(poi): refine export history status model and workflow 2025-11-26 09:14:24 +08:00
smile
d823a12170 feat(poi): Added department ID field to export history records
- Add the department_id field to the poi_t_export_history table
- Add the departmentId attribute and corresponding annotations to the PoiExportHistoryEntity entity class
- Map the departmentId field to the department_id column in the database
- Add Swagger documentation description for the department ID
- Use the @Transient annotation to mark entity fields and avoid JPA persistence conflicts
- Define department_id as a nullable varchar type in the HCL configuration file
- Preserve the original column structure for server indexing and extend support for new fields
2025-11-25 17:18:28 +08:00
smile
63ddd70f40 feat(core): Add the function to update export record status 2025-11-25 16:59:48 +08:00
smile
ff42ef0d0f fix(threadpool): Adjust the thread pool queue capacity configuration
- Adjust the CPU-intensive thread pool queue capacity from 2000 to 500
- Adjust the thread pool queue capacity for I/O-intensive tasks from 10,000 to 2,000
- Adjust the core thread count multiplier for the IO thread pool from 3 to 2
2025-11-25 15:21:16 +08:00
smile
a4f24d11f5 fix(core): fix NullPointerException in data scope processing
- Add null checks before retrieving entity classes
- Optimize the entity field caching scan logic
- Expand package scanning paths to include additional entity classes
- Enhance exception handling to prevent application interruption
- Fix runtime errors caused by null entity references
2025-11-25 14:10:22 +08:00
smile
de03da7138 feat(poi): Implemented the deletion function for POI export records
- Added support for batch deletion of POI export records via the new delete interface
- Delete associated file data when removing records
- Change the fileId field type to String to adapt to the new file service
- Add query condition builder support for dynamic query parameters
- Introduce the FileService dependency for file operations
- Use ObjectUtils to check for non-null fields and avoid null pointer exceptions
2025-11-24 18:07:22 +08:00
smile
1268d8d0e9 feat(poi): add POI export record feature
- Create export record table schema with export status, file ID, etc.
- Implement export record entity and corresponding DTO
- Add paginated query API and implementation for export records
- Configure database indexes to optimize query performance
- Remove redundant MyBatis annotations from some entity classes
2025-11-24 16:25:55 +08:00
smile
755bb0ddfe Merge remote-tracking branch 'origin/main' 2025-11-24 15:00:46 +08:00
smile
ac1d0d7ca1 feat(core): Add CPU and I/O intensive thread pool configurations 2025-11-24 15:00:28 +08:00
sol
2715696f79 refactor(service): Adjust transaction annotations to optimize read-only operation performance 2025-11-24 11:42:56 +08:00
sol
dfab5f163a feat(system): Implement department and role data permission control - Add data permission filtering logic to the department and role query interfaces 2025-11-17 15:04:00 +08:00
sol
1e7c222e38 feat(plugin): Integrated Loki log collection and micrometer monitoring functions 2025-10-31 23:16:46 +08:00
sol
2c0bbbc26f feat(common): Add websocket plugin dependencies and modify the service name acquisition method 2025-10-28 18:06:33 +08:00
sol
5dd080c5b7 feat(web): Add a request log switch configuration 2025-10-28 17:11:37 +08:00
sol
98dded480a BaseExceptionHandler: objectMapper 2025-10-28 14:17:39 +08:00
smile
a3bede3e1c refactor(auth): Refactor request log interceptor configuration
- Remove the request log interceptor from the Sa-Token configuration class
- Add a separate request log configuration class, RequestLogConfigure
- Register the RequestLoggingInterceptor in the new configuration class
- Ensure the request log interceptor is applied to all paths
2025-10-27 14:35:39 +08:00
sol
d6c0222fe4 feat(log): Request log interceptor 2025-10-24 16:22:30 +08:00
smile
7cf0d1c67e feat(auth): add request logging interceptor
- introduce RequestLoggingInterceptor
- log start time, end time and elapsed time per request
- capture HTTP method, URI, query params and handler info
- register interceptor in SaTokenConfigure
- adopt Lombok annotations to reduce boilerplate
- output error logs on exceptions
2025-10-24 15:36:35 +08:00
smile
7725976924 refactor(data): optimize data permission handling logic
- inject EntityFieldCache to retrieve entity class info
- drop reflection-based entity parsing
- fetch entity class for table directly from cache
- streamline exception handling
2025-10-24 14:51:08 +08:00
sol
842e35f5fa feat(web): Switch to the Undertow server and optimize the thread configuration 2025-10-23 20:08:11 +08:00
sol
f2545c8016 feat(web): Switch to the Undertow server and optimize the thread configuration 2025-10-23 19:04:08 +08:00
sol
4b794615c8 feat(web): Switch to the Undertow server and optimize the thread configuration 2025-10-23 16:43:50 +08:00
sol
b62ab56891 feat(web): Switch to the Undertow server and optimize the thread configuration 2025-10-23 11:33:49 +08:00
smile
a12a377c91 Merge remote-tracking branch 'origin/main'
# Conflicts:
#	cloud/common/common-base-web/src/main/java/com/bgasol/common/core/base/handler/PostgreSqlExceptionHandler.java
2025-10-22 09:09:49 +08:00
smile
b823e31e18 refactor(core):重构PostgreSQL异常处理器以提供更友好的错误提示
- 移除冗余的DataIntegrityViolationException处理逻辑
- 新增EntityFieldCache组件用于缓存实体字段描述信息-优化PSQLException处理逻辑,增加详细的日志记录- 改进重复键、外键约束、非空约束等错误的中文提示- 提取错误消息中的表名、字段名及详细信息用于构建用户友好提示- 使用实体类上的@Schema注解描述替换原始字段名称显示
- 增强异常处理的可读性和维护性
2025-10-22 09:08:35 +08:00
sol
ce61d3df11 feat(common):
Optimized the exception throwing logic in WebSocketHandlerImpl. Provides more detailed error information for WebSocket message sending exceptions.
2025-10-21 15:54:23 +08:00
sol
8717bf6e42 PostgreSqlExceptionHandler: remove handleDataIntegrityViolationException 2025-10-20 17:43:36 +08:00
sol
e50581b742 BaseController.java 2025-10-17 17:24:38 +08:00
sol
883e02718a BaseService.java getCommonRedissonClient to private 2025-10-16 23:19:51 +08:00
sol
e20df50749 feat(cache): add config option to enable or disable Redis level-3 caching (disabled by default) 2025-10-15 23:08:53 +08:00
sol
1af92cb1f5 feat(cache): add config option to enable or disable Redis level-3 caching (disabled by default) 2025-10-15 23:00:03 +08:00
sol
e150596259 fix(auth): 调整鉴权失败处理逻辑 2025-10-14 14:18:06 +08:00
sol
3aa6967143 feat(common): Added the BaseVo Success Response Method and optimized the BaseService interface 2025-10-10 21:55:49 +08:00
sol
876fa67f69 refactor(core): Optimized database exception handling and caching logic 2025-10-10 17:37:54 +08:00
sol
51b27086d8 refactor(base):optimize BaseService 2025-10-10 15:46:18 +08:00
sol
55b6802647 refactor(service): Simplified cache query logic 2025-10-10 15:03:28 +08:00
sol
12400df890 refactor(base):Optimized the ID deduplication logic in BaseService 2025-10-10 11:20:19 +08:00
smile
973f365fd3 refactor(common): refactor PostgreSQL exception handler
- Move the postgresql dependency from common-base-model to common-base-web
- Rename GlobalExceptionHandler to PostgreSqlExceptionHandler and relocate it to the web module
- Replace @ControllerAdvice with @RestControllerAdvice
- Add @ApiResponse annotations to enrich API documentation
- Refactor error-parsing logic into the Template Method pattern to improve reusability
- Optimize parsing and user-friendly messages for all kinds of PostgreSQL exceptions
- Unify the exception-response format to enhance user experience
2025-10-09 13:58:31 +08:00
sol
28045c4f1d Merge remote-tracking branch 'origin/main' 2025-10-09 11:45:34 +08:00