feat(controller): 新增多个任务类用于合同和客户相关操作 feat(service): 新增ProxyUtils工具类替代Hibernate.isInitialized检查 refactor(controller): 重构多个控制器和皮肤类,使用ProxyUtils替代Hibernate refactor(service): 重构服务类,移除Hibernate依赖并优化方法实现 fix(controller): 修复表格单元格初始化逻辑,确保代理对象正确加载 chore: 更新项目版本号至0.0.58-SNAPSHOT docs: 添加MyProperties类用于管理下载路径配置
47 lines
1.4 KiB
Java
47 lines
1.4 KiB
Java
package com.ecep.contract.service;
|
|
|
|
import java.util.List;
|
|
import java.util.Map;
|
|
|
|
import org.springframework.data.domain.Page;
|
|
import org.springframework.data.domain.Pageable;
|
|
import org.springframework.stereotype.Service;
|
|
|
|
import com.ecep.contract.model.ContractItem;
|
|
import com.ecep.contract.model.Inventory;
|
|
import com.ecep.contract.vm.ContractItemViewModel;
|
|
|
|
@Service
|
|
public class ContractItemService implements ViewModelService<ContractItem, ContractItemViewModel> {
|
|
|
|
@Override
|
|
public ContractItem findById(Integer id) {
|
|
throw new UnsupportedOperationException("Unimplemented method 'findById'");
|
|
}
|
|
|
|
@Override
|
|
public ContractItem save(ContractItem entity) {
|
|
throw new UnsupportedOperationException("Unimplemented method 'save'");
|
|
}
|
|
|
|
@Override
|
|
public void delete(ContractItem entity) {
|
|
throw new UnsupportedOperationException("Unimplemented method 'delete'");
|
|
}
|
|
|
|
@Override
|
|
public List<ContractItem> findAll() {
|
|
throw new UnsupportedOperationException("Unimplemented method 'findAll'");
|
|
}
|
|
|
|
@Override
|
|
public Page<ContractItem> findAll(Map<String, Object> params, Pageable pageable) {
|
|
throw new UnsupportedOperationException("Unimplemented method 'findAll'");
|
|
}
|
|
|
|
public List<ContractItem> findAllByInventory(Inventory parent) {
|
|
throw new UnsupportedOperationException("Unimplemented method 'findAllByInventory'");
|
|
}
|
|
|
|
}
|