feat: 新增多个服务类及工具类,重构部分代码结构
重构服务类结构,将分散的服务统一整合到service包下 新增ProjectConstant常量类及多个实体服务类 添加SecurityUtils安全工具类和BeanCacher工具类 优化部分UI控件和转换器的实现
This commit is contained in:
@@ -8,15 +8,15 @@ import org.springframework.data.domain.Pageable;
|
||||
|
||||
import com.ecep.contract.model.CompanyCustomer;
|
||||
import com.ecep.contract.model.CompanyCustomerEntity;
|
||||
import com.ecep.contract.vm.CompanyCustomerViewModel;
|
||||
import com.ecep.contract.vm.CustomerEntityViewModel;
|
||||
|
||||
public class CompanyCustomerEntityService implements ViewModelService<CompanyCustomer, CompanyCustomerViewModel> {
|
||||
public class CompanyCustomerEntityService implements ViewModelService<CompanyCustomerEntity, CustomerEntityViewModel> {
|
||||
public List<CompanyCustomerEntity> findAllByCustomer(CompanyCustomer customer) {
|
||||
throw new UnsupportedOperationException();
|
||||
}
|
||||
|
||||
@Override
|
||||
public Page<CompanyCustomer> findAll(Map<String, Object> params, Pageable pageable) {
|
||||
public Page<CompanyCustomerEntity> findAll(Map<String, Object> params, Pageable pageable) {
|
||||
// TODO Auto-generated method stub
|
||||
throw new UnsupportedOperationException("Unimplemented method 'findAll'");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user