refactor(vendor): 重构供应商相关类命名和包结构
将CompanyVendor前缀的类重命名为Vendor前缀,优化包结构 调整供应商相关控制器、服务、仓库类的命名和位置 修复TableViewUtils中的类型安全警告 更新FXML文件中的控制器引用路径
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
package com.ecep.contract.controller;
|
||||
package com.ecep.contract.util;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
|
||||
@@ -34,7 +34,7 @@ public class TableViewUtils {
|
||||
return new Sort.Order(dir, id);
|
||||
}).toList();
|
||||
}
|
||||
|
||||
@SuppressWarnings("unchecked")
|
||||
public static <T> void bindDoubleClicked(TableView<T> table, Consumer<T> consumer) {
|
||||
table.setOnMouseClicked(event -> {
|
||||
if (event.getClickCount() == 2 && event.getButton() == MouseButton.PRIMARY) {
|
||||
|
||||
Reference in New Issue
Block a user