重构所有服务类,使其继承自QueryService接口,统一数据查询逻辑。同时为服务类添加@Service注解,确保Spring容器管理。更新相关FXML文件的控制器路径,从manager.ds调整为controller目录结构。调整pom.xml版本号至0.0.84-SNAPSHOT。新增MessageNotitfication和SimpleMessage消息类,提供基础消息结构支持。
39 lines
1.3 KiB
Java
39 lines
1.3 KiB
Java
package com.ecep.contract.service;
|
|
|
|
import java.io.File;
|
|
|
|
import org.springframework.stereotype.Service;
|
|
|
|
import com.ecep.contract.MessageHolder;
|
|
import com.ecep.contract.model.Company;
|
|
import com.ecep.contract.model.CompanyCustomer;
|
|
import com.ecep.contract.model.CustomerCatalog;
|
|
import com.ecep.contract.vm.CompanyCustomerViewModel;
|
|
|
|
@Service
|
|
public class CompanyCustomerService extends QueryService<CompanyCustomer, CompanyCustomerViewModel> {
|
|
|
|
public CompanyCustomer findByCompany(Company company) {
|
|
// TODO Auto-generated method stub
|
|
throw new UnsupportedOperationException("Unimplemented method 'findByCompany'");
|
|
}
|
|
|
|
public CustomerCatalog findCatalogById(Integer id) {
|
|
// TODO Auto-generated method stub
|
|
throw new UnsupportedOperationException("Unimplemented method 'findCatalogById'");
|
|
}
|
|
|
|
public boolean reBuildingFiles(CompanyCustomer companyCustomer, MessageHolder holder) {
|
|
throw new UnsupportedOperationException("Unimplemented method 'reBuildingFiles'");
|
|
}
|
|
|
|
public File getBasePath() {
|
|
throw new UnsupportedOperationException("Unimplemented method 'getBasePath'");
|
|
}
|
|
|
|
public boolean makePathAbsent(CompanyCustomer companyCustomer) {
|
|
// TODO Auto-generated method stub
|
|
throw new UnsupportedOperationException("Unimplemented method 'makePathAbsent'");
|
|
}
|
|
}
|