refactor: 移除Hibernate依赖并重构代理对象初始化检查逻辑

feat(controller): 新增多个任务类用于合同和客户相关操作
feat(service): 新增ProxyUtils工具类替代Hibernate.isInitialized检查
refactor(controller): 重构多个控制器和皮肤类,使用ProxyUtils替代Hibernate
refactor(service): 重构服务类,移除Hibernate依赖并优化方法实现
fix(controller): 修复表格单元格初始化逻辑,确保代理对象正确加载
chore: 更新项目版本号至0.0.58-SNAPSHOT
docs: 添加MyProperties类用于管理下载路径配置
This commit is contained in:
2025-09-06 17:22:12 +08:00
parent effd7b103c
commit 3b90db0450
100 changed files with 1251 additions and 995 deletions

View File

@@ -58,13 +58,7 @@ public class UITools {
expContent.add(label, 0, 0);
expContent.add(textArea, 0, 1);
String message = null;
if (e instanceof org.springframework.orm.ObjectOptimisticLockingFailureException) {
message = "锁冲突, 数据可能已经被修改, 请重新加载, 再次重试.";
} else {
message = e.getMessage();
}
String message = e.getMessage();
showAndWait(Alert.AlertType.ERROR, "程序异常", title, message, expContent);
}