How cq-panda/vue.netcore works
This repository is the SQLSugar-backed .NET API layer of VOL, a Vue/.NET rapid-development framework. The principal backend path is an API request through the shared controller to application services, which provide generated-style CRUD, paging, import/export, and search behavior over domain data. Other major capabilities include configurable approval workflows, dictionary-backed form data, and MES business entities; metadata services support table configuration. Workflow and dictionary details are based on sampled excerpts, while broader capabilities such as code generation and frontend binding are documented in the README but their full implementations are not present in the supplied tree.
Main entry points: DbContext.cs SQLSugar context · ApplicationServiceBase.cs Application services · WorkFlowManager.cs Workflow manager · DictionaryManager.cs Dictionary manager
Components 18
API and services
- Base API controller
vol.api.sqlsugar/VOL.Core/Controllers/Basic/ApiBaseController.cs - Application services
vol.api.sqlsugar/VOL.Core/BaseProvider/ApplicationServiceBase.cs - Dynamic search
vol.api.sqlsugar/VOL.Core/BaseProvider/ApplicationServiceBaseSearchExtensions.cs - Table metadata service
- Table metadata repository
Persistence and domain
- Application entities
vol.api.sqlsugar/VOL.Entity/DomainModels - MES entities
vol.api.sqlsugar/VOL.Entity/DomainModels/mes - Database provider
vol.api.sqlsugar/VOL.Core/DBManager/DBServerProvider.cs - SQLSugar context
vol.api.sqlsugar/VOL.Core/DbContext/DbContext.cs - Configured database
Approval workflows
- Workflow API
vol.api/VOL.WebApi/Controllers/Sys/Partial/Sys_WorkFlowController.cs - Workflow manager
vol.api.sqlsugar/VOL.Core/WorkFlow/WorkFlowManager.cs - Workflow records
vol.api.sqlsugar/VOL.Entity/DomainModels/flow
Shared capabilities
- Dictionary manager
vol.api.sqlsugar/VOL.Core/Infrastructure/DictionaryManager.cs - Cache service
vol.api.sqlsugar/VOL.Core/CacheManager/IService/ICacheService.cs - Redis cache
vol.api.sqlsugar/VOL.Core/CacheManager/Service/RedisCacheService.cs - Request validation
vol.api.sqlsugar/VOL.Core/ObjectActionValidator/Filters/ObjectModelValidatorFilter.cs
Other components
- API client
Connections 16
- API client → Base API controller: sends request
- Base API controller → Application services: invokes service
- Application services → Dynamic search: uses search
- Application services → SQLSugar context: accesses data
- Database provider → SQLSugar context: provides context
- SQLSugar context → Configured database: queries and saves
- Table metadata service → Table metadata repository: uses repository
- Table metadata repository → SQLSugar context: accesses data
- Workflow API → Workflow manager: requests workflow data
- Workflow manager → Database provider: uses database provider
- Workflow manager → Workflow records: manages records
- Workflow API → Dictionary manager: loads audit values
- Dictionary manager → Database provider: loads dictionary data
- Dictionary manager → Cache service: checks version
- Cache service → Redis cache: implemented by
- Request validation → Base API controller: validates requests