Commit graph

83 commits

Author SHA1 Message Date
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
sol
ceaa664722 refactor(service):Refactor the query logic of the underlying service 2025-10-09 11:45:21 +08:00
smile
15b8f11744 feat(common): add PostgreSQL database driver dependency
- Introduce the PostgreSQL driver in the common-base-model module
- Enable connectivity and operations with PostgreSQL databases
- Provide the foundational dependency for future database-related feature development
2025-10-09 11:20:58 +08:00
smile
c00541e7bb feat(common): add a global exception handler to optimize database error messages
- Introduce PostgreSQL-specific exception handling to make error messages more readable
- Parse unique-violation errors, extract the conflicting column and value, and inform the user
- Detect not-null violations and clearly indicate which fields are required
- Classify foreign-key violations, distinguishing between “referenced record missing” and “still being referenced” scenarios
- Add check-constraint hints to help users spot format or rule violations
- Parse length-exceeded errors and state the allowed maximum length
- Provide generic utilities for extracting key columns and constraint names from error messages
- Enhance logging for easier debugging and issue tracking
2025-10-02 11:07:42 +08:00
sol
4f240736f0 fix(service):Fixed a master-slave relationship mapping error when inserting a table 2025-09-29 15:09:39 +08:00
sol
9db790ec17 fix(base):Fixed an empty pointer exception when querying an entity based on its ID 2025-09-29 10:59:17 +08:00
sol
ee512e89a9 feat(core): Add bulk queries and optimize basic services 2025-09-28 22:13:22 +08:00
sol
f72e108ab0 feat(tree):Optimize tree structure query logic Query the tree structure in full at one time and assemble the tree structure in memory 2025-09-27 03:08:59 +08:00
sol
3fa67bf7bf refactor(core): Removed the deleted field logic from the entity class 2025-09-27 01:49:10 +08:00
sol
3bf415a408 refactor(base-model): Removed deleted field definitions from BaseEntity 2025-09-26 11:11:50 +08:00
sol
ca936ccf7f chore(db): migrate from Flyway to Atlas 2025-09-26 02:12:25 +08:00
sol
3d5c20cb06 feat(core):Added checks for MyBaseMapper inheritance 2025-09-24 17:04:57 +08:00
sol
e167761df0 docs(common-auth): Add a comment description 2025-09-23 14:18:26 +08:00
sol
2c5f3becc8 refactor(data-scope): Adjust the package structure related to data permissions 2025-09-23 13:50:47 +08:00
sol
0b86e77bc6 fix(DataScopeHandler):Fixed the processing logic of data permission scopes 2025-09-23 11:22:30 +08:00
sol
3f452579e5 feat(data-scope): Added data permission field comments and configuration classes 2025-09-22 20:17:34 +08:00
sol
69c7d57e8a feat(model):add @Entity 2025-09-22 14:44:42 +08:00
sol
9849aecfa2 feat(plugin): Add data rights controls and optimize file services 2025-09-19 21:54:33 +08:00
smile
56acac8759 feat(file): Object storage persistence follows preset path rules 2025-09-19 16:04:40 +08:00
sol
bf7d31f5a3 refactor(common): Optimized the basic service interface and tree service interface 2025-09-17 19:44:06 +08:00
sol
c13b474ea8 refactor(common): Refactor the related code for paginated queries 2025-09-17 19:23:19 +08:00
sol
8e3561848a refactor(common): Refactor the underlying entity class and tree structure services 2025-09-17 19:04:07 +08:00
smile
25d9a354e5 Refactor (common base): Refactoring Excel import and export functionality
-Optimized the logic for generating import templates and importing data
-Improved code reusability and maintainability - improved error handling and logging
-Unified API interfaces for import and export
2025-09-17 17:03:12 +08:00
sol
e9494ecc59 refactor(CorsConfigure, SaTokenConfigure): Add @NonNull annotation to method parameters; delete unused CacheEvictAspect and CacheEvictById classes; update GatewayConfigValues with new constant; enhance FeignInterceptor to include user identity token; modify application configuration to enable system authentication 2025-09-16 17:50:25 +08:00
sol
7408258faa refactor(common-base-web): Extract import and export functions into separate classes 2025-09-16 10:40:29 +08:00
smile
03d1c2f1d7 Build (deps): Replace Excel processing library
-Replace EasyExcel with FastExcel, version 1.2.0- Update package names for related classes and annotations
-Adjust Excel import logic, currently only supports single insertion
-Removed redundant code from onEException
2025-09-08 18:13:52 +08:00
smile
0346cd1ccc feat(common-base): 添加角色导入导出功能
- 新增导入模板下载和 Excel 导入功能- 实现基于 EasyExcel 的高效导入逻辑
- 添加数据校验和错误处理机制
- 更新相关模型和接口定义
2025-09-08 16:56:11 +08:00
sol
bde74577f6 feat(auth): Add a system permission authentication configuration 2025-09-05 15:08:54 +08:00
sol
f9af9892d2 feat(websocket): 优化 WebSocket消息处理
- 重构了 PingMessageHandler 和 WebSocketHandlerImpl 类
- 新增 GetWSTopic 工具方法,用于生成 WebSocket 主题
- 在 PingMessageHandler 中添加了 serviceName 属性,用于动态生成主题
- 优化了消息发送逻辑,提高了代码复用性和可维护性
2025-08-28 11:36:57 +08:00
sol
4a1ce2324e perf(cache): Optimized baseCache search 2025-08-19 16:25:52 +08:00
sol
069ada0795 refactor: Optimize code structure and constant usage 2025-07-29 18:17:38 +08:00
sol
d73a76d9c1 feat(model): Add @JsonIgnore annotations to the PageDto class 2025-07-29 17:00:02 +08:00
sol
a4cc0d076e refactor(auth): Added exception capture when permissions were initialized 2025-07-29 13:55:37 +08:00
sol
aaba20fd79 feat(websocket): Implement WebSocket message handling and authentication interceptor 2025-07-04 09:59:14 +08:00
sol
bc3110e708 feat(service): Refactored the "cacheSearch" method 2025-06-26 10:12:46 +08:00
sol
730c8fe559 feat(service): Enhance selectByIds method to include additional table lookup after fetching entities 2025-06-25 15:20:20 +08:00
sol
23f193b619 feat(websocket): Implement SendMessageChunkDto for chunked message sending in MyWebSocketHandler 2025-06-20 10:20:12 +08:00
sol
7839966b15 feat(dependencies): Add common-base-model dependency to pom.xml and rename WsSendMessageDto class 2025-06-19 15:31:15 +08:00
Sol
c548ec9b6e refactor(common-base-web): Optimize BaseEntityClass method
- Use ResolvableType to replace reflection mechanism to get generic types
2025-06-13 12:28:01 +08:00
Sol
24baf77516 fix(common-base-web): Optimize the null value processing of the findIds method 2025-06-13 11:34:59 +08:00
Sol
88489f907c refactor(service): Optimize cache deletion logic 2025-06-13 10:50:23 +08:00
Sol
3fa8dfa1ca feat(service): Optimize data query efficiency through cache 2025-06-13 00:53:33 +08:00
Sol
1871139cc9 feat(common-base-web): Add cache support and optimize entity operations 2025-06-12 23:36:41 +08:00