This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.
LB_PdaService (蓝宝PDA后台) is a .NET 8 Web API service designed for PDA (Personal Digital Assistant) backend operations in a MES (Manufacturing Execution System). The service provides REST APIs for warehouse management, production order management, quality control, and ERP integration.
# Build the project
dotnet build
# Run the project in development
dotnet run
# Publish for production
dotnet publish -c Release
The application runs on ASP.NET Core 8.0 and exposes Swagger documentation at /swagger in development mode.
BaseController.cs: Base class providing RequestInfo injection for all controllersWarehouse/, QC/, Wom/, JJGZ/, Kingdee/LoginController.cs and AuthController.cs: Authentication endpointsservice/: Business logic managers following a manager pattern
Mes[Entity]Manager.csentity/: Data models and DTOs
Base/: Shared base entities like RequestInfoutil/: Utility classes and helpers
DbHelperSQL.cs: Database access abstraction layerAppsettingsUtility.cs: Configuration managementThe application uses a custom database access layer (DbHelperSQL) rather than Entity Framework. Database connections are managed through the AppSettings.DataBaseConn configuration value.
appsettings.json: Contains database connection strings and ERP service URLsAppsettingsUtility and accessed via AppSettings classservice/ directoryBaseControllerDbHelperSQL utility