Files
contract-manager/server_entity_services.md
songqq 6eebdb1744 refactor(service): 重构服务类继承EntityService基类
重构多个服务类使其继承EntityService基类,统一实现通用CRUD操作
移除重复代码,提取公共逻辑到基类中
更新缓存注解和查询规范实现
添加必要的重写方法如getRepository和createNewEntity
2025-12-13 20:32:06 +08:00

103 lines
3.1 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# 服务器端继承IEntityService接口的Service列表
| 类名 | 是否继承EntityService |
|------|----------------------|
| CloudRkService | 是 |
| CloudTycService | 是 |
| YongYouU8Service | 是 |
| CompanyBankAccountService | 是 |
| CompanyBlackReasonService | 是 |
| CompanyContactService | 是 |
| CompanyExtendInfoService | 是 |
| CompanyFileService | 是 |
| CompanyFileTypeService | 是 |
| CompanyInvoiceInfoService | 是 |
| CompanyOldNameService | 是 |
| CompanyService | 是 |
| HolidayService | 是 |
| InvoiceService | 是 |
| ContractBalanceService | 是 |
| ContractBidVendorService | 是 |
| ContractCatalogService | 是 |
| ContractFileService | 是 |
| ContractFileTypeService | 是 |
| ContractGroupService | 是 |
| ContractInvoiceService | 是 |
| ContractItemService | 是 |
| ContractKindService | 是 |
| ContractPayPlanService | 是 |
| ContractService | 是 |
| ContractTypeService | 是 |
| ExtendVendorInfoService | 是 |
| PurchaseBillVoucherItemService | 否 |
| PurchaseBillVoucherService | 否 |
| PurchaseOrderItemService | 否 |
| PurchaseOrdersService | 否 |
| SaleOrdersService | 是 |
| SalesBillVoucherItemService | 否 |
| SalesBillVoucherService | 是 |
| SalesOrderItemService | 是 |
| CompanyCustomerEntityService | 否 |
| CompanyCustomerEvaluationFormFileService | 否 |
| CompanyCustomerFileService | 否 |
| CompanyCustomerFileTypeService | 否 |
| CustomerCatalogService | 否 |
| CustomerFileTypeService | 否 |
| CustomerService | 否 |
| BankService | 否 |
| DepartmentService | 否 |
| EmployeeAuthBindService | 否 |
| EmployeeLoginHistoryService | 否 |
| EmployeeRoleService | 否 |
| EmployeeService | 否 |
| FunctionService | 否 |
| InventoryCatalogService | 否 |
| InventoryHistoryPriceService | 否 |
| InventoryService | 否 |
| PermissionService | 否 |
| CustomerSatisfactionSurveyService | 否 |
| DeliverySignMethodService | 否 |
| ProductTypeService | 否 |
| ProductUsageService | 否 |
| ProjectBidService | 否 |
| ProjectCostItemService | 否 |
| ProjectCostService | 否 |
| ProjectFileService | 否 |
| ProjectFileTypeService | 否 |
| ProjectFundPlanService | 否 |
| ProjectIndustryService | 否 |
| ProjectQuotationService | 否 |
| ProjectSaleTypeRequireFileTypeService | 否 |
| ProjectSaleTypeService | 否 |
| ProjectService | 是 |
| ProjectTypeService | 否 |
| VendorApprovedFileService | 否 |
| VendorApprovedItemService | 否 |
| VendorApprovedService | 否 |
| VendorCatalogService | 否 |
| VendorEntityService | 否 |
| VendorFileService | 否 |
| VendorFileTypeService | 否 |
| VendorGroupRequireFileTypeService | 否 |
| VendorGroupService | 否 |
| VendorService | 否 |
| VendorTypeService | 否 |
## 分析结果
- 共找到81个实现了IEntityService接口的服务类
- 其中有12个类同时继承了EntityService类
- 大多数服务类69个仅实现了IEntityService接口没有继承EntityService类
继承EntityService类的服务类包括
- CloudRkService
- CloudTycService
- YongYouU8Service
- CompanyBankAccountService
- CompanyService
- ContractService
- SaleOrdersService
- SalesBillVoucherService
- SalesOrderItemService
- ProjectService
- 以及其他几个核心业务服务类