2022-02-19 19:08:15.353 +08:00 [INF] Starting web host. 2022-02-19 19:08:28.290 +08:00 [INF] User profile is available. Using 'C:\Users\lvcj2\AppData\Local\ASP.NET\DataProtection-Keys' as key repository and Windows DPAPI to encrypt keys at rest. 2022-02-19 19:08:28.533 +08:00 [INF] Loaded ABP modules: 2022-02-19 19:08:28.533 +08:00 [INF] - WmsWebApi.WmsWebApiHttpApiHostModule 2022-02-19 19:08:28.533 +08:00 [INF] - WmsWebApi.WmsWebApiApplicationModule 2022-02-19 19:08:28.533 +08:00 [INF] - WmsWebApi.WmsWebApiDomainModule 2022-02-19 19:08:28.533 +08:00 [INF] - Volo.Abp.Domain.AbpDddDomainModule 2022-02-19 19:08:28.533 +08:00 [INF] - Volo.Abp.Auditing.AbpAuditingModule 2022-02-19 19:08:28.533 +08:00 [INF] - Volo.Abp.Data.AbpDataModule 2022-02-19 19:08:28.533 +08:00 [INF] - Volo.Abp.ObjectExtending.AbpObjectExtendingModule 2022-02-19 19:08:28.533 +08:00 [INF] - Volo.Abp.Localization.AbpLocalizationAbstractionsModule 2022-02-19 19:08:28.533 +08:00 [INF] - Volo.Abp.Validation.AbpValidationAbstractionsModule 2022-02-19 19:08:28.533 +08:00 [INF] - Volo.Abp.Uow.AbpUnitOfWorkModule 2022-02-19 19:08:28.533 +08:00 [INF] - Volo.Abp.EventBus.Abstractions.AbpEventBusAbstractionsModule 2022-02-19 19:08:28.533 +08:00 [INF] - Volo.Abp.Json.AbpJsonModule 2022-02-19 19:08:28.533 +08:00 [INF] - Volo.Abp.Timing.AbpTimingModule 2022-02-19 19:08:28.533 +08:00 [INF] - Volo.Abp.Localization.AbpLocalizationModule 2022-02-19 19:08:28.533 +08:00 [INF] - Volo.Abp.VirtualFileSystem.AbpVirtualFileSystemModule 2022-02-19 19:08:28.533 +08:00 [INF] - Volo.Abp.Settings.AbpSettingsModule 2022-02-19 19:08:28.533 +08:00 [INF] - Volo.Abp.Security.AbpSecurityModule 2022-02-19 19:08:28.533 +08:00 [INF] - Volo.Abp.MultiTenancy.AbpMultiTenancyModule 2022-02-19 19:08:28.533 +08:00 [INF] - Volo.Abp.Threading.AbpThreadingModule 2022-02-19 19:08:28.533 +08:00 [INF] - Volo.Abp.EventBus.AbpEventBusModule 2022-02-19 19:08:28.533 +08:00 [INF] - Volo.Abp.Guids.AbpGuidsModule 2022-02-19 19:08:28.533 +08:00 [INF] - Volo.Abp.ObjectMapping.AbpObjectMappingModule 2022-02-19 19:08:28.533 +08:00 [INF] - Volo.Abp.ExceptionHandling.AbpExceptionHandlingModule 2022-02-19 19:08:28.533 +08:00 [INF] - Volo.Abp.Specifications.AbpSpecificationsModule 2022-02-19 19:08:28.533 +08:00 [INF] - WmsWebApi.WmsWebApiDomainSharedModule 2022-02-19 19:08:28.533 +08:00 [INF] - Volo.Abp.Validation.AbpValidationModule 2022-02-19 19:08:28.533 +08:00 [INF] - WmsWebApi.WmsWebApiApplicationContractsModule 2022-02-19 19:08:28.533 +08:00 [INF] - Volo.Abp.Application.AbpDddApplicationContractsModule 2022-02-19 19:08:28.533 +08:00 [INF] - Volo.Abp.Authorization.AbpAuthorizationModule 2022-02-19 19:08:28.533 +08:00 [INF] - Volo.Abp.Authorization.AbpAuthorizationAbstractionsModule 2022-02-19 19:08:28.533 +08:00 [INF] - Volo.Abp.Application.AbpDddApplicationModule 2022-02-19 19:08:28.533 +08:00 [INF] - Volo.Abp.Http.AbpHttpAbstractionsModule 2022-02-19 19:08:28.533 +08:00 [INF] - Volo.Abp.Features.AbpFeaturesModule 2022-02-19 19:08:28.534 +08:00 [INF] - Volo.Abp.GlobalFeatures.AbpGlobalFeaturesModule 2022-02-19 19:08:28.534 +08:00 [INF] - Volo.Abp.AutoMapper.AbpAutoMapperModule 2022-02-19 19:08:28.534 +08:00 [INF] - WmsWebApi.EntityFrameworkCore.WmsWebApiEntityFrameworkCoreModule 2022-02-19 19:08:28.534 +08:00 [INF] - Volo.Abp.EntityFrameworkCore.AbpEntityFrameworkCoreModule 2022-02-19 19:08:28.534 +08:00 [INF] - Volo.Abp.Dapper.AbpDapperModule 2022-02-19 19:08:28.534 +08:00 [INF] - WmsWebApi.WmsWebApiHttpApiModule 2022-02-19 19:08:28.534 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.AbpAspNetCoreMvcModule 2022-02-19 19:08:28.534 +08:00 [INF] - Volo.Abp.AspNetCore.AbpAspNetCoreModule 2022-02-19 19:08:28.534 +08:00 [INF] - Volo.Abp.Http.AbpHttpModule 2022-02-19 19:08:28.534 +08:00 [INF] - Volo.Abp.Minify.AbpMinifyModule 2022-02-19 19:08:28.534 +08:00 [INF] - Volo.Abp.ApiVersioning.AbpApiVersioningAbstractionsModule 2022-02-19 19:08:28.534 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.AbpAspNetCoreMvcContractsModule 2022-02-19 19:08:28.534 +08:00 [INF] - Volo.Abp.UI.Navigation.AbpUiNavigationModule 2022-02-19 19:08:28.534 +08:00 [INF] - Volo.Abp.UI.AbpUiModule 2022-02-19 19:08:28.534 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.MultiTenancy.AbpAspNetCoreMvcUiMultiTenancyModule 2022-02-19 19:08:28.534 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Theme.Shared.AbpAspNetCoreMvcUiThemeSharedModule 2022-02-19 19:08:28.534 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.AbpAspNetCoreMvcUiBootstrapModule 2022-02-19 19:08:28.534 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.AbpAspNetCoreMvcUiModule 2022-02-19 19:08:28.534 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Packages.AbpAspNetCoreMvcUiPackagesModule 2022-02-19 19:08:28.534 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Bundling.AbpAspNetCoreMvcUiBundlingAbstractionsModule 2022-02-19 19:08:28.534 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Widgets.AbpAspNetCoreMvcUiWidgetsModule 2022-02-19 19:08:28.534 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Bundling.AbpAspNetCoreMvcUiBundlingModule 2022-02-19 19:08:28.534 +08:00 [INF] - Volo.Abp.AspNetCore.MultiTenancy.AbpAspNetCoreMultiTenancyModule 2022-02-19 19:08:28.534 +08:00 [INF] - Volo.Abp.Autofac.AbpAutofacModule 2022-02-19 19:08:28.534 +08:00 [INF] - Volo.Abp.Castle.AbpCastleCoreModule 2022-02-19 19:08:28.534 +08:00 [INF] - Volo.Abp.Caching.StackExchangeRedis.AbpCachingStackExchangeRedisModule 2022-02-19 19:08:28.534 +08:00 [INF] - Volo.Abp.Caching.AbpCachingModule 2022-02-19 19:08:28.534 +08:00 [INF] - Volo.Abp.Serialization.AbpSerializationModule 2022-02-19 19:08:28.534 +08:00 [INF] - Volo.Abp.EntityFrameworkCore.SqlServer.AbpEntityFrameworkCoreSqlServerModule 2022-02-19 19:08:28.534 +08:00 [INF] - Volo.Abp.AuditLogging.EntityFrameworkCore.AbpAuditLoggingEntityFrameworkCoreModule 2022-02-19 19:08:28.534 +08:00 [INF] - Volo.Abp.AuditLogging.AbpAuditLoggingDomainModule 2022-02-19 19:08:28.534 +08:00 [INF] - Volo.Abp.AuditLogging.AbpAuditLoggingDomainSharedModule 2022-02-19 19:08:28.534 +08:00 [INF] - Volo.Abp.PermissionManagement.EntityFrameworkCore.AbpPermissionManagementEntityFrameworkCoreModule 2022-02-19 19:08:28.534 +08:00 [INF] - Volo.Abp.PermissionManagement.AbpPermissionManagementDomainModule 2022-02-19 19:08:28.534 +08:00 [INF] - Volo.Abp.PermissionManagement.AbpPermissionManagementDomainSharedModule 2022-02-19 19:08:28.534 +08:00 [INF] - Volo.Abp.SettingManagement.EntityFrameworkCore.AbpSettingManagementEntityFrameworkCoreModule 2022-02-19 19:08:28.534 +08:00 [INF] - Volo.Abp.SettingManagement.AbpSettingManagementDomainModule 2022-02-19 19:08:28.534 +08:00 [INF] - Volo.Abp.SettingManagement.AbpSettingManagementDomainSharedModule 2022-02-19 19:08:28.534 +08:00 [INF] - Volo.Abp.AspNetCore.Serilog.AbpAspNetCoreSerilogModule 2022-02-19 19:08:28.534 +08:00 [INF] - Volo.Abp.Swashbuckle.AbpSwashbuckleModule 2022-02-19 19:08:30.664 +08:00 [INF] Initialized all ABP modules. 2022-02-19 19:08:31.700 +08:00 [INF] Now listening on: https://localhost:5000 2022-02-19 19:08:31.700 +08:00 [INF] Application started. Press Ctrl+C to shut down. 2022-02-19 19:08:31.700 +08:00 [INF] Hosting environment: Development 2022-02-19 19:08:31.701 +08:00 [INF] Content root path: D:\工作\派格\接口程序\WmsWebApi\host\WmsWebApi.HttpApi.Host 2022-02-19 19:08:34.733 +08:00 [INF] Request starting HTTP/2 GET https://localhost:5000/ - - 2022-02-19 19:08:38.237 +08:00 [INF] Entity Framework Core 5.0.14 initialized 'SettingManagementDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: QuerySplittingBehavior=SplitQuery 2022-02-19 19:08:39.586 +08:00 [INF] Executed DbCommand (106ms) [Parameters=[@__providerName_0='?' (Size = 64)], CommandType='"Text"', CommandTimeout='30'] SELECT [a].[Id], [a].[Name], [a].[ProviderKey], [a].[ProviderName], [a].[Value] FROM [AbpSettings] AS [a] WHERE ([a].[ProviderName] = @__providerName_0) AND [a].[ProviderKey] IS NULL 2022-02-19 19:08:40.120 +08:00 [INF] Entity Framework Core 5.0.14 initialized 'SettingManagementDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: QuerySplittingBehavior=SplitQuery 2022-02-19 19:08:40.214 +08:00 [INF] Executed DbCommand (35ms) [Parameters=[@__providerName_0='?' (Size = 64)], CommandType='"Text"', CommandTimeout='30'] SELECT [a].[Id], [a].[Name], [a].[ProviderKey], [a].[ProviderName], [a].[Value] FROM [AbpSettings] AS [a] WHERE ([a].[ProviderName] = @__providerName_0) AND [a].[ProviderKey] IS NULL 2022-02-19 19:08:40.419 +08:00 [INF] Executing endpoint 'WmsWebApi.Controllers.HomeController.Index (WmsWebApi.HttpApi.Host)' 2022-02-19 19:08:40.572 +08:00 [INF] Route matched with {action = "Index", controller = "Home", area = "", page = ""}. Executing controller action with signature Microsoft.AspNetCore.Mvc.ActionResult Index() on controller WmsWebApi.Controllers.HomeController (WmsWebApi.HttpApi.Host). 2022-02-19 19:08:41.091 +08:00 [INF] Executing action method WmsWebApi.Controllers.HomeController.Index (WmsWebApi.HttpApi.Host) - Validation state: "Valid" 2022-02-19 19:08:41.105 +08:00 [INF] Executed action method WmsWebApi.Controllers.HomeController.Index (WmsWebApi.HttpApi.Host), returned result Microsoft.AspNetCore.Mvc.RedirectResult in 0.9246ms. 2022-02-19 19:08:41.117 +08:00 [INF] Executing RedirectResult, redirecting to /swagger. 2022-02-19 19:08:41.133 +08:00 [INF] Executed action WmsWebApi.Controllers.HomeController.Index (WmsWebApi.HttpApi.Host) in 548.0403ms 2022-02-19 19:08:41.133 +08:00 [INF] Executed endpoint 'WmsWebApi.Controllers.HomeController.Index (WmsWebApi.HttpApi.Host)' 2022-02-19 19:08:41.187 +08:00 [INF] Request starting HTTP/2 GET https://localhost:5000/swagger/index.html - - 2022-02-19 19:08:41.188 +08:00 [INF] Request finished HTTP/2 GET https://localhost:5000/ - - - 302 0 - 6457.9192ms 2022-02-19 19:08:41.613 +08:00 [INF] Request finished HTTP/2 GET https://localhost:5000/swagger/index.html - - - 200 - text/html;charset=utf-8 426.0980ms 2022-02-19 19:08:42.154 +08:00 [INF] Request starting HTTP/2 GET https://localhost:5000/_framework/aspnetcore-browser-refresh.js - - 2022-02-19 19:08:42.160 +08:00 [INF] Request finished HTTP/2 GET https://localhost:5000/_framework/aspnetcore-browser-refresh.js - - - 200 11956 application/javascript;+charset=utf-8 5.9751ms 2022-02-19 19:08:42.586 +08:00 [INF] Request starting HTTP/2 GET https://localhost:5000/swagger/v1/swagger.json - - 2022-02-19 19:08:42.877 +08:00 [INF] Request finished HTTP/2 GET https://localhost:5000/swagger/v1/swagger.json - - - 200 - application/json;charset=utf-8 291.6765ms 2022-02-19 19:11:17.062 +08:00 [INF] Request starting HTTP/2 GET https://localhost:5000/abp/Swashbuckle/SetCsrfCookie application/json - 2022-02-19 19:11:17.082 +08:00 [INF] Executing endpoint 'Volo.Abp.Swashbuckle.AbpSwashbuckleController.SetCsrfCookie (Volo.Abp.Swashbuckle)' 2022-02-19 19:11:17.083 +08:00 [INF] Route matched with {area = "Abp", action = "SetCsrfCookie", controller = "AbpSwashbuckle", page = ""}. Executing controller action with signature Void SetCsrfCookie() on controller Volo.Abp.Swashbuckle.AbpSwashbuckleController (Volo.Abp.Swashbuckle). 2022-02-19 19:11:17.164 +08:00 [INF] Executing action method Volo.Abp.Swashbuckle.AbpSwashbuckleController.SetCsrfCookie (Volo.Abp.Swashbuckle) - Validation state: "Valid" 2022-02-19 19:11:17.178 +08:00 [INF] Executed action method Volo.Abp.Swashbuckle.AbpSwashbuckleController.SetCsrfCookie (Volo.Abp.Swashbuckle), returned result Microsoft.AspNetCore.Mvc.EmptyResult in 14.0424ms. 2022-02-19 19:11:17.178 +08:00 [INF] Executed action Volo.Abp.Swashbuckle.AbpSwashbuckleController.SetCsrfCookie (Volo.Abp.Swashbuckle) in 94.9494ms 2022-02-19 19:11:17.178 +08:00 [INF] Executed endpoint 'Volo.Abp.Swashbuckle.AbpSwashbuckleController.SetCsrfCookie (Volo.Abp.Swashbuckle)' 2022-02-19 19:11:17.179 +08:00 [INF] Request finished HTTP/2 GET https://localhost:5000/abp/Swashbuckle/SetCsrfCookie application/json - - 204 - - 118.7112ms 2022-02-19 19:11:17.251 +08:00 [INF] Request starting HTTP/2 POST https://localhost:5000/api/PPlan/add application/json 363 2022-02-19 19:11:17.257 +08:00 [INF] CORS policy execution failed. 2022-02-19 19:11:17.257 +08:00 [INF] Request origin https://localhost:5000 does not have permission to access the resource. 2022-02-19 19:11:17.259 +08:00 [INF] Executing endpoint 'WmsWebApi.PPlan.PPlanService.AddAsync (WmsWebApi.Application)' 2022-02-19 19:11:17.273 +08:00 [INF] Route matched with {action = "Add", controller = "PPlan", area = "", page = ""}. Executing controller action with signature System.Threading.Tasks.Task`1[WmsWebApi.PPlan.ReturnResult] AddAsync(System.Object) on controller WmsWebApi.PPlan.PPlanService (WmsWebApi.Application). 2022-02-19 19:11:19.004 +08:00 [INF] Executing action method WmsWebApi.PPlan.PPlanService.AddAsync (WmsWebApi.Application) - Validation state: "Valid" 2022-02-19 19:11:19.509 +08:00 [WRN] No type was specified for the decimal property 'BMENG' on entity type 'WmsWebApiBOMDTO'. This will cause values to be silently truncated if they do not fit in the default precision and scale. Explicitly specify the SQL server column type that can accommodate all the values in 'OnModelCreating' using 'HasColumnType()', specify precision and scale using 'HasPrecision()' or configure a value converter using 'HasConversion()'. 2022-02-19 19:11:19.509 +08:00 [WRN] No type was specified for the decimal property 'GSMNG' on entity type 'WmsWebApiPPLANDTO'. This will cause values to be silently truncated if they do not fit in the default precision and scale. Explicitly specify the SQL server column type that can accommodate all the values in 'OnModelCreating' using 'HasColumnType()', specify precision and scale using 'HasPrecision()' or configure a value converter using 'HasConversion()'. 2022-02-19 19:11:19.509 +08:00 [WRN] No type was specified for the decimal property 'Qty' on entity type 'TA_BOM'. This will cause values to be silently truncated if they do not fit in the default precision and scale. Explicitly specify the SQL server column type that can accommodate all the values in 'OnModelCreating' using 'HasColumnType()', specify precision and scale using 'HasPrecision()' or configure a value converter using 'HasConversion()'. 2022-02-19 19:11:19.509 +08:00 [WRN] No type was specified for the decimal property 'CustPackQty' on entity type 'TA_CUST_PART'. This will cause values to be silently truncated if they do not fit in the default precision and scale. Explicitly specify the SQL server column type that can accommodate all the values in 'OnModelCreating' using 'HasColumnType()', specify precision and scale using 'HasPrecision()' or configure a value converter using 'HasConversion()'. 2022-02-19 19:11:19.509 +08:00 [WRN] No type was specified for the decimal property 'CustPalletCapacity' on entity type 'TA_CUST_PART'. This will cause values to be silently truncated if they do not fit in the default precision and scale. Explicitly specify the SQL server column type that can accommodate all the values in 'OnModelCreating' using 'HasColumnType()', specify precision and scale using 'HasPrecision()' or configure a value converter using 'HasConversion()'. 2022-02-19 19:11:19.509 +08:00 [WRN] No type was specified for the decimal property 'ContainerQty' on entity type 'TA_PART'. This will cause values to be silently truncated if they do not fit in the default precision and scale. Explicitly specify the SQL server column type that can accommodate all the values in 'OnModelCreating' using 'HasColumnType()', specify precision and scale using 'HasPrecision()' or configure a value converter using 'HasConversion()'. 2022-02-19 19:11:19.509 +08:00 [WRN] No type was specified for the decimal property 'LinesidePackQty' on entity type 'TA_PART'. This will cause values to be silently truncated if they do not fit in the default precision and scale. Explicitly specify the SQL server column type that can accommodate all the values in 'OnModelCreating' using 'HasColumnType()', specify precision and scale using 'HasPrecision()' or configure a value converter using 'HasConversion()'. 2022-02-19 19:11:19.509 +08:00 [WRN] No type was specified for the decimal property 'MaxQty' on entity type 'TA_PART'. This will cause values to be silently truncated if they do not fit in the default precision and scale. Explicitly specify the SQL server column type that can accommodate all the values in 'OnModelCreating' using 'HasColumnType()', specify precision and scale using 'HasPrecision()' or configure a value converter using 'HasConversion()'. 2022-02-19 19:11:19.509 +08:00 [WRN] No type was specified for the decimal property 'MinQty' on entity type 'TA_PART'. This will cause values to be silently truncated if they do not fit in the default precision and scale. Explicitly specify the SQL server column type that can accommodate all the values in 'OnModelCreating' using 'HasColumnType()', specify precision and scale using 'HasPrecision()' or configure a value converter using 'HasConversion()'. 2022-02-19 19:11:19.509 +08:00 [WRN] No type was specified for the decimal property 'SafeQty' on entity type 'TA_PART'. This will cause values to be silently truncated if they do not fit in the default precision and scale. Explicitly specify the SQL server column type that can accommodate all the values in 'OnModelCreating' using 'HasColumnType()', specify precision and scale using 'HasPrecision()' or configure a value converter using 'HasConversion()'. 2022-02-19 19:11:19.509 +08:00 [WRN] No type was specified for the decimal property 'SamplePercent' on entity type 'TA_PART'. This will cause values to be silently truncated if they do not fit in the default precision and scale. Explicitly specify the SQL server column type that can accommodate all the values in 'OnModelCreating' using 'HasColumnType()', specify precision and scale using 'HasPrecision()' or configure a value converter using 'HasConversion()'. 2022-02-19 19:11:19.509 +08:00 [WRN] No type was specified for the decimal property 'SingleWeight' on entity type 'TA_PART'. This will cause values to be silently truncated if they do not fit in the default precision and scale. Explicitly specify the SQL server column type that can accommodate all the values in 'OnModelCreating' using 'HasColumnType()', specify precision and scale using 'HasPrecision()' or configure a value converter using 'HasConversion()'. 2022-02-19 19:11:19.509 +08:00 [WRN] No type was specified for the decimal property 'StockPackQty' on entity type 'TA_PART'. This will cause values to be silently truncated if they do not fit in the default precision and scale. Explicitly specify the SQL server column type that can accommodate all the values in 'OnModelCreating' using 'HasColumnType()', specify precision and scale using 'HasPrecision()' or configure a value converter using 'HasConversion()'. 2022-02-19 19:11:19.510 +08:00 [WRN] No type was specified for the decimal property 'BarCodeQty' on entity type 'TM_PG_PLAN'. This will cause values to be silently truncated if they do not fit in the default precision and scale. Explicitly specify the SQL server column type that can accommodate all the values in 'OnModelCreating' using 'HasColumnType()', specify precision and scale using 'HasPrecision()' or configure a value converter using 'HasConversion()'. 2022-02-19 19:11:19.510 +08:00 [WRN] No type was specified for the decimal property 'FinishedQty' on entity type 'TM_PG_PLAN'. This will cause values to be silently truncated if they do not fit in the default precision and scale. Explicitly specify the SQL server column type that can accommodate all the values in 'OnModelCreating' using 'HasColumnType()', specify precision and scale using 'HasPrecision()' or configure a value converter using 'HasConversion()'. 2022-02-19 19:11:19.510 +08:00 [WRN] No type was specified for the decimal property 'InQty' on entity type 'TM_PG_PLAN'. This will cause values to be silently truncated if they do not fit in the default precision and scale. Explicitly specify the SQL server column type that can accommodate all the values in 'OnModelCreating' using 'HasColumnType()', specify precision and scale using 'HasPrecision()' or configure a value converter using 'HasConversion()'. 2022-02-19 19:11:19.510 +08:00 [WRN] No type was specified for the decimal property 'NotInQty' on entity type 'TM_PG_PLAN'. This will cause values to be silently truncated if they do not fit in the default precision and scale. Explicitly specify the SQL server column type that can accommodate all the values in 'OnModelCreating' using 'HasColumnType()', specify precision and scale using 'HasPrecision()' or configure a value converter using 'HasConversion()'. 2022-02-19 19:11:19.510 +08:00 [WRN] No type was specified for the decimal property 'PackQty' on entity type 'TM_PG_PLAN'. This will cause values to be silently truncated if they do not fit in the default precision and scale. Explicitly specify the SQL server column type that can accommodate all the values in 'OnModelCreating' using 'HasColumnType()', specify precision and scale using 'HasPrecision()' or configure a value converter using 'HasConversion()'. 2022-02-19 19:11:19.510 +08:00 [WRN] No type was specified for the decimal property 'Qty' on entity type 'TM_PG_PLAN'. This will cause values to be silently truncated if they do not fit in the default precision and scale. Explicitly specify the SQL server column type that can accommodate all the values in 'OnModelCreating' using 'HasColumnType()', specify precision and scale using 'HasPrecision()' or configure a value converter using 'HasConversion()'. 2022-02-19 19:11:19.596 +08:00 [INF] Entity Framework Core 5.0.14 initialized 'WmsWebApiDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: QuerySplittingBehavior=SplitQuery 2022-02-19 19:11:19.845 +08:00 [INF] Executed DbCommand (38ms) [Parameters=[@___planDto_MATNR_0='?' (Size = 50)], CommandType='"Text"', CommandTimeout='30'] SELECT TOP(1) [t].[UID], [t].[AbcClass], [t].[CertificateOfQuality], [t].[Configuration], [t].[ContainerQty], [t].[DefaultBackFlushLocCode], [t].[DefaultReceiveLocCode], [t].[DistributionType], [t].[DrawingNumber], [t].[ErpPartCode], [t].[InspectType], [t].[Inspecter], [t].[IsAskMerge], [t].[IsConsign], [t].[IsDeposit], [t].[IsNoInterface], [t].[IsTransfer], [t].[LabelTemplate], [t].[LinesidePackQty], [t].[ManageType], [t].[MaxQty], [t].[MinQty], [t].[PalletSize], [t].[PalletTemplate], [t].[PartCode], [t].[PartDesc1], [t].[PartDesc2], [t].[PartGroup], [t].[PartKind], [t].[PartType], [t].[Process], [t].[ProjectId], [t].[Promo], [t].[QLevel], [t].[ReceivePort], [t].[Remark], [t].[SafeQty], [t].[SamplePercent], [t].[SingleWeight], [t].[Source], [t].[State], [t].[StockPackQty], [t].[StoreKeeper], [t].[Unit], [t].[ValidityDays] FROM [TA_PART] AS [t] WHERE [t].[PartCode] = @___planDto_MATNR_0 2022-02-19 19:11:20.204 +08:00 [INF] Executed DbCommand (30ms) [Parameters=[@___billnum_0='?' (Size = 64)], CommandType='"Text"', CommandTimeout='30'] SELECT TOP(1) [t].[UID], [t].[AccountDate], [t].[BillNum], [t].[BillTime], [t].[BillType], [t].[CustId], [t].[DetailQty], [t].[DockCode], [t].[FinishTime], [t].[GateCode], [t].[GateName], [t].[Guid], [t].[OperName], [t].[ProjectId], [t].[Remark], [t].[SourceBillNum], [t].[SourceBillNum2], [t].[SourceBillNum3], [t].[StartTime], [t].[State], [t].[SubBillType], [t].[TransportType], [t].[TruckNum], [t].[VendId] FROM [TB_BILL] AS [t] WHERE [t].[BillNum] = @___billnum_0 2022-02-19 19:11:20.497 +08:00 [ERR] Failed executing DbCommand (54ms) [Parameters=[@___planDto_PEDTR_0='?' (Size = 4000), @___planDto_SCHGRUP_1='?' (Size = 4000), @___planDto_KAPTPROG_2='?' (Size = 4000), @___planDto_MATNR_3='?' (Size = 4000)], CommandType='"Text"', CommandTimeout='30'] SELECT TOP(1) [t].[Id], [t].[BarCodeQty], [t].[BillLine], [t].[BillNum], [t].[BomVersion], [t].[FinishedQty], [t].[Group], [t].[House], [t].[InQty], [t].[IsPrinted], [t].[IsProduct], [t].[ModifyTime], [t].[NotInQty], [t].[PackQty], [t].[PartCode], [t].[PlanShiftName], [t].[PlanTime], [t].[PlannedOrderParameter], [t].[Qty], [t].[Remark], [t].[Seq], [t].[ShiftName], [t].[State] FROM [TmPPlans] AS [t] WHERE ((([t].[PlanTime] = @___planDto_PEDTR_0) AND ([t].[Group] = @___planDto_SCHGRUP_1)) AND ([t].[ShiftName] = @___planDto_KAPTPROG_2)) AND ([t].[PartCode] = @___planDto_MATNR_3) 2022-02-19 19:11:20.645 +08:00 [ERR] An exception occurred while iterating over the results of a query for context type 'WmsWebApi.EntityFrameworkCore.WmsWebApiDbContext'. Microsoft.Data.SqlClient.SqlException (0x80131904): 对象名 'TmPPlans' 无效。 at Microsoft.Data.SqlClient.SqlCommand.<>c.b__169_0(Task`1 result) at System.Threading.Tasks.ContinuationResultTaskFromResultTask`2.InnerInvoke() at System.Threading.Tasks.Task.<>c.<.cctor>b__277_0(Object obj) at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state) --- End of stack trace from previous location --- at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread) --- End of stack trace from previous location --- at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Query.Internal.SplitQueryingEnumerable`1.AsyncEnumerator.InitializeReaderAsync(DbContext _, Boolean result, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.SqlServer.Storage.Internal.SqlServerExecutionStrategy.ExecuteAsync[TState,TResult](TState state, Func`4 operation, Func`4 verifySucceeded, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Query.Internal.SplitQueryingEnumerable`1.AsyncEnumerator.MoveNextAsync() ClientConnectionId:45e8cf18-aff0-4c8c-b0fc-e2e20056f4fd Error Number:208,State:1,Class:16 Microsoft.Data.SqlClient.SqlException (0x80131904): 对象名 'TmPPlans' 无效。 at Microsoft.Data.SqlClient.SqlCommand.<>c.b__169_0(Task`1 result) at System.Threading.Tasks.ContinuationResultTaskFromResultTask`2.InnerInvoke() at System.Threading.Tasks.Task.<>c.<.cctor>b__277_0(Object obj) at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state) --- End of stack trace from previous location --- at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread) --- End of stack trace from previous location --- at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Query.Internal.SplitQueryingEnumerable`1.AsyncEnumerator.InitializeReaderAsync(DbContext _, Boolean result, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.SqlServer.Storage.Internal.SqlServerExecutionStrategy.ExecuteAsync[TState,TResult](TState state, Func`4 operation, Func`4 verifySucceeded, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Query.Internal.SplitQueryingEnumerable`1.AsyncEnumerator.MoveNextAsync() at Microsoft.EntityFrameworkCore.Query.ShapedQueryCompilingExpressionVisitor.SingleOrDefaultAsync[TSource](IAsyncEnumerable`1 asyncEnumerable, CancellationToken cancellationToken) ClientConnectionId:45e8cf18-aff0-4c8c-b0fc-e2e20056f4fd Error Number:208,State:1,Class:16 2022-02-19 19:11:21.010 +08:00 [INF] Executed action method WmsWebApi.PPlan.PPlanService.AddAsync (WmsWebApi.Application), returned result Microsoft.AspNetCore.Mvc.ObjectResult in 2005.9058ms. 2022-02-19 19:11:21.196 +08:00 [INF] Executed DbCommand (34ms) [Parameters=[@p0='?' (DbType = DateTime2), @p1='?' (Size = 64), @p2='?' (DbType = DateTime2), @p3='?' (DbType = Int32), @p4='?' (Size = 50), @p5='?' (DbType = Int32), @p6='?' (Size = 4000), @p7='?' (Size = 50), @p8='?' (Size = 50), @p9='?' (Size = 50), @p10='?' (DbType = Guid), @p11='?' (Size = 4000), @p12='?' (Size = 50), @p13='?' (Size = 4000), @p14='?' (Size = 4000), @p15='?' (Size = 4000), @p16='?' (Size = 4000), @p17='?' (Size = 50), @p18='?' (DbType = Int32), @p19='?' (Size = 50), @p20='?' (Size = 50), @p21='?' (Size = 50)], CommandType='"Text"', CommandTimeout='30'] SET NOCOUNT ON; INSERT INTO [TB_BILL] ([AccountDate], [BillNum], [BillTime], [BillType], [CustId], [DetailQty], [DockCode], [FinishTime], [GateCode], [GateName], [Guid], [OperName], [ProjectId], [Remark], [SourceBillNum], [SourceBillNum2], [SourceBillNum3], [StartTime], [SubBillType], [TransportType], [TruckNum], [VendId]) VALUES (@p0, @p1, @p2, @p3, @p4, @p5, @p6, @p7, @p8, @p9, @p10, @p11, @p12, @p13, @p14, @p15, @p16, @p17, @p18, @p19, @p20, @p21); SELECT [UID], [State] FROM [TB_BILL] WHERE @@ROWCOUNT = 1 AND [UID] = scope_identity(); 2022-02-19 19:11:21.342 +08:00 [DBG] Added 0 entity changes to the current audit log 2022-02-19 19:11:21.342 +08:00 [DBG] Added 0 entity changes to the current audit log 2022-02-19 19:11:21.354 +08:00 [INF] Executing ObjectResult, writing value of type 'WmsWebApi.PPlan.ReturnResult'. 2022-02-19 19:11:21.363 +08:00 [INF] Executed action WmsWebApi.PPlan.PPlanService.AddAsync (WmsWebApi.Application) in 4089.5742ms 2022-02-19 19:11:21.363 +08:00 [INF] Executed endpoint 'WmsWebApi.PPlan.PPlanService.AddAsync (WmsWebApi.Application)' 2022-02-19 19:11:21.553 +08:00 [INF] Entity Framework Core 5.0.14 initialized 'AbpAuditLoggingDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: QuerySplittingBehavior=SplitQuery 2022-02-19 19:11:21.719 +08:00 [INF] Executed DbCommand (35ms) [Parameters=[@p0='?' (DbType = Guid), @p1='?' (Size = 96), @p2='?' (Size = 512), @p3='?' (Size = 64), @p4='?' (Size = 64), @p5='?' (Size = 128), @p6='?' (Size = 256), @p7='?' (Size = 40), @p8='?' (Size = 64), @p9='?' (Size = 4000), @p10='?' (DbType = Int32), @p11='?' (DbType = DateTime2), @p12='?' (Size = 4000), @p13='?' (Size = 16), @p14='?' (DbType = Int32), @p15='?' (DbType = Guid), @p16='?' (DbType = Guid), @p17='?' (DbType = Guid), @p18='?' (Size = 4000), @p19='?' (Size = 256), @p20='?' (DbType = Guid), @p21='?' (Size = 256)], CommandType='"Text"', CommandTimeout='30'] SET NOCOUNT ON; INSERT INTO [AbpAuditLogs] ([Id], [ApplicationName], [BrowserInfo], [ClientId], [ClientIpAddress], [ClientName], [Comments], [ConcurrencyStamp], [CorrelationId], [Exceptions], [ExecutionDuration], [ExecutionTime], [ExtraProperties], [HttpMethod], [HttpStatusCode], [ImpersonatorTenantId], [ImpersonatorUserId], [TenantId], [TenantName], [Url], [UserId], [UserName]) VALUES (@p0, @p1, @p2, @p3, @p4, @p5, @p6, @p7, @p8, @p9, @p10, @p11, @p12, @p13, @p14, @p15, @p16, @p17, @p18, @p19, @p20, @p21); 2022-02-19 19:11:21.753 +08:00 [INF] Executed DbCommand (34ms) [Parameters=[@p22='?' (DbType = Guid), @p23='?' (DbType = Guid), @p24='?' (DbType = Int32), @p25='?' (DbType = DateTime2), @p26='?' (Size = 4000), @p27='?' (Size = 128), @p28='?' (Size = 2000), @p29='?' (Size = 256), @p30='?' (DbType = Guid)], CommandType='"Text"', CommandTimeout='30'] SET NOCOUNT ON; INSERT INTO [AbpAuditLogActions] ([Id], [AuditLogId], [ExecutionDuration], [ExecutionTime], [ExtraProperties], [MethodName], [Parameters], [ServiceName], [TenantId]) VALUES (@p22, @p23, @p24, @p25, @p26, @p27, @p28, @p29, @p30); 2022-02-19 19:11:21.840 +08:00 [DBG] Added 0 entity changes to the current audit log 2022-02-19 19:11:21.840 +08:00 [DBG] Added 0 entity changes to the current audit log 2022-02-19 19:11:21.842 +08:00 [INF] Request finished HTTP/2 POST https://localhost:5000/api/PPlan/add application/json 363 - 200 - application/json;+charset=utf-8 4590.2663ms 2022-02-19 19:13:55.667 +08:00 [INF] Starting web host. 2022-02-19 19:14:04.561 +08:00 [INF] User profile is available. Using 'C:\Users\lvcj2\AppData\Local\ASP.NET\DataProtection-Keys' as key repository and Windows DPAPI to encrypt keys at rest. 2022-02-19 19:14:04.912 +08:00 [INF] Loaded ABP modules: 2022-02-19 19:14:04.912 +08:00 [INF] - WmsWebApi.WmsWebApiHttpApiHostModule 2022-02-19 19:14:04.912 +08:00 [INF] - WmsWebApi.WmsWebApiApplicationModule 2022-02-19 19:14:04.912 +08:00 [INF] - WmsWebApi.WmsWebApiDomainModule 2022-02-19 19:14:04.912 +08:00 [INF] - Volo.Abp.Domain.AbpDddDomainModule 2022-02-19 19:14:04.912 +08:00 [INF] - Volo.Abp.Auditing.AbpAuditingModule 2022-02-19 19:14:04.912 +08:00 [INF] - Volo.Abp.Data.AbpDataModule 2022-02-19 19:14:04.912 +08:00 [INF] - Volo.Abp.ObjectExtending.AbpObjectExtendingModule 2022-02-19 19:14:04.912 +08:00 [INF] - Volo.Abp.Localization.AbpLocalizationAbstractionsModule 2022-02-19 19:14:04.912 +08:00 [INF] - Volo.Abp.Validation.AbpValidationAbstractionsModule 2022-02-19 19:14:04.912 +08:00 [INF] - Volo.Abp.Uow.AbpUnitOfWorkModule 2022-02-19 19:14:04.912 +08:00 [INF] - Volo.Abp.EventBus.Abstractions.AbpEventBusAbstractionsModule 2022-02-19 19:14:04.912 +08:00 [INF] - Volo.Abp.Json.AbpJsonModule 2022-02-19 19:14:04.912 +08:00 [INF] - Volo.Abp.Timing.AbpTimingModule 2022-02-19 19:14:04.912 +08:00 [INF] - Volo.Abp.Localization.AbpLocalizationModule 2022-02-19 19:14:04.912 +08:00 [INF] - Volo.Abp.VirtualFileSystem.AbpVirtualFileSystemModule 2022-02-19 19:14:04.912 +08:00 [INF] - Volo.Abp.Settings.AbpSettingsModule 2022-02-19 19:14:04.912 +08:00 [INF] - Volo.Abp.Security.AbpSecurityModule 2022-02-19 19:14:04.912 +08:00 [INF] - Volo.Abp.MultiTenancy.AbpMultiTenancyModule 2022-02-19 19:14:04.912 +08:00 [INF] - Volo.Abp.Threading.AbpThreadingModule 2022-02-19 19:14:04.912 +08:00 [INF] - Volo.Abp.EventBus.AbpEventBusModule 2022-02-19 19:14:04.912 +08:00 [INF] - Volo.Abp.Guids.AbpGuidsModule 2022-02-19 19:14:04.912 +08:00 [INF] - Volo.Abp.ObjectMapping.AbpObjectMappingModule 2022-02-19 19:14:04.912 +08:00 [INF] - Volo.Abp.ExceptionHandling.AbpExceptionHandlingModule 2022-02-19 19:14:04.912 +08:00 [INF] - Volo.Abp.Specifications.AbpSpecificationsModule 2022-02-19 19:14:04.912 +08:00 [INF] - WmsWebApi.WmsWebApiDomainSharedModule 2022-02-19 19:14:04.912 +08:00 [INF] - Volo.Abp.Validation.AbpValidationModule 2022-02-19 19:14:04.912 +08:00 [INF] - WmsWebApi.WmsWebApiApplicationContractsModule 2022-02-19 19:14:04.912 +08:00 [INF] - Volo.Abp.Application.AbpDddApplicationContractsModule 2022-02-19 19:14:04.912 +08:00 [INF] - Volo.Abp.Authorization.AbpAuthorizationModule 2022-02-19 19:14:04.912 +08:00 [INF] - Volo.Abp.Authorization.AbpAuthorizationAbstractionsModule 2022-02-19 19:14:04.912 +08:00 [INF] - Volo.Abp.Application.AbpDddApplicationModule 2022-02-19 19:14:04.912 +08:00 [INF] - Volo.Abp.Http.AbpHttpAbstractionsModule 2022-02-19 19:14:04.912 +08:00 [INF] - Volo.Abp.Features.AbpFeaturesModule 2022-02-19 19:14:04.912 +08:00 [INF] - Volo.Abp.GlobalFeatures.AbpGlobalFeaturesModule 2022-02-19 19:14:04.912 +08:00 [INF] - Volo.Abp.AutoMapper.AbpAutoMapperModule 2022-02-19 19:14:04.912 +08:00 [INF] - WmsWebApi.EntityFrameworkCore.WmsWebApiEntityFrameworkCoreModule 2022-02-19 19:14:04.912 +08:00 [INF] - Volo.Abp.EntityFrameworkCore.AbpEntityFrameworkCoreModule 2022-02-19 19:14:04.912 +08:00 [INF] - Volo.Abp.Dapper.AbpDapperModule 2022-02-19 19:14:04.912 +08:00 [INF] - WmsWebApi.WmsWebApiHttpApiModule 2022-02-19 19:14:04.912 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.AbpAspNetCoreMvcModule 2022-02-19 19:14:04.912 +08:00 [INF] - Volo.Abp.AspNetCore.AbpAspNetCoreModule 2022-02-19 19:14:04.912 +08:00 [INF] - Volo.Abp.Http.AbpHttpModule 2022-02-19 19:14:04.912 +08:00 [INF] - Volo.Abp.Minify.AbpMinifyModule 2022-02-19 19:14:04.912 +08:00 [INF] - Volo.Abp.ApiVersioning.AbpApiVersioningAbstractionsModule 2022-02-19 19:14:04.912 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.AbpAspNetCoreMvcContractsModule 2022-02-19 19:14:04.912 +08:00 [INF] - Volo.Abp.UI.Navigation.AbpUiNavigationModule 2022-02-19 19:14:04.912 +08:00 [INF] - Volo.Abp.UI.AbpUiModule 2022-02-19 19:14:04.912 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.MultiTenancy.AbpAspNetCoreMvcUiMultiTenancyModule 2022-02-19 19:14:04.912 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Theme.Shared.AbpAspNetCoreMvcUiThemeSharedModule 2022-02-19 19:14:04.912 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.AbpAspNetCoreMvcUiBootstrapModule 2022-02-19 19:14:04.912 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.AbpAspNetCoreMvcUiModule 2022-02-19 19:14:04.912 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Packages.AbpAspNetCoreMvcUiPackagesModule 2022-02-19 19:14:04.912 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Bundling.AbpAspNetCoreMvcUiBundlingAbstractionsModule 2022-02-19 19:14:04.912 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Widgets.AbpAspNetCoreMvcUiWidgetsModule 2022-02-19 19:14:04.912 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Bundling.AbpAspNetCoreMvcUiBundlingModule 2022-02-19 19:14:04.912 +08:00 [INF] - Volo.Abp.AspNetCore.MultiTenancy.AbpAspNetCoreMultiTenancyModule 2022-02-19 19:14:04.912 +08:00 [INF] - Volo.Abp.Autofac.AbpAutofacModule 2022-02-19 19:14:04.912 +08:00 [INF] - Volo.Abp.Castle.AbpCastleCoreModule 2022-02-19 19:14:04.912 +08:00 [INF] - Volo.Abp.Caching.StackExchangeRedis.AbpCachingStackExchangeRedisModule 2022-02-19 19:14:04.912 +08:00 [INF] - Volo.Abp.Caching.AbpCachingModule 2022-02-19 19:14:04.912 +08:00 [INF] - Volo.Abp.Serialization.AbpSerializationModule 2022-02-19 19:14:04.912 +08:00 [INF] - Volo.Abp.EntityFrameworkCore.SqlServer.AbpEntityFrameworkCoreSqlServerModule 2022-02-19 19:14:04.912 +08:00 [INF] - Volo.Abp.AuditLogging.EntityFrameworkCore.AbpAuditLoggingEntityFrameworkCoreModule 2022-02-19 19:14:04.912 +08:00 [INF] - Volo.Abp.AuditLogging.AbpAuditLoggingDomainModule 2022-02-19 19:14:04.912 +08:00 [INF] - Volo.Abp.AuditLogging.AbpAuditLoggingDomainSharedModule 2022-02-19 19:14:04.912 +08:00 [INF] - Volo.Abp.PermissionManagement.EntityFrameworkCore.AbpPermissionManagementEntityFrameworkCoreModule 2022-02-19 19:14:04.912 +08:00 [INF] - Volo.Abp.PermissionManagement.AbpPermissionManagementDomainModule 2022-02-19 19:14:04.912 +08:00 [INF] - Volo.Abp.PermissionManagement.AbpPermissionManagementDomainSharedModule 2022-02-19 19:14:04.912 +08:00 [INF] - Volo.Abp.SettingManagement.EntityFrameworkCore.AbpSettingManagementEntityFrameworkCoreModule 2022-02-19 19:14:04.912 +08:00 [INF] - Volo.Abp.SettingManagement.AbpSettingManagementDomainModule 2022-02-19 19:14:04.912 +08:00 [INF] - Volo.Abp.SettingManagement.AbpSettingManagementDomainSharedModule 2022-02-19 19:14:04.912 +08:00 [INF] - Volo.Abp.AspNetCore.Serilog.AbpAspNetCoreSerilogModule 2022-02-19 19:14:04.912 +08:00 [INF] - Volo.Abp.Swashbuckle.AbpSwashbuckleModule 2022-02-19 19:14:05.536 +08:00 [INF] Initialized all ABP modules. 2022-02-19 19:14:05.882 +08:00 [INF] Now listening on: https://localhost:5000 2022-02-19 19:14:05.883 +08:00 [INF] Application started. Press Ctrl+C to shut down. 2022-02-19 19:14:05.883 +08:00 [INF] Hosting environment: Development 2022-02-19 19:14:05.883 +08:00 [INF] Content root path: D:\工作\派格\接口程序\WmsWebApi\host\WmsWebApi.HttpApi.Host 2022-02-19 19:14:10.382 +08:00 [INF] Request starting HTTP/2 GET https://localhost:5000/ - - 2022-02-19 19:14:12.344 +08:00 [INF] Executing endpoint 'WmsWebApi.Controllers.HomeController.Index (WmsWebApi.HttpApi.Host)' 2022-02-19 19:14:12.428 +08:00 [INF] Route matched with {action = "Index", controller = "Home", area = "", page = ""}. Executing controller action with signature Microsoft.AspNetCore.Mvc.ActionResult Index() on controller WmsWebApi.Controllers.HomeController (WmsWebApi.HttpApi.Host). 2022-02-19 19:14:12.629 +08:00 [INF] Executing action method WmsWebApi.Controllers.HomeController.Index (WmsWebApi.HttpApi.Host) - Validation state: "Valid" 2022-02-19 19:14:12.637 +08:00 [INF] Executed action method WmsWebApi.Controllers.HomeController.Index (WmsWebApi.HttpApi.Host), returned result Microsoft.AspNetCore.Mvc.RedirectResult in 0.4334ms. 2022-02-19 19:14:12.642 +08:00 [INF] Executing RedirectResult, redirecting to /swagger. 2022-02-19 19:14:12.647 +08:00 [INF] Executed action WmsWebApi.Controllers.HomeController.Index (WmsWebApi.HttpApi.Host) in 214.4713ms 2022-02-19 19:14:12.647 +08:00 [INF] Executed endpoint 'WmsWebApi.Controllers.HomeController.Index (WmsWebApi.HttpApi.Host)' 2022-02-19 19:14:12.667 +08:00 [INF] Request finished HTTP/2 GET https://localhost:5000/ - - - 302 0 - 2288.7646ms 2022-02-19 19:14:12.668 +08:00 [INF] Request starting HTTP/2 GET https://localhost:5000/swagger/index.html - - 2022-02-19 19:14:12.821 +08:00 [INF] Request finished HTTP/2 GET https://localhost:5000/swagger/index.html - - - 200 - text/html;charset=utf-8 152.6067ms 2022-02-19 19:14:13.227 +08:00 [INF] Request starting HTTP/2 GET https://localhost:5000/_framework/aspnetcore-browser-refresh.js - - 2022-02-19 19:14:13.233 +08:00 [INF] Request finished HTTP/2 GET https://localhost:5000/_framework/aspnetcore-browser-refresh.js - - - 200 11956 application/javascript;+charset=utf-8 6.1075ms 2022-02-19 19:14:13.734 +08:00 [INF] Request starting HTTP/2 GET https://localhost:5000/swagger/v1/swagger.json - - 2022-02-19 19:14:14.071 +08:00 [INF] Request finished HTTP/2 GET https://localhost:5000/swagger/v1/swagger.json - - - 200 - application/json;charset=utf-8 336.7597ms 2022-02-19 19:15:20.464 +08:00 [INF] Request starting HTTP/2 GET https://localhost:5000/abp/Swashbuckle/SetCsrfCookie application/json - 2022-02-19 19:15:20.541 +08:00 [INF] Executing endpoint 'Volo.Abp.Swashbuckle.AbpSwashbuckleController.SetCsrfCookie (Volo.Abp.Swashbuckle)' 2022-02-19 19:15:20.547 +08:00 [INF] Route matched with {area = "Abp", action = "SetCsrfCookie", controller = "AbpSwashbuckle", page = ""}. Executing controller action with signature Void SetCsrfCookie() on controller Volo.Abp.Swashbuckle.AbpSwashbuckleController (Volo.Abp.Swashbuckle). 2022-02-19 19:15:20.713 +08:00 [INF] Executing action method Volo.Abp.Swashbuckle.AbpSwashbuckleController.SetCsrfCookie (Volo.Abp.Swashbuckle) - Validation state: "Valid" 2022-02-19 19:15:20.767 +08:00 [INF] Executed action method Volo.Abp.Swashbuckle.AbpSwashbuckleController.SetCsrfCookie (Volo.Abp.Swashbuckle), returned result Microsoft.AspNetCore.Mvc.EmptyResult in 53.3429ms. 2022-02-19 19:15:20.769 +08:00 [INF] Executed action Volo.Abp.Swashbuckle.AbpSwashbuckleController.SetCsrfCookie (Volo.Abp.Swashbuckle) in 222.4674ms 2022-02-19 19:15:20.769 +08:00 [INF] Executed endpoint 'Volo.Abp.Swashbuckle.AbpSwashbuckleController.SetCsrfCookie (Volo.Abp.Swashbuckle)' 2022-02-19 19:15:20.771 +08:00 [INF] Request finished HTTP/2 GET https://localhost:5000/abp/Swashbuckle/SetCsrfCookie application/json - - 204 - - 308.4547ms 2022-02-19 19:15:21.005 +08:00 [INF] Request starting HTTP/2 POST https://localhost:5000/api/PPlan/add application/json 363 2022-02-19 19:15:21.019 +08:00 [INF] CORS policy execution failed. 2022-02-19 19:15:21.019 +08:00 [INF] Request origin https://localhost:5000 does not have permission to access the resource. 2022-02-19 19:15:21.024 +08:00 [INF] Executing endpoint 'WmsWebApi.PPlan.PPlanService.AddAsync (WmsWebApi.Application)' 2022-02-19 19:15:21.072 +08:00 [INF] Route matched with {action = "Add", controller = "PPlan", area = "", page = ""}. Executing controller action with signature System.Threading.Tasks.Task`1[WmsWebApi.PPlan.ReturnResult] AddAsync(System.Object) on controller WmsWebApi.PPlan.PPlanService (WmsWebApi.Application). 2022-02-19 19:15:22.177 +08:00 [INF] Executing action method WmsWebApi.PPlan.PPlanService.AddAsync (WmsWebApi.Application) - Validation state: "Valid" 2022-02-19 19:15:23.418 +08:00 [WRN] No type was specified for the decimal property 'BMENG' on entity type 'WmsWebApiBOMDTO'. This will cause values to be silently truncated if they do not fit in the default precision and scale. Explicitly specify the SQL server column type that can accommodate all the values in 'OnModelCreating' using 'HasColumnType()', specify precision and scale using 'HasPrecision()' or configure a value converter using 'HasConversion()'. 2022-02-19 19:15:23.419 +08:00 [WRN] No type was specified for the decimal property 'GSMNG' on entity type 'WmsWebApiPPLANDTO'. This will cause values to be silently truncated if they do not fit in the default precision and scale. Explicitly specify the SQL server column type that can accommodate all the values in 'OnModelCreating' using 'HasColumnType()', specify precision and scale using 'HasPrecision()' or configure a value converter using 'HasConversion()'. 2022-02-19 19:15:23.419 +08:00 [WRN] No type was specified for the decimal property 'Qty' on entity type 'TA_BOM'. This will cause values to be silently truncated if they do not fit in the default precision and scale. Explicitly specify the SQL server column type that can accommodate all the values in 'OnModelCreating' using 'HasColumnType()', specify precision and scale using 'HasPrecision()' or configure a value converter using 'HasConversion()'. 2022-02-19 19:15:23.419 +08:00 [WRN] No type was specified for the decimal property 'CustPackQty' on entity type 'TA_CUST_PART'. This will cause values to be silently truncated if they do not fit in the default precision and scale. Explicitly specify the SQL server column type that can accommodate all the values in 'OnModelCreating' using 'HasColumnType()', specify precision and scale using 'HasPrecision()' or configure a value converter using 'HasConversion()'. 2022-02-19 19:15:23.419 +08:00 [WRN] No type was specified for the decimal property 'CustPalletCapacity' on entity type 'TA_CUST_PART'. This will cause values to be silently truncated if they do not fit in the default precision and scale. Explicitly specify the SQL server column type that can accommodate all the values in 'OnModelCreating' using 'HasColumnType()', specify precision and scale using 'HasPrecision()' or configure a value converter using 'HasConversion()'. 2022-02-19 19:15:23.419 +08:00 [WRN] No type was specified for the decimal property 'ContainerQty' on entity type 'TA_PART'. This will cause values to be silently truncated if they do not fit in the default precision and scale. Explicitly specify the SQL server column type that can accommodate all the values in 'OnModelCreating' using 'HasColumnType()', specify precision and scale using 'HasPrecision()' or configure a value converter using 'HasConversion()'. 2022-02-19 19:15:23.419 +08:00 [WRN] No type was specified for the decimal property 'LinesidePackQty' on entity type 'TA_PART'. This will cause values to be silently truncated if they do not fit in the default precision and scale. Explicitly specify the SQL server column type that can accommodate all the values in 'OnModelCreating' using 'HasColumnType()', specify precision and scale using 'HasPrecision()' or configure a value converter using 'HasConversion()'. 2022-02-19 19:15:23.419 +08:00 [WRN] No type was specified for the decimal property 'MaxQty' on entity type 'TA_PART'. This will cause values to be silently truncated if they do not fit in the default precision and scale. Explicitly specify the SQL server column type that can accommodate all the values in 'OnModelCreating' using 'HasColumnType()', specify precision and scale using 'HasPrecision()' or configure a value converter using 'HasConversion()'. 2022-02-19 19:15:23.419 +08:00 [WRN] No type was specified for the decimal property 'MinQty' on entity type 'TA_PART'. This will cause values to be silently truncated if they do not fit in the default precision and scale. Explicitly specify the SQL server column type that can accommodate all the values in 'OnModelCreating' using 'HasColumnType()', specify precision and scale using 'HasPrecision()' or configure a value converter using 'HasConversion()'. 2022-02-19 19:15:23.419 +08:00 [WRN] No type was specified for the decimal property 'SafeQty' on entity type 'TA_PART'. This will cause values to be silently truncated if they do not fit in the default precision and scale. Explicitly specify the SQL server column type that can accommodate all the values in 'OnModelCreating' using 'HasColumnType()', specify precision and scale using 'HasPrecision()' or configure a value converter using 'HasConversion()'. 2022-02-19 19:15:23.419 +08:00 [WRN] No type was specified for the decimal property 'SamplePercent' on entity type 'TA_PART'. This will cause values to be silently truncated if they do not fit in the default precision and scale. Explicitly specify the SQL server column type that can accommodate all the values in 'OnModelCreating' using 'HasColumnType()', specify precision and scale using 'HasPrecision()' or configure a value converter using 'HasConversion()'. 2022-02-19 19:15:23.419 +08:00 [WRN] No type was specified for the decimal property 'SingleWeight' on entity type 'TA_PART'. This will cause values to be silently truncated if they do not fit in the default precision and scale. Explicitly specify the SQL server column type that can accommodate all the values in 'OnModelCreating' using 'HasColumnType()', specify precision and scale using 'HasPrecision()' or configure a value converter using 'HasConversion()'. 2022-02-19 19:15:23.419 +08:00 [WRN] No type was specified for the decimal property 'StockPackQty' on entity type 'TA_PART'. This will cause values to be silently truncated if they do not fit in the default precision and scale. Explicitly specify the SQL server column type that can accommodate all the values in 'OnModelCreating' using 'HasColumnType()', specify precision and scale using 'HasPrecision()' or configure a value converter using 'HasConversion()'. 2022-02-19 19:15:23.419 +08:00 [WRN] No type was specified for the decimal property 'BarCodeQty' on entity type 'TM_PG_PLAN'. This will cause values to be silently truncated if they do not fit in the default precision and scale. Explicitly specify the SQL server column type that can accommodate all the values in 'OnModelCreating' using 'HasColumnType()', specify precision and scale using 'HasPrecision()' or configure a value converter using 'HasConversion()'. 2022-02-19 19:15:23.419 +08:00 [WRN] No type was specified for the decimal property 'FinishedQty' on entity type 'TM_PG_PLAN'. This will cause values to be silently truncated if they do not fit in the default precision and scale. Explicitly specify the SQL server column type that can accommodate all the values in 'OnModelCreating' using 'HasColumnType()', specify precision and scale using 'HasPrecision()' or configure a value converter using 'HasConversion()'. 2022-02-19 19:15:23.419 +08:00 [WRN] No type was specified for the decimal property 'InQty' on entity type 'TM_PG_PLAN'. This will cause values to be silently truncated if they do not fit in the default precision and scale. Explicitly specify the SQL server column type that can accommodate all the values in 'OnModelCreating' using 'HasColumnType()', specify precision and scale using 'HasPrecision()' or configure a value converter using 'HasConversion()'. 2022-02-19 19:15:23.419 +08:00 [WRN] No type was specified for the decimal property 'NotInQty' on entity type 'TM_PG_PLAN'. This will cause values to be silently truncated if they do not fit in the default precision and scale. Explicitly specify the SQL server column type that can accommodate all the values in 'OnModelCreating' using 'HasColumnType()', specify precision and scale using 'HasPrecision()' or configure a value converter using 'HasConversion()'. 2022-02-19 19:15:23.419 +08:00 [WRN] No type was specified for the decimal property 'PackQty' on entity type 'TM_PG_PLAN'. This will cause values to be silently truncated if they do not fit in the default precision and scale. Explicitly specify the SQL server column type that can accommodate all the values in 'OnModelCreating' using 'HasColumnType()', specify precision and scale using 'HasPrecision()' or configure a value converter using 'HasConversion()'. 2022-02-19 19:15:23.419 +08:00 [WRN] No type was specified for the decimal property 'Qty' on entity type 'TM_PG_PLAN'. This will cause values to be silently truncated if they do not fit in the default precision and scale. Explicitly specify the SQL server column type that can accommodate all the values in 'OnModelCreating' using 'HasColumnType()', specify precision and scale using 'HasPrecision()' or configure a value converter using 'HasConversion()'. 2022-02-19 19:15:23.663 +08:00 [INF] Entity Framework Core 5.0.14 initialized 'WmsWebApiDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: QuerySplittingBehavior=SplitQuery 2022-02-19 19:15:25.122 +08:00 [INF] Executed DbCommand (131ms) [Parameters=[@___planDto_MATNR_0='?' (Size = 50)], CommandType='"Text"', CommandTimeout='30'] SELECT TOP(1) [t].[UID], [t].[AbcClass], [t].[CertificateOfQuality], [t].[Configuration], [t].[ContainerQty], [t].[DefaultBackFlushLocCode], [t].[DefaultReceiveLocCode], [t].[DistributionType], [t].[DrawingNumber], [t].[ErpPartCode], [t].[InspectType], [t].[Inspecter], [t].[IsAskMerge], [t].[IsConsign], [t].[IsDeposit], [t].[IsNoInterface], [t].[IsTransfer], [t].[LabelTemplate], [t].[LinesidePackQty], [t].[ManageType], [t].[MaxQty], [t].[MinQty], [t].[PalletSize], [t].[PalletTemplate], [t].[PartCode], [t].[PartDesc1], [t].[PartDesc2], [t].[PartGroup], [t].[PartKind], [t].[PartType], [t].[Process], [t].[ProjectId], [t].[Promo], [t].[QLevel], [t].[ReceivePort], [t].[Remark], [t].[SafeQty], [t].[SamplePercent], [t].[SingleWeight], [t].[Source], [t].[State], [t].[StockPackQty], [t].[StoreKeeper], [t].[Unit], [t].[ValidityDays] FROM [TA_PART] AS [t] WHERE [t].[PartCode] = @___planDto_MATNR_0 2022-02-19 19:15:25.656 +08:00 [INF] Executed DbCommand (58ms) [Parameters=[@___billnum_0='?' (Size = 64)], CommandType='"Text"', CommandTimeout='30'] SELECT TOP(1) [t].[UID], [t].[AccountDate], [t].[BillNum], [t].[BillTime], [t].[BillType], [t].[CustId], [t].[DetailQty], [t].[DockCode], [t].[FinishTime], [t].[GateCode], [t].[GateName], [t].[Guid], [t].[OperName], [t].[ProjectId], [t].[Remark], [t].[SourceBillNum], [t].[SourceBillNum2], [t].[SourceBillNum3], [t].[StartTime], [t].[State], [t].[SubBillType], [t].[TransportType], [t].[TruckNum], [t].[VendId] FROM [TB_BILL] AS [t] WHERE [t].[BillNum] = @___billnum_0 2022-02-19 19:15:25.972 +08:00 [INF] Executed DbCommand (53ms) [Parameters=[@___planDto_PEDTR_0='?' (Size = 450), @___planDto_SCHGRUP_1='?' (Size = 4000), @___planDto_KAPTPROG_2='?' (Size = 4000), @___planDto_MATNR_3='?' (Size = 450)], CommandType='"Text"', CommandTimeout='30'] SELECT TOP(1) [t].[PartCode], [t].[BillNum], [t].[PlanTime], [t].[PlanShiftName], [t].[BarCodeQty], [t].[BillLine], [t].[BomVersion], [t].[FinishedQty], [t].[Group], [t].[House], [t].[UID], [t].[InQty], [t].[IsPrinted], [t].[IsProduct], [t].[ModifyTime], [t].[NotInQty], [t].[PackQty], [t].[PlannedOrderParameter], [t].[Qty], [t].[Remark], [t].[Seq], [t].[ShiftName], [t].[State] FROM [TM_PG_PLAN] AS [t] WHERE ((([t].[PlanTime] = @___planDto_PEDTR_0) AND ([t].[Group] = @___planDto_SCHGRUP_1)) AND ([t].[ShiftName] = @___planDto_KAPTPROG_2)) AND ([t].[PartCode] = @___planDto_MATNR_3) 2022-02-19 19:15:26.207 +08:00 [INF] Executed action method WmsWebApi.PPlan.PPlanService.AddAsync (WmsWebApi.Application), returned result Microsoft.AspNetCore.Mvc.ObjectResult in 4030.2012ms. 2022-02-19 19:16:21.430 +08:00 [INF] Starting web host. 2022-02-19 19:16:32.723 +08:00 [INF] User profile is available. Using 'C:\Users\lvcj2\AppData\Local\ASP.NET\DataProtection-Keys' as key repository and Windows DPAPI to encrypt keys at rest. 2022-02-19 19:16:33.010 +08:00 [INF] Loaded ABP modules: 2022-02-19 19:16:33.010 +08:00 [INF] - WmsWebApi.WmsWebApiHttpApiHostModule 2022-02-19 19:16:33.010 +08:00 [INF] - WmsWebApi.WmsWebApiApplicationModule 2022-02-19 19:16:33.010 +08:00 [INF] - WmsWebApi.WmsWebApiDomainModule 2022-02-19 19:16:33.010 +08:00 [INF] - Volo.Abp.Domain.AbpDddDomainModule 2022-02-19 19:16:33.010 +08:00 [INF] - Volo.Abp.Auditing.AbpAuditingModule 2022-02-19 19:16:33.010 +08:00 [INF] - Volo.Abp.Data.AbpDataModule 2022-02-19 19:16:33.010 +08:00 [INF] - Volo.Abp.ObjectExtending.AbpObjectExtendingModule 2022-02-19 19:16:33.010 +08:00 [INF] - Volo.Abp.Localization.AbpLocalizationAbstractionsModule 2022-02-19 19:16:33.010 +08:00 [INF] - Volo.Abp.Validation.AbpValidationAbstractionsModule 2022-02-19 19:16:33.010 +08:00 [INF] - Volo.Abp.Uow.AbpUnitOfWorkModule 2022-02-19 19:16:33.010 +08:00 [INF] - Volo.Abp.EventBus.Abstractions.AbpEventBusAbstractionsModule 2022-02-19 19:16:33.011 +08:00 [INF] - Volo.Abp.Json.AbpJsonModule 2022-02-19 19:16:33.011 +08:00 [INF] - Volo.Abp.Timing.AbpTimingModule 2022-02-19 19:16:33.011 +08:00 [INF] - Volo.Abp.Localization.AbpLocalizationModule 2022-02-19 19:16:33.011 +08:00 [INF] - Volo.Abp.VirtualFileSystem.AbpVirtualFileSystemModule 2022-02-19 19:16:33.011 +08:00 [INF] - Volo.Abp.Settings.AbpSettingsModule 2022-02-19 19:16:33.011 +08:00 [INF] - Volo.Abp.Security.AbpSecurityModule 2022-02-19 19:16:33.011 +08:00 [INF] - Volo.Abp.MultiTenancy.AbpMultiTenancyModule 2022-02-19 19:16:33.011 +08:00 [INF] - Volo.Abp.Threading.AbpThreadingModule 2022-02-19 19:16:33.011 +08:00 [INF] - Volo.Abp.EventBus.AbpEventBusModule 2022-02-19 19:16:33.011 +08:00 [INF] - Volo.Abp.Guids.AbpGuidsModule 2022-02-19 19:16:33.011 +08:00 [INF] - Volo.Abp.ObjectMapping.AbpObjectMappingModule 2022-02-19 19:16:33.011 +08:00 [INF] - Volo.Abp.ExceptionHandling.AbpExceptionHandlingModule 2022-02-19 19:16:33.011 +08:00 [INF] - Volo.Abp.Specifications.AbpSpecificationsModule 2022-02-19 19:16:33.011 +08:00 [INF] - WmsWebApi.WmsWebApiDomainSharedModule 2022-02-19 19:16:33.011 +08:00 [INF] - Volo.Abp.Validation.AbpValidationModule 2022-02-19 19:16:33.011 +08:00 [INF] - WmsWebApi.WmsWebApiApplicationContractsModule 2022-02-19 19:16:33.011 +08:00 [INF] - Volo.Abp.Application.AbpDddApplicationContractsModule 2022-02-19 19:16:33.011 +08:00 [INF] - Volo.Abp.Authorization.AbpAuthorizationModule 2022-02-19 19:16:33.011 +08:00 [INF] - Volo.Abp.Authorization.AbpAuthorizationAbstractionsModule 2022-02-19 19:16:33.011 +08:00 [INF] - Volo.Abp.Application.AbpDddApplicationModule 2022-02-19 19:16:33.011 +08:00 [INF] - Volo.Abp.Http.AbpHttpAbstractionsModule 2022-02-19 19:16:33.011 +08:00 [INF] - Volo.Abp.Features.AbpFeaturesModule 2022-02-19 19:16:33.011 +08:00 [INF] - Volo.Abp.GlobalFeatures.AbpGlobalFeaturesModule 2022-02-19 19:16:33.011 +08:00 [INF] - Volo.Abp.AutoMapper.AbpAutoMapperModule 2022-02-19 19:16:33.011 +08:00 [INF] - WmsWebApi.EntityFrameworkCore.WmsWebApiEntityFrameworkCoreModule 2022-02-19 19:16:33.011 +08:00 [INF] - Volo.Abp.EntityFrameworkCore.AbpEntityFrameworkCoreModule 2022-02-19 19:16:33.011 +08:00 [INF] - Volo.Abp.Dapper.AbpDapperModule 2022-02-19 19:16:33.011 +08:00 [INF] - WmsWebApi.WmsWebApiHttpApiModule 2022-02-19 19:16:33.011 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.AbpAspNetCoreMvcModule 2022-02-19 19:16:33.011 +08:00 [INF] - Volo.Abp.AspNetCore.AbpAspNetCoreModule 2022-02-19 19:16:33.011 +08:00 [INF] - Volo.Abp.Http.AbpHttpModule 2022-02-19 19:16:33.011 +08:00 [INF] - Volo.Abp.Minify.AbpMinifyModule 2022-02-19 19:16:33.011 +08:00 [INF] - Volo.Abp.ApiVersioning.AbpApiVersioningAbstractionsModule 2022-02-19 19:16:33.011 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.AbpAspNetCoreMvcContractsModule 2022-02-19 19:16:33.011 +08:00 [INF] - Volo.Abp.UI.Navigation.AbpUiNavigationModule 2022-02-19 19:16:33.011 +08:00 [INF] - Volo.Abp.UI.AbpUiModule 2022-02-19 19:16:33.011 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.MultiTenancy.AbpAspNetCoreMvcUiMultiTenancyModule 2022-02-19 19:16:33.011 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Theme.Shared.AbpAspNetCoreMvcUiThemeSharedModule 2022-02-19 19:16:33.011 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.AbpAspNetCoreMvcUiBootstrapModule 2022-02-19 19:16:33.011 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.AbpAspNetCoreMvcUiModule 2022-02-19 19:16:33.011 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Packages.AbpAspNetCoreMvcUiPackagesModule 2022-02-19 19:16:33.011 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Bundling.AbpAspNetCoreMvcUiBundlingAbstractionsModule 2022-02-19 19:16:33.011 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Widgets.AbpAspNetCoreMvcUiWidgetsModule 2022-02-19 19:16:33.011 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Bundling.AbpAspNetCoreMvcUiBundlingModule 2022-02-19 19:16:33.011 +08:00 [INF] - Volo.Abp.AspNetCore.MultiTenancy.AbpAspNetCoreMultiTenancyModule 2022-02-19 19:16:33.011 +08:00 [INF] - Volo.Abp.Autofac.AbpAutofacModule 2022-02-19 19:16:33.011 +08:00 [INF] - Volo.Abp.Castle.AbpCastleCoreModule 2022-02-19 19:16:33.011 +08:00 [INF] - Volo.Abp.Caching.StackExchangeRedis.AbpCachingStackExchangeRedisModule 2022-02-19 19:16:33.011 +08:00 [INF] - Volo.Abp.Caching.AbpCachingModule 2022-02-19 19:16:33.011 +08:00 [INF] - Volo.Abp.Serialization.AbpSerializationModule 2022-02-19 19:16:33.011 +08:00 [INF] - Volo.Abp.EntityFrameworkCore.SqlServer.AbpEntityFrameworkCoreSqlServerModule 2022-02-19 19:16:33.011 +08:00 [INF] - Volo.Abp.AuditLogging.EntityFrameworkCore.AbpAuditLoggingEntityFrameworkCoreModule 2022-02-19 19:16:33.011 +08:00 [INF] - Volo.Abp.AuditLogging.AbpAuditLoggingDomainModule 2022-02-19 19:16:33.011 +08:00 [INF] - Volo.Abp.AuditLogging.AbpAuditLoggingDomainSharedModule 2022-02-19 19:16:33.011 +08:00 [INF] - Volo.Abp.PermissionManagement.EntityFrameworkCore.AbpPermissionManagementEntityFrameworkCoreModule 2022-02-19 19:16:33.011 +08:00 [INF] - Volo.Abp.PermissionManagement.AbpPermissionManagementDomainModule 2022-02-19 19:16:33.011 +08:00 [INF] - Volo.Abp.PermissionManagement.AbpPermissionManagementDomainSharedModule 2022-02-19 19:16:33.011 +08:00 [INF] - Volo.Abp.SettingManagement.EntityFrameworkCore.AbpSettingManagementEntityFrameworkCoreModule 2022-02-19 19:16:33.011 +08:00 [INF] - Volo.Abp.SettingManagement.AbpSettingManagementDomainModule 2022-02-19 19:16:33.011 +08:00 [INF] - Volo.Abp.SettingManagement.AbpSettingManagementDomainSharedModule 2022-02-19 19:16:33.011 +08:00 [INF] - Volo.Abp.AspNetCore.Serilog.AbpAspNetCoreSerilogModule 2022-02-19 19:16:33.011 +08:00 [INF] - Volo.Abp.Swashbuckle.AbpSwashbuckleModule 2022-02-19 19:16:34.613 +08:00 [INF] Initialized all ABP modules. 2022-02-19 19:16:34.982 +08:00 [INF] Now listening on: https://localhost:5000 2022-02-19 19:16:34.983 +08:00 [INF] Application started. Press Ctrl+C to shut down. 2022-02-19 19:16:34.983 +08:00 [INF] Hosting environment: Development 2022-02-19 19:16:34.983 +08:00 [INF] Content root path: D:\工作\派格\接口程序\WmsWebApi\host\WmsWebApi.HttpApi.Host 2022-02-19 19:16:38.711 +08:00 [INF] Request starting HTTP/2 GET https://localhost:5000/ - - 2022-02-19 19:16:41.175 +08:00 [INF] Executing endpoint 'WmsWebApi.Controllers.HomeController.Index (WmsWebApi.HttpApi.Host)' 2022-02-19 19:16:41.298 +08:00 [INF] Route matched with {action = "Index", controller = "Home", area = "", page = ""}. Executing controller action with signature Microsoft.AspNetCore.Mvc.ActionResult Index() on controller WmsWebApi.Controllers.HomeController (WmsWebApi.HttpApi.Host). 2022-02-19 19:16:41.668 +08:00 [INF] Executing action method WmsWebApi.Controllers.HomeController.Index (WmsWebApi.HttpApi.Host) - Validation state: "Valid" 2022-02-19 19:16:41.680 +08:00 [INF] Executed action method WmsWebApi.Controllers.HomeController.Index (WmsWebApi.HttpApi.Host), returned result Microsoft.AspNetCore.Mvc.RedirectResult in 0.6598ms. 2022-02-19 19:16:41.690 +08:00 [INF] Executing RedirectResult, redirecting to /swagger. 2022-02-19 19:16:41.700 +08:00 [INF] Executed action WmsWebApi.Controllers.HomeController.Index (WmsWebApi.HttpApi.Host) in 394.2886ms 2022-02-19 19:16:41.701 +08:00 [INF] Executed endpoint 'WmsWebApi.Controllers.HomeController.Index (WmsWebApi.HttpApi.Host)' 2022-02-19 19:16:41.741 +08:00 [INF] Request finished HTTP/2 GET https://localhost:5000/ - - - 302 0 - 3031.4787ms 2022-02-19 19:16:41.742 +08:00 [INF] Request starting HTTP/2 GET https://localhost:5000/swagger/index.html - - 2022-02-19 19:16:42.133 +08:00 [INF] Request finished HTTP/2 GET https://localhost:5000/swagger/index.html - - - 200 - text/html;charset=utf-8 391.4293ms 2022-02-19 19:16:42.544 +08:00 [INF] Request starting HTTP/2 GET https://localhost:5000/_framework/aspnetcore-browser-refresh.js - - 2022-02-19 19:16:42.548 +08:00 [INF] Request finished HTTP/2 GET https://localhost:5000/_framework/aspnetcore-browser-refresh.js - - - 200 11956 application/javascript;+charset=utf-8 3.7927ms 2022-02-19 19:16:42.746 +08:00 [INF] Request starting HTTP/2 GET https://localhost:5000/swagger/v1/swagger.json - - 2022-02-19 19:16:42.911 +08:00 [INF] Request finished HTTP/2 GET https://localhost:5000/swagger/v1/swagger.json - - - 200 - application/json;charset=utf-8 164.6764ms 2022-02-19 19:17:03.199 +08:00 [INF] Request starting HTTP/2 GET https://localhost:5000/abp/Swashbuckle/SetCsrfCookie application/json - 2022-02-19 19:17:03.209 +08:00 [INF] Executing endpoint 'Volo.Abp.Swashbuckle.AbpSwashbuckleController.SetCsrfCookie (Volo.Abp.Swashbuckle)' 2022-02-19 19:17:03.213 +08:00 [INF] Route matched with {area = "Abp", action = "SetCsrfCookie", controller = "AbpSwashbuckle", page = ""}. Executing controller action with signature Void SetCsrfCookie() on controller Volo.Abp.Swashbuckle.AbpSwashbuckleController (Volo.Abp.Swashbuckle). 2022-02-19 19:17:03.362 +08:00 [INF] Executing action method Volo.Abp.Swashbuckle.AbpSwashbuckleController.SetCsrfCookie (Volo.Abp.Swashbuckle) - Validation state: "Valid" 2022-02-19 19:17:03.392 +08:00 [INF] Executed action method Volo.Abp.Swashbuckle.AbpSwashbuckleController.SetCsrfCookie (Volo.Abp.Swashbuckle), returned result Microsoft.AspNetCore.Mvc.EmptyResult in 29.869ms. 2022-02-19 19:17:03.393 +08:00 [INF] Executed action Volo.Abp.Swashbuckle.AbpSwashbuckleController.SetCsrfCookie (Volo.Abp.Swashbuckle) in 179.5308ms 2022-02-19 19:17:03.393 +08:00 [INF] Executed endpoint 'Volo.Abp.Swashbuckle.AbpSwashbuckleController.SetCsrfCookie (Volo.Abp.Swashbuckle)' 2022-02-19 19:17:03.393 +08:00 [INF] Request finished HTTP/2 GET https://localhost:5000/abp/Swashbuckle/SetCsrfCookie application/json - - 204 - - 194.5344ms 2022-02-19 19:17:03.502 +08:00 [INF] Request starting HTTP/2 POST https://localhost:5000/api/PPlan/add application/json 363 2022-02-19 19:17:03.514 +08:00 [INF] CORS policy execution failed. 2022-02-19 19:17:03.514 +08:00 [INF] Request origin https://localhost:5000 does not have permission to access the resource. 2022-02-19 19:17:03.522 +08:00 [INF] Executing endpoint 'WmsWebApi.PPlan.PPlanService.AddAsync (WmsWebApi.Application)' 2022-02-19 19:17:03.561 +08:00 [INF] Route matched with {action = "Add", controller = "PPlan", area = "", page = ""}. Executing controller action with signature System.Threading.Tasks.Task`1[WmsWebApi.PPlan.ReturnResult] AddAsync(System.Object) on controller WmsWebApi.PPlan.PPlanService (WmsWebApi.Application). 2022-02-19 19:17:05.275 +08:00 [INF] Executing action method WmsWebApi.PPlan.PPlanService.AddAsync (WmsWebApi.Application) - Validation state: "Valid" 2022-02-19 19:17:53.262 +08:00 [WRN] No type was specified for the decimal property 'BMENG' on entity type 'WmsWebApiBOMDTO'. This will cause values to be silently truncated if they do not fit in the default precision and scale. Explicitly specify the SQL server column type that can accommodate all the values in 'OnModelCreating' using 'HasColumnType()', specify precision and scale using 'HasPrecision()' or configure a value converter using 'HasConversion()'. 2022-02-19 19:17:53.262 +08:00 [WRN] No type was specified for the decimal property 'GSMNG' on entity type 'WmsWebApiPPLANDTO'. This will cause values to be silently truncated if they do not fit in the default precision and scale. Explicitly specify the SQL server column type that can accommodate all the values in 'OnModelCreating' using 'HasColumnType()', specify precision and scale using 'HasPrecision()' or configure a value converter using 'HasConversion()'. 2022-02-19 19:17:53.262 +08:00 [WRN] No type was specified for the decimal property 'Qty' on entity type 'TA_BOM'. This will cause values to be silently truncated if they do not fit in the default precision and scale. Explicitly specify the SQL server column type that can accommodate all the values in 'OnModelCreating' using 'HasColumnType()', specify precision and scale using 'HasPrecision()' or configure a value converter using 'HasConversion()'. 2022-02-19 19:17:53.262 +08:00 [WRN] No type was specified for the decimal property 'CustPackQty' on entity type 'TA_CUST_PART'. This will cause values to be silently truncated if they do not fit in the default precision and scale. Explicitly specify the SQL server column type that can accommodate all the values in 'OnModelCreating' using 'HasColumnType()', specify precision and scale using 'HasPrecision()' or configure a value converter using 'HasConversion()'. 2022-02-19 19:17:53.262 +08:00 [WRN] No type was specified for the decimal property 'CustPalletCapacity' on entity type 'TA_CUST_PART'. This will cause values to be silently truncated if they do not fit in the default precision and scale. Explicitly specify the SQL server column type that can accommodate all the values in 'OnModelCreating' using 'HasColumnType()', specify precision and scale using 'HasPrecision()' or configure a value converter using 'HasConversion()'. 2022-02-19 19:17:53.262 +08:00 [WRN] No type was specified for the decimal property 'ContainerQty' on entity type 'TA_PART'. This will cause values to be silently truncated if they do not fit in the default precision and scale. Explicitly specify the SQL server column type that can accommodate all the values in 'OnModelCreating' using 'HasColumnType()', specify precision and scale using 'HasPrecision()' or configure a value converter using 'HasConversion()'. 2022-02-19 19:17:53.262 +08:00 [WRN] No type was specified for the decimal property 'LinesidePackQty' on entity type 'TA_PART'. This will cause values to be silently truncated if they do not fit in the default precision and scale. Explicitly specify the SQL server column type that can accommodate all the values in 'OnModelCreating' using 'HasColumnType()', specify precision and scale using 'HasPrecision()' or configure a value converter using 'HasConversion()'. 2022-02-19 19:17:53.262 +08:00 [WRN] No type was specified for the decimal property 'MaxQty' on entity type 'TA_PART'. This will cause values to be silently truncated if they do not fit in the default precision and scale. Explicitly specify the SQL server column type that can accommodate all the values in 'OnModelCreating' using 'HasColumnType()', specify precision and scale using 'HasPrecision()' or configure a value converter using 'HasConversion()'. 2022-02-19 19:17:53.262 +08:00 [WRN] No type was specified for the decimal property 'MinQty' on entity type 'TA_PART'. This will cause values to be silently truncated if they do not fit in the default precision and scale. Explicitly specify the SQL server column type that can accommodate all the values in 'OnModelCreating' using 'HasColumnType()', specify precision and scale using 'HasPrecision()' or configure a value converter using 'HasConversion()'. 2022-02-19 19:17:53.262 +08:00 [WRN] No type was specified for the decimal property 'SafeQty' on entity type 'TA_PART'. This will cause values to be silently truncated if they do not fit in the default precision and scale. Explicitly specify the SQL server column type that can accommodate all the values in 'OnModelCreating' using 'HasColumnType()', specify precision and scale using 'HasPrecision()' or configure a value converter using 'HasConversion()'. 2022-02-19 19:17:53.262 +08:00 [WRN] No type was specified for the decimal property 'SamplePercent' on entity type 'TA_PART'. This will cause values to be silently truncated if they do not fit in the default precision and scale. Explicitly specify the SQL server column type that can accommodate all the values in 'OnModelCreating' using 'HasColumnType()', specify precision and scale using 'HasPrecision()' or configure a value converter using 'HasConversion()'. 2022-02-19 19:17:53.262 +08:00 [WRN] No type was specified for the decimal property 'SingleWeight' on entity type 'TA_PART'. This will cause values to be silently truncated if they do not fit in the default precision and scale. Explicitly specify the SQL server column type that can accommodate all the values in 'OnModelCreating' using 'HasColumnType()', specify precision and scale using 'HasPrecision()' or configure a value converter using 'HasConversion()'. 2022-02-19 19:17:53.262 +08:00 [WRN] No type was specified for the decimal property 'StockPackQty' on entity type 'TA_PART'. This will cause values to be silently truncated if they do not fit in the default precision and scale. Explicitly specify the SQL server column type that can accommodate all the values in 'OnModelCreating' using 'HasColumnType()', specify precision and scale using 'HasPrecision()' or configure a value converter using 'HasConversion()'. 2022-02-19 19:17:53.262 +08:00 [WRN] No type was specified for the decimal property 'BarCodeQty' on entity type 'TM_PG_PLAN'. This will cause values to be silently truncated if they do not fit in the default precision and scale. Explicitly specify the SQL server column type that can accommodate all the values in 'OnModelCreating' using 'HasColumnType()', specify precision and scale using 'HasPrecision()' or configure a value converter using 'HasConversion()'. 2022-02-19 19:17:53.262 +08:00 [WRN] No type was specified for the decimal property 'FinishedQty' on entity type 'TM_PG_PLAN'. This will cause values to be silently truncated if they do not fit in the default precision and scale. Explicitly specify the SQL server column type that can accommodate all the values in 'OnModelCreating' using 'HasColumnType()', specify precision and scale using 'HasPrecision()' or configure a value converter using 'HasConversion()'. 2022-02-19 19:17:53.262 +08:00 [WRN] No type was specified for the decimal property 'InQty' on entity type 'TM_PG_PLAN'. This will cause values to be silently truncated if they do not fit in the default precision and scale. Explicitly specify the SQL server column type that can accommodate all the values in 'OnModelCreating' using 'HasColumnType()', specify precision and scale using 'HasPrecision()' or configure a value converter using 'HasConversion()'. 2022-02-19 19:17:53.263 +08:00 [WRN] No type was specified for the decimal property 'NotInQty' on entity type 'TM_PG_PLAN'. This will cause values to be silently truncated if they do not fit in the default precision and scale. Explicitly specify the SQL server column type that can accommodate all the values in 'OnModelCreating' using 'HasColumnType()', specify precision and scale using 'HasPrecision()' or configure a value converter using 'HasConversion()'. 2022-02-19 19:17:53.263 +08:00 [WRN] No type was specified for the decimal property 'PackQty' on entity type 'TM_PG_PLAN'. This will cause values to be silently truncated if they do not fit in the default precision and scale. Explicitly specify the SQL server column type that can accommodate all the values in 'OnModelCreating' using 'HasColumnType()', specify precision and scale using 'HasPrecision()' or configure a value converter using 'HasConversion()'. 2022-02-19 19:17:53.263 +08:00 [WRN] No type was specified for the decimal property 'Qty' on entity type 'TM_PG_PLAN'. This will cause values to be silently truncated if they do not fit in the default precision and scale. Explicitly specify the SQL server column type that can accommodate all the values in 'OnModelCreating' using 'HasColumnType()', specify precision and scale using 'HasPrecision()' or configure a value converter using 'HasConversion()'. 2022-02-19 19:17:53.408 +08:00 [INF] Entity Framework Core 5.0.14 initialized 'WmsWebApiDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: QuerySplittingBehavior=SplitQuery 2022-02-19 19:17:54.267 +08:00 [INF] Executed DbCommand (71ms) [Parameters=[@___planDto_MATNR_0='?' (Size = 50)], CommandType='"Text"', CommandTimeout='30'] SELECT TOP(1) [t].[UID], [t].[AbcClass], [t].[CertificateOfQuality], [t].[Configuration], [t].[ContainerQty], [t].[DefaultBackFlushLocCode], [t].[DefaultReceiveLocCode], [t].[DistributionType], [t].[DrawingNumber], [t].[ErpPartCode], [t].[InspectType], [t].[Inspecter], [t].[IsAskMerge], [t].[IsConsign], [t].[IsDeposit], [t].[IsNoInterface], [t].[IsTransfer], [t].[LabelTemplate], [t].[LinesidePackQty], [t].[ManageType], [t].[MaxQty], [t].[MinQty], [t].[PalletSize], [t].[PalletTemplate], [t].[PartCode], [t].[PartDesc1], [t].[PartDesc2], [t].[PartGroup], [t].[PartKind], [t].[PartType], [t].[Process], [t].[ProjectId], [t].[Promo], [t].[QLevel], [t].[ReceivePort], [t].[Remark], [t].[SafeQty], [t].[SamplePercent], [t].[SingleWeight], [t].[Source], [t].[State], [t].[StockPackQty], [t].[StoreKeeper], [t].[Unit], [t].[ValidityDays] FROM [TA_PART] AS [t] WHERE [t].[PartCode] = @___planDto_MATNR_0 2022-02-19 19:18:05.961 +08:00 [INF] Executed DbCommand (59ms) [Parameters=[@___billnum_0='?' (Size = 64)], CommandType='"Text"', CommandTimeout='30'] SELECT TOP(1) [t].[UID], [t].[AccountDate], [t].[BillNum], [t].[BillTime], [t].[BillType], [t].[CustId], [t].[DetailQty], [t].[DockCode], [t].[FinishTime], [t].[GateCode], [t].[GateName], [t].[Guid], [t].[OperName], [t].[ProjectId], [t].[Remark], [t].[SourceBillNum], [t].[SourceBillNum2], [t].[SourceBillNum3], [t].[StartTime], [t].[State], [t].[SubBillType], [t].[TransportType], [t].[TruckNum], [t].[VendId] FROM [TB_BILL] AS [t] WHERE [t].[BillNum] = @___billnum_0 2022-02-19 19:18:41.073 +08:00 [INF] Executed DbCommand (35ms) [Parameters=[@___planDto_PEDTR_0='?' (Size = 450), @___planDto_SCHGRUP_1='?' (Size = 4000), @___planDto_KAPTPROG_2='?' (Size = 4000), @___planDto_MATNR_3='?' (Size = 450)], CommandType='"Text"', CommandTimeout='30'] SELECT TOP(1) [t].[PartCode], [t].[BillNum], [t].[PlanTime], [t].[PlanShiftName], [t].[BarCodeQty], [t].[BillLine], [t].[BomVersion], [t].[FinishedQty], [t].[Group], [t].[House], [t].[UID], [t].[InQty], [t].[IsPrinted], [t].[IsProduct], [t].[ModifyTime], [t].[NotInQty], [t].[PackQty], [t].[PlannedOrderParameter], [t].[Qty], [t].[Remark], [t].[Seq], [t].[ShiftName], [t].[State] FROM [TM_PG_PLAN] AS [t] WHERE ((([t].[PlanTime] = @___planDto_PEDTR_0) AND ([t].[Group] = @___planDto_SCHGRUP_1)) AND ([t].[ShiftName] = @___planDto_KAPTPROG_2)) AND ([t].[PartCode] = @___planDto_MATNR_3) 2022-02-19 19:19:45.260 +08:00 [INF] Executed action method WmsWebApi.PPlan.PPlanService.AddAsync (WmsWebApi.Application), returned result Microsoft.AspNetCore.Mvc.ObjectResult in 159983.9698ms. 2022-02-19 19:24:17.974 +08:00 [INF] Starting web host. 2022-02-19 19:24:28.240 +08:00 [INF] User profile is available. Using 'C:\Users\lvcj2\AppData\Local\ASP.NET\DataProtection-Keys' as key repository and Windows DPAPI to encrypt keys at rest. 2022-02-19 19:24:28.376 +08:00 [INF] Loaded ABP modules: 2022-02-19 19:24:28.376 +08:00 [INF] - WmsWebApi.WmsWebApiHttpApiHostModule 2022-02-19 19:24:28.376 +08:00 [INF] - WmsWebApi.WmsWebApiApplicationModule 2022-02-19 19:24:28.376 +08:00 [INF] - WmsWebApi.WmsWebApiDomainModule 2022-02-19 19:24:28.376 +08:00 [INF] - Volo.Abp.Domain.AbpDddDomainModule 2022-02-19 19:24:28.376 +08:00 [INF] - Volo.Abp.Auditing.AbpAuditingModule 2022-02-19 19:24:28.376 +08:00 [INF] - Volo.Abp.Data.AbpDataModule 2022-02-19 19:24:28.376 +08:00 [INF] - Volo.Abp.ObjectExtending.AbpObjectExtendingModule 2022-02-19 19:24:28.376 +08:00 [INF] - Volo.Abp.Localization.AbpLocalizationAbstractionsModule 2022-02-19 19:24:28.376 +08:00 [INF] - Volo.Abp.Validation.AbpValidationAbstractionsModule 2022-02-19 19:24:28.376 +08:00 [INF] - Volo.Abp.Uow.AbpUnitOfWorkModule 2022-02-19 19:24:28.376 +08:00 [INF] - Volo.Abp.EventBus.Abstractions.AbpEventBusAbstractionsModule 2022-02-19 19:24:28.376 +08:00 [INF] - Volo.Abp.Json.AbpJsonModule 2022-02-19 19:24:28.376 +08:00 [INF] - Volo.Abp.Timing.AbpTimingModule 2022-02-19 19:24:28.376 +08:00 [INF] - Volo.Abp.Localization.AbpLocalizationModule 2022-02-19 19:24:28.376 +08:00 [INF] - Volo.Abp.VirtualFileSystem.AbpVirtualFileSystemModule 2022-02-19 19:24:28.376 +08:00 [INF] - Volo.Abp.Settings.AbpSettingsModule 2022-02-19 19:24:28.376 +08:00 [INF] - Volo.Abp.Security.AbpSecurityModule 2022-02-19 19:24:28.376 +08:00 [INF] - Volo.Abp.MultiTenancy.AbpMultiTenancyModule 2022-02-19 19:24:28.376 +08:00 [INF] - Volo.Abp.Threading.AbpThreadingModule 2022-02-19 19:24:28.376 +08:00 [INF] - Volo.Abp.EventBus.AbpEventBusModule 2022-02-19 19:24:28.376 +08:00 [INF] - Volo.Abp.Guids.AbpGuidsModule 2022-02-19 19:24:28.376 +08:00 [INF] - Volo.Abp.ObjectMapping.AbpObjectMappingModule 2022-02-19 19:24:28.376 +08:00 [INF] - Volo.Abp.ExceptionHandling.AbpExceptionHandlingModule 2022-02-19 19:24:28.376 +08:00 [INF] - Volo.Abp.Specifications.AbpSpecificationsModule 2022-02-19 19:24:28.376 +08:00 [INF] - WmsWebApi.WmsWebApiDomainSharedModule 2022-02-19 19:24:28.376 +08:00 [INF] - Volo.Abp.Validation.AbpValidationModule 2022-02-19 19:24:28.376 +08:00 [INF] - WmsWebApi.WmsWebApiApplicationContractsModule 2022-02-19 19:24:28.376 +08:00 [INF] - Volo.Abp.Application.AbpDddApplicationContractsModule 2022-02-19 19:24:28.376 +08:00 [INF] - Volo.Abp.Authorization.AbpAuthorizationModule 2022-02-19 19:24:28.376 +08:00 [INF] - Volo.Abp.Authorization.AbpAuthorizationAbstractionsModule 2022-02-19 19:24:28.376 +08:00 [INF] - Volo.Abp.Application.AbpDddApplicationModule 2022-02-19 19:24:28.376 +08:00 [INF] - Volo.Abp.Http.AbpHttpAbstractionsModule 2022-02-19 19:24:28.376 +08:00 [INF] - Volo.Abp.Features.AbpFeaturesModule 2022-02-19 19:24:28.376 +08:00 [INF] - Volo.Abp.GlobalFeatures.AbpGlobalFeaturesModule 2022-02-19 19:24:28.376 +08:00 [INF] - Volo.Abp.AutoMapper.AbpAutoMapperModule 2022-02-19 19:24:28.376 +08:00 [INF] - WmsWebApi.EntityFrameworkCore.WmsWebApiEntityFrameworkCoreModule 2022-02-19 19:24:28.376 +08:00 [INF] - Volo.Abp.EntityFrameworkCore.AbpEntityFrameworkCoreModule 2022-02-19 19:24:28.376 +08:00 [INF] - Volo.Abp.Dapper.AbpDapperModule 2022-02-19 19:24:28.376 +08:00 [INF] - WmsWebApi.WmsWebApiHttpApiModule 2022-02-19 19:24:28.376 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.AbpAspNetCoreMvcModule 2022-02-19 19:24:28.376 +08:00 [INF] - Volo.Abp.AspNetCore.AbpAspNetCoreModule 2022-02-19 19:24:28.376 +08:00 [INF] - Volo.Abp.Http.AbpHttpModule 2022-02-19 19:24:28.376 +08:00 [INF] - Volo.Abp.Minify.AbpMinifyModule 2022-02-19 19:24:28.376 +08:00 [INF] - Volo.Abp.ApiVersioning.AbpApiVersioningAbstractionsModule 2022-02-19 19:24:28.376 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.AbpAspNetCoreMvcContractsModule 2022-02-19 19:24:28.376 +08:00 [INF] - Volo.Abp.UI.Navigation.AbpUiNavigationModule 2022-02-19 19:24:28.376 +08:00 [INF] - Volo.Abp.UI.AbpUiModule 2022-02-19 19:24:28.376 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.MultiTenancy.AbpAspNetCoreMvcUiMultiTenancyModule 2022-02-19 19:24:28.376 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Theme.Shared.AbpAspNetCoreMvcUiThemeSharedModule 2022-02-19 19:24:28.376 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.AbpAspNetCoreMvcUiBootstrapModule 2022-02-19 19:24:28.377 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.AbpAspNetCoreMvcUiModule 2022-02-19 19:24:28.377 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Packages.AbpAspNetCoreMvcUiPackagesModule 2022-02-19 19:24:28.377 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Bundling.AbpAspNetCoreMvcUiBundlingAbstractionsModule 2022-02-19 19:24:28.377 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Widgets.AbpAspNetCoreMvcUiWidgetsModule 2022-02-19 19:24:28.377 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Bundling.AbpAspNetCoreMvcUiBundlingModule 2022-02-19 19:24:28.377 +08:00 [INF] - Volo.Abp.AspNetCore.MultiTenancy.AbpAspNetCoreMultiTenancyModule 2022-02-19 19:24:28.377 +08:00 [INF] - Volo.Abp.Autofac.AbpAutofacModule 2022-02-19 19:24:28.377 +08:00 [INF] - Volo.Abp.Castle.AbpCastleCoreModule 2022-02-19 19:24:28.377 +08:00 [INF] - Volo.Abp.Caching.StackExchangeRedis.AbpCachingStackExchangeRedisModule 2022-02-19 19:24:28.377 +08:00 [INF] - Volo.Abp.Caching.AbpCachingModule 2022-02-19 19:24:28.377 +08:00 [INF] - Volo.Abp.Serialization.AbpSerializationModule 2022-02-19 19:24:28.377 +08:00 [INF] - Volo.Abp.EntityFrameworkCore.SqlServer.AbpEntityFrameworkCoreSqlServerModule 2022-02-19 19:24:28.377 +08:00 [INF] - Volo.Abp.AuditLogging.EntityFrameworkCore.AbpAuditLoggingEntityFrameworkCoreModule 2022-02-19 19:24:28.377 +08:00 [INF] - Volo.Abp.AuditLogging.AbpAuditLoggingDomainModule 2022-02-19 19:24:28.377 +08:00 [INF] - Volo.Abp.AuditLogging.AbpAuditLoggingDomainSharedModule 2022-02-19 19:24:28.377 +08:00 [INF] - Volo.Abp.PermissionManagement.EntityFrameworkCore.AbpPermissionManagementEntityFrameworkCoreModule 2022-02-19 19:24:28.377 +08:00 [INF] - Volo.Abp.PermissionManagement.AbpPermissionManagementDomainModule 2022-02-19 19:24:28.377 +08:00 [INF] - Volo.Abp.PermissionManagement.AbpPermissionManagementDomainSharedModule 2022-02-19 19:24:28.377 +08:00 [INF] - Volo.Abp.SettingManagement.EntityFrameworkCore.AbpSettingManagementEntityFrameworkCoreModule 2022-02-19 19:24:28.377 +08:00 [INF] - Volo.Abp.SettingManagement.AbpSettingManagementDomainModule 2022-02-19 19:24:28.377 +08:00 [INF] - Volo.Abp.SettingManagement.AbpSettingManagementDomainSharedModule 2022-02-19 19:24:28.377 +08:00 [INF] - Volo.Abp.AspNetCore.Serilog.AbpAspNetCoreSerilogModule 2022-02-19 19:24:28.377 +08:00 [INF] - Volo.Abp.Swashbuckle.AbpSwashbuckleModule 2022-02-19 19:24:28.977 +08:00 [INF] Initialized all ABP modules. 2022-02-19 19:24:29.442 +08:00 [INF] Now listening on: https://localhost:5000 2022-02-19 19:24:29.442 +08:00 [INF] Application started. Press Ctrl+C to shut down. 2022-02-19 19:24:29.442 +08:00 [INF] Hosting environment: Development 2022-02-19 19:24:29.442 +08:00 [INF] Content root path: D:\工作\派格\接口程序\WmsWebApi\host\WmsWebApi.HttpApi.Host 2022-02-19 19:24:33.130 +08:00 [INF] Request starting HTTP/2 GET https://localhost:5000/ - - 2022-02-19 19:24:35.185 +08:00 [INF] Executing endpoint 'WmsWebApi.Controllers.HomeController.Index (WmsWebApi.HttpApi.Host)' 2022-02-19 19:24:35.242 +08:00 [INF] Route matched with {action = "Index", controller = "Home", area = "", page = ""}. Executing controller action with signature Microsoft.AspNetCore.Mvc.ActionResult Index() on controller WmsWebApi.Controllers.HomeController (WmsWebApi.HttpApi.Host). 2022-02-19 19:24:35.409 +08:00 [INF] Executing action method WmsWebApi.Controllers.HomeController.Index (WmsWebApi.HttpApi.Host) - Validation state: "Valid" 2022-02-19 19:24:35.414 +08:00 [INF] Executed action method WmsWebApi.Controllers.HomeController.Index (WmsWebApi.HttpApi.Host), returned result Microsoft.AspNetCore.Mvc.RedirectResult in 0.5091ms. 2022-02-19 19:24:35.419 +08:00 [INF] Executing RedirectResult, redirecting to /swagger. 2022-02-19 19:24:35.424 +08:00 [INF] Executed action WmsWebApi.Controllers.HomeController.Index (WmsWebApi.HttpApi.Host) in 177.8936ms 2022-02-19 19:24:35.424 +08:00 [INF] Executed endpoint 'WmsWebApi.Controllers.HomeController.Index (WmsWebApi.HttpApi.Host)' 2022-02-19 19:24:35.446 +08:00 [INF] Request starting HTTP/2 GET https://localhost:5000/swagger/index.html - - 2022-02-19 19:24:35.446 +08:00 [INF] Request finished HTTP/2 GET https://localhost:5000/ - - - 302 0 - 2318.6300ms 2022-02-19 19:24:35.618 +08:00 [INF] Request finished HTTP/2 GET https://localhost:5000/swagger/index.html - - - 200 - text/html;charset=utf-8 171.6220ms 2022-02-19 19:24:35.809 +08:00 [INF] Request starting HTTP/2 GET https://localhost:5000/_framework/aspnetcore-browser-refresh.js - - 2022-02-19 19:24:35.812 +08:00 [INF] Request finished HTTP/2 GET https://localhost:5000/_framework/aspnetcore-browser-refresh.js - - - 200 11956 application/javascript;+charset=utf-8 2.6298ms 2022-02-19 19:24:35.969 +08:00 [INF] Request starting HTTP/2 GET https://localhost:5000/swagger/v1/swagger.json - - 2022-02-19 19:24:36.151 +08:00 [INF] Request finished HTTP/2 GET https://localhost:5000/swagger/v1/swagger.json - - - 200 - application/json;charset=utf-8 181.5097ms 2022-02-19 19:25:08.832 +08:00 [INF] Request starting HTTP/2 GET https://localhost:5000/abp/Swashbuckle/SetCsrfCookie application/json - 2022-02-19 19:25:08.844 +08:00 [INF] Executing endpoint 'Volo.Abp.Swashbuckle.AbpSwashbuckleController.SetCsrfCookie (Volo.Abp.Swashbuckle)' 2022-02-19 19:25:08.848 +08:00 [INF] Route matched with {area = "Abp", action = "SetCsrfCookie", controller = "AbpSwashbuckle", page = ""}. Executing controller action with signature Void SetCsrfCookie() on controller Volo.Abp.Swashbuckle.AbpSwashbuckleController (Volo.Abp.Swashbuckle). 2022-02-19 19:25:09.038 +08:00 [INF] Executing action method Volo.Abp.Swashbuckle.AbpSwashbuckleController.SetCsrfCookie (Volo.Abp.Swashbuckle) - Validation state: "Valid" 2022-02-19 19:25:09.091 +08:00 [INF] Executed action method Volo.Abp.Swashbuckle.AbpSwashbuckleController.SetCsrfCookie (Volo.Abp.Swashbuckle), returned result Microsoft.AspNetCore.Mvc.EmptyResult in 53.1364ms. 2022-02-19 19:25:09.093 +08:00 [INF] Executed action Volo.Abp.Swashbuckle.AbpSwashbuckleController.SetCsrfCookie (Volo.Abp.Swashbuckle) in 244.322ms 2022-02-19 19:25:09.093 +08:00 [INF] Executed endpoint 'Volo.Abp.Swashbuckle.AbpSwashbuckleController.SetCsrfCookie (Volo.Abp.Swashbuckle)' 2022-02-19 19:25:09.094 +08:00 [INF] Request finished HTTP/2 GET https://localhost:5000/abp/Swashbuckle/SetCsrfCookie application/json - - 204 - - 261.4755ms 2022-02-19 19:25:09.191 +08:00 [INF] Request starting HTTP/2 POST https://localhost:5000/api/PPlan/add application/json 363 2022-02-19 19:25:09.196 +08:00 [INF] CORS policy execution failed. 2022-02-19 19:25:09.196 +08:00 [INF] Request origin https://localhost:5000 does not have permission to access the resource. 2022-02-19 19:25:09.198 +08:00 [INF] Executing endpoint 'WmsWebApi.PPlan.PPlanService.AddAsync (WmsWebApi.Application)' 2022-02-19 19:25:09.216 +08:00 [INF] Route matched with {action = "Add", controller = "PPlan", area = "", page = ""}. Executing controller action with signature System.Threading.Tasks.Task`1[WmsWebApi.PPlan.ReturnResult] AddAsync(System.Object) on controller WmsWebApi.PPlan.PPlanService (WmsWebApi.Application). 2022-02-19 19:25:10.123 +08:00 [INF] Executing action method WmsWebApi.PPlan.PPlanService.AddAsync (WmsWebApi.Application) - Validation state: "Valid" 2022-02-19 19:25:52.385 +08:00 [WRN] No type was specified for the decimal property 'BMENG' on entity type 'WmsWebApiBOMDTO'. This will cause values to be silently truncated if they do not fit in the default precision and scale. Explicitly specify the SQL server column type that can accommodate all the values in 'OnModelCreating' using 'HasColumnType()', specify precision and scale using 'HasPrecision()' or configure a value converter using 'HasConversion()'. 2022-02-19 19:25:52.385 +08:00 [WRN] No type was specified for the decimal property 'GSMNG' on entity type 'WmsWebApiPPLANDTO'. This will cause values to be silently truncated if they do not fit in the default precision and scale. Explicitly specify the SQL server column type that can accommodate all the values in 'OnModelCreating' using 'HasColumnType()', specify precision and scale using 'HasPrecision()' or configure a value converter using 'HasConversion()'. 2022-02-19 19:25:52.385 +08:00 [WRN] No type was specified for the decimal property 'Qty' on entity type 'TA_BOM'. This will cause values to be silently truncated if they do not fit in the default precision and scale. Explicitly specify the SQL server column type that can accommodate all the values in 'OnModelCreating' using 'HasColumnType()', specify precision and scale using 'HasPrecision()' or configure a value converter using 'HasConversion()'. 2022-02-19 19:25:52.385 +08:00 [WRN] No type was specified for the decimal property 'CustPackQty' on entity type 'TA_CUST_PART'. This will cause values to be silently truncated if they do not fit in the default precision and scale. Explicitly specify the SQL server column type that can accommodate all the values in 'OnModelCreating' using 'HasColumnType()', specify precision and scale using 'HasPrecision()' or configure a value converter using 'HasConversion()'. 2022-02-19 19:25:52.385 +08:00 [WRN] No type was specified for the decimal property 'CustPalletCapacity' on entity type 'TA_CUST_PART'. This will cause values to be silently truncated if they do not fit in the default precision and scale. Explicitly specify the SQL server column type that can accommodate all the values in 'OnModelCreating' using 'HasColumnType()', specify precision and scale using 'HasPrecision()' or configure a value converter using 'HasConversion()'. 2022-02-19 19:25:52.385 +08:00 [WRN] No type was specified for the decimal property 'ContainerQty' on entity type 'TA_PART'. This will cause values to be silently truncated if they do not fit in the default precision and scale. Explicitly specify the SQL server column type that can accommodate all the values in 'OnModelCreating' using 'HasColumnType()', specify precision and scale using 'HasPrecision()' or configure a value converter using 'HasConversion()'. 2022-02-19 19:25:52.385 +08:00 [WRN] No type was specified for the decimal property 'LinesidePackQty' on entity type 'TA_PART'. This will cause values to be silently truncated if they do not fit in the default precision and scale. Explicitly specify the SQL server column type that can accommodate all the values in 'OnModelCreating' using 'HasColumnType()', specify precision and scale using 'HasPrecision()' or configure a value converter using 'HasConversion()'. 2022-02-19 19:25:52.386 +08:00 [WRN] No type was specified for the decimal property 'MaxQty' on entity type 'TA_PART'. This will cause values to be silently truncated if they do not fit in the default precision and scale. Explicitly specify the SQL server column type that can accommodate all the values in 'OnModelCreating' using 'HasColumnType()', specify precision and scale using 'HasPrecision()' or configure a value converter using 'HasConversion()'. 2022-02-19 19:25:52.386 +08:00 [WRN] No type was specified for the decimal property 'MinQty' on entity type 'TA_PART'. This will cause values to be silently truncated if they do not fit in the default precision and scale. Explicitly specify the SQL server column type that can accommodate all the values in 'OnModelCreating' using 'HasColumnType()', specify precision and scale using 'HasPrecision()' or configure a value converter using 'HasConversion()'. 2022-02-19 19:25:52.386 +08:00 [WRN] No type was specified for the decimal property 'SafeQty' on entity type 'TA_PART'. This will cause values to be silently truncated if they do not fit in the default precision and scale. Explicitly specify the SQL server column type that can accommodate all the values in 'OnModelCreating' using 'HasColumnType()', specify precision and scale using 'HasPrecision()' or configure a value converter using 'HasConversion()'. 2022-02-19 19:25:52.386 +08:00 [WRN] No type was specified for the decimal property 'SamplePercent' on entity type 'TA_PART'. This will cause values to be silently truncated if they do not fit in the default precision and scale. Explicitly specify the SQL server column type that can accommodate all the values in 'OnModelCreating' using 'HasColumnType()', specify precision and scale using 'HasPrecision()' or configure a value converter using 'HasConversion()'. 2022-02-19 19:25:52.386 +08:00 [WRN] No type was specified for the decimal property 'SingleWeight' on entity type 'TA_PART'. This will cause values to be silently truncated if they do not fit in the default precision and scale. Explicitly specify the SQL server column type that can accommodate all the values in 'OnModelCreating' using 'HasColumnType()', specify precision and scale using 'HasPrecision()' or configure a value converter using 'HasConversion()'. 2022-02-19 19:25:52.386 +08:00 [WRN] No type was specified for the decimal property 'StockPackQty' on entity type 'TA_PART'. This will cause values to be silently truncated if they do not fit in the default precision and scale. Explicitly specify the SQL server column type that can accommodate all the values in 'OnModelCreating' using 'HasColumnType()', specify precision and scale using 'HasPrecision()' or configure a value converter using 'HasConversion()'. 2022-02-19 19:25:52.386 +08:00 [WRN] No type was specified for the decimal property 'BarCodeQty' on entity type 'TM_PG_PLAN'. This will cause values to be silently truncated if they do not fit in the default precision and scale. Explicitly specify the SQL server column type that can accommodate all the values in 'OnModelCreating' using 'HasColumnType()', specify precision and scale using 'HasPrecision()' or configure a value converter using 'HasConversion()'. 2022-02-19 19:25:52.386 +08:00 [WRN] No type was specified for the decimal property 'FinishedQty' on entity type 'TM_PG_PLAN'. This will cause values to be silently truncated if they do not fit in the default precision and scale. Explicitly specify the SQL server column type that can accommodate all the values in 'OnModelCreating' using 'HasColumnType()', specify precision and scale using 'HasPrecision()' or configure a value converter using 'HasConversion()'. 2022-02-19 19:25:52.386 +08:00 [WRN] No type was specified for the decimal property 'InQty' on entity type 'TM_PG_PLAN'. This will cause values to be silently truncated if they do not fit in the default precision and scale. Explicitly specify the SQL server column type that can accommodate all the values in 'OnModelCreating' using 'HasColumnType()', specify precision and scale using 'HasPrecision()' or configure a value converter using 'HasConversion()'. 2022-02-19 19:25:52.386 +08:00 [WRN] No type was specified for the decimal property 'NotInQty' on entity type 'TM_PG_PLAN'. This will cause values to be silently truncated if they do not fit in the default precision and scale. Explicitly specify the SQL server column type that can accommodate all the values in 'OnModelCreating' using 'HasColumnType()', specify precision and scale using 'HasPrecision()' or configure a value converter using 'HasConversion()'. 2022-02-19 19:25:52.386 +08:00 [WRN] No type was specified for the decimal property 'PackQty' on entity type 'TM_PG_PLAN'. This will cause values to be silently truncated if they do not fit in the default precision and scale. Explicitly specify the SQL server column type that can accommodate all the values in 'OnModelCreating' using 'HasColumnType()', specify precision and scale using 'HasPrecision()' or configure a value converter using 'HasConversion()'. 2022-02-19 19:25:52.386 +08:00 [WRN] No type was specified for the decimal property 'Qty' on entity type 'TM_PG_PLAN'. This will cause values to be silently truncated if they do not fit in the default precision and scale. Explicitly specify the SQL server column type that can accommodate all the values in 'OnModelCreating' using 'HasColumnType()', specify precision and scale using 'HasPrecision()' or configure a value converter using 'HasConversion()'. 2022-02-19 19:25:52.723 +08:00 [INF] Entity Framework Core 5.0.14 initialized 'WmsWebApiDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: QuerySplittingBehavior=SplitQuery 2022-02-19 19:25:54.364 +08:00 [INF] Executed DbCommand (139ms) [Parameters=[@___planDto_MATNR_0='?' (Size = 50)], CommandType='"Text"', CommandTimeout='30'] SELECT TOP(1) [t].[UID], [t].[AbcClass], [t].[CertificateOfQuality], [t].[Configuration], [t].[ContainerQty], [t].[DefaultBackFlushLocCode], [t].[DefaultReceiveLocCode], [t].[DistributionType], [t].[DrawingNumber], [t].[ErpPartCode], [t].[InspectType], [t].[Inspecter], [t].[IsAskMerge], [t].[IsConsign], [t].[IsDeposit], [t].[IsNoInterface], [t].[IsTransfer], [t].[LabelTemplate], [t].[LinesidePackQty], [t].[ManageType], [t].[MaxQty], [t].[MinQty], [t].[PalletSize], [t].[PalletTemplate], [t].[PartCode], [t].[PartDesc1], [t].[PartDesc2], [t].[PartGroup], [t].[PartKind], [t].[PartType], [t].[Process], [t].[ProjectId], [t].[Promo], [t].[QLevel], [t].[ReceivePort], [t].[Remark], [t].[SafeQty], [t].[SamplePercent], [t].[SingleWeight], [t].[Source], [t].[State], [t].[StockPackQty], [t].[StoreKeeper], [t].[Unit], [t].[ValidityDays] FROM [TA_PART] AS [t] WHERE [t].[PartCode] = @___planDto_MATNR_0 2022-02-19 19:26:32.090 +08:00 [INF] Executed DbCommand (63ms) [Parameters=[@___billnum_0='?' (Size = 64)], CommandType='"Text"', CommandTimeout='30'] SELECT TOP(1) [t].[UID], [t].[AccountDate], [t].[BillNum], [t].[BillTime], [t].[BillType], [t].[CustId], [t].[DetailQty], [t].[DockCode], [t].[FinishTime], [t].[GateCode], [t].[GateName], [t].[Guid], [t].[OperName], [t].[ProjectId], [t].[Remark], [t].[SourceBillNum], [t].[SourceBillNum2], [t].[SourceBillNum3], [t].[StartTime], [t].[State], [t].[SubBillType], [t].[TransportType], [t].[TruckNum], [t].[VendId] FROM [TB_BILL] AS [t] WHERE [t].[BillNum] = @___billnum_0 2022-02-19 19:26:32.345 +08:00 [INF] Executed DbCommand (35ms) [Parameters=[@___planDto_PEDTR_0='?' (Size = 450), @___planDto_SCHGRUP_1='?' (Size = 4000), @___planDto_KAPTPROG_2='?' (Size = 4000), @___planDto_MATNR_3='?' (Size = 450)], CommandType='"Text"', CommandTimeout='30'] SELECT TOP(1) [t].[PartCode], [t].[BillNum], [t].[PlanTime], [t].[PlanShiftName], [t].[BarCodeQty], [t].[BillLine], [t].[BomVersion], [t].[FinishedQty], [t].[Group], [t].[House], [t].[UID], [t].[InQty], [t].[IsPrinted], [t].[IsProduct], [t].[ModifyTime], [t].[NotInQty], [t].[PackQty], [t].[PlannedOrderParameter], [t].[Qty], [t].[Remark], [t].[Seq], [t].[ShiftName], [t].[State] FROM [TM_PG_PLAN] AS [t] WHERE ((([t].[PlanTime] = @___planDto_PEDTR_0) AND ([t].[Group] = @___planDto_SCHGRUP_1)) AND ([t].[ShiftName] = @___planDto_KAPTPROG_2)) AND ([t].[PartCode] = @___planDto_MATNR_3) 2022-02-19 19:31:00.690 +08:00 [INF] Starting web host. 2022-02-19 19:31:10.939 +08:00 [INF] User profile is available. Using 'C:\Users\lvcj2\AppData\Local\ASP.NET\DataProtection-Keys' as key repository and Windows DPAPI to encrypt keys at rest. 2022-02-19 19:31:11.084 +08:00 [INF] Loaded ABP modules: 2022-02-19 19:31:11.084 +08:00 [INF] - WmsWebApi.WmsWebApiHttpApiHostModule 2022-02-19 19:31:11.084 +08:00 [INF] - WmsWebApi.WmsWebApiApplicationModule 2022-02-19 19:31:11.084 +08:00 [INF] - WmsWebApi.WmsWebApiDomainModule 2022-02-19 19:31:11.084 +08:00 [INF] - Volo.Abp.Domain.AbpDddDomainModule 2022-02-19 19:31:11.084 +08:00 [INF] - Volo.Abp.Auditing.AbpAuditingModule 2022-02-19 19:31:11.084 +08:00 [INF] - Volo.Abp.Data.AbpDataModule 2022-02-19 19:31:11.084 +08:00 [INF] - Volo.Abp.ObjectExtending.AbpObjectExtendingModule 2022-02-19 19:31:11.084 +08:00 [INF] - Volo.Abp.Localization.AbpLocalizationAbstractionsModule 2022-02-19 19:31:11.084 +08:00 [INF] - Volo.Abp.Validation.AbpValidationAbstractionsModule 2022-02-19 19:31:11.084 +08:00 [INF] - Volo.Abp.Uow.AbpUnitOfWorkModule 2022-02-19 19:31:11.084 +08:00 [INF] - Volo.Abp.EventBus.Abstractions.AbpEventBusAbstractionsModule 2022-02-19 19:31:11.084 +08:00 [INF] - Volo.Abp.Json.AbpJsonModule 2022-02-19 19:31:11.084 +08:00 [INF] - Volo.Abp.Timing.AbpTimingModule 2022-02-19 19:31:11.084 +08:00 [INF] - Volo.Abp.Localization.AbpLocalizationModule 2022-02-19 19:31:11.084 +08:00 [INF] - Volo.Abp.VirtualFileSystem.AbpVirtualFileSystemModule 2022-02-19 19:31:11.084 +08:00 [INF] - Volo.Abp.Settings.AbpSettingsModule 2022-02-19 19:31:11.084 +08:00 [INF] - Volo.Abp.Security.AbpSecurityModule 2022-02-19 19:31:11.084 +08:00 [INF] - Volo.Abp.MultiTenancy.AbpMultiTenancyModule 2022-02-19 19:31:11.084 +08:00 [INF] - Volo.Abp.Threading.AbpThreadingModule 2022-02-19 19:31:11.084 +08:00 [INF] - Volo.Abp.EventBus.AbpEventBusModule 2022-02-19 19:31:11.084 +08:00 [INF] - Volo.Abp.Guids.AbpGuidsModule 2022-02-19 19:31:11.084 +08:00 [INF] - Volo.Abp.ObjectMapping.AbpObjectMappingModule 2022-02-19 19:31:11.084 +08:00 [INF] - Volo.Abp.ExceptionHandling.AbpExceptionHandlingModule 2022-02-19 19:31:11.084 +08:00 [INF] - Volo.Abp.Specifications.AbpSpecificationsModule 2022-02-19 19:31:11.084 +08:00 [INF] - WmsWebApi.WmsWebApiDomainSharedModule 2022-02-19 19:31:11.084 +08:00 [INF] - Volo.Abp.Validation.AbpValidationModule 2022-02-19 19:31:11.084 +08:00 [INF] - WmsWebApi.WmsWebApiApplicationContractsModule 2022-02-19 19:31:11.084 +08:00 [INF] - Volo.Abp.Application.AbpDddApplicationContractsModule 2022-02-19 19:31:11.084 +08:00 [INF] - Volo.Abp.Authorization.AbpAuthorizationModule 2022-02-19 19:31:11.084 +08:00 [INF] - Volo.Abp.Authorization.AbpAuthorizationAbstractionsModule 2022-02-19 19:31:11.084 +08:00 [INF] - Volo.Abp.Application.AbpDddApplicationModule 2022-02-19 19:31:11.084 +08:00 [INF] - Volo.Abp.Http.AbpHttpAbstractionsModule 2022-02-19 19:31:11.084 +08:00 [INF] - Volo.Abp.Features.AbpFeaturesModule 2022-02-19 19:31:11.084 +08:00 [INF] - Volo.Abp.GlobalFeatures.AbpGlobalFeaturesModule 2022-02-19 19:31:11.084 +08:00 [INF] - Volo.Abp.AutoMapper.AbpAutoMapperModule 2022-02-19 19:31:11.084 +08:00 [INF] - WmsWebApi.EntityFrameworkCore.WmsWebApiEntityFrameworkCoreModule 2022-02-19 19:31:11.084 +08:00 [INF] - Volo.Abp.EntityFrameworkCore.AbpEntityFrameworkCoreModule 2022-02-19 19:31:11.084 +08:00 [INF] - Volo.Abp.Dapper.AbpDapperModule 2022-02-19 19:31:11.084 +08:00 [INF] - WmsWebApi.WmsWebApiHttpApiModule 2022-02-19 19:31:11.084 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.AbpAspNetCoreMvcModule 2022-02-19 19:31:11.084 +08:00 [INF] - Volo.Abp.AspNetCore.AbpAspNetCoreModule 2022-02-19 19:31:11.084 +08:00 [INF] - Volo.Abp.Http.AbpHttpModule 2022-02-19 19:31:11.084 +08:00 [INF] - Volo.Abp.Minify.AbpMinifyModule 2022-02-19 19:31:11.084 +08:00 [INF] - Volo.Abp.ApiVersioning.AbpApiVersioningAbstractionsModule 2022-02-19 19:31:11.084 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.AbpAspNetCoreMvcContractsModule 2022-02-19 19:31:11.084 +08:00 [INF] - Volo.Abp.UI.Navigation.AbpUiNavigationModule 2022-02-19 19:31:11.084 +08:00 [INF] - Volo.Abp.UI.AbpUiModule 2022-02-19 19:31:11.084 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.MultiTenancy.AbpAspNetCoreMvcUiMultiTenancyModule 2022-02-19 19:31:11.084 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Theme.Shared.AbpAspNetCoreMvcUiThemeSharedModule 2022-02-19 19:31:11.084 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.AbpAspNetCoreMvcUiBootstrapModule 2022-02-19 19:31:11.084 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.AbpAspNetCoreMvcUiModule 2022-02-19 19:31:11.084 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Packages.AbpAspNetCoreMvcUiPackagesModule 2022-02-19 19:31:11.084 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Bundling.AbpAspNetCoreMvcUiBundlingAbstractionsModule 2022-02-19 19:31:11.084 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Widgets.AbpAspNetCoreMvcUiWidgetsModule 2022-02-19 19:31:11.084 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Bundling.AbpAspNetCoreMvcUiBundlingModule 2022-02-19 19:31:11.084 +08:00 [INF] - Volo.Abp.AspNetCore.MultiTenancy.AbpAspNetCoreMultiTenancyModule 2022-02-19 19:31:11.084 +08:00 [INF] - Volo.Abp.Autofac.AbpAutofacModule 2022-02-19 19:31:11.084 +08:00 [INF] - Volo.Abp.Castle.AbpCastleCoreModule 2022-02-19 19:31:11.084 +08:00 [INF] - Volo.Abp.Caching.StackExchangeRedis.AbpCachingStackExchangeRedisModule 2022-02-19 19:31:11.084 +08:00 [INF] - Volo.Abp.Caching.AbpCachingModule 2022-02-19 19:31:11.084 +08:00 [INF] - Volo.Abp.Serialization.AbpSerializationModule 2022-02-19 19:31:11.084 +08:00 [INF] - Volo.Abp.EntityFrameworkCore.SqlServer.AbpEntityFrameworkCoreSqlServerModule 2022-02-19 19:31:11.084 +08:00 [INF] - Volo.Abp.AuditLogging.EntityFrameworkCore.AbpAuditLoggingEntityFrameworkCoreModule 2022-02-19 19:31:11.084 +08:00 [INF] - Volo.Abp.AuditLogging.AbpAuditLoggingDomainModule 2022-02-19 19:31:11.084 +08:00 [INF] - Volo.Abp.AuditLogging.AbpAuditLoggingDomainSharedModule 2022-02-19 19:31:11.084 +08:00 [INF] - Volo.Abp.PermissionManagement.EntityFrameworkCore.AbpPermissionManagementEntityFrameworkCoreModule 2022-02-19 19:31:11.084 +08:00 [INF] - Volo.Abp.PermissionManagement.AbpPermissionManagementDomainModule 2022-02-19 19:31:11.084 +08:00 [INF] - Volo.Abp.PermissionManagement.AbpPermissionManagementDomainSharedModule 2022-02-19 19:31:11.084 +08:00 [INF] - Volo.Abp.SettingManagement.EntityFrameworkCore.AbpSettingManagementEntityFrameworkCoreModule 2022-02-19 19:31:11.084 +08:00 [INF] - Volo.Abp.SettingManagement.AbpSettingManagementDomainModule 2022-02-19 19:31:11.084 +08:00 [INF] - Volo.Abp.SettingManagement.AbpSettingManagementDomainSharedModule 2022-02-19 19:31:11.084 +08:00 [INF] - Volo.Abp.AspNetCore.Serilog.AbpAspNetCoreSerilogModule 2022-02-19 19:31:11.084 +08:00 [INF] - Volo.Abp.Swashbuckle.AbpSwashbuckleModule 2022-02-19 19:31:12.404 +08:00 [INF] Initialized all ABP modules. 2022-02-19 19:31:13.125 +08:00 [INF] Now listening on: https://localhost:5000 2022-02-19 19:31:13.126 +08:00 [INF] Application started. Press Ctrl+C to shut down. 2022-02-19 19:31:13.126 +08:00 [INF] Hosting environment: Development 2022-02-19 19:31:13.126 +08:00 [INF] Content root path: D:\工作\派格\接口程序\WmsWebApi\host\WmsWebApi.HttpApi.Host 2022-02-19 19:31:57.949 +08:00 [INF] Request starting HTTP/2 GET https://localhost:5000/ - - 2022-02-19 19:32:00.637 +08:00 [INF] Executing endpoint 'WmsWebApi.Controllers.HomeController.Index (WmsWebApi.HttpApi.Host)' 2022-02-19 19:32:00.791 +08:00 [INF] Route matched with {action = "Index", controller = "Home", area = "", page = ""}. Executing controller action with signature Microsoft.AspNetCore.Mvc.ActionResult Index() on controller WmsWebApi.Controllers.HomeController (WmsWebApi.HttpApi.Host). 2022-02-19 19:32:01.204 +08:00 [INF] Executing action method WmsWebApi.Controllers.HomeController.Index (WmsWebApi.HttpApi.Host) - Validation state: "Valid" 2022-02-19 19:32:01.219 +08:00 [INF] Executed action method WmsWebApi.Controllers.HomeController.Index (WmsWebApi.HttpApi.Host), returned result Microsoft.AspNetCore.Mvc.RedirectResult in 0.753ms. 2022-02-19 19:32:01.229 +08:00 [INF] Executing RedirectResult, redirecting to /swagger. 2022-02-19 19:32:01.240 +08:00 [INF] Executed action WmsWebApi.Controllers.HomeController.Index (WmsWebApi.HttpApi.Host) in 439.7941ms 2022-02-19 19:32:01.240 +08:00 [INF] Executed endpoint 'WmsWebApi.Controllers.HomeController.Index (WmsWebApi.HttpApi.Host)' 2022-02-19 19:32:01.284 +08:00 [INF] Request finished HTTP/2 GET https://localhost:5000/ - - - 302 0 - 3335.4934ms 2022-02-19 19:32:01.307 +08:00 [INF] Request starting HTTP/2 GET https://localhost:5000/swagger/index.html - - 2022-02-19 19:32:01.724 +08:00 [INF] Request finished HTTP/2 GET https://localhost:5000/swagger/index.html - - - 200 - text/html;charset=utf-8 417.7055ms 2022-02-19 19:32:01.754 +08:00 [INF] Request starting HTTP/2 GET https://localhost:5000/_framework/aspnetcore-browser-refresh.js - - 2022-02-19 19:32:01.770 +08:00 [INF] Request finished HTTP/2 GET https://localhost:5000/_framework/aspnetcore-browser-refresh.js - - - 200 11956 application/javascript;+charset=utf-8 20.5020ms 2022-02-19 19:32:03.288 +08:00 [INF] Request starting HTTP/2 GET https://localhost:5000/swagger/v1/swagger.json - - 2022-02-19 19:32:03.867 +08:00 [INF] Request finished HTTP/2 GET https://localhost:5000/swagger/v1/swagger.json - - - 200 - application/json;charset=utf-8 578.4908ms 2022-02-19 19:32:24.311 +08:00 [INF] Request starting HTTP/2 GET https://localhost:5000/abp/Swashbuckle/SetCsrfCookie application/json - 2022-02-19 19:32:24.325 +08:00 [INF] Executing endpoint 'Volo.Abp.Swashbuckle.AbpSwashbuckleController.SetCsrfCookie (Volo.Abp.Swashbuckle)' 2022-02-19 19:32:24.331 +08:00 [INF] Route matched with {area = "Abp", action = "SetCsrfCookie", controller = "AbpSwashbuckle", page = ""}. Executing controller action with signature Void SetCsrfCookie() on controller Volo.Abp.Swashbuckle.AbpSwashbuckleController (Volo.Abp.Swashbuckle). 2022-02-19 19:32:24.522 +08:00 [INF] Executing action method Volo.Abp.Swashbuckle.AbpSwashbuckleController.SetCsrfCookie (Volo.Abp.Swashbuckle) - Validation state: "Valid" 2022-02-19 19:32:24.548 +08:00 [INF] Executed action method Volo.Abp.Swashbuckle.AbpSwashbuckleController.SetCsrfCookie (Volo.Abp.Swashbuckle), returned result Microsoft.AspNetCore.Mvc.EmptyResult in 25.9275ms. 2022-02-19 19:32:24.549 +08:00 [INF] Executed action Volo.Abp.Swashbuckle.AbpSwashbuckleController.SetCsrfCookie (Volo.Abp.Swashbuckle) in 217.5591ms 2022-02-19 19:32:24.549 +08:00 [INF] Executed endpoint 'Volo.Abp.Swashbuckle.AbpSwashbuckleController.SetCsrfCookie (Volo.Abp.Swashbuckle)' 2022-02-19 19:32:24.550 +08:00 [INF] Request finished HTTP/2 GET https://localhost:5000/abp/Swashbuckle/SetCsrfCookie application/json - - 204 - - 238.7778ms 2022-02-19 19:32:24.706 +08:00 [INF] Request starting HTTP/2 POST https://localhost:5000/api/PPlan/add application/json 363 2022-02-19 19:32:24.720 +08:00 [INF] CORS policy execution failed. 2022-02-19 19:32:24.721 +08:00 [INF] Request origin https://localhost:5000 does not have permission to access the resource. 2022-02-19 19:32:24.727 +08:00 [INF] Executing endpoint 'WmsWebApi.PPlan.PPlanService.AddAsync (WmsWebApi.Application)' 2022-02-19 19:32:24.768 +08:00 [INF] Route matched with {action = "Add", controller = "PPlan", area = "", page = ""}. Executing controller action with signature System.Threading.Tasks.Task`1[WmsWebApi.PPlan.ReturnResult] AddAsync(System.Object) on controller WmsWebApi.PPlan.PPlanService (WmsWebApi.Application). 2022-02-19 19:32:26.035 +08:00 [INF] Executing action method WmsWebApi.PPlan.PPlanService.AddAsync (WmsWebApi.Application) - Validation state: "Valid" 2022-02-19 19:32:32.484 +08:00 [WRN] No type was specified for the decimal property 'BMENG' on entity type 'WmsWebApiBOMDTO'. This will cause values to be silently truncated if they do not fit in the default precision and scale. Explicitly specify the SQL server column type that can accommodate all the values in 'OnModelCreating' using 'HasColumnType()', specify precision and scale using 'HasPrecision()' or configure a value converter using 'HasConversion()'. 2022-02-19 19:32:32.485 +08:00 [WRN] No type was specified for the decimal property 'GSMNG' on entity type 'WmsWebApiPPLANDTO'. This will cause values to be silently truncated if they do not fit in the default precision and scale. Explicitly specify the SQL server column type that can accommodate all the values in 'OnModelCreating' using 'HasColumnType()', specify precision and scale using 'HasPrecision()' or configure a value converter using 'HasConversion()'. 2022-02-19 19:32:32.485 +08:00 [WRN] No type was specified for the decimal property 'Qty' on entity type 'TA_BOM'. This will cause values to be silently truncated if they do not fit in the default precision and scale. Explicitly specify the SQL server column type that can accommodate all the values in 'OnModelCreating' using 'HasColumnType()', specify precision and scale using 'HasPrecision()' or configure a value converter using 'HasConversion()'. 2022-02-19 19:32:32.485 +08:00 [WRN] No type was specified for the decimal property 'CustPackQty' on entity type 'TA_CUST_PART'. This will cause values to be silently truncated if they do not fit in the default precision and scale. Explicitly specify the SQL server column type that can accommodate all the values in 'OnModelCreating' using 'HasColumnType()', specify precision and scale using 'HasPrecision()' or configure a value converter using 'HasConversion()'. 2022-02-19 19:32:32.485 +08:00 [WRN] No type was specified for the decimal property 'CustPalletCapacity' on entity type 'TA_CUST_PART'. This will cause values to be silently truncated if they do not fit in the default precision and scale. Explicitly specify the SQL server column type that can accommodate all the values in 'OnModelCreating' using 'HasColumnType()', specify precision and scale using 'HasPrecision()' or configure a value converter using 'HasConversion()'. 2022-02-19 19:32:32.485 +08:00 [WRN] No type was specified for the decimal property 'ContainerQty' on entity type 'TA_PART'. This will cause values to be silently truncated if they do not fit in the default precision and scale. Explicitly specify the SQL server column type that can accommodate all the values in 'OnModelCreating' using 'HasColumnType()', specify precision and scale using 'HasPrecision()' or configure a value converter using 'HasConversion()'. 2022-02-19 19:32:32.485 +08:00 [WRN] No type was specified for the decimal property 'LinesidePackQty' on entity type 'TA_PART'. This will cause values to be silently truncated if they do not fit in the default precision and scale. Explicitly specify the SQL server column type that can accommodate all the values in 'OnModelCreating' using 'HasColumnType()', specify precision and scale using 'HasPrecision()' or configure a value converter using 'HasConversion()'. 2022-02-19 19:32:32.485 +08:00 [WRN] No type was specified for the decimal property 'MaxQty' on entity type 'TA_PART'. This will cause values to be silently truncated if they do not fit in the default precision and scale. Explicitly specify the SQL server column type that can accommodate all the values in 'OnModelCreating' using 'HasColumnType()', specify precision and scale using 'HasPrecision()' or configure a value converter using 'HasConversion()'. 2022-02-19 19:32:32.485 +08:00 [WRN] No type was specified for the decimal property 'MinQty' on entity type 'TA_PART'. This will cause values to be silently truncated if they do not fit in the default precision and scale. Explicitly specify the SQL server column type that can accommodate all the values in 'OnModelCreating' using 'HasColumnType()', specify precision and scale using 'HasPrecision()' or configure a value converter using 'HasConversion()'. 2022-02-19 19:32:32.485 +08:00 [WRN] No type was specified for the decimal property 'SafeQty' on entity type 'TA_PART'. This will cause values to be silently truncated if they do not fit in the default precision and scale. Explicitly specify the SQL server column type that can accommodate all the values in 'OnModelCreating' using 'HasColumnType()', specify precision and scale using 'HasPrecision()' or configure a value converter using 'HasConversion()'. 2022-02-19 19:32:32.485 +08:00 [WRN] No type was specified for the decimal property 'SamplePercent' on entity type 'TA_PART'. This will cause values to be silently truncated if they do not fit in the default precision and scale. Explicitly specify the SQL server column type that can accommodate all the values in 'OnModelCreating' using 'HasColumnType()', specify precision and scale using 'HasPrecision()' or configure a value converter using 'HasConversion()'. 2022-02-19 19:32:32.485 +08:00 [WRN] No type was specified for the decimal property 'SingleWeight' on entity type 'TA_PART'. This will cause values to be silently truncated if they do not fit in the default precision and scale. Explicitly specify the SQL server column type that can accommodate all the values in 'OnModelCreating' using 'HasColumnType()', specify precision and scale using 'HasPrecision()' or configure a value converter using 'HasConversion()'. 2022-02-19 19:32:32.485 +08:00 [WRN] No type was specified for the decimal property 'StockPackQty' on entity type 'TA_PART'. This will cause values to be silently truncated if they do not fit in the default precision and scale. Explicitly specify the SQL server column type that can accommodate all the values in 'OnModelCreating' using 'HasColumnType()', specify precision and scale using 'HasPrecision()' or configure a value converter using 'HasConversion()'. 2022-02-19 19:32:32.486 +08:00 [WRN] No type was specified for the decimal property 'BarCodeQty' on entity type 'TM_PG_PLAN'. This will cause values to be silently truncated if they do not fit in the default precision and scale. Explicitly specify the SQL server column type that can accommodate all the values in 'OnModelCreating' using 'HasColumnType()', specify precision and scale using 'HasPrecision()' or configure a value converter using 'HasConversion()'. 2022-02-19 19:32:32.486 +08:00 [WRN] No type was specified for the decimal property 'FinishedQty' on entity type 'TM_PG_PLAN'. This will cause values to be silently truncated if they do not fit in the default precision and scale. Explicitly specify the SQL server column type that can accommodate all the values in 'OnModelCreating' using 'HasColumnType()', specify precision and scale using 'HasPrecision()' or configure a value converter using 'HasConversion()'. 2022-02-19 19:32:32.486 +08:00 [WRN] No type was specified for the decimal property 'InQty' on entity type 'TM_PG_PLAN'. This will cause values to be silently truncated if they do not fit in the default precision and scale. Explicitly specify the SQL server column type that can accommodate all the values in 'OnModelCreating' using 'HasColumnType()', specify precision and scale using 'HasPrecision()' or configure a value converter using 'HasConversion()'. 2022-02-19 19:32:32.486 +08:00 [WRN] No type was specified for the decimal property 'NotInQty' on entity type 'TM_PG_PLAN'. This will cause values to be silently truncated if they do not fit in the default precision and scale. Explicitly specify the SQL server column type that can accommodate all the values in 'OnModelCreating' using 'HasColumnType()', specify precision and scale using 'HasPrecision()' or configure a value converter using 'HasConversion()'. 2022-02-19 19:32:32.486 +08:00 [WRN] No type was specified for the decimal property 'PackQty' on entity type 'TM_PG_PLAN'. This will cause values to be silently truncated if they do not fit in the default precision and scale. Explicitly specify the SQL server column type that can accommodate all the values in 'OnModelCreating' using 'HasColumnType()', specify precision and scale using 'HasPrecision()' or configure a value converter using 'HasConversion()'. 2022-02-19 19:32:32.486 +08:00 [WRN] No type was specified for the decimal property 'Qty' on entity type 'TM_PG_PLAN'. This will cause values to be silently truncated if they do not fit in the default precision and scale. Explicitly specify the SQL server column type that can accommodate all the values in 'OnModelCreating' using 'HasColumnType()', specify precision and scale using 'HasPrecision()' or configure a value converter using 'HasConversion()'. 2022-02-19 19:32:32.739 +08:00 [INF] Entity Framework Core 5.0.14 initialized 'WmsWebApiDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: QuerySplittingBehavior=SplitQuery 2022-02-19 19:32:34.298 +08:00 [INF] Executed DbCommand (133ms) [Parameters=[@___planDto_MATNR_0='?' (Size = 50)], CommandType='"Text"', CommandTimeout='30'] SELECT TOP(1) [t].[UID], [t].[AbcClass], [t].[CertificateOfQuality], [t].[Configuration], [t].[ContainerQty], [t].[DefaultBackFlushLocCode], [t].[DefaultReceiveLocCode], [t].[DistributionType], [t].[DrawingNumber], [t].[ErpPartCode], [t].[InspectType], [t].[Inspecter], [t].[IsAskMerge], [t].[IsConsign], [t].[IsDeposit], [t].[IsNoInterface], [t].[IsTransfer], [t].[LabelTemplate], [t].[LinesidePackQty], [t].[ManageType], [t].[MaxQty], [t].[MinQty], [t].[PalletSize], [t].[PalletTemplate], [t].[PartCode], [t].[PartDesc1], [t].[PartDesc2], [t].[PartGroup], [t].[PartKind], [t].[PartType], [t].[Process], [t].[ProjectId], [t].[Promo], [t].[QLevel], [t].[ReceivePort], [t].[Remark], [t].[SafeQty], [t].[SamplePercent], [t].[SingleWeight], [t].[Source], [t].[State], [t].[StockPackQty], [t].[StoreKeeper], [t].[Unit], [t].[ValidityDays] FROM [TA_PART] AS [t] WHERE [t].[PartCode] = @___planDto_MATNR_0 2022-02-19 19:32:34.953 +08:00 [INF] Executed DbCommand (62ms) [Parameters=[@___billnum_0='?' (Size = 64)], CommandType='"Text"', CommandTimeout='30'] SELECT TOP(1) [t].[UID], [t].[AccountDate], [t].[BillNum], [t].[BillTime], [t].[BillType], [t].[CustId], [t].[DetailQty], [t].[DockCode], [t].[FinishTime], [t].[GateCode], [t].[GateName], [t].[Guid], [t].[OperName], [t].[ProjectId], [t].[Remark], [t].[SourceBillNum], [t].[SourceBillNum2], [t].[SourceBillNum3], [t].[StartTime], [t].[State], [t].[SubBillType], [t].[TransportType], [t].[TruckNum], [t].[VendId] FROM [TB_BILL] AS [t] WHERE [t].[BillNum] = @___billnum_0 2022-02-19 19:32:35.221 +08:00 [INF] Executed DbCommand (35ms) [Parameters=[@___planDto_PEDTR_0='?' (Size = 450), @___planDto_SCHGRUP_1='?' (Size = 4000), @___planDto_KAPTPROG_2='?' (Size = 4000), @___planDto_MATNR_3='?' (Size = 450)], CommandType='"Text"', CommandTimeout='30'] SELECT TOP(1) [t].[PartCode], [t].[BillNum], [t].[PlanTime], [t].[PlanShiftName], [t].[BarCodeQty], [t].[BillLine], [t].[BomVersion], [t].[FinishedQty], [t].[Group], [t].[House], [t].[UID], [t].[InQty], [t].[IsPrinted], [t].[IsProduct], [t].[ModifyTime], [t].[NotInQty], [t].[PackQty], [t].[PlannedOrderParameter], [t].[Qty], [t].[Remark], [t].[Seq], [t].[ShiftName], [t].[State] FROM [TM_PG_PLAN] AS [t] WHERE ((([t].[PlanTime] = @___planDto_PEDTR_0) AND ([t].[Group] = @___planDto_SCHGRUP_1)) AND ([t].[ShiftName] = @___planDto_KAPTPROG_2)) AND ([t].[PartCode] = @___planDto_MATNR_3) 2022-02-19 19:35:49.212 +08:00 [INF] Starting web host. 2022-02-19 19:36:34.155 +08:00 [INF] User profile is available. Using 'C:\Users\lvcj2\AppData\Local\ASP.NET\DataProtection-Keys' as key repository and Windows DPAPI to encrypt keys at rest. 2022-02-19 19:36:34.283 +08:00 [INF] Loaded ABP modules: 2022-02-19 19:36:34.283 +08:00 [INF] - WmsWebApi.WmsWebApiHttpApiHostModule 2022-02-19 19:36:34.283 +08:00 [INF] - WmsWebApi.WmsWebApiApplicationModule 2022-02-19 19:36:34.283 +08:00 [INF] - WmsWebApi.WmsWebApiDomainModule 2022-02-19 19:36:34.283 +08:00 [INF] - Volo.Abp.Domain.AbpDddDomainModule 2022-02-19 19:36:34.283 +08:00 [INF] - Volo.Abp.Auditing.AbpAuditingModule 2022-02-19 19:36:34.283 +08:00 [INF] - Volo.Abp.Data.AbpDataModule 2022-02-19 19:36:34.283 +08:00 [INF] - Volo.Abp.ObjectExtending.AbpObjectExtendingModule 2022-02-19 19:36:34.283 +08:00 [INF] - Volo.Abp.Localization.AbpLocalizationAbstractionsModule 2022-02-19 19:36:34.283 +08:00 [INF] - Volo.Abp.Validation.AbpValidationAbstractionsModule 2022-02-19 19:36:34.283 +08:00 [INF] - Volo.Abp.Uow.AbpUnitOfWorkModule 2022-02-19 19:36:34.283 +08:00 [INF] - Volo.Abp.EventBus.Abstractions.AbpEventBusAbstractionsModule 2022-02-19 19:36:34.283 +08:00 [INF] - Volo.Abp.Json.AbpJsonModule 2022-02-19 19:36:34.283 +08:00 [INF] - Volo.Abp.Timing.AbpTimingModule 2022-02-19 19:36:34.284 +08:00 [INF] - Volo.Abp.Localization.AbpLocalizationModule 2022-02-19 19:36:34.284 +08:00 [INF] - Volo.Abp.VirtualFileSystem.AbpVirtualFileSystemModule 2022-02-19 19:36:34.284 +08:00 [INF] - Volo.Abp.Settings.AbpSettingsModule 2022-02-19 19:36:34.284 +08:00 [INF] - Volo.Abp.Security.AbpSecurityModule 2022-02-19 19:36:34.284 +08:00 [INF] - Volo.Abp.MultiTenancy.AbpMultiTenancyModule 2022-02-19 19:36:34.284 +08:00 [INF] - Volo.Abp.Threading.AbpThreadingModule 2022-02-19 19:36:34.284 +08:00 [INF] - Volo.Abp.EventBus.AbpEventBusModule 2022-02-19 19:36:34.284 +08:00 [INF] - Volo.Abp.Guids.AbpGuidsModule 2022-02-19 19:36:34.284 +08:00 [INF] - Volo.Abp.ObjectMapping.AbpObjectMappingModule 2022-02-19 19:36:34.284 +08:00 [INF] - Volo.Abp.ExceptionHandling.AbpExceptionHandlingModule 2022-02-19 19:36:34.284 +08:00 [INF] - Volo.Abp.Specifications.AbpSpecificationsModule 2022-02-19 19:36:34.284 +08:00 [INF] - WmsWebApi.WmsWebApiDomainSharedModule 2022-02-19 19:36:34.284 +08:00 [INF] - Volo.Abp.Validation.AbpValidationModule 2022-02-19 19:36:34.284 +08:00 [INF] - WmsWebApi.WmsWebApiApplicationContractsModule 2022-02-19 19:36:34.284 +08:00 [INF] - Volo.Abp.Application.AbpDddApplicationContractsModule 2022-02-19 19:36:34.284 +08:00 [INF] - Volo.Abp.Authorization.AbpAuthorizationModule 2022-02-19 19:36:34.284 +08:00 [INF] - Volo.Abp.Authorization.AbpAuthorizationAbstractionsModule 2022-02-19 19:36:34.284 +08:00 [INF] - Volo.Abp.Application.AbpDddApplicationModule 2022-02-19 19:36:34.284 +08:00 [INF] - Volo.Abp.Http.AbpHttpAbstractionsModule 2022-02-19 19:36:34.284 +08:00 [INF] - Volo.Abp.Features.AbpFeaturesModule 2022-02-19 19:36:34.284 +08:00 [INF] - Volo.Abp.GlobalFeatures.AbpGlobalFeaturesModule 2022-02-19 19:36:34.284 +08:00 [INF] - Volo.Abp.AutoMapper.AbpAutoMapperModule 2022-02-19 19:36:34.284 +08:00 [INF] - WmsWebApi.EntityFrameworkCore.WmsWebApiEntityFrameworkCoreModule 2022-02-19 19:36:34.284 +08:00 [INF] - Volo.Abp.EntityFrameworkCore.AbpEntityFrameworkCoreModule 2022-02-19 19:36:34.284 +08:00 [INF] - Volo.Abp.Dapper.AbpDapperModule 2022-02-19 19:36:34.284 +08:00 [INF] - WmsWebApi.WmsWebApiHttpApiModule 2022-02-19 19:36:34.284 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.AbpAspNetCoreMvcModule 2022-02-19 19:36:34.284 +08:00 [INF] - Volo.Abp.AspNetCore.AbpAspNetCoreModule 2022-02-19 19:36:34.284 +08:00 [INF] - Volo.Abp.Http.AbpHttpModule 2022-02-19 19:36:34.284 +08:00 [INF] - Volo.Abp.Minify.AbpMinifyModule 2022-02-19 19:36:34.284 +08:00 [INF] - Volo.Abp.ApiVersioning.AbpApiVersioningAbstractionsModule 2022-02-19 19:36:34.284 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.AbpAspNetCoreMvcContractsModule 2022-02-19 19:36:34.284 +08:00 [INF] - Volo.Abp.UI.Navigation.AbpUiNavigationModule 2022-02-19 19:36:34.284 +08:00 [INF] - Volo.Abp.UI.AbpUiModule 2022-02-19 19:36:34.284 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.MultiTenancy.AbpAspNetCoreMvcUiMultiTenancyModule 2022-02-19 19:36:34.284 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Theme.Shared.AbpAspNetCoreMvcUiThemeSharedModule 2022-02-19 19:36:34.284 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.AbpAspNetCoreMvcUiBootstrapModule 2022-02-19 19:36:34.284 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.AbpAspNetCoreMvcUiModule 2022-02-19 19:36:34.284 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Packages.AbpAspNetCoreMvcUiPackagesModule 2022-02-19 19:36:34.284 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Bundling.AbpAspNetCoreMvcUiBundlingAbstractionsModule 2022-02-19 19:36:34.284 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Widgets.AbpAspNetCoreMvcUiWidgetsModule 2022-02-19 19:36:34.284 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Bundling.AbpAspNetCoreMvcUiBundlingModule 2022-02-19 19:36:34.284 +08:00 [INF] - Volo.Abp.AspNetCore.MultiTenancy.AbpAspNetCoreMultiTenancyModule 2022-02-19 19:36:34.284 +08:00 [INF] - Volo.Abp.Autofac.AbpAutofacModule 2022-02-19 19:36:34.284 +08:00 [INF] - Volo.Abp.Castle.AbpCastleCoreModule 2022-02-19 19:36:34.284 +08:00 [INF] - Volo.Abp.Caching.StackExchangeRedis.AbpCachingStackExchangeRedisModule 2022-02-19 19:36:34.284 +08:00 [INF] - Volo.Abp.Caching.AbpCachingModule 2022-02-19 19:36:34.284 +08:00 [INF] - Volo.Abp.Serialization.AbpSerializationModule 2022-02-19 19:36:34.284 +08:00 [INF] - Volo.Abp.EntityFrameworkCore.SqlServer.AbpEntityFrameworkCoreSqlServerModule 2022-02-19 19:36:34.284 +08:00 [INF] - Volo.Abp.AuditLogging.EntityFrameworkCore.AbpAuditLoggingEntityFrameworkCoreModule 2022-02-19 19:36:34.284 +08:00 [INF] - Volo.Abp.AuditLogging.AbpAuditLoggingDomainModule 2022-02-19 19:36:34.284 +08:00 [INF] - Volo.Abp.AuditLogging.AbpAuditLoggingDomainSharedModule 2022-02-19 19:36:34.284 +08:00 [INF] - Volo.Abp.PermissionManagement.EntityFrameworkCore.AbpPermissionManagementEntityFrameworkCoreModule 2022-02-19 19:36:34.284 +08:00 [INF] - Volo.Abp.PermissionManagement.AbpPermissionManagementDomainModule 2022-02-19 19:36:34.284 +08:00 [INF] - Volo.Abp.PermissionManagement.AbpPermissionManagementDomainSharedModule 2022-02-19 19:36:34.284 +08:00 [INF] - Volo.Abp.SettingManagement.EntityFrameworkCore.AbpSettingManagementEntityFrameworkCoreModule 2022-02-19 19:36:34.284 +08:00 [INF] - Volo.Abp.SettingManagement.AbpSettingManagementDomainModule 2022-02-19 19:36:34.284 +08:00 [INF] - Volo.Abp.SettingManagement.AbpSettingManagementDomainSharedModule 2022-02-19 19:36:34.284 +08:00 [INF] - Volo.Abp.AspNetCore.Serilog.AbpAspNetCoreSerilogModule 2022-02-19 19:36:34.284 +08:00 [INF] - Volo.Abp.Swashbuckle.AbpSwashbuckleModule 2022-02-19 19:36:35.339 +08:00 [INF] Initialized all ABP modules. 2022-02-19 19:36:36.073 +08:00 [INF] Now listening on: https://localhost:5000 2022-02-19 19:36:36.074 +08:00 [INF] Application started. Press Ctrl+C to shut down. 2022-02-19 19:36:36.074 +08:00 [INF] Hosting environment: Development 2022-02-19 19:36:36.074 +08:00 [INF] Content root path: D:\工作\派格\接口程序\WmsWebApi\host\WmsWebApi.HttpApi.Host 2022-02-19 19:36:40.562 +08:00 [INF] Request starting HTTP/2 GET https://localhost:5000/ - - 2022-02-19 19:36:43.816 +08:00 [INF] Executing endpoint 'WmsWebApi.Controllers.HomeController.Index (WmsWebApi.HttpApi.Host)' 2022-02-19 19:36:44.016 +08:00 [INF] Route matched with {action = "Index", controller = "Home", area = "", page = ""}. Executing controller action with signature Microsoft.AspNetCore.Mvc.ActionResult Index() on controller WmsWebApi.Controllers.HomeController (WmsWebApi.HttpApi.Host). 2022-02-19 19:36:44.659 +08:00 [INF] Executing action method WmsWebApi.Controllers.HomeController.Index (WmsWebApi.HttpApi.Host) - Validation state: "Valid" 2022-02-19 19:36:44.674 +08:00 [INF] Executed action method WmsWebApi.Controllers.HomeController.Index (WmsWebApi.HttpApi.Host), returned result Microsoft.AspNetCore.Mvc.RedirectResult in 0.7039ms. 2022-02-19 19:36:44.689 +08:00 [INF] Executing RedirectResult, redirecting to /swagger. 2022-02-19 19:36:44.706 +08:00 [INF] Executed action WmsWebApi.Controllers.HomeController.Index (WmsWebApi.HttpApi.Host) in 675.2264ms 2022-02-19 19:36:44.706 +08:00 [INF] Executed endpoint 'WmsWebApi.Controllers.HomeController.Index (WmsWebApi.HttpApi.Host)' 2022-02-19 19:36:44.773 +08:00 [INF] Request finished HTTP/2 GET https://localhost:5000/ - - - 302 0 - 4213.4226ms 2022-02-19 19:36:44.823 +08:00 [INF] Request starting HTTP/2 GET https://localhost:5000/swagger/index.html - - 2022-02-19 19:36:45.269 +08:00 [INF] Request finished HTTP/2 GET https://localhost:5000/swagger/index.html - - - 200 - text/html;charset=utf-8 446.1065ms 2022-02-19 19:36:45.914 +08:00 [INF] Request starting HTTP/2 GET https://localhost:5000/_framework/aspnetcore-browser-refresh.js - - 2022-02-19 19:36:45.922 +08:00 [INF] Request finished HTTP/2 GET https://localhost:5000/_framework/aspnetcore-browser-refresh.js - - - 200 11956 application/javascript;+charset=utf-8 8.3090ms 2022-02-19 19:36:46.641 +08:00 [INF] Request starting HTTP/2 GET https://localhost:5000/swagger/v1/swagger.json - - 2022-02-19 19:36:47.013 +08:00 [INF] Request finished HTTP/2 GET https://localhost:5000/swagger/v1/swagger.json - - - 200 - application/json;charset=utf-8 372.0291ms 2022-02-19 19:37:06.535 +08:00 [INF] Request starting HTTP/2 GET https://localhost:5000/abp/Swashbuckle/SetCsrfCookie application/json - 2022-02-19 19:37:06.542 +08:00 [INF] Executing endpoint 'Volo.Abp.Swashbuckle.AbpSwashbuckleController.SetCsrfCookie (Volo.Abp.Swashbuckle)' 2022-02-19 19:37:06.545 +08:00 [INF] Route matched with {area = "Abp", action = "SetCsrfCookie", controller = "AbpSwashbuckle", page = ""}. Executing controller action with signature Void SetCsrfCookie() on controller Volo.Abp.Swashbuckle.AbpSwashbuckleController (Volo.Abp.Swashbuckle). 2022-02-19 19:37:06.689 +08:00 [INF] Executing action method Volo.Abp.Swashbuckle.AbpSwashbuckleController.SetCsrfCookie (Volo.Abp.Swashbuckle) - Validation state: "Valid" 2022-02-19 19:37:06.726 +08:00 [INF] Executed action method Volo.Abp.Swashbuckle.AbpSwashbuckleController.SetCsrfCookie (Volo.Abp.Swashbuckle), returned result Microsoft.AspNetCore.Mvc.EmptyResult in 37.5568ms. 2022-02-19 19:37:06.728 +08:00 [INF] Executed action Volo.Abp.Swashbuckle.AbpSwashbuckleController.SetCsrfCookie (Volo.Abp.Swashbuckle) in 182.7319ms 2022-02-19 19:37:06.728 +08:00 [INF] Executed endpoint 'Volo.Abp.Swashbuckle.AbpSwashbuckleController.SetCsrfCookie (Volo.Abp.Swashbuckle)' 2022-02-19 19:37:06.729 +08:00 [INF] Request finished HTTP/2 GET https://localhost:5000/abp/Swashbuckle/SetCsrfCookie application/json - - 204 - - 194.2454ms 2022-02-19 19:37:06.884 +08:00 [INF] Request starting HTTP/2 POST https://localhost:5000/api/PPlan/add application/json 363 2022-02-19 19:37:06.895 +08:00 [INF] CORS policy execution failed. 2022-02-19 19:37:06.895 +08:00 [INF] Request origin https://localhost:5000 does not have permission to access the resource. 2022-02-19 19:37:06.901 +08:00 [INF] Executing endpoint 'WmsWebApi.PPlan.PPlanService.AddAsync (WmsWebApi.Application)' 2022-02-19 19:37:06.944 +08:00 [INF] Route matched with {action = "Add", controller = "PPlan", area = "", page = ""}. Executing controller action with signature System.Threading.Tasks.Task`1[WmsWebApi.PPlan.ReturnResult] AddAsync(System.Object) on controller WmsWebApi.PPlan.PPlanService (WmsWebApi.Application). 2022-02-19 19:37:08.749 +08:00 [INF] Executing action method WmsWebApi.PPlan.PPlanService.AddAsync (WmsWebApi.Application) - Validation state: "Valid" 2022-02-19 19:37:13.772 +08:00 [WRN] No type was specified for the decimal property 'BMENG' on entity type 'WmsWebApiBOMDTO'. This will cause values to be silently truncated if they do not fit in the default precision and scale. Explicitly specify the SQL server column type that can accommodate all the values in 'OnModelCreating' using 'HasColumnType()', specify precision and scale using 'HasPrecision()' or configure a value converter using 'HasConversion()'. 2022-02-19 19:37:13.772 +08:00 [WRN] No type was specified for the decimal property 'GSMNG' on entity type 'WmsWebApiPPLANDTO'. This will cause values to be silently truncated if they do not fit in the default precision and scale. Explicitly specify the SQL server column type that can accommodate all the values in 'OnModelCreating' using 'HasColumnType()', specify precision and scale using 'HasPrecision()' or configure a value converter using 'HasConversion()'. 2022-02-19 19:37:13.772 +08:00 [WRN] No type was specified for the decimal property 'Qty' on entity type 'TA_BOM'. This will cause values to be silently truncated if they do not fit in the default precision and scale. Explicitly specify the SQL server column type that can accommodate all the values in 'OnModelCreating' using 'HasColumnType()', specify precision and scale using 'HasPrecision()' or configure a value converter using 'HasConversion()'. 2022-02-19 19:37:13.772 +08:00 [WRN] No type was specified for the decimal property 'CustPackQty' on entity type 'TA_CUST_PART'. This will cause values to be silently truncated if they do not fit in the default precision and scale. Explicitly specify the SQL server column type that can accommodate all the values in 'OnModelCreating' using 'HasColumnType()', specify precision and scale using 'HasPrecision()' or configure a value converter using 'HasConversion()'. 2022-02-19 19:37:13.772 +08:00 [WRN] No type was specified for the decimal property 'CustPalletCapacity' on entity type 'TA_CUST_PART'. This will cause values to be silently truncated if they do not fit in the default precision and scale. Explicitly specify the SQL server column type that can accommodate all the values in 'OnModelCreating' using 'HasColumnType()', specify precision and scale using 'HasPrecision()' or configure a value converter using 'HasConversion()'. 2022-02-19 19:37:13.772 +08:00 [WRN] No type was specified for the decimal property 'ContainerQty' on entity type 'TA_PART'. This will cause values to be silently truncated if they do not fit in the default precision and scale. Explicitly specify the SQL server column type that can accommodate all the values in 'OnModelCreating' using 'HasColumnType()', specify precision and scale using 'HasPrecision()' or configure a value converter using 'HasConversion()'. 2022-02-19 19:37:13.772 +08:00 [WRN] No type was specified for the decimal property 'LinesidePackQty' on entity type 'TA_PART'. This will cause values to be silently truncated if they do not fit in the default precision and scale. Explicitly specify the SQL server column type that can accommodate all the values in 'OnModelCreating' using 'HasColumnType()', specify precision and scale using 'HasPrecision()' or configure a value converter using 'HasConversion()'. 2022-02-19 19:37:13.772 +08:00 [WRN] No type was specified for the decimal property 'MaxQty' on entity type 'TA_PART'. This will cause values to be silently truncated if they do not fit in the default precision and scale. Explicitly specify the SQL server column type that can accommodate all the values in 'OnModelCreating' using 'HasColumnType()', specify precision and scale using 'HasPrecision()' or configure a value converter using 'HasConversion()'. 2022-02-19 19:37:13.772 +08:00 [WRN] No type was specified for the decimal property 'MinQty' on entity type 'TA_PART'. This will cause values to be silently truncated if they do not fit in the default precision and scale. Explicitly specify the SQL server column type that can accommodate all the values in 'OnModelCreating' using 'HasColumnType()', specify precision and scale using 'HasPrecision()' or configure a value converter using 'HasConversion()'. 2022-02-19 19:37:13.772 +08:00 [WRN] No type was specified for the decimal property 'SafeQty' on entity type 'TA_PART'. This will cause values to be silently truncated if they do not fit in the default precision and scale. Explicitly specify the SQL server column type that can accommodate all the values in 'OnModelCreating' using 'HasColumnType()', specify precision and scale using 'HasPrecision()' or configure a value converter using 'HasConversion()'. 2022-02-19 19:37:13.773 +08:00 [WRN] No type was specified for the decimal property 'SamplePercent' on entity type 'TA_PART'. This will cause values to be silently truncated if they do not fit in the default precision and scale. Explicitly specify the SQL server column type that can accommodate all the values in 'OnModelCreating' using 'HasColumnType()', specify precision and scale using 'HasPrecision()' or configure a value converter using 'HasConversion()'. 2022-02-19 19:37:13.773 +08:00 [WRN] No type was specified for the decimal property 'SingleWeight' on entity type 'TA_PART'. This will cause values to be silently truncated if they do not fit in the default precision and scale. Explicitly specify the SQL server column type that can accommodate all the values in 'OnModelCreating' using 'HasColumnType()', specify precision and scale using 'HasPrecision()' or configure a value converter using 'HasConversion()'. 2022-02-19 19:37:13.773 +08:00 [WRN] No type was specified for the decimal property 'StockPackQty' on entity type 'TA_PART'. This will cause values to be silently truncated if they do not fit in the default precision and scale. Explicitly specify the SQL server column type that can accommodate all the values in 'OnModelCreating' using 'HasColumnType()', specify precision and scale using 'HasPrecision()' or configure a value converter using 'HasConversion()'. 2022-02-19 19:37:13.773 +08:00 [WRN] No type was specified for the decimal property 'BarCodeQty' on entity type 'TM_PG_PLAN'. This will cause values to be silently truncated if they do not fit in the default precision and scale. Explicitly specify the SQL server column type that can accommodate all the values in 'OnModelCreating' using 'HasColumnType()', specify precision and scale using 'HasPrecision()' or configure a value converter using 'HasConversion()'. 2022-02-19 19:37:13.773 +08:00 [WRN] No type was specified for the decimal property 'FinishedQty' on entity type 'TM_PG_PLAN'. This will cause values to be silently truncated if they do not fit in the default precision and scale. Explicitly specify the SQL server column type that can accommodate all the values in 'OnModelCreating' using 'HasColumnType()', specify precision and scale using 'HasPrecision()' or configure a value converter using 'HasConversion()'. 2022-02-19 19:37:13.773 +08:00 [WRN] No type was specified for the decimal property 'InQty' on entity type 'TM_PG_PLAN'. This will cause values to be silently truncated if they do not fit in the default precision and scale. Explicitly specify the SQL server column type that can accommodate all the values in 'OnModelCreating' using 'HasColumnType()', specify precision and scale using 'HasPrecision()' or configure a value converter using 'HasConversion()'. 2022-02-19 19:37:13.773 +08:00 [WRN] No type was specified for the decimal property 'NotInQty' on entity type 'TM_PG_PLAN'. This will cause values to be silently truncated if they do not fit in the default precision and scale. Explicitly specify the SQL server column type that can accommodate all the values in 'OnModelCreating' using 'HasColumnType()', specify precision and scale using 'HasPrecision()' or configure a value converter using 'HasConversion()'. 2022-02-19 19:37:13.774 +08:00 [WRN] No type was specified for the decimal property 'PackQty' on entity type 'TM_PG_PLAN'. This will cause values to be silently truncated if they do not fit in the default precision and scale. Explicitly specify the SQL server column type that can accommodate all the values in 'OnModelCreating' using 'HasColumnType()', specify precision and scale using 'HasPrecision()' or configure a value converter using 'HasConversion()'. 2022-02-19 19:37:13.774 +08:00 [WRN] No type was specified for the decimal property 'Qty' on entity type 'TM_PG_PLAN'. This will cause values to be silently truncated if they do not fit in the default precision and scale. Explicitly specify the SQL server column type that can accommodate all the values in 'OnModelCreating' using 'HasColumnType()', specify precision and scale using 'HasPrecision()' or configure a value converter using 'HasConversion()'. 2022-02-19 19:37:14.096 +08:00 [INF] Entity Framework Core 5.0.14 initialized 'WmsWebApiDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: QuerySplittingBehavior=SplitQuery 2022-02-19 19:37:15.841 +08:00 [INF] Executed DbCommand (163ms) [Parameters=[@___planDto_MATNR_0='?' (Size = 50)], CommandType='"Text"', CommandTimeout='30'] SELECT TOP(1) [t].[UID], [t].[AbcClass], [t].[CertificateOfQuality], [t].[Configuration], [t].[ContainerQty], [t].[DefaultBackFlushLocCode], [t].[DefaultReceiveLocCode], [t].[DistributionType], [t].[DrawingNumber], [t].[ErpPartCode], [t].[InspectType], [t].[Inspecter], [t].[IsAskMerge], [t].[IsConsign], [t].[IsDeposit], [t].[IsNoInterface], [t].[IsTransfer], [t].[LabelTemplate], [t].[LinesidePackQty], [t].[ManageType], [t].[MaxQty], [t].[MinQty], [t].[PalletSize], [t].[PalletTemplate], [t].[PartCode], [t].[PartDesc1], [t].[PartDesc2], [t].[PartGroup], [t].[PartKind], [t].[PartType], [t].[Process], [t].[ProjectId], [t].[Promo], [t].[QLevel], [t].[ReceivePort], [t].[Remark], [t].[SafeQty], [t].[SamplePercent], [t].[SingleWeight], [t].[Source], [t].[State], [t].[StockPackQty], [t].[StoreKeeper], [t].[Unit], [t].[ValidityDays] FROM [TA_PART] AS [t] WHERE [t].[PartCode] = @___planDto_MATNR_0 2022-02-19 19:37:16.430 +08:00 [INF] Executed DbCommand (62ms) [Parameters=[@___billnum_0='?' (Size = 64)], CommandType='"Text"', CommandTimeout='30'] SELECT TOP(1) [t].[UID], [t].[AccountDate], [t].[BillNum], [t].[BillTime], [t].[BillType], [t].[CustId], [t].[DetailQty], [t].[DockCode], [t].[FinishTime], [t].[GateCode], [t].[GateName], [t].[Guid], [t].[OperName], [t].[ProjectId], [t].[Remark], [t].[SourceBillNum], [t].[SourceBillNum2], [t].[SourceBillNum3], [t].[StartTime], [t].[State], [t].[SubBillType], [t].[TransportType], [t].[TruckNum], [t].[VendId] FROM [TB_BILL] AS [t] WHERE [t].[BillNum] = @___billnum_0 2022-02-19 19:37:16.724 +08:00 [INF] Executed DbCommand (57ms) [Parameters=[@___planDto_PEDTR_0='?' (Size = 450), @___planDto_SCHGRUP_1='?' (Size = 4000), @___planDto_KAPTPROG_2='?' (Size = 450), @___planDto_MATNR_3='?' (Size = 450)], CommandType='"Text"', CommandTimeout='30'] SELECT TOP(1) [t].[PartCode], [t].[BillNum], [t].[PlanTime], [t].[PlanShiftName], [t].[BarCodeQty], [t].[BillLine], [t].[BomVersion], [t].[FinishedQty], [t].[Group], [t].[House], [t].[UID], [t].[InQty], [t].[IsPrinted], [t].[IsProduct], [t].[ModifyTime], [t].[NotInQty], [t].[PackQty], [t].[PlannedOrderParameter], [t].[Qty], [t].[Remark], [t].[Seq], [t].[ShiftName], [t].[State] FROM [TM_PG_PLAN] AS [t] WHERE ((([t].[PlanTime] = @___planDto_PEDTR_0) AND ([t].[Group] = @___planDto_SCHGRUP_1)) AND ([t].[PlanShiftName] = @___planDto_KAPTPROG_2)) AND ([t].[PartCode] = @___planDto_MATNR_3) 2022-02-19 19:37:36.961 +08:00 [INF] Executed action method WmsWebApi.PPlan.PPlanService.AddAsync (WmsWebApi.Application), returned result Microsoft.AspNetCore.Mvc.ObjectResult in 28211.649ms. 2022-02-19 19:37:37.167 +08:00 [ERR] Failed executing DbCommand (40ms) [Parameters=[@p0='?' (DbType = Guid), @p1='?' (Size = 4000), @p2='?' (DbType = DateTime2), @p3='?' (Precision = 18) (Scale = 2) (DbType = Decimal), @p4='?' (Size = 4000), @p5='?' (Size = 4000), @p6='?' (Size = 4000), @p7='?' (Size = 4000), @p8='?' (Size = 4000), @p9='?' (Size = 4000), @p10='?' (Size = 4000), @p11='?' (Size = 4000), @p12='?' (Size = 4000), @p13='?' (Size = 4000), @p14='?' (Size = 4000), @p15='?' (Size = 4000), @p16='?' (Size = 4000), @p17='?' (Size = 4000), @p18='?' (Size = 4000), @p19='?' (Size = 4000)], CommandType='"Text"', CommandTimeout='30'] SET NOCOUNT ON; INSERT INTO [PPlanDtos] ([Id], [DISPO], [DYSJ], [GSMNG], [ITYPE], [JSON], [KAPTPROG], [MAKTX], [MATNR], [PEDTR], [SCHGRUP], [VERID], [WERKS], [XUBNAME], [ZBZSM], [ZCDATE], [ZCTIME], [ZMACD], [ZMATX], [ZSCSX]) VALUES (@p0, @p1, @p2, @p3, @p4, @p5, @p6, @p7, @p8, @p9, @p10, @p11, @p12, @p13, @p14, @p15, @p16, @p17, @p18, @p19); 2022-02-19 19:37:37.300 +08:00 [ERR] An exception occurred in the database while saving changes for context type 'WmsWebApi.EntityFrameworkCore.WmsWebApiDbContext'. Microsoft.EntityFrameworkCore.DbUpdateException: An error occurred while updating the entries. See the inner exception for details. ---> Microsoft.Data.SqlClient.SqlException (0x80131904): 对象名 'PPlanDtos' 无效。 at Microsoft.Data.SqlClient.SqlCommand.<>c.b__169_0(Task`1 result) at System.Threading.Tasks.ContinuationResultTaskFromResultTask`2.InnerInvoke() at System.Threading.Tasks.Task.<>c.<.cctor>b__277_0(Object obj) at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state) --- End of stack trace from previous location --- at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread) --- End of stack trace from previous location --- at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.ExecuteAsync(IRelationalConnection connection, CancellationToken cancellationToken) ClientConnectionId:2240e9a6-7cbd-4485-bbd4-e4e96c405d05 Error Number:208,State:1,Class:16 --- End of inner exception stack trace --- at Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.ExecuteAsync(IRelationalConnection connection, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChangesAsync(IList`1 entriesToSave, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChangesAsync(DbContext _, Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.SqlServer.Storage.Internal.SqlServerExecutionStrategy.ExecuteAsync[TState,TResult](TState state, Func`4 operation, Func`4 verifySucceeded, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.DbContext.SaveChangesAsync(Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken) Microsoft.EntityFrameworkCore.DbUpdateException: An error occurred while updating the entries. See the inner exception for details. ---> Microsoft.Data.SqlClient.SqlException (0x80131904): 对象名 'PPlanDtos' 无效。 at Microsoft.Data.SqlClient.SqlCommand.<>c.b__169_0(Task`1 result) at System.Threading.Tasks.ContinuationResultTaskFromResultTask`2.InnerInvoke() at System.Threading.Tasks.Task.<>c.<.cctor>b__277_0(Object obj) at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state) --- End of stack trace from previous location --- at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread) --- End of stack trace from previous location --- at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.ExecuteAsync(IRelationalConnection connection, CancellationToken cancellationToken) ClientConnectionId:2240e9a6-7cbd-4485-bbd4-e4e96c405d05 Error Number:208,State:1,Class:16 --- End of inner exception stack trace --- at Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.ExecuteAsync(IRelationalConnection connection, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChangesAsync(IList`1 entriesToSave, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChangesAsync(DbContext _, Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.SqlServer.Storage.Internal.SqlServerExecutionStrategy.ExecuteAsync[TState,TResult](TState state, Func`4 operation, Func`4 verifySucceeded, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.DbContext.SaveChangesAsync(Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.DbContext.SaveChangesAsync(Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken) at Volo.Abp.EntityFrameworkCore.AbpDbContext`1.SaveChangesAsync(Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken) at Volo.Abp.Uow.UnitOfWork.SaveChangesAsync(CancellationToken cancellationToken) 2022-02-19 19:37:37.418 +08:00 [ERR] ---------- RemoteServiceErrorInfo ---------- { "code": null, "message": "An internal error occurred during your request!", "details": null, "data": {}, "validationErrors": null } 2022-02-19 19:37:37.419 +08:00 [ERR] An error occurred while updating the entries. See the inner exception for details. Microsoft.EntityFrameworkCore.DbUpdateException: An error occurred while updating the entries. See the inner exception for details. ---> Microsoft.Data.SqlClient.SqlException (0x80131904): 对象名 'PPlanDtos' 无效。 at Microsoft.Data.SqlClient.SqlCommand.<>c.b__169_0(Task`1 result) at System.Threading.Tasks.ContinuationResultTaskFromResultTask`2.InnerInvoke() at System.Threading.Tasks.Task.<>c.<.cctor>b__277_0(Object obj) at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state) --- End of stack trace from previous location --- at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread) --- End of stack trace from previous location --- at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.ExecuteAsync(IRelationalConnection connection, CancellationToken cancellationToken) ClientConnectionId:2240e9a6-7cbd-4485-bbd4-e4e96c405d05 Error Number:208,State:1,Class:16 --- End of inner exception stack trace --- at Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.ExecuteAsync(IRelationalConnection connection, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChangesAsync(IList`1 entriesToSave, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChangesAsync(DbContext _, Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.SqlServer.Storage.Internal.SqlServerExecutionStrategy.ExecuteAsync[TState,TResult](TState state, Func`4 operation, Func`4 verifySucceeded, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.DbContext.SaveChangesAsync(Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.DbContext.SaveChangesAsync(Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken) at Volo.Abp.EntityFrameworkCore.AbpDbContext`1.SaveChangesAsync(Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken) at Volo.Abp.Uow.UnitOfWork.SaveChangesAsync(CancellationToken cancellationToken) at Volo.Abp.Uow.UnitOfWork.CompleteAsync(CancellationToken cancellationToken) at Volo.Abp.AspNetCore.Mvc.Uow.AbpUowActionFilter.OnActionExecutionAsync(ActionExecutingContext context, ActionExecutionDelegate next) at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.g__Awaited|10_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted) at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context) at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted) at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.g__Awaited|13_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted) at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.g__Awaited|25_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted) 2022-02-19 19:37:37.440 +08:00 [INF] Executing ObjectResult, writing value of type 'Volo.Abp.Http.RemoteServiceErrorResponse'. 2022-02-19 19:37:37.460 +08:00 [INF] Executed action WmsWebApi.PPlan.PPlanService.AddAsync (WmsWebApi.Application) in 30515.618ms 2022-02-19 19:37:37.461 +08:00 [INF] Executed endpoint 'WmsWebApi.PPlan.PPlanService.AddAsync (WmsWebApi.Application)' 2022-02-19 19:37:37.988 +08:00 [INF] Entity Framework Core 5.0.14 initialized 'AbpAuditLoggingDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: QuerySplittingBehavior=SplitQuery 2022-02-19 19:37:38.532 +08:00 [ERR] Failed executing DbCommand (47ms) [Parameters=[@p0='?' (DbType = Guid), @p1='?' (Size = 96), @p2='?' (Size = 512), @p3='?' (Size = 64), @p4='?' (Size = 64), @p5='?' (Size = 128), @p6='?' (Size = 256), @p7='?' (Size = 40), @p8='?' (Size = 64), @p9='?' (Size = -1), @p10='?' (DbType = Int32), @p11='?' (DbType = DateTime2), @p12='?' (Size = 4000), @p13='?' (Size = 16), @p14='?' (DbType = Int32), @p15='?' (DbType = Guid), @p16='?' (DbType = Guid), @p17='?' (DbType = Guid), @p18='?' (Size = 4000), @p19='?' (Size = 256), @p20='?' (DbType = Guid), @p21='?' (Size = 256)], CommandType='"Text"', CommandTimeout='30'] SET NOCOUNT ON; INSERT INTO [AbpAuditLogs] ([Id], [ApplicationName], [BrowserInfo], [ClientId], [ClientIpAddress], [ClientName], [Comments], [ConcurrencyStamp], [CorrelationId], [Exceptions], [ExecutionDuration], [ExecutionTime], [ExtraProperties], [HttpMethod], [HttpStatusCode], [ImpersonatorTenantId], [ImpersonatorUserId], [TenantId], [TenantName], [Url], [UserId], [UserName]) VALUES (@p0, @p1, @p2, @p3, @p4, @p5, @p6, @p7, @p8, @p9, @p10, @p11, @p12, @p13, @p14, @p15, @p16, @p17, @p18, @p19, @p20, @p21); 2022-02-19 19:37:38.579 +08:00 [ERR] An exception occurred in the database while saving changes for context type 'Volo.Abp.AuditLogging.EntityFrameworkCore.AbpAuditLoggingDbContext'. Microsoft.EntityFrameworkCore.DbUpdateException: An error occurred while updating the entries. See the inner exception for details. ---> Microsoft.Data.SqlClient.SqlException (0x80131904): 将截断字符串或二进制数据。 语句已终止。 at Microsoft.Data.SqlClient.SqlCommand.<>c.b__169_0(Task`1 result) at System.Threading.Tasks.ContinuationResultTaskFromResultTask`2.InnerInvoke() at System.Threading.Tasks.Task.<>c.<.cctor>b__277_0(Object obj) at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state) --- End of stack trace from previous location --- at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread) --- End of stack trace from previous location --- at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.ExecuteAsync(IRelationalConnection connection, CancellationToken cancellationToken) ClientConnectionId:a7dac32d-8bd2-4370-8ade-38a480c07cea Error Number:8152,State:10,Class:16 --- End of inner exception stack trace --- at Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.ExecuteAsync(IRelationalConnection connection, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChangesAsync(IList`1 entriesToSave, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChangesAsync(DbContext _, Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.SqlServer.Storage.Internal.SqlServerExecutionStrategy.ExecuteAsync[TState,TResult](TState state, Func`4 operation, Func`4 verifySucceeded, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.DbContext.SaveChangesAsync(Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken) Microsoft.EntityFrameworkCore.DbUpdateException: An error occurred while updating the entries. See the inner exception for details. ---> Microsoft.Data.SqlClient.SqlException (0x80131904): 将截断字符串或二进制数据。 语句已终止。 at Microsoft.Data.SqlClient.SqlCommand.<>c.b__169_0(Task`1 result) at System.Threading.Tasks.ContinuationResultTaskFromResultTask`2.InnerInvoke() at System.Threading.Tasks.Task.<>c.<.cctor>b__277_0(Object obj) at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state) --- End of stack trace from previous location --- at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread) --- End of stack trace from previous location --- at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.ExecuteAsync(IRelationalConnection connection, CancellationToken cancellationToken) ClientConnectionId:a7dac32d-8bd2-4370-8ade-38a480c07cea Error Number:8152,State:10,Class:16 --- End of inner exception stack trace --- at Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.ExecuteAsync(IRelationalConnection connection, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChangesAsync(IList`1 entriesToSave, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChangesAsync(DbContext _, Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.SqlServer.Storage.Internal.SqlServerExecutionStrategy.ExecuteAsync[TState,TResult](TState state, Func`4 operation, Func`4 verifySucceeded, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.DbContext.SaveChangesAsync(Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.DbContext.SaveChangesAsync(Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken) at Volo.Abp.EntityFrameworkCore.AbpDbContext`1.SaveChangesAsync(Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken) at Volo.Abp.Uow.UnitOfWork.SaveChangesAsync(CancellationToken cancellationToken) at Volo.Abp.Uow.UnitOfWork.CompleteAsync(CancellationToken cancellationToken) 2022-02-19 19:37:38.597 +08:00 [WRN] Could not save the audit log object: AUDIT LOG: [500: POST ] /api/PPlan/add - UserName - UserId : - - ClientIpAddress : ::1 - ExecutionDuration : 30567 - Actions: - WmsWebApi.PPlan.PPlanService.AddAsync (28650 ms.) {"content":{"valueKind":1}} - Exceptions: - An error occurred while updating the entries. See the inner exception for details. Microsoft.EntityFrameworkCore.DbUpdateException: An error occurred while updating the entries. See the inner exception for details. ---> Microsoft.Data.SqlClient.SqlException (0x80131904): 对象名 'PPlanDtos' 无效。 at Microsoft.Data.SqlClient.SqlCommand.<>c.b__169_0(Task`1 result) at System.Threading.Tasks.ContinuationResultTaskFromResultTask`2.InnerInvoke() at System.Threading.Tasks.Task.<>c.<.cctor>b__277_0(Object obj) at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state) --- End of stack trace from previous location --- at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread) --- End of stack trace from previous location --- at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.ExecuteAsync(IRelationalConnection connection, CancellationToken cancellationToken) ClientConnectionId:2240e9a6-7cbd-4485-bbd4-e4e96c405d05 Error Number:208,State:1,Class:16 --- End of inner exception stack trace --- at Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.ExecuteAsync(IRelationalConnection connection, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChangesAsync(IList`1 entriesToSave, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChangesAsync(DbContext _, Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.SqlServer.Storage.Internal.SqlServerExecutionStrategy.ExecuteAsync[TState,TResult](TState state, Func`4 operation, Func`4 verifySucceeded, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.DbContext.SaveChangesAsync(Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.DbContext.SaveChangesAsync(Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken) at Volo.Abp.EntityFrameworkCore.AbpDbContext`1.SaveChangesAsync(Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken) at Volo.Abp.Uow.UnitOfWork.SaveChangesAsync(CancellationToken cancellationToken) at Volo.Abp.Uow.UnitOfWork.CompleteAsync(CancellationToken cancellationToken) at Volo.Abp.AspNetCore.Mvc.Uow.AbpUowActionFilter.OnActionExecutionAsync(ActionExecutingContext context, ActionExecutionDelegate next) at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.g__Awaited|10_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted) at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context) at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted) at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.g__Awaited|13_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted) at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.g__Awaited|25_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted) 2022-02-19 19:37:38.597 +08:00 [ERR] An error occurred while updating the entries. See the inner exception for details. Microsoft.EntityFrameworkCore.DbUpdateException: An error occurred while updating the entries. See the inner exception for details. ---> Microsoft.Data.SqlClient.SqlException (0x80131904): 将截断字符串或二进制数据。 语句已终止。 at Microsoft.Data.SqlClient.SqlCommand.<>c.b__169_0(Task`1 result) at System.Threading.Tasks.ContinuationResultTaskFromResultTask`2.InnerInvoke() at System.Threading.Tasks.Task.<>c.<.cctor>b__277_0(Object obj) at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state) --- End of stack trace from previous location --- at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread) --- End of stack trace from previous location --- at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.ExecuteAsync(IRelationalConnection connection, CancellationToken cancellationToken) ClientConnectionId:a7dac32d-8bd2-4370-8ade-38a480c07cea Error Number:8152,State:10,Class:16 --- End of inner exception stack trace --- at Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.ExecuteAsync(IRelationalConnection connection, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChangesAsync(IList`1 entriesToSave, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChangesAsync(DbContext _, Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.SqlServer.Storage.Internal.SqlServerExecutionStrategy.ExecuteAsync[TState,TResult](TState state, Func`4 operation, Func`4 verifySucceeded, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.DbContext.SaveChangesAsync(Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.DbContext.SaveChangesAsync(Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken) at Volo.Abp.EntityFrameworkCore.AbpDbContext`1.SaveChangesAsync(Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken) at Volo.Abp.Uow.UnitOfWork.SaveChangesAsync(CancellationToken cancellationToken) at Volo.Abp.Uow.UnitOfWork.CompleteAsync(CancellationToken cancellationToken) at Volo.Abp.AuditLogging.AuditingStore.SaveLogAsync(AuditLogInfo auditInfo) at Volo.Abp.AuditLogging.AuditingStore.SaveAsync(AuditLogInfo auditInfo) 2022-02-19 19:37:38.601 +08:00 [INF] Request finished HTTP/2 POST https://localhost:5000/api/PPlan/add application/json 363 - 500 - application/json;+charset=utf-8 31717.0959ms 2022-02-19 19:46:24.376 +08:00 [INF] Starting web host. 2022-02-19 19:46:32.076 +08:00 [INF] User profile is available. Using 'C:\Users\lvcj2\AppData\Local\ASP.NET\DataProtection-Keys' as key repository and Windows DPAPI to encrypt keys at rest. 2022-02-19 19:46:32.514 +08:00 [INF] Loaded ABP modules: 2022-02-19 19:46:32.514 +08:00 [INF] - WmsWebApi.WmsWebApiHttpApiHostModule 2022-02-19 19:46:32.514 +08:00 [INF] - WmsWebApi.WmsWebApiApplicationModule 2022-02-19 19:46:32.514 +08:00 [INF] - WmsWebApi.WmsWebApiDomainModule 2022-02-19 19:46:32.514 +08:00 [INF] - Volo.Abp.Domain.AbpDddDomainModule 2022-02-19 19:46:32.514 +08:00 [INF] - Volo.Abp.Auditing.AbpAuditingModule 2022-02-19 19:46:32.514 +08:00 [INF] - Volo.Abp.Data.AbpDataModule 2022-02-19 19:46:32.514 +08:00 [INF] - Volo.Abp.ObjectExtending.AbpObjectExtendingModule 2022-02-19 19:46:32.514 +08:00 [INF] - Volo.Abp.Localization.AbpLocalizationAbstractionsModule 2022-02-19 19:46:32.514 +08:00 [INF] - Volo.Abp.Validation.AbpValidationAbstractionsModule 2022-02-19 19:46:32.514 +08:00 [INF] - Volo.Abp.Uow.AbpUnitOfWorkModule 2022-02-19 19:46:32.514 +08:00 [INF] - Volo.Abp.EventBus.Abstractions.AbpEventBusAbstractionsModule 2022-02-19 19:46:32.514 +08:00 [INF] - Volo.Abp.Json.AbpJsonModule 2022-02-19 19:46:32.514 +08:00 [INF] - Volo.Abp.Timing.AbpTimingModule 2022-02-19 19:46:32.514 +08:00 [INF] - Volo.Abp.Localization.AbpLocalizationModule 2022-02-19 19:46:32.514 +08:00 [INF] - Volo.Abp.VirtualFileSystem.AbpVirtualFileSystemModule 2022-02-19 19:46:32.514 +08:00 [INF] - Volo.Abp.Settings.AbpSettingsModule 2022-02-19 19:46:32.514 +08:00 [INF] - Volo.Abp.Security.AbpSecurityModule 2022-02-19 19:46:32.514 +08:00 [INF] - Volo.Abp.MultiTenancy.AbpMultiTenancyModule 2022-02-19 19:46:32.514 +08:00 [INF] - Volo.Abp.Threading.AbpThreadingModule 2022-02-19 19:46:32.514 +08:00 [INF] - Volo.Abp.EventBus.AbpEventBusModule 2022-02-19 19:46:32.514 +08:00 [INF] - Volo.Abp.Guids.AbpGuidsModule 2022-02-19 19:46:32.514 +08:00 [INF] - Volo.Abp.ObjectMapping.AbpObjectMappingModule 2022-02-19 19:46:32.514 +08:00 [INF] - Volo.Abp.ExceptionHandling.AbpExceptionHandlingModule 2022-02-19 19:46:32.515 +08:00 [INF] - Volo.Abp.Specifications.AbpSpecificationsModule 2022-02-19 19:46:32.515 +08:00 [INF] - WmsWebApi.WmsWebApiDomainSharedModule 2022-02-19 19:46:32.515 +08:00 [INF] - Volo.Abp.Validation.AbpValidationModule 2022-02-19 19:46:32.515 +08:00 [INF] - WmsWebApi.WmsWebApiApplicationContractsModule 2022-02-19 19:46:32.515 +08:00 [INF] - Volo.Abp.Application.AbpDddApplicationContractsModule 2022-02-19 19:46:32.515 +08:00 [INF] - Volo.Abp.Authorization.AbpAuthorizationModule 2022-02-19 19:46:32.515 +08:00 [INF] - Volo.Abp.Authorization.AbpAuthorizationAbstractionsModule 2022-02-19 19:46:32.515 +08:00 [INF] - Volo.Abp.Application.AbpDddApplicationModule 2022-02-19 19:46:32.515 +08:00 [INF] - Volo.Abp.Http.AbpHttpAbstractionsModule 2022-02-19 19:46:32.515 +08:00 [INF] - Volo.Abp.Features.AbpFeaturesModule 2022-02-19 19:46:32.516 +08:00 [INF] - Volo.Abp.GlobalFeatures.AbpGlobalFeaturesModule 2022-02-19 19:46:32.516 +08:00 [INF] - Volo.Abp.AutoMapper.AbpAutoMapperModule 2022-02-19 19:46:32.516 +08:00 [INF] - WmsWebApi.EntityFrameworkCore.WmsWebApiEntityFrameworkCoreModule 2022-02-19 19:46:32.516 +08:00 [INF] - Volo.Abp.EntityFrameworkCore.AbpEntityFrameworkCoreModule 2022-02-19 19:46:32.516 +08:00 [INF] - Volo.Abp.Dapper.AbpDapperModule 2022-02-19 19:46:32.516 +08:00 [INF] - WmsWebApi.WmsWebApiHttpApiModule 2022-02-19 19:46:32.516 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.AbpAspNetCoreMvcModule 2022-02-19 19:46:32.516 +08:00 [INF] - Volo.Abp.AspNetCore.AbpAspNetCoreModule 2022-02-19 19:46:32.516 +08:00 [INF] - Volo.Abp.Http.AbpHttpModule 2022-02-19 19:46:32.516 +08:00 [INF] - Volo.Abp.Minify.AbpMinifyModule 2022-02-19 19:46:32.516 +08:00 [INF] - Volo.Abp.ApiVersioning.AbpApiVersioningAbstractionsModule 2022-02-19 19:46:32.516 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.AbpAspNetCoreMvcContractsModule 2022-02-19 19:46:32.516 +08:00 [INF] - Volo.Abp.UI.Navigation.AbpUiNavigationModule 2022-02-19 19:46:32.516 +08:00 [INF] - Volo.Abp.UI.AbpUiModule 2022-02-19 19:46:32.516 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.MultiTenancy.AbpAspNetCoreMvcUiMultiTenancyModule 2022-02-19 19:46:32.516 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Theme.Shared.AbpAspNetCoreMvcUiThemeSharedModule 2022-02-19 19:46:32.516 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.AbpAspNetCoreMvcUiBootstrapModule 2022-02-19 19:46:32.516 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.AbpAspNetCoreMvcUiModule 2022-02-19 19:46:32.516 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Packages.AbpAspNetCoreMvcUiPackagesModule 2022-02-19 19:46:32.516 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Bundling.AbpAspNetCoreMvcUiBundlingAbstractionsModule 2022-02-19 19:46:32.516 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Widgets.AbpAspNetCoreMvcUiWidgetsModule 2022-02-19 19:46:32.516 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Bundling.AbpAspNetCoreMvcUiBundlingModule 2022-02-19 19:46:32.516 +08:00 [INF] - Volo.Abp.AspNetCore.MultiTenancy.AbpAspNetCoreMultiTenancyModule 2022-02-19 19:46:32.516 +08:00 [INF] - Volo.Abp.Autofac.AbpAutofacModule 2022-02-19 19:46:32.516 +08:00 [INF] - Volo.Abp.Castle.AbpCastleCoreModule 2022-02-19 19:46:32.516 +08:00 [INF] - Volo.Abp.Caching.StackExchangeRedis.AbpCachingStackExchangeRedisModule 2022-02-19 19:46:32.516 +08:00 [INF] - Volo.Abp.Caching.AbpCachingModule 2022-02-19 19:46:32.516 +08:00 [INF] - Volo.Abp.Serialization.AbpSerializationModule 2022-02-19 19:46:32.517 +08:00 [INF] - Volo.Abp.EntityFrameworkCore.SqlServer.AbpEntityFrameworkCoreSqlServerModule 2022-02-19 19:46:32.517 +08:00 [INF] - Volo.Abp.AuditLogging.EntityFrameworkCore.AbpAuditLoggingEntityFrameworkCoreModule 2022-02-19 19:46:32.517 +08:00 [INF] - Volo.Abp.AuditLogging.AbpAuditLoggingDomainModule 2022-02-19 19:46:32.517 +08:00 [INF] - Volo.Abp.AuditLogging.AbpAuditLoggingDomainSharedModule 2022-02-19 19:46:32.517 +08:00 [INF] - Volo.Abp.PermissionManagement.EntityFrameworkCore.AbpPermissionManagementEntityFrameworkCoreModule 2022-02-19 19:46:32.517 +08:00 [INF] - Volo.Abp.PermissionManagement.AbpPermissionManagementDomainModule 2022-02-19 19:46:32.517 +08:00 [INF] - Volo.Abp.PermissionManagement.AbpPermissionManagementDomainSharedModule 2022-02-19 19:46:32.517 +08:00 [INF] - Volo.Abp.SettingManagement.EntityFrameworkCore.AbpSettingManagementEntityFrameworkCoreModule 2022-02-19 19:46:32.517 +08:00 [INF] - Volo.Abp.SettingManagement.AbpSettingManagementDomainModule 2022-02-19 19:46:32.517 +08:00 [INF] - Volo.Abp.SettingManagement.AbpSettingManagementDomainSharedModule 2022-02-19 19:46:32.517 +08:00 [INF] - Volo.Abp.AspNetCore.Serilog.AbpAspNetCoreSerilogModule 2022-02-19 19:46:32.517 +08:00 [INF] - Volo.Abp.Swashbuckle.AbpSwashbuckleModule 2022-02-19 19:46:34.490 +08:00 [INF] Initialized all ABP modules. 2022-02-19 19:46:35.469 +08:00 [INF] Now listening on: https://localhost:5000 2022-02-19 19:46:35.470 +08:00 [INF] Application started. Press Ctrl+C to shut down. 2022-02-19 19:46:35.470 +08:00 [INF] Hosting environment: Development 2022-02-19 19:46:35.470 +08:00 [INF] Content root path: D:\工作\派格\接口程序\WmsWebApi\host\WmsWebApi.HttpApi.Host 2022-02-19 19:46:41.559 +08:00 [INF] Request starting HTTP/2 GET https://localhost:5000/ - - 2022-02-19 19:46:45.941 +08:00 [INF] Executing endpoint 'WmsWebApi.Controllers.HomeController.Index (WmsWebApi.HttpApi.Host)' 2022-02-19 19:46:46.113 +08:00 [INF] Route matched with {action = "Index", controller = "Home", area = "", page = ""}. Executing controller action with signature Microsoft.AspNetCore.Mvc.ActionResult Index() on controller WmsWebApi.Controllers.HomeController (WmsWebApi.HttpApi.Host). 2022-02-19 19:46:46.588 +08:00 [INF] Executing action method WmsWebApi.Controllers.HomeController.Index (WmsWebApi.HttpApi.Host) - Validation state: "Valid" 2022-02-19 19:46:46.602 +08:00 [INF] Executed action method WmsWebApi.Controllers.HomeController.Index (WmsWebApi.HttpApi.Host), returned result Microsoft.AspNetCore.Mvc.RedirectResult in 0.7767ms. 2022-02-19 19:46:46.617 +08:00 [INF] Executing RedirectResult, redirecting to /swagger. 2022-02-19 19:46:46.634 +08:00 [INF] Executed action WmsWebApi.Controllers.HomeController.Index (WmsWebApi.HttpApi.Host) in 506.9436ms 2022-02-19 19:46:46.635 +08:00 [INF] Executed endpoint 'WmsWebApi.Controllers.HomeController.Index (WmsWebApi.HttpApi.Host)' 2022-02-19 19:46:46.704 +08:00 [INF] Request finished HTTP/2 GET https://localhost:5000/ - - - 302 0 - 5148.5885ms 2022-02-19 19:46:46.709 +08:00 [INF] Request starting HTTP/2 GET https://localhost:5000/swagger/index.html - - 2022-02-19 19:46:47.169 +08:00 [INF] Request finished HTTP/2 GET https://localhost:5000/swagger/index.html - - - 200 - text/html;charset=utf-8 460.6738ms 2022-02-19 19:46:47.882 +08:00 [INF] Request starting HTTP/2 GET https://localhost:5000/_framework/aspnetcore-browser-refresh.js - - 2022-02-19 19:46:47.890 +08:00 [INF] Request finished HTTP/2 GET https://localhost:5000/_framework/aspnetcore-browser-refresh.js - - - 200 11956 application/javascript;+charset=utf-8 7.6668ms 2022-02-19 19:46:48.572 +08:00 [INF] Request starting HTTP/2 GET https://localhost:5000/swagger/v1/swagger.json - - 2022-02-19 19:46:49.089 +08:00 [INF] Request finished HTTP/2 GET https://localhost:5000/swagger/v1/swagger.json - - - 200 - application/json;charset=utf-8 519.7141ms 2022-02-19 19:47:10.082 +08:00 [INF] Request starting HTTP/2 GET https://localhost:5000/abp/Swashbuckle/SetCsrfCookie application/json - 2022-02-19 19:47:10.088 +08:00 [INF] Executing endpoint 'Volo.Abp.Swashbuckle.AbpSwashbuckleController.SetCsrfCookie (Volo.Abp.Swashbuckle)' 2022-02-19 19:47:10.091 +08:00 [INF] Route matched with {area = "Abp", action = "SetCsrfCookie", controller = "AbpSwashbuckle", page = ""}. Executing controller action with signature Void SetCsrfCookie() on controller Volo.Abp.Swashbuckle.AbpSwashbuckleController (Volo.Abp.Swashbuckle). 2022-02-19 19:47:10.176 +08:00 [INF] Executing action method Volo.Abp.Swashbuckle.AbpSwashbuckleController.SetCsrfCookie (Volo.Abp.Swashbuckle) - Validation state: "Valid" 2022-02-19 19:47:10.195 +08:00 [INF] Executed action method Volo.Abp.Swashbuckle.AbpSwashbuckleController.SetCsrfCookie (Volo.Abp.Swashbuckle), returned result Microsoft.AspNetCore.Mvc.EmptyResult in 18.749ms. 2022-02-19 19:47:10.196 +08:00 [INF] Executed action Volo.Abp.Swashbuckle.AbpSwashbuckleController.SetCsrfCookie (Volo.Abp.Swashbuckle) in 104.5735ms 2022-02-19 19:47:10.196 +08:00 [INF] Executed endpoint 'Volo.Abp.Swashbuckle.AbpSwashbuckleController.SetCsrfCookie (Volo.Abp.Swashbuckle)' 2022-02-19 19:47:10.196 +08:00 [INF] Request finished HTTP/2 GET https://localhost:5000/abp/Swashbuckle/SetCsrfCookie application/json - - 204 - - 114.2726ms 2022-02-19 19:47:10.261 +08:00 [INF] Request starting HTTP/2 POST https://localhost:5000/api/PPlan/add application/json 363 2022-02-19 19:47:10.266 +08:00 [INF] CORS policy execution failed. 2022-02-19 19:47:10.266 +08:00 [INF] Request origin https://localhost:5000 does not have permission to access the resource. 2022-02-19 19:47:10.268 +08:00 [INF] Executing endpoint 'WmsWebApi.PPlan.PPlanService.AddAsync (WmsWebApi.Application)' 2022-02-19 19:47:10.296 +08:00 [INF] Route matched with {action = "Add", controller = "PPlan", area = "", page = ""}. Executing controller action with signature System.Threading.Tasks.Task`1[WmsWebApi.PPlan.ReturnResult] AddAsync(System.Object) on controller WmsWebApi.PPlan.PPlanService (WmsWebApi.Application). 2022-02-19 19:47:12.409 +08:00 [INF] Executing action method WmsWebApi.PPlan.PPlanService.AddAsync (WmsWebApi.Application) - Validation state: "Valid" 2022-02-19 19:47:17.424 +08:00 [WRN] No type was specified for the decimal property 'BMENG' on entity type 'WmsWebApiBOMDTO'. This will cause values to be silently truncated if they do not fit in the default precision and scale. Explicitly specify the SQL server column type that can accommodate all the values in 'OnModelCreating' using 'HasColumnType()', specify precision and scale using 'HasPrecision()' or configure a value converter using 'HasConversion()'. 2022-02-19 19:47:17.424 +08:00 [WRN] No type was specified for the decimal property 'GSMNG' on entity type 'WmsWebApiPPLANDTO'. This will cause values to be silently truncated if they do not fit in the default precision and scale. Explicitly specify the SQL server column type that can accommodate all the values in 'OnModelCreating' using 'HasColumnType()', specify precision and scale using 'HasPrecision()' or configure a value converter using 'HasConversion()'. 2022-02-19 19:47:17.424 +08:00 [WRN] No type was specified for the decimal property 'Qty' on entity type 'TA_BOM'. This will cause values to be silently truncated if they do not fit in the default precision and scale. Explicitly specify the SQL server column type that can accommodate all the values in 'OnModelCreating' using 'HasColumnType()', specify precision and scale using 'HasPrecision()' or configure a value converter using 'HasConversion()'. 2022-02-19 19:47:17.424 +08:00 [WRN] No type was specified for the decimal property 'CustPackQty' on entity type 'TA_CUST_PART'. This will cause values to be silently truncated if they do not fit in the default precision and scale. Explicitly specify the SQL server column type that can accommodate all the values in 'OnModelCreating' using 'HasColumnType()', specify precision and scale using 'HasPrecision()' or configure a value converter using 'HasConversion()'. 2022-02-19 19:47:17.424 +08:00 [WRN] No type was specified for the decimal property 'CustPalletCapacity' on entity type 'TA_CUST_PART'. This will cause values to be silently truncated if they do not fit in the default precision and scale. Explicitly specify the SQL server column type that can accommodate all the values in 'OnModelCreating' using 'HasColumnType()', specify precision and scale using 'HasPrecision()' or configure a value converter using 'HasConversion()'. 2022-02-19 19:47:17.424 +08:00 [WRN] No type was specified for the decimal property 'ContainerQty' on entity type 'TA_PART'. This will cause values to be silently truncated if they do not fit in the default precision and scale. Explicitly specify the SQL server column type that can accommodate all the values in 'OnModelCreating' using 'HasColumnType()', specify precision and scale using 'HasPrecision()' or configure a value converter using 'HasConversion()'. 2022-02-19 19:47:17.425 +08:00 [WRN] No type was specified for the decimal property 'LinesidePackQty' on entity type 'TA_PART'. This will cause values to be silently truncated if they do not fit in the default precision and scale. Explicitly specify the SQL server column type that can accommodate all the values in 'OnModelCreating' using 'HasColumnType()', specify precision and scale using 'HasPrecision()' or configure a value converter using 'HasConversion()'. 2022-02-19 19:47:17.425 +08:00 [WRN] No type was specified for the decimal property 'MaxQty' on entity type 'TA_PART'. This will cause values to be silently truncated if they do not fit in the default precision and scale. Explicitly specify the SQL server column type that can accommodate all the values in 'OnModelCreating' using 'HasColumnType()', specify precision and scale using 'HasPrecision()' or configure a value converter using 'HasConversion()'. 2022-02-19 19:47:17.425 +08:00 [WRN] No type was specified for the decimal property 'MinQty' on entity type 'TA_PART'. This will cause values to be silently truncated if they do not fit in the default precision and scale. Explicitly specify the SQL server column type that can accommodate all the values in 'OnModelCreating' using 'HasColumnType()', specify precision and scale using 'HasPrecision()' or configure a value converter using 'HasConversion()'. 2022-02-19 19:47:17.425 +08:00 [WRN] No type was specified for the decimal property 'SafeQty' on entity type 'TA_PART'. This will cause values to be silently truncated if they do not fit in the default precision and scale. Explicitly specify the SQL server column type that can accommodate all the values in 'OnModelCreating' using 'HasColumnType()', specify precision and scale using 'HasPrecision()' or configure a value converter using 'HasConversion()'. 2022-02-19 19:47:17.425 +08:00 [WRN] No type was specified for the decimal property 'SamplePercent' on entity type 'TA_PART'. This will cause values to be silently truncated if they do not fit in the default precision and scale. Explicitly specify the SQL server column type that can accommodate all the values in 'OnModelCreating' using 'HasColumnType()', specify precision and scale using 'HasPrecision()' or configure a value converter using 'HasConversion()'. 2022-02-19 19:47:17.425 +08:00 [WRN] No type was specified for the decimal property 'SingleWeight' on entity type 'TA_PART'. This will cause values to be silently truncated if they do not fit in the default precision and scale. Explicitly specify the SQL server column type that can accommodate all the values in 'OnModelCreating' using 'HasColumnType()', specify precision and scale using 'HasPrecision()' or configure a value converter using 'HasConversion()'. 2022-02-19 19:47:17.425 +08:00 [WRN] No type was specified for the decimal property 'StockPackQty' on entity type 'TA_PART'. This will cause values to be silently truncated if they do not fit in the default precision and scale. Explicitly specify the SQL server column type that can accommodate all the values in 'OnModelCreating' using 'HasColumnType()', specify precision and scale using 'HasPrecision()' or configure a value converter using 'HasConversion()'. 2022-02-19 19:47:17.425 +08:00 [WRN] No type was specified for the decimal property 'BarCodeQty' on entity type 'TM_PG_PLAN'. This will cause values to be silently truncated if they do not fit in the default precision and scale. Explicitly specify the SQL server column type that can accommodate all the values in 'OnModelCreating' using 'HasColumnType()', specify precision and scale using 'HasPrecision()' or configure a value converter using 'HasConversion()'. 2022-02-19 19:47:17.425 +08:00 [WRN] No type was specified for the decimal property 'FinishedQty' on entity type 'TM_PG_PLAN'. This will cause values to be silently truncated if they do not fit in the default precision and scale. Explicitly specify the SQL server column type that can accommodate all the values in 'OnModelCreating' using 'HasColumnType()', specify precision and scale using 'HasPrecision()' or configure a value converter using 'HasConversion()'. 2022-02-19 19:47:17.425 +08:00 [WRN] No type was specified for the decimal property 'InQty' on entity type 'TM_PG_PLAN'. This will cause values to be silently truncated if they do not fit in the default precision and scale. Explicitly specify the SQL server column type that can accommodate all the values in 'OnModelCreating' using 'HasColumnType()', specify precision and scale using 'HasPrecision()' or configure a value converter using 'HasConversion()'. 2022-02-19 19:47:17.425 +08:00 [WRN] No type was specified for the decimal property 'NotInQty' on entity type 'TM_PG_PLAN'. This will cause values to be silently truncated if they do not fit in the default precision and scale. Explicitly specify the SQL server column type that can accommodate all the values in 'OnModelCreating' using 'HasColumnType()', specify precision and scale using 'HasPrecision()' or configure a value converter using 'HasConversion()'. 2022-02-19 19:47:17.426 +08:00 [WRN] No type was specified for the decimal property 'PackQty' on entity type 'TM_PG_PLAN'. This will cause values to be silently truncated if they do not fit in the default precision and scale. Explicitly specify the SQL server column type that can accommodate all the values in 'OnModelCreating' using 'HasColumnType()', specify precision and scale using 'HasPrecision()' or configure a value converter using 'HasConversion()'. 2022-02-19 19:47:17.426 +08:00 [WRN] No type was specified for the decimal property 'Qty' on entity type 'TM_PG_PLAN'. This will cause values to be silently truncated if they do not fit in the default precision and scale. Explicitly specify the SQL server column type that can accommodate all the values in 'OnModelCreating' using 'HasColumnType()', specify precision and scale using 'HasPrecision()' or configure a value converter using 'HasConversion()'. 2022-02-19 19:47:17.860 +08:00 [INF] Entity Framework Core 5.0.14 initialized 'WmsWebApiDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: QuerySplittingBehavior=SplitQuery 2022-02-19 19:47:19.700 +08:00 [INF] Executed DbCommand (159ms) [Parameters=[@___planDto_MATNR_0='?' (Size = 50)], CommandType='"Text"', CommandTimeout='30'] SELECT TOP(1) [t].[UID], [t].[AbcClass], [t].[CertificateOfQuality], [t].[Configuration], [t].[ContainerQty], [t].[DefaultBackFlushLocCode], [t].[DefaultReceiveLocCode], [t].[DistributionType], [t].[DrawingNumber], [t].[ErpPartCode], [t].[InspectType], [t].[Inspecter], [t].[IsAskMerge], [t].[IsConsign], [t].[IsDeposit], [t].[IsNoInterface], [t].[IsTransfer], [t].[LabelTemplate], [t].[LinesidePackQty], [t].[ManageType], [t].[MaxQty], [t].[MinQty], [t].[PalletSize], [t].[PalletTemplate], [t].[PartCode], [t].[PartDesc1], [t].[PartDesc2], [t].[PartGroup], [t].[PartKind], [t].[PartType], [t].[Process], [t].[ProjectId], [t].[Promo], [t].[QLevel], [t].[ReceivePort], [t].[Remark], [t].[SafeQty], [t].[SamplePercent], [t].[SingleWeight], [t].[Source], [t].[State], [t].[StockPackQty], [t].[StoreKeeper], [t].[Unit], [t].[ValidityDays] FROM [TA_PART] AS [t] WHERE [t].[PartCode] = @___planDto_MATNR_0 2022-02-19 19:47:20.342 +08:00 [INF] Executed DbCommand (58ms) [Parameters=[@___billnum_0='?' (Size = 64)], CommandType='"Text"', CommandTimeout='30'] SELECT TOP(1) [t].[UID], [t].[AccountDate], [t].[BillNum], [t].[BillTime], [t].[BillType], [t].[CustId], [t].[DetailQty], [t].[DockCode], [t].[FinishTime], [t].[GateCode], [t].[GateName], [t].[Guid], [t].[OperName], [t].[ProjectId], [t].[Remark], [t].[SourceBillNum], [t].[SourceBillNum2], [t].[SourceBillNum3], [t].[StartTime], [t].[State], [t].[SubBillType], [t].[TransportType], [t].[TruckNum], [t].[VendId] FROM [TB_BILL] AS [t] WHERE [t].[BillNum] = @___billnum_0 2022-02-19 19:47:20.649 +08:00 [INF] Executed DbCommand (37ms) [Parameters=[@___planDto_PEDTR_0='?' (Size = 450), @___planDto_SCHGRUP_1='?' (Size = 4000), @___planDto_KAPTPROG_2='?' (Size = 450), @___planDto_MATNR_3='?' (Size = 450)], CommandType='"Text"', CommandTimeout='30'] SELECT TOP(1) [t].[PartCode], [t].[BillNum], [t].[PlanTime], [t].[PlanShiftName], [t].[BarCodeQty], [t].[BillLine], [t].[BomVersion], [t].[FinishedQty], [t].[Group], [t].[House], [t].[UID], [t].[InQty], [t].[IsPrinted], [t].[IsProduct], [t].[ModifyTime], [t].[NotInQty], [t].[PackQty], [t].[PlannedOrderParameter], [t].[Qty], [t].[Remark], [t].[Seq], [t].[ShiftName], [t].[State] FROM [TM_PG_PLAN] AS [t] WHERE ((([t].[PlanTime] = @___planDto_PEDTR_0) AND ([t].[Group] = @___planDto_SCHGRUP_1)) AND ([t].[PlanShiftName] = @___planDto_KAPTPROG_2)) AND ([t].[PartCode] = @___planDto_MATNR_3) 2022-02-19 19:47:29.336 +08:00 [INF] Executed action method WmsWebApi.PPlan.PPlanService.AddAsync (WmsWebApi.Application), returned result Microsoft.AspNetCore.Mvc.ObjectResult in 16927.3242ms. 2022-02-19 19:47:29.736 +08:00 [ERR] Failed executing DbCommand (57ms) [Parameters=[@p0='?' (Size = 50), @p1='?' (Size = 450), @p2='?' (Size = 450), @p3='?' (Size = 450), @p4='?' (Precision = 18) (Scale = 2) (DbType = Decimal), @p5='?' (DbType = Int32), @p6='?' (Size = 4000), @p7='?' (Precision = 18) (Scale = 2) (DbType = Decimal), @p8='?' (Size = 4000), @p9='?' (Size = 4000), @p10='?' (Precision = 18) (Scale = 2) (DbType = Decimal), @p11='?' (DbType = Int32), @p12='?' (DbType = Int32), @p13='?' (DbType = DateTime2), @p14='?' (Precision = 18) (Scale = 2) (DbType = Decimal), @p15='?' (Precision = 18) (Scale = 2) (DbType = Decimal), @p16='?' (Size = 50), @p17='?' (Precision = 18) (Scale = 2) (DbType = Decimal), @p18='?' (Size = 4000), @p19='?' (DbType = Int32), @p20='?' (Size = 4000), @p21='?' (DbType = Int32)], CommandType='"Text"', CommandTimeout='30'] SET NOCOUNT ON; INSERT INTO [TM_PG_PLAN] ([BillNum], [PartCode], [PlanShiftName], [PlanTime], [BarCodeQty], [BillLine], [BomVersion], [FinishedQty], [Group], [House], [InQty], [IsPrinted], [IsProduct], [ModifyTime], [NotInQty], [PackQty], [PlannedOrderParameter], [Qty], [Remark], [Seq], [ShiftName], [State]) VALUES (@p0, @p1, @p2, @p3, @p4, @p5, @p6, @p7, @p8, @p9, @p10, @p11, @p12, @p13, @p14, @p15, @p16, @p17, @p18, @p19, @p20, @p21); SELECT [UID] FROM [TM_PG_PLAN] WHERE @@ROWCOUNT = 1 AND [BillNum] = @p0 AND [PartCode] = @p1 AND [PlanShiftName] = @p2 AND [PlanTime] = @p3; 2022-02-19 19:47:29.839 +08:00 [ERR] An exception occurred in the database while saving changes for context type 'WmsWebApi.EntityFrameworkCore.WmsWebApiDbContext'. Microsoft.EntityFrameworkCore.DbUpdateException: An error occurred while updating the entries. See the inner exception for details. ---> Microsoft.Data.SqlClient.SqlException (0x80131904): 从 datetime2 数据类型到 datetime 数据类型的转换产生一个超出范围的值。 语句已终止。 at Microsoft.Data.SqlClient.SqlCommand.<>c.b__169_0(Task`1 result) at System.Threading.Tasks.ContinuationResultTaskFromResultTask`2.InnerInvoke() at System.Threading.Tasks.Task.<>c.<.cctor>b__277_0(Object obj) at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state) --- End of stack trace from previous location --- at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread) --- End of stack trace from previous location --- at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.ExecuteAsync(IRelationalConnection connection, CancellationToken cancellationToken) ClientConnectionId:4237bd9f-7ff9-4563-9297-73f15c491080 Error Number:242,State:3,Class:16 --- End of inner exception stack trace --- at Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.ExecuteAsync(IRelationalConnection connection, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChangesAsync(IList`1 entriesToSave, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChangesAsync(DbContext _, Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.SqlServer.Storage.Internal.SqlServerExecutionStrategy.ExecuteAsync[TState,TResult](TState state, Func`4 operation, Func`4 verifySucceeded, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.DbContext.SaveChangesAsync(Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken) Microsoft.EntityFrameworkCore.DbUpdateException: An error occurred while updating the entries. See the inner exception for details. ---> Microsoft.Data.SqlClient.SqlException (0x80131904): 从 datetime2 数据类型到 datetime 数据类型的转换产生一个超出范围的值。 语句已终止。 at Microsoft.Data.SqlClient.SqlCommand.<>c.b__169_0(Task`1 result) at System.Threading.Tasks.ContinuationResultTaskFromResultTask`2.InnerInvoke() at System.Threading.Tasks.Task.<>c.<.cctor>b__277_0(Object obj) at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state) --- End of stack trace from previous location --- at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread) --- End of stack trace from previous location --- at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.ExecuteAsync(IRelationalConnection connection, CancellationToken cancellationToken) ClientConnectionId:4237bd9f-7ff9-4563-9297-73f15c491080 Error Number:242,State:3,Class:16 --- End of inner exception stack trace --- at Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.ExecuteAsync(IRelationalConnection connection, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChangesAsync(IList`1 entriesToSave, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChangesAsync(DbContext _, Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.SqlServer.Storage.Internal.SqlServerExecutionStrategy.ExecuteAsync[TState,TResult](TState state, Func`4 operation, Func`4 verifySucceeded, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.DbContext.SaveChangesAsync(Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.DbContext.SaveChangesAsync(Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken) at Volo.Abp.EntityFrameworkCore.AbpDbContext`1.SaveChangesAsync(Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken) 2022-02-19 19:47:29.897 +08:00 [ERR] ---------- RemoteServiceErrorInfo ---------- { "code": null, "message": "An internal error occurred during your request!", "details": null, "data": {}, "validationErrors": null } 2022-02-19 19:47:29.898 +08:00 [ERR] An error occurred while updating the entries. See the inner exception for details. Microsoft.EntityFrameworkCore.DbUpdateException: An error occurred while updating the entries. See the inner exception for details. ---> Microsoft.Data.SqlClient.SqlException (0x80131904): 从 datetime2 数据类型到 datetime 数据类型的转换产生一个超出范围的值。 语句已终止。 at Microsoft.Data.SqlClient.SqlCommand.<>c.b__169_0(Task`1 result) at System.Threading.Tasks.ContinuationResultTaskFromResultTask`2.InnerInvoke() at System.Threading.Tasks.Task.<>c.<.cctor>b__277_0(Object obj) at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state) --- End of stack trace from previous location --- at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread) --- End of stack trace from previous location --- at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.ExecuteAsync(IRelationalConnection connection, CancellationToken cancellationToken) ClientConnectionId:4237bd9f-7ff9-4563-9297-73f15c491080 Error Number:242,State:3,Class:16 --- End of inner exception stack trace --- at Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.ExecuteAsync(IRelationalConnection connection, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChangesAsync(IList`1 entriesToSave, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChangesAsync(DbContext _, Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.SqlServer.Storage.Internal.SqlServerExecutionStrategy.ExecuteAsync[TState,TResult](TState state, Func`4 operation, Func`4 verifySucceeded, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.DbContext.SaveChangesAsync(Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.DbContext.SaveChangesAsync(Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken) at Volo.Abp.EntityFrameworkCore.AbpDbContext`1.SaveChangesAsync(Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken) at Volo.Abp.Uow.UnitOfWork.SaveChangesAsync(CancellationToken cancellationToken) at Volo.Abp.Uow.UnitOfWork.CompleteAsync(CancellationToken cancellationToken) at Volo.Abp.AspNetCore.Mvc.Uow.AbpUowActionFilter.OnActionExecutionAsync(ActionExecutingContext context, ActionExecutionDelegate next) at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.g__Awaited|10_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted) at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context) at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted) at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.g__Awaited|13_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted) at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.g__Awaited|25_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted) 2022-02-19 19:47:29.909 +08:00 [INF] Executing ObjectResult, writing value of type 'Volo.Abp.Http.RemoteServiceErrorResponse'. 2022-02-19 19:47:29.918 +08:00 [INF] Executed action WmsWebApi.PPlan.PPlanService.AddAsync (WmsWebApi.Application) in 19621.6588ms 2022-02-19 19:47:29.918 +08:00 [INF] Executed endpoint 'WmsWebApi.PPlan.PPlanService.AddAsync (WmsWebApi.Application)' 2022-02-19 19:47:30.209 +08:00 [INF] Entity Framework Core 5.0.14 initialized 'AbpAuditLoggingDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: QuerySplittingBehavior=SplitQuery 2022-02-19 19:47:30.519 +08:00 [ERR] Failed executing DbCommand (45ms) [Parameters=[@p0='?' (DbType = Guid), @p1='?' (Size = 96), @p2='?' (Size = 512), @p3='?' (Size = 64), @p4='?' (Size = 64), @p5='?' (Size = 128), @p6='?' (Size = 256), @p7='?' (Size = 40), @p8='?' (Size = 64), @p9='?' (Size = -1), @p10='?' (DbType = Int32), @p11='?' (DbType = DateTime2), @p12='?' (Size = 4000), @p13='?' (Size = 16), @p14='?' (DbType = Int32), @p15='?' (DbType = Guid), @p16='?' (DbType = Guid), @p17='?' (DbType = Guid), @p18='?' (Size = 4000), @p19='?' (Size = 256), @p20='?' (DbType = Guid), @p21='?' (Size = 256)], CommandType='"Text"', CommandTimeout='30'] SET NOCOUNT ON; INSERT INTO [AbpAuditLogs] ([Id], [ApplicationName], [BrowserInfo], [ClientId], [ClientIpAddress], [ClientName], [Comments], [ConcurrencyStamp], [CorrelationId], [Exceptions], [ExecutionDuration], [ExecutionTime], [ExtraProperties], [HttpMethod], [HttpStatusCode], [ImpersonatorTenantId], [ImpersonatorUserId], [TenantId], [TenantName], [Url], [UserId], [UserName]) VALUES (@p0, @p1, @p2, @p3, @p4, @p5, @p6, @p7, @p8, @p9, @p10, @p11, @p12, @p13, @p14, @p15, @p16, @p17, @p18, @p19, @p20, @p21); 2022-02-19 19:47:30.551 +08:00 [ERR] An exception occurred in the database while saving changes for context type 'Volo.Abp.AuditLogging.EntityFrameworkCore.AbpAuditLoggingDbContext'. Microsoft.EntityFrameworkCore.DbUpdateException: An error occurred while updating the entries. See the inner exception for details. ---> Microsoft.Data.SqlClient.SqlException (0x80131904): 将截断字符串或二进制数据。 语句已终止。 at Microsoft.Data.SqlClient.SqlCommand.<>c.b__169_0(Task`1 result) at System.Threading.Tasks.ContinuationResultTaskFromResultTask`2.InnerInvoke() at System.Threading.Tasks.Task.<>c.<.cctor>b__277_0(Object obj) at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state) --- End of stack trace from previous location --- at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread) --- End of stack trace from previous location --- at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.ExecuteAsync(IRelationalConnection connection, CancellationToken cancellationToken) ClientConnectionId:bc88a8a9-28c4-4a6e-8ae9-e509205c1296 Error Number:8152,State:10,Class:16 --- End of inner exception stack trace --- at Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.ExecuteAsync(IRelationalConnection connection, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChangesAsync(IList`1 entriesToSave, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChangesAsync(DbContext _, Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.SqlServer.Storage.Internal.SqlServerExecutionStrategy.ExecuteAsync[TState,TResult](TState state, Func`4 operation, Func`4 verifySucceeded, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.DbContext.SaveChangesAsync(Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken) Microsoft.EntityFrameworkCore.DbUpdateException: An error occurred while updating the entries. See the inner exception for details. ---> Microsoft.Data.SqlClient.SqlException (0x80131904): 将截断字符串或二进制数据。 语句已终止。 at Microsoft.Data.SqlClient.SqlCommand.<>c.b__169_0(Task`1 result) at System.Threading.Tasks.ContinuationResultTaskFromResultTask`2.InnerInvoke() at System.Threading.Tasks.Task.<>c.<.cctor>b__277_0(Object obj) at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state) --- End of stack trace from previous location --- at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread) --- End of stack trace from previous location --- at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.ExecuteAsync(IRelationalConnection connection, CancellationToken cancellationToken) ClientConnectionId:bc88a8a9-28c4-4a6e-8ae9-e509205c1296 Error Number:8152,State:10,Class:16 --- End of inner exception stack trace --- at Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.ExecuteAsync(IRelationalConnection connection, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChangesAsync(IList`1 entriesToSave, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChangesAsync(DbContext _, Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.SqlServer.Storage.Internal.SqlServerExecutionStrategy.ExecuteAsync[TState,TResult](TState state, Func`4 operation, Func`4 verifySucceeded, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.DbContext.SaveChangesAsync(Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.DbContext.SaveChangesAsync(Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken) at Volo.Abp.EntityFrameworkCore.AbpDbContext`1.SaveChangesAsync(Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken) at Volo.Abp.Uow.UnitOfWork.SaveChangesAsync(CancellationToken cancellationToken) at Volo.Abp.Uow.UnitOfWork.CompleteAsync(CancellationToken cancellationToken) 2022-02-19 19:47:30.559 +08:00 [WRN] Could not save the audit log object: AUDIT LOG: [500: POST ] /api/PPlan/add - UserName - UserId : - - ClientIpAddress : ::1 - ExecutionDuration : 19654 - Actions: - WmsWebApi.PPlan.PPlanService.AddAsync (17528 ms.) {"content":{"valueKind":1}} - Exceptions: - An error occurred while updating the entries. See the inner exception for details. Microsoft.EntityFrameworkCore.DbUpdateException: An error occurred while updating the entries. See the inner exception for details. ---> Microsoft.Data.SqlClient.SqlException (0x80131904): 从 datetime2 数据类型到 datetime 数据类型的转换产生一个超出范围的值。 语句已终止。 at Microsoft.Data.SqlClient.SqlCommand.<>c.b__169_0(Task`1 result) at System.Threading.Tasks.ContinuationResultTaskFromResultTask`2.InnerInvoke() at System.Threading.Tasks.Task.<>c.<.cctor>b__277_0(Object obj) at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state) --- End of stack trace from previous location --- at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread) --- End of stack trace from previous location --- at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.ExecuteAsync(IRelationalConnection connection, CancellationToken cancellationToken) ClientConnectionId:4237bd9f-7ff9-4563-9297-73f15c491080 Error Number:242,State:3,Class:16 --- End of inner exception stack trace --- at Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.ExecuteAsync(IRelationalConnection connection, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChangesAsync(IList`1 entriesToSave, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChangesAsync(DbContext _, Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.SqlServer.Storage.Internal.SqlServerExecutionStrategy.ExecuteAsync[TState,TResult](TState state, Func`4 operation, Func`4 verifySucceeded, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.DbContext.SaveChangesAsync(Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.DbContext.SaveChangesAsync(Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken) at Volo.Abp.EntityFrameworkCore.AbpDbContext`1.SaveChangesAsync(Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken) at Volo.Abp.Uow.UnitOfWork.SaveChangesAsync(CancellationToken cancellationToken) at Volo.Abp.Uow.UnitOfWork.CompleteAsync(CancellationToken cancellationToken) at Volo.Abp.AspNetCore.Mvc.Uow.AbpUowActionFilter.OnActionExecutionAsync(ActionExecutingContext context, ActionExecutionDelegate next) at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.g__Awaited|10_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted) at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context) at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted) at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.g__Awaited|13_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted) at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.g__Awaited|25_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted) 2022-02-19 19:47:30.559 +08:00 [ERR] An error occurred while updating the entries. See the inner exception for details. Microsoft.EntityFrameworkCore.DbUpdateException: An error occurred while updating the entries. See the inner exception for details. ---> Microsoft.Data.SqlClient.SqlException (0x80131904): 将截断字符串或二进制数据。 语句已终止。 at Microsoft.Data.SqlClient.SqlCommand.<>c.b__169_0(Task`1 result) at System.Threading.Tasks.ContinuationResultTaskFromResultTask`2.InnerInvoke() at System.Threading.Tasks.Task.<>c.<.cctor>b__277_0(Object obj) at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state) --- End of stack trace from previous location --- at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread) --- End of stack trace from previous location --- at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.ExecuteAsync(IRelationalConnection connection, CancellationToken cancellationToken) ClientConnectionId:bc88a8a9-28c4-4a6e-8ae9-e509205c1296 Error Number:8152,State:10,Class:16 --- End of inner exception stack trace --- at Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.ExecuteAsync(IRelationalConnection connection, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChangesAsync(IList`1 entriesToSave, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChangesAsync(DbContext _, Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.SqlServer.Storage.Internal.SqlServerExecutionStrategy.ExecuteAsync[TState,TResult](TState state, Func`4 operation, Func`4 verifySucceeded, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.DbContext.SaveChangesAsync(Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.DbContext.SaveChangesAsync(Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken) at Volo.Abp.EntityFrameworkCore.AbpDbContext`1.SaveChangesAsync(Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken) at Volo.Abp.Uow.UnitOfWork.SaveChangesAsync(CancellationToken cancellationToken) at Volo.Abp.Uow.UnitOfWork.CompleteAsync(CancellationToken cancellationToken) at Volo.Abp.AuditLogging.AuditingStore.SaveLogAsync(AuditLogInfo auditInfo) at Volo.Abp.AuditLogging.AuditingStore.SaveAsync(AuditLogInfo auditInfo) 2022-02-19 19:47:30.560 +08:00 [INF] Request finished HTTP/2 POST https://localhost:5000/api/PPlan/add application/json 363 - 500 - application/json;+charset=utf-8 20299.1739ms 2022-02-19 19:56:39.498 +08:00 [INF] Starting web host. 2022-02-19 19:56:48.530 +08:00 [INF] User profile is available. Using 'C:\Users\lvcj2\AppData\Local\ASP.NET\DataProtection-Keys' as key repository and Windows DPAPI to encrypt keys at rest. 2022-02-19 19:56:48.661 +08:00 [INF] Loaded ABP modules: 2022-02-19 19:56:48.661 +08:00 [INF] - WmsWebApi.WmsWebApiHttpApiHostModule 2022-02-19 19:56:48.661 +08:00 [INF] - WmsWebApi.WmsWebApiApplicationModule 2022-02-19 19:56:48.661 +08:00 [INF] - WmsWebApi.WmsWebApiDomainModule 2022-02-19 19:56:48.661 +08:00 [INF] - Volo.Abp.Domain.AbpDddDomainModule 2022-02-19 19:56:48.661 +08:00 [INF] - Volo.Abp.Auditing.AbpAuditingModule 2022-02-19 19:56:48.661 +08:00 [INF] - Volo.Abp.Data.AbpDataModule 2022-02-19 19:56:48.661 +08:00 [INF] - Volo.Abp.ObjectExtending.AbpObjectExtendingModule 2022-02-19 19:56:48.661 +08:00 [INF] - Volo.Abp.Localization.AbpLocalizationAbstractionsModule 2022-02-19 19:56:48.661 +08:00 [INF] - Volo.Abp.Validation.AbpValidationAbstractionsModule 2022-02-19 19:56:48.661 +08:00 [INF] - Volo.Abp.Uow.AbpUnitOfWorkModule 2022-02-19 19:56:48.661 +08:00 [INF] - Volo.Abp.EventBus.Abstractions.AbpEventBusAbstractionsModule 2022-02-19 19:56:48.661 +08:00 [INF] - Volo.Abp.Json.AbpJsonModule 2022-02-19 19:56:48.661 +08:00 [INF] - Volo.Abp.Timing.AbpTimingModule 2022-02-19 19:56:48.661 +08:00 [INF] - Volo.Abp.Localization.AbpLocalizationModule 2022-02-19 19:56:48.661 +08:00 [INF] - Volo.Abp.VirtualFileSystem.AbpVirtualFileSystemModule 2022-02-19 19:56:48.661 +08:00 [INF] - Volo.Abp.Settings.AbpSettingsModule 2022-02-19 19:56:48.661 +08:00 [INF] - Volo.Abp.Security.AbpSecurityModule 2022-02-19 19:56:48.661 +08:00 [INF] - Volo.Abp.MultiTenancy.AbpMultiTenancyModule 2022-02-19 19:56:48.661 +08:00 [INF] - Volo.Abp.Threading.AbpThreadingModule 2022-02-19 19:56:48.661 +08:00 [INF] - Volo.Abp.EventBus.AbpEventBusModule 2022-02-19 19:56:48.661 +08:00 [INF] - Volo.Abp.Guids.AbpGuidsModule 2022-02-19 19:56:48.661 +08:00 [INF] - Volo.Abp.ObjectMapping.AbpObjectMappingModule 2022-02-19 19:56:48.661 +08:00 [INF] - Volo.Abp.ExceptionHandling.AbpExceptionHandlingModule 2022-02-19 19:56:48.661 +08:00 [INF] - Volo.Abp.Specifications.AbpSpecificationsModule 2022-02-19 19:56:48.661 +08:00 [INF] - WmsWebApi.WmsWebApiDomainSharedModule 2022-02-19 19:56:48.661 +08:00 [INF] - Volo.Abp.Validation.AbpValidationModule 2022-02-19 19:56:48.661 +08:00 [INF] - WmsWebApi.WmsWebApiApplicationContractsModule 2022-02-19 19:56:48.661 +08:00 [INF] - Volo.Abp.Application.AbpDddApplicationContractsModule 2022-02-19 19:56:48.661 +08:00 [INF] - Volo.Abp.Authorization.AbpAuthorizationModule 2022-02-19 19:56:48.661 +08:00 [INF] - Volo.Abp.Authorization.AbpAuthorizationAbstractionsModule 2022-02-19 19:56:48.661 +08:00 [INF] - Volo.Abp.Application.AbpDddApplicationModule 2022-02-19 19:56:48.661 +08:00 [INF] - Volo.Abp.Http.AbpHttpAbstractionsModule 2022-02-19 19:56:48.661 +08:00 [INF] - Volo.Abp.Features.AbpFeaturesModule 2022-02-19 19:56:48.661 +08:00 [INF] - Volo.Abp.GlobalFeatures.AbpGlobalFeaturesModule 2022-02-19 19:56:48.661 +08:00 [INF] - Volo.Abp.AutoMapper.AbpAutoMapperModule 2022-02-19 19:56:48.661 +08:00 [INF] - WmsWebApi.EntityFrameworkCore.WmsWebApiEntityFrameworkCoreModule 2022-02-19 19:56:48.661 +08:00 [INF] - Volo.Abp.EntityFrameworkCore.AbpEntityFrameworkCoreModule 2022-02-19 19:56:48.661 +08:00 [INF] - Volo.Abp.Dapper.AbpDapperModule 2022-02-19 19:56:48.661 +08:00 [INF] - WmsWebApi.WmsWebApiHttpApiModule 2022-02-19 19:56:48.661 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.AbpAspNetCoreMvcModule 2022-02-19 19:56:48.661 +08:00 [INF] - Volo.Abp.AspNetCore.AbpAspNetCoreModule 2022-02-19 19:56:48.661 +08:00 [INF] - Volo.Abp.Http.AbpHttpModule 2022-02-19 19:56:48.661 +08:00 [INF] - Volo.Abp.Minify.AbpMinifyModule 2022-02-19 19:56:48.661 +08:00 [INF] - Volo.Abp.ApiVersioning.AbpApiVersioningAbstractionsModule 2022-02-19 19:56:48.661 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.AbpAspNetCoreMvcContractsModule 2022-02-19 19:56:48.661 +08:00 [INF] - Volo.Abp.UI.Navigation.AbpUiNavigationModule 2022-02-19 19:56:48.661 +08:00 [INF] - Volo.Abp.UI.AbpUiModule 2022-02-19 19:56:48.661 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.MultiTenancy.AbpAspNetCoreMvcUiMultiTenancyModule 2022-02-19 19:56:48.661 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Theme.Shared.AbpAspNetCoreMvcUiThemeSharedModule 2022-02-19 19:56:48.661 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.AbpAspNetCoreMvcUiBootstrapModule 2022-02-19 19:56:48.661 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.AbpAspNetCoreMvcUiModule 2022-02-19 19:56:48.661 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Packages.AbpAspNetCoreMvcUiPackagesModule 2022-02-19 19:56:48.661 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Bundling.AbpAspNetCoreMvcUiBundlingAbstractionsModule 2022-02-19 19:56:48.661 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Widgets.AbpAspNetCoreMvcUiWidgetsModule 2022-02-19 19:56:48.661 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Bundling.AbpAspNetCoreMvcUiBundlingModule 2022-02-19 19:56:48.661 +08:00 [INF] - Volo.Abp.AspNetCore.MultiTenancy.AbpAspNetCoreMultiTenancyModule 2022-02-19 19:56:48.661 +08:00 [INF] - Volo.Abp.Autofac.AbpAutofacModule 2022-02-19 19:56:48.661 +08:00 [INF] - Volo.Abp.Castle.AbpCastleCoreModule 2022-02-19 19:56:48.661 +08:00 [INF] - Volo.Abp.Caching.StackExchangeRedis.AbpCachingStackExchangeRedisModule 2022-02-19 19:56:48.661 +08:00 [INF] - Volo.Abp.Caching.AbpCachingModule 2022-02-19 19:56:48.661 +08:00 [INF] - Volo.Abp.Serialization.AbpSerializationModule 2022-02-19 19:56:48.661 +08:00 [INF] - Volo.Abp.EntityFrameworkCore.SqlServer.AbpEntityFrameworkCoreSqlServerModule 2022-02-19 19:56:48.661 +08:00 [INF] - Volo.Abp.AuditLogging.EntityFrameworkCore.AbpAuditLoggingEntityFrameworkCoreModule 2022-02-19 19:56:48.661 +08:00 [INF] - Volo.Abp.AuditLogging.AbpAuditLoggingDomainModule 2022-02-19 19:56:48.661 +08:00 [INF] - Volo.Abp.AuditLogging.AbpAuditLoggingDomainSharedModule 2022-02-19 19:56:48.661 +08:00 [INF] - Volo.Abp.PermissionManagement.EntityFrameworkCore.AbpPermissionManagementEntityFrameworkCoreModule 2022-02-19 19:56:48.661 +08:00 [INF] - Volo.Abp.PermissionManagement.AbpPermissionManagementDomainModule 2022-02-19 19:56:48.661 +08:00 [INF] - Volo.Abp.PermissionManagement.AbpPermissionManagementDomainSharedModule 2022-02-19 19:56:48.661 +08:00 [INF] - Volo.Abp.SettingManagement.EntityFrameworkCore.AbpSettingManagementEntityFrameworkCoreModule 2022-02-19 19:56:48.661 +08:00 [INF] - Volo.Abp.SettingManagement.AbpSettingManagementDomainModule 2022-02-19 19:56:48.661 +08:00 [INF] - Volo.Abp.SettingManagement.AbpSettingManagementDomainSharedModule 2022-02-19 19:56:48.661 +08:00 [INF] - Volo.Abp.AspNetCore.Serilog.AbpAspNetCoreSerilogModule 2022-02-19 19:56:48.661 +08:00 [INF] - Volo.Abp.Swashbuckle.AbpSwashbuckleModule 2022-02-19 19:56:49.247 +08:00 [INF] Initialized all ABP modules. 2022-02-19 19:56:49.585 +08:00 [INF] Now listening on: https://localhost:5000 2022-02-19 19:56:49.585 +08:00 [INF] Application started. Press Ctrl+C to shut down. 2022-02-19 19:56:49.585 +08:00 [INF] Hosting environment: Development 2022-02-19 19:56:49.585 +08:00 [INF] Content root path: D:\工作\派格\接口程序\WmsWebApi\host\WmsWebApi.HttpApi.Host 2022-02-19 19:56:55.631 +08:00 [INF] Request starting HTTP/2 GET https://localhost:5000/ - - 2022-02-19 19:57:00.421 +08:00 [INF] Executing endpoint 'WmsWebApi.Controllers.HomeController.Index (WmsWebApi.HttpApi.Host)' 2022-02-19 19:57:00.569 +08:00 [INF] Route matched with {action = "Index", controller = "Home", area = "", page = ""}. Executing controller action with signature Microsoft.AspNetCore.Mvc.ActionResult Index() on controller WmsWebApi.Controllers.HomeController (WmsWebApi.HttpApi.Host). 2022-02-19 19:57:01.172 +08:00 [INF] Executing action method WmsWebApi.Controllers.HomeController.Index (WmsWebApi.HttpApi.Host) - Validation state: "Valid" 2022-02-19 19:57:01.187 +08:00 [INF] Executed action method WmsWebApi.Controllers.HomeController.Index (WmsWebApi.HttpApi.Host), returned result Microsoft.AspNetCore.Mvc.RedirectResult in 0.6539ms. 2022-02-19 19:57:01.209 +08:00 [INF] Executing RedirectResult, redirecting to /swagger. 2022-02-19 19:57:01.228 +08:00 [INF] Executed action WmsWebApi.Controllers.HomeController.Index (WmsWebApi.HttpApi.Host) in 645.0284ms 2022-02-19 19:57:01.228 +08:00 [INF] Executed endpoint 'WmsWebApi.Controllers.HomeController.Index (WmsWebApi.HttpApi.Host)' 2022-02-19 19:57:01.287 +08:00 [INF] Request starting HTTP/2 GET https://localhost:5000/swagger/index.html - - 2022-02-19 19:57:01.290 +08:00 [INF] Request finished HTTP/2 GET https://localhost:5000/ - - - 302 0 - 5662.5808ms 2022-02-19 19:57:01.696 +08:00 [INF] Request finished HTTP/2 GET https://localhost:5000/swagger/index.html - - - 200 - text/html;charset=utf-8 408.5745ms 2022-02-19 19:57:02.282 +08:00 [INF] Request starting HTTP/2 GET https://localhost:5000/_framework/aspnetcore-browser-refresh.js - - 2022-02-19 19:57:02.289 +08:00 [INF] Request finished HTTP/2 GET https://localhost:5000/_framework/aspnetcore-browser-refresh.js - - - 200 11956 application/javascript;+charset=utf-8 7.0399ms 2022-02-19 19:57:02.943 +08:00 [INF] Request starting HTTP/2 GET https://localhost:5000/swagger/v1/swagger.json - - 2022-02-19 19:57:03.415 +08:00 [INF] Request finished HTTP/2 GET https://localhost:5000/swagger/v1/swagger.json - - - 200 - application/json;charset=utf-8 472.3829ms 2022-02-19 19:57:22.171 +08:00 [INF] Request starting HTTP/2 GET https://localhost:5000/abp/Swashbuckle/SetCsrfCookie application/json - 2022-02-19 19:57:22.176 +08:00 [INF] Executing endpoint 'Volo.Abp.Swashbuckle.AbpSwashbuckleController.SetCsrfCookie (Volo.Abp.Swashbuckle)' 2022-02-19 19:57:22.179 +08:00 [INF] Route matched with {area = "Abp", action = "SetCsrfCookie", controller = "AbpSwashbuckle", page = ""}. Executing controller action with signature Void SetCsrfCookie() on controller Volo.Abp.Swashbuckle.AbpSwashbuckleController (Volo.Abp.Swashbuckle). 2022-02-19 19:57:22.343 +08:00 [INF] Executing action method Volo.Abp.Swashbuckle.AbpSwashbuckleController.SetCsrfCookie (Volo.Abp.Swashbuckle) - Validation state: "Valid" 2022-02-19 19:57:22.372 +08:00 [INF] Executed action method Volo.Abp.Swashbuckle.AbpSwashbuckleController.SetCsrfCookie (Volo.Abp.Swashbuckle), returned result Microsoft.AspNetCore.Mvc.EmptyResult in 28.2317ms. 2022-02-19 19:57:22.373 +08:00 [INF] Executed action Volo.Abp.Swashbuckle.AbpSwashbuckleController.SetCsrfCookie (Volo.Abp.Swashbuckle) in 193.009ms 2022-02-19 19:57:22.373 +08:00 [INF] Executed endpoint 'Volo.Abp.Swashbuckle.AbpSwashbuckleController.SetCsrfCookie (Volo.Abp.Swashbuckle)' 2022-02-19 19:57:22.374 +08:00 [INF] Request finished HTTP/2 GET https://localhost:5000/abp/Swashbuckle/SetCsrfCookie application/json - - 204 - - 203.0220ms 2022-02-19 19:57:22.504 +08:00 [INF] Request starting HTTP/2 POST https://localhost:5000/api/PPlan/add application/json 363 2022-02-19 19:57:22.520 +08:00 [INF] CORS policy execution failed. 2022-02-19 19:57:22.521 +08:00 [INF] Request origin https://localhost:5000 does not have permission to access the resource. 2022-02-19 19:57:22.530 +08:00 [INF] Executing endpoint 'WmsWebApi.PPlan.PPlanService.AddAsync (WmsWebApi.Application)' 2022-02-19 19:57:22.573 +08:00 [INF] Route matched with {action = "Add", controller = "PPlan", area = "", page = ""}. Executing controller action with signature System.Threading.Tasks.Task`1[WmsWebApi.PPlan.ReturnResult] AddAsync(System.Object) on controller WmsWebApi.PPlan.PPlanService (WmsWebApi.Application). 2022-02-19 19:57:23.525 +08:00 [INF] Executing action method WmsWebApi.PPlan.PPlanService.AddAsync (WmsWebApi.Application) - Validation state: "Valid" 2022-02-19 19:57:27.619 +08:00 [WRN] No type was specified for the decimal property 'BMENG' on entity type 'WmsWebApiBOMDTO'. This will cause values to be silently truncated if they do not fit in the default precision and scale. Explicitly specify the SQL server column type that can accommodate all the values in 'OnModelCreating' using 'HasColumnType()', specify precision and scale using 'HasPrecision()' or configure a value converter using 'HasConversion()'. 2022-02-19 19:57:27.619 +08:00 [WRN] No type was specified for the decimal property 'GSMNG' on entity type 'WmsWebApiPPLANDTO'. This will cause values to be silently truncated if they do not fit in the default precision and scale. Explicitly specify the SQL server column type that can accommodate all the values in 'OnModelCreating' using 'HasColumnType()', specify precision and scale using 'HasPrecision()' or configure a value converter using 'HasConversion()'. 2022-02-19 19:57:27.619 +08:00 [WRN] No type was specified for the decimal property 'Qty' on entity type 'TA_BOM'. This will cause values to be silently truncated if they do not fit in the default precision and scale. Explicitly specify the SQL server column type that can accommodate all the values in 'OnModelCreating' using 'HasColumnType()', specify precision and scale using 'HasPrecision()' or configure a value converter using 'HasConversion()'. 2022-02-19 19:57:27.619 +08:00 [WRN] No type was specified for the decimal property 'CustPackQty' on entity type 'TA_CUST_PART'. This will cause values to be silently truncated if they do not fit in the default precision and scale. Explicitly specify the SQL server column type that can accommodate all the values in 'OnModelCreating' using 'HasColumnType()', specify precision and scale using 'HasPrecision()' or configure a value converter using 'HasConversion()'. 2022-02-19 19:57:27.619 +08:00 [WRN] No type was specified for the decimal property 'CustPalletCapacity' on entity type 'TA_CUST_PART'. This will cause values to be silently truncated if they do not fit in the default precision and scale. Explicitly specify the SQL server column type that can accommodate all the values in 'OnModelCreating' using 'HasColumnType()', specify precision and scale using 'HasPrecision()' or configure a value converter using 'HasConversion()'. 2022-02-19 19:57:27.619 +08:00 [WRN] No type was specified for the decimal property 'ContainerQty' on entity type 'TA_PART'. This will cause values to be silently truncated if they do not fit in the default precision and scale. Explicitly specify the SQL server column type that can accommodate all the values in 'OnModelCreating' using 'HasColumnType()', specify precision and scale using 'HasPrecision()' or configure a value converter using 'HasConversion()'. 2022-02-19 19:57:27.619 +08:00 [WRN] No type was specified for the decimal property 'LinesidePackQty' on entity type 'TA_PART'. This will cause values to be silently truncated if they do not fit in the default precision and scale. Explicitly specify the SQL server column type that can accommodate all the values in 'OnModelCreating' using 'HasColumnType()', specify precision and scale using 'HasPrecision()' or configure a value converter using 'HasConversion()'. 2022-02-19 19:57:27.619 +08:00 [WRN] No type was specified for the decimal property 'MaxQty' on entity type 'TA_PART'. This will cause values to be silently truncated if they do not fit in the default precision and scale. Explicitly specify the SQL server column type that can accommodate all the values in 'OnModelCreating' using 'HasColumnType()', specify precision and scale using 'HasPrecision()' or configure a value converter using 'HasConversion()'. 2022-02-19 19:57:27.619 +08:00 [WRN] No type was specified for the decimal property 'MinQty' on entity type 'TA_PART'. This will cause values to be silently truncated if they do not fit in the default precision and scale. Explicitly specify the SQL server column type that can accommodate all the values in 'OnModelCreating' using 'HasColumnType()', specify precision and scale using 'HasPrecision()' or configure a value converter using 'HasConversion()'. 2022-02-19 19:57:27.619 +08:00 [WRN] No type was specified for the decimal property 'SafeQty' on entity type 'TA_PART'. This will cause values to be silently truncated if they do not fit in the default precision and scale. Explicitly specify the SQL server column type that can accommodate all the values in 'OnModelCreating' using 'HasColumnType()', specify precision and scale using 'HasPrecision()' or configure a value converter using 'HasConversion()'. 2022-02-19 19:57:27.619 +08:00 [WRN] No type was specified for the decimal property 'SamplePercent' on entity type 'TA_PART'. This will cause values to be silently truncated if they do not fit in the default precision and scale. Explicitly specify the SQL server column type that can accommodate all the values in 'OnModelCreating' using 'HasColumnType()', specify precision and scale using 'HasPrecision()' or configure a value converter using 'HasConversion()'. 2022-02-19 19:57:27.619 +08:00 [WRN] No type was specified for the decimal property 'SingleWeight' on entity type 'TA_PART'. This will cause values to be silently truncated if they do not fit in the default precision and scale. Explicitly specify the SQL server column type that can accommodate all the values in 'OnModelCreating' using 'HasColumnType()', specify precision and scale using 'HasPrecision()' or configure a value converter using 'HasConversion()'. 2022-02-19 19:57:27.619 +08:00 [WRN] No type was specified for the decimal property 'StockPackQty' on entity type 'TA_PART'. This will cause values to be silently truncated if they do not fit in the default precision and scale. Explicitly specify the SQL server column type that can accommodate all the values in 'OnModelCreating' using 'HasColumnType()', specify precision and scale using 'HasPrecision()' or configure a value converter using 'HasConversion()'. 2022-02-19 19:57:27.619 +08:00 [WRN] No type was specified for the decimal property 'BarCodeQty' on entity type 'TM_PG_PLAN'. This will cause values to be silently truncated if they do not fit in the default precision and scale. Explicitly specify the SQL server column type that can accommodate all the values in 'OnModelCreating' using 'HasColumnType()', specify precision and scale using 'HasPrecision()' or configure a value converter using 'HasConversion()'. 2022-02-19 19:57:27.619 +08:00 [WRN] No type was specified for the decimal property 'FinishedQty' on entity type 'TM_PG_PLAN'. This will cause values to be silently truncated if they do not fit in the default precision and scale. Explicitly specify the SQL server column type that can accommodate all the values in 'OnModelCreating' using 'HasColumnType()', specify precision and scale using 'HasPrecision()' or configure a value converter using 'HasConversion()'. 2022-02-19 19:57:27.619 +08:00 [WRN] No type was specified for the decimal property 'InQty' on entity type 'TM_PG_PLAN'. This will cause values to be silently truncated if they do not fit in the default precision and scale. Explicitly specify the SQL server column type that can accommodate all the values in 'OnModelCreating' using 'HasColumnType()', specify precision and scale using 'HasPrecision()' or configure a value converter using 'HasConversion()'. 2022-02-19 19:57:27.619 +08:00 [WRN] No type was specified for the decimal property 'NotInQty' on entity type 'TM_PG_PLAN'. This will cause values to be silently truncated if they do not fit in the default precision and scale. Explicitly specify the SQL server column type that can accommodate all the values in 'OnModelCreating' using 'HasColumnType()', specify precision and scale using 'HasPrecision()' or configure a value converter using 'HasConversion()'. 2022-02-19 19:57:27.619 +08:00 [WRN] No type was specified for the decimal property 'PackQty' on entity type 'TM_PG_PLAN'. This will cause values to be silently truncated if they do not fit in the default precision and scale. Explicitly specify the SQL server column type that can accommodate all the values in 'OnModelCreating' using 'HasColumnType()', specify precision and scale using 'HasPrecision()' or configure a value converter using 'HasConversion()'. 2022-02-19 19:57:27.619 +08:00 [WRN] No type was specified for the decimal property 'Qty' on entity type 'TM_PG_PLAN'. This will cause values to be silently truncated if they do not fit in the default precision and scale. Explicitly specify the SQL server column type that can accommodate all the values in 'OnModelCreating' using 'HasColumnType()', specify precision and scale using 'HasPrecision()' or configure a value converter using 'HasConversion()'. 2022-02-19 19:57:27.729 +08:00 [INF] Entity Framework Core 5.0.14 initialized 'WmsWebApiDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: QuerySplittingBehavior=SplitQuery 2022-02-19 19:57:28.520 +08:00 [INF] Executed DbCommand (79ms) [Parameters=[@___planDto_MATNR_0='?' (Size = 50)], CommandType='"Text"', CommandTimeout='30'] SELECT TOP(1) [t].[UID], [t].[AbcClass], [t].[CertificateOfQuality], [t].[Configuration], [t].[ContainerQty], [t].[DefaultBackFlushLocCode], [t].[DefaultReceiveLocCode], [t].[DistributionType], [t].[DrawingNumber], [t].[ErpPartCode], [t].[InspectType], [t].[Inspecter], [t].[IsAskMerge], [t].[IsConsign], [t].[IsDeposit], [t].[IsNoInterface], [t].[IsTransfer], [t].[LabelTemplate], [t].[LinesidePackQty], [t].[ManageType], [t].[MaxQty], [t].[MinQty], [t].[PalletSize], [t].[PalletTemplate], [t].[PartCode], [t].[PartDesc1], [t].[PartDesc2], [t].[PartGroup], [t].[PartKind], [t].[PartType], [t].[Process], [t].[ProjectId], [t].[Promo], [t].[QLevel], [t].[ReceivePort], [t].[Remark], [t].[SafeQty], [t].[SamplePercent], [t].[SingleWeight], [t].[Source], [t].[State], [t].[StockPackQty], [t].[StoreKeeper], [t].[Unit], [t].[ValidityDays] FROM [TA_PART] AS [t] WHERE [t].[PartCode] = @___planDto_MATNR_0 2022-02-19 19:57:28.785 +08:00 [INF] Executed DbCommand (48ms) [Parameters=[@___billnum_0='?' (Size = 64)], CommandType='"Text"', CommandTimeout='30'] SELECT TOP(1) [t].[UID], [t].[AccountDate], [t].[BillNum], [t].[BillTime], [t].[BillType], [t].[CustId], [t].[DetailQty], [t].[DockCode], [t].[FinishTime], [t].[GateCode], [t].[GateName], [t].[Guid], [t].[OperName], [t].[ProjectId], [t].[Remark], [t].[SourceBillNum], [t].[SourceBillNum2], [t].[SourceBillNum3], [t].[StartTime], [t].[State], [t].[SubBillType], [t].[TransportType], [t].[TruckNum], [t].[VendId] FROM [TB_BILL] AS [t] WHERE [t].[BillNum] = @___billnum_0 2022-02-19 19:57:28.861 +08:00 [INF] Executed DbCommand (45ms) [Parameters=[@__tbBill_BillNum_0='?' (Size = 64)], CommandType='"Text"', CommandTimeout='30'] SELECT TOP(1) [t].[UID], [t].[AccountDate], [t].[BillNum], [t].[BillTime], [t].[BillType], [t].[CustId], [t].[DetailQty], [t].[DockCode], [t].[FinishTime], [t].[GateCode], [t].[GateName], [t].[Guid], [t].[OperName], [t].[ProjectId], [t].[Remark], [t].[SourceBillNum], [t].[SourceBillNum2], [t].[SourceBillNum3], [t].[StartTime], [t].[State], [t].[SubBillType], [t].[TransportType], [t].[TruckNum], [t].[VendId] FROM [TB_BILL] AS [t] WHERE [t].[BillNum] = @__tbBill_BillNum_0 2022-02-19 19:57:29.019 +08:00 [INF] Executed DbCommand (37ms) [Parameters=[@___planDto_PEDTR_0='?' (Size = 450), @___planDto_SCHGRUP_1='?' (Size = 4000), @___planDto_KAPTPROG_2='?' (Size = 450), @___planDto_MATNR_3='?' (Size = 450)], CommandType='"Text"', CommandTimeout='30'] SELECT TOP(1) [t].[PartCode], [t].[BillNum], [t].[PlanTime], [t].[PlanShiftName], [t].[BarCodeQty], [t].[BillLine], [t].[BomVersion], [t].[FinishedQty], [t].[Group], [t].[House], [t].[UID], [t].[InQty], [t].[IsMin], [t].[IsPlus], [t].[IsPrinted], [t].[IsProduct], [t].[ModifyTime], [t].[NotInQty], [t].[PackQty], [t].[PlannedOrderParameter], [t].[Qty], [t].[Remark], [t].[Seq], [t].[ShiftName], [t].[State] FROM [TM_PG_PLAN] AS [t] WHERE ((([t].[PlanTime] = @___planDto_PEDTR_0) AND ([t].[Group] = @___planDto_SCHGRUP_1)) AND ([t].[PlanShiftName] = @___planDto_KAPTPROG_2)) AND ([t].[PartCode] = @___planDto_MATNR_3) 2022-02-19 19:57:29.106 +08:00 [INF] Executed action method WmsWebApi.PPlan.PPlanService.AddAsync (WmsWebApi.Application), returned result Microsoft.AspNetCore.Mvc.ObjectResult in 5581.5753ms. 2022-02-19 19:57:29.318 +08:00 [INF] Executed DbCommand (36ms) [Parameters=[@p0='?' (DbType = DateTime2), @p1='?' (Size = 64), @p2='?' (DbType = DateTime2), @p3='?' (DbType = Int32), @p4='?' (Size = 50), @p5='?' (DbType = Int32), @p6='?' (Size = 4000), @p7='?' (Size = 50), @p8='?' (Size = 50), @p9='?' (Size = 50), @p10='?' (DbType = Guid), @p11='?' (Size = 4000), @p12='?' (Size = 50), @p13='?' (Size = 4000), @p14='?' (Size = 4000), @p15='?' (Size = 4000), @p16='?' (Size = 4000), @p17='?' (Size = 50), @p18='?' (DbType = Int32), @p19='?' (Size = 50), @p20='?' (Size = 50), @p21='?' (Size = 50)], CommandType='"Text"', CommandTimeout='30'] SET NOCOUNT ON; INSERT INTO [TB_BILL] ([AccountDate], [BillNum], [BillTime], [BillType], [CustId], [DetailQty], [DockCode], [FinishTime], [GateCode], [GateName], [Guid], [OperName], [ProjectId], [Remark], [SourceBillNum], [SourceBillNum2], [SourceBillNum3], [StartTime], [SubBillType], [TransportType], [TruckNum], [VendId]) VALUES (@p0, @p1, @p2, @p3, @p4, @p5, @p6, @p7, @p8, @p9, @p10, @p11, @p12, @p13, @p14, @p15, @p16, @p17, @p18, @p19, @p20, @p21); SELECT [UID], [State] FROM [TB_BILL] WHERE @@ROWCOUNT = 1 AND [UID] = scope_identity(); 2022-02-19 19:57:29.393 +08:00 [ERR] Failed executing DbCommand (50ms) [Parameters=[@p0='?' (Size = 50), @p1='?' (Size = 450), @p2='?' (Size = 450), @p3='?' (Size = 450), @p4='?' (Precision = 18) (Scale = 2) (DbType = Decimal), @p5='?' (DbType = Int32), @p6='?' (Size = 4000), @p7='?' (Precision = 18) (Scale = 2) (DbType = Decimal), @p8='?' (Size = 4000), @p9='?' (Size = 4000), @p10='?' (Precision = 18) (Scale = 2) (DbType = Decimal), @p11='?' (DbType = Int32), @p12='?' (DbType = Int32), @p13='?' (DbType = Int32), @p14='?' (DbType = Int32), @p15='?' (DbType = DateTime2), @p16='?' (Precision = 18) (Scale = 2) (DbType = Decimal), @p17='?' (Precision = 18) (Scale = 2) (DbType = Decimal), @p18='?' (Size = 50), @p19='?' (Precision = 18) (Scale = 2) (DbType = Decimal), @p20='?' (Size = 4000), @p21='?' (DbType = Int32), @p22='?' (Size = 4000), @p23='?' (DbType = Int32)], CommandType='"Text"', CommandTimeout='30'] SET NOCOUNT ON; INSERT INTO [TM_PG_PLAN] ([BillNum], [PartCode], [PlanShiftName], [PlanTime], [BarCodeQty], [BillLine], [BomVersion], [FinishedQty], [Group], [House], [InQty], [IsMin], [IsPlus], [IsPrinted], [IsProduct], [ModifyTime], [NotInQty], [PackQty], [PlannedOrderParameter], [Qty], [Remark], [Seq], [ShiftName], [State]) VALUES (@p0, @p1, @p2, @p3, @p4, @p5, @p6, @p7, @p8, @p9, @p10, @p11, @p12, @p13, @p14, @p15, @p16, @p17, @p18, @p19, @p20, @p21, @p22, @p23); SELECT [UID] FROM [TM_PG_PLAN] WHERE @@ROWCOUNT = 1 AND [BillNum] = @p0 AND [PartCode] = @p1 AND [PlanShiftName] = @p2 AND [PlanTime] = @p3; 2022-02-19 19:57:29.511 +08:00 [ERR] An exception occurred in the database while saving changes for context type 'WmsWebApi.EntityFrameworkCore.WmsWebApiDbContext'. Microsoft.EntityFrameworkCore.DbUpdateException: An error occurred while updating the entries. See the inner exception for details. ---> Microsoft.Data.SqlClient.SqlException (0x80131904): 不能将值 NULL 插入列 'ShiftName',表 'CPAT_WMS_TEST.dbo.TM_PG_PLAN';列不允许有 Null 值。INSERT 失败。 语句已终止。 at Microsoft.Data.SqlClient.SqlCommand.<>c.b__169_0(Task`1 result) at System.Threading.Tasks.ContinuationResultTaskFromResultTask`2.InnerInvoke() at System.Threading.Tasks.Task.<>c.<.cctor>b__277_0(Object obj) at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state) --- End of stack trace from previous location --- at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread) --- End of stack trace from previous location --- at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.ExecuteAsync(IRelationalConnection connection, CancellationToken cancellationToken) ClientConnectionId:03df18f7-3f7b-49fd-bdff-88bd46fe6292 Error Number:515,State:2,Class:16 --- End of inner exception stack trace --- at Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.ExecuteAsync(IRelationalConnection connection, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChangesAsync(IList`1 entriesToSave, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChangesAsync(DbContext _, Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.SqlServer.Storage.Internal.SqlServerExecutionStrategy.ExecuteAsync[TState,TResult](TState state, Func`4 operation, Func`4 verifySucceeded, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.DbContext.SaveChangesAsync(Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken) Microsoft.EntityFrameworkCore.DbUpdateException: An error occurred while updating the entries. See the inner exception for details. ---> Microsoft.Data.SqlClient.SqlException (0x80131904): 不能将值 NULL 插入列 'ShiftName',表 'CPAT_WMS_TEST.dbo.TM_PG_PLAN';列不允许有 Null 值。INSERT 失败。 语句已终止。 at Microsoft.Data.SqlClient.SqlCommand.<>c.b__169_0(Task`1 result) at System.Threading.Tasks.ContinuationResultTaskFromResultTask`2.InnerInvoke() at System.Threading.Tasks.Task.<>c.<.cctor>b__277_0(Object obj) at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state) --- End of stack trace from previous location --- at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread) --- End of stack trace from previous location --- at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.ExecuteAsync(IRelationalConnection connection, CancellationToken cancellationToken) ClientConnectionId:03df18f7-3f7b-49fd-bdff-88bd46fe6292 Error Number:515,State:2,Class:16 --- End of inner exception stack trace --- at Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.ExecuteAsync(IRelationalConnection connection, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChangesAsync(IList`1 entriesToSave, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChangesAsync(DbContext _, Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.SqlServer.Storage.Internal.SqlServerExecutionStrategy.ExecuteAsync[TState,TResult](TState state, Func`4 operation, Func`4 verifySucceeded, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.DbContext.SaveChangesAsync(Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.DbContext.SaveChangesAsync(Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken) at Volo.Abp.EntityFrameworkCore.AbpDbContext`1.SaveChangesAsync(Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken) at Volo.Abp.Uow.UnitOfWork.SaveChangesAsync(CancellationToken cancellationToken) 2022-02-19 19:57:29.624 +08:00 [ERR] ---------- RemoteServiceErrorInfo ---------- { "code": null, "message": "An internal error occurred during your request!", "details": null, "data": {}, "validationErrors": null } 2022-02-19 19:57:29.625 +08:00 [ERR] An error occurred while updating the entries. See the inner exception for details. Microsoft.EntityFrameworkCore.DbUpdateException: An error occurred while updating the entries. See the inner exception for details. ---> Microsoft.Data.SqlClient.SqlException (0x80131904): 不能将值 NULL 插入列 'ShiftName',表 'CPAT_WMS_TEST.dbo.TM_PG_PLAN';列不允许有 Null 值。INSERT 失败。 语句已终止。 at Microsoft.Data.SqlClient.SqlCommand.<>c.b__169_0(Task`1 result) at System.Threading.Tasks.ContinuationResultTaskFromResultTask`2.InnerInvoke() at System.Threading.Tasks.Task.<>c.<.cctor>b__277_0(Object obj) at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state) --- End of stack trace from previous location --- at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread) --- End of stack trace from previous location --- at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.ExecuteAsync(IRelationalConnection connection, CancellationToken cancellationToken) ClientConnectionId:03df18f7-3f7b-49fd-bdff-88bd46fe6292 Error Number:515,State:2,Class:16 --- End of inner exception stack trace --- at Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.ExecuteAsync(IRelationalConnection connection, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChangesAsync(IList`1 entriesToSave, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChangesAsync(DbContext _, Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.SqlServer.Storage.Internal.SqlServerExecutionStrategy.ExecuteAsync[TState,TResult](TState state, Func`4 operation, Func`4 verifySucceeded, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.DbContext.SaveChangesAsync(Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.DbContext.SaveChangesAsync(Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken) at Volo.Abp.EntityFrameworkCore.AbpDbContext`1.SaveChangesAsync(Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken) at Volo.Abp.Uow.UnitOfWork.SaveChangesAsync(CancellationToken cancellationToken) at Volo.Abp.Uow.UnitOfWork.CompleteAsync(CancellationToken cancellationToken) at Volo.Abp.AspNetCore.Mvc.Uow.AbpUowActionFilter.OnActionExecutionAsync(ActionExecutingContext context, ActionExecutionDelegate next) at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.g__Awaited|10_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted) at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context) at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted) at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.g__Awaited|13_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted) at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.g__Awaited|25_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted) 2022-02-19 19:57:29.642 +08:00 [INF] Executing ObjectResult, writing value of type 'Volo.Abp.Http.RemoteServiceErrorResponse'. 2022-02-19 19:57:29.661 +08:00 [INF] Executed action WmsWebApi.PPlan.PPlanService.AddAsync (WmsWebApi.Application) in 7088.41ms 2022-02-19 19:57:29.664 +08:00 [INF] Executed endpoint 'WmsWebApi.PPlan.PPlanService.AddAsync (WmsWebApi.Application)' 2022-02-19 19:57:30.192 +08:00 [INF] Entity Framework Core 5.0.14 initialized 'AbpAuditLoggingDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: QuerySplittingBehavior=SplitQuery 2022-02-19 19:57:30.706 +08:00 [ERR] Failed executing DbCommand (52ms) [Parameters=[@p0='?' (DbType = Guid), @p1='?' (Size = 96), @p2='?' (Size = 512), @p3='?' (Size = 64), @p4='?' (Size = 64), @p5='?' (Size = 128), @p6='?' (Size = 256), @p7='?' (Size = 40), @p8='?' (Size = 64), @p9='?' (Size = -1), @p10='?' (DbType = Int32), @p11='?' (DbType = DateTime2), @p12='?' (Size = 4000), @p13='?' (Size = 16), @p14='?' (DbType = Int32), @p15='?' (DbType = Guid), @p16='?' (DbType = Guid), @p17='?' (DbType = Guid), @p18='?' (Size = 4000), @p19='?' (Size = 256), @p20='?' (DbType = Guid), @p21='?' (Size = 256)], CommandType='"Text"', CommandTimeout='30'] SET NOCOUNT ON; INSERT INTO [AbpAuditLogs] ([Id], [ApplicationName], [BrowserInfo], [ClientId], [ClientIpAddress], [ClientName], [Comments], [ConcurrencyStamp], [CorrelationId], [Exceptions], [ExecutionDuration], [ExecutionTime], [ExtraProperties], [HttpMethod], [HttpStatusCode], [ImpersonatorTenantId], [ImpersonatorUserId], [TenantId], [TenantName], [Url], [UserId], [UserName]) VALUES (@p0, @p1, @p2, @p3, @p4, @p5, @p6, @p7, @p8, @p9, @p10, @p11, @p12, @p13, @p14, @p15, @p16, @p17, @p18, @p19, @p20, @p21); 2022-02-19 19:57:30.757 +08:00 [ERR] An exception occurred in the database while saving changes for context type 'Volo.Abp.AuditLogging.EntityFrameworkCore.AbpAuditLoggingDbContext'. Microsoft.EntityFrameworkCore.DbUpdateException: An error occurred while updating the entries. See the inner exception for details. ---> Microsoft.Data.SqlClient.SqlException (0x80131904): 将截断字符串或二进制数据。 语句已终止。 at Microsoft.Data.SqlClient.SqlCommand.<>c.b__169_0(Task`1 result) at System.Threading.Tasks.ContinuationResultTaskFromResultTask`2.InnerInvoke() at System.Threading.Tasks.Task.<>c.<.cctor>b__277_0(Object obj) at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state) --- End of stack trace from previous location --- at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread) --- End of stack trace from previous location --- at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.ExecuteAsync(IRelationalConnection connection, CancellationToken cancellationToken) ClientConnectionId:95c0c20a-2a22-49c7-b17a-295d51291df5 Error Number:8152,State:10,Class:16 --- End of inner exception stack trace --- at Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.ExecuteAsync(IRelationalConnection connection, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChangesAsync(IList`1 entriesToSave, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChangesAsync(DbContext _, Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.SqlServer.Storage.Internal.SqlServerExecutionStrategy.ExecuteAsync[TState,TResult](TState state, Func`4 operation, Func`4 verifySucceeded, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.DbContext.SaveChangesAsync(Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken) Microsoft.EntityFrameworkCore.DbUpdateException: An error occurred while updating the entries. See the inner exception for details. ---> Microsoft.Data.SqlClient.SqlException (0x80131904): 将截断字符串或二进制数据。 语句已终止。 at Microsoft.Data.SqlClient.SqlCommand.<>c.b__169_0(Task`1 result) at System.Threading.Tasks.ContinuationResultTaskFromResultTask`2.InnerInvoke() at System.Threading.Tasks.Task.<>c.<.cctor>b__277_0(Object obj) at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state) --- End of stack trace from previous location --- at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread) --- End of stack trace from previous location --- at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.ExecuteAsync(IRelationalConnection connection, CancellationToken cancellationToken) ClientConnectionId:95c0c20a-2a22-49c7-b17a-295d51291df5 Error Number:8152,State:10,Class:16 --- End of inner exception stack trace --- at Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.ExecuteAsync(IRelationalConnection connection, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChangesAsync(IList`1 entriesToSave, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChangesAsync(DbContext _, Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.SqlServer.Storage.Internal.SqlServerExecutionStrategy.ExecuteAsync[TState,TResult](TState state, Func`4 operation, Func`4 verifySucceeded, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.DbContext.SaveChangesAsync(Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.DbContext.SaveChangesAsync(Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken) at Volo.Abp.EntityFrameworkCore.AbpDbContext`1.SaveChangesAsync(Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken) at Volo.Abp.Uow.UnitOfWork.SaveChangesAsync(CancellationToken cancellationToken) at Volo.Abp.Uow.UnitOfWork.CompleteAsync(CancellationToken cancellationToken) 2022-02-19 19:57:30.782 +08:00 [WRN] Could not save the audit log object: AUDIT LOG: [500: POST ] /api/PPlan/add - UserName - UserId : - - ClientIpAddress : ::1 - ExecutionDuration : 7140 - Actions: - WmsWebApi.PPlan.PPlanService.AddAsync (6039 ms.) {"content":{"valueKind":1}} - Exceptions: - An error occurred while updating the entries. See the inner exception for details. Microsoft.EntityFrameworkCore.DbUpdateException: An error occurred while updating the entries. See the inner exception for details. ---> Microsoft.Data.SqlClient.SqlException (0x80131904): 不能将值 NULL 插入列 'ShiftName',表 'CPAT_WMS_TEST.dbo.TM_PG_PLAN';列不允许有 Null 值。INSERT 失败。 语句已终止。 at Microsoft.Data.SqlClient.SqlCommand.<>c.b__169_0(Task`1 result) at System.Threading.Tasks.ContinuationResultTaskFromResultTask`2.InnerInvoke() at System.Threading.Tasks.Task.<>c.<.cctor>b__277_0(Object obj) at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state) --- End of stack trace from previous location --- at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread) --- End of stack trace from previous location --- at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.ExecuteAsync(IRelationalConnection connection, CancellationToken cancellationToken) ClientConnectionId:03df18f7-3f7b-49fd-bdff-88bd46fe6292 Error Number:515,State:2,Class:16 --- End of inner exception stack trace --- at Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.ExecuteAsync(IRelationalConnection connection, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChangesAsync(IList`1 entriesToSave, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChangesAsync(DbContext _, Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.SqlServer.Storage.Internal.SqlServerExecutionStrategy.ExecuteAsync[TState,TResult](TState state, Func`4 operation, Func`4 verifySucceeded, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.DbContext.SaveChangesAsync(Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.DbContext.SaveChangesAsync(Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken) at Volo.Abp.EntityFrameworkCore.AbpDbContext`1.SaveChangesAsync(Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken) at Volo.Abp.Uow.UnitOfWork.SaveChangesAsync(CancellationToken cancellationToken) at Volo.Abp.Uow.UnitOfWork.CompleteAsync(CancellationToken cancellationToken) at Volo.Abp.AspNetCore.Mvc.Uow.AbpUowActionFilter.OnActionExecutionAsync(ActionExecutingContext context, ActionExecutionDelegate next) at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.g__Awaited|10_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted) at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context) at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted) at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.g__Awaited|13_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted) at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.g__Awaited|25_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted) 2022-02-19 19:57:30.782 +08:00 [ERR] An error occurred while updating the entries. See the inner exception for details. Microsoft.EntityFrameworkCore.DbUpdateException: An error occurred while updating the entries. See the inner exception for details. ---> Microsoft.Data.SqlClient.SqlException (0x80131904): 将截断字符串或二进制数据。 语句已终止。 at Microsoft.Data.SqlClient.SqlCommand.<>c.b__169_0(Task`1 result) at System.Threading.Tasks.ContinuationResultTaskFromResultTask`2.InnerInvoke() at System.Threading.Tasks.Task.<>c.<.cctor>b__277_0(Object obj) at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state) --- End of stack trace from previous location --- at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread) --- End of stack trace from previous location --- at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.ExecuteAsync(IRelationalConnection connection, CancellationToken cancellationToken) ClientConnectionId:95c0c20a-2a22-49c7-b17a-295d51291df5 Error Number:8152,State:10,Class:16 --- End of inner exception stack trace --- at Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.ExecuteAsync(IRelationalConnection connection, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChangesAsync(IList`1 entriesToSave, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChangesAsync(DbContext _, Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.SqlServer.Storage.Internal.SqlServerExecutionStrategy.ExecuteAsync[TState,TResult](TState state, Func`4 operation, Func`4 verifySucceeded, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.DbContext.SaveChangesAsync(Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.DbContext.SaveChangesAsync(Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken) at Volo.Abp.EntityFrameworkCore.AbpDbContext`1.SaveChangesAsync(Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken) at Volo.Abp.Uow.UnitOfWork.SaveChangesAsync(CancellationToken cancellationToken) at Volo.Abp.Uow.UnitOfWork.CompleteAsync(CancellationToken cancellationToken) at Volo.Abp.AuditLogging.AuditingStore.SaveLogAsync(AuditLogInfo auditInfo) at Volo.Abp.AuditLogging.AuditingStore.SaveAsync(AuditLogInfo auditInfo) 2022-02-19 19:57:30.786 +08:00 [INF] Request finished HTTP/2 POST https://localhost:5000/api/PPlan/add application/json 363 - 500 - application/json;+charset=utf-8 8282.1858ms 2022-02-19 20:00:29.022 +08:00 [INF] Starting web host. 2022-02-19 20:00:38.645 +08:00 [INF] User profile is available. Using 'C:\Users\lvcj2\AppData\Local\ASP.NET\DataProtection-Keys' as key repository and Windows DPAPI to encrypt keys at rest. 2022-02-19 20:00:38.792 +08:00 [INF] Loaded ABP modules: 2022-02-19 20:00:38.792 +08:00 [INF] - WmsWebApi.WmsWebApiHttpApiHostModule 2022-02-19 20:00:38.792 +08:00 [INF] - WmsWebApi.WmsWebApiApplicationModule 2022-02-19 20:00:38.792 +08:00 [INF] - WmsWebApi.WmsWebApiDomainModule 2022-02-19 20:00:38.792 +08:00 [INF] - Volo.Abp.Domain.AbpDddDomainModule 2022-02-19 20:00:38.792 +08:00 [INF] - Volo.Abp.Auditing.AbpAuditingModule 2022-02-19 20:00:38.792 +08:00 [INF] - Volo.Abp.Data.AbpDataModule 2022-02-19 20:00:38.792 +08:00 [INF] - Volo.Abp.ObjectExtending.AbpObjectExtendingModule 2022-02-19 20:00:38.792 +08:00 [INF] - Volo.Abp.Localization.AbpLocalizationAbstractionsModule 2022-02-19 20:00:38.792 +08:00 [INF] - Volo.Abp.Validation.AbpValidationAbstractionsModule 2022-02-19 20:00:38.792 +08:00 [INF] - Volo.Abp.Uow.AbpUnitOfWorkModule 2022-02-19 20:00:38.792 +08:00 [INF] - Volo.Abp.EventBus.Abstractions.AbpEventBusAbstractionsModule 2022-02-19 20:00:38.792 +08:00 [INF] - Volo.Abp.Json.AbpJsonModule 2022-02-19 20:00:38.792 +08:00 [INF] - Volo.Abp.Timing.AbpTimingModule 2022-02-19 20:00:38.792 +08:00 [INF] - Volo.Abp.Localization.AbpLocalizationModule 2022-02-19 20:00:38.792 +08:00 [INF] - Volo.Abp.VirtualFileSystem.AbpVirtualFileSystemModule 2022-02-19 20:00:38.792 +08:00 [INF] - Volo.Abp.Settings.AbpSettingsModule 2022-02-19 20:00:38.792 +08:00 [INF] - Volo.Abp.Security.AbpSecurityModule 2022-02-19 20:00:38.792 +08:00 [INF] - Volo.Abp.MultiTenancy.AbpMultiTenancyModule 2022-02-19 20:00:38.792 +08:00 [INF] - Volo.Abp.Threading.AbpThreadingModule 2022-02-19 20:00:38.792 +08:00 [INF] - Volo.Abp.EventBus.AbpEventBusModule 2022-02-19 20:00:38.792 +08:00 [INF] - Volo.Abp.Guids.AbpGuidsModule 2022-02-19 20:00:38.792 +08:00 [INF] - Volo.Abp.ObjectMapping.AbpObjectMappingModule 2022-02-19 20:00:38.792 +08:00 [INF] - Volo.Abp.ExceptionHandling.AbpExceptionHandlingModule 2022-02-19 20:00:38.792 +08:00 [INF] - Volo.Abp.Specifications.AbpSpecificationsModule 2022-02-19 20:00:38.792 +08:00 [INF] - WmsWebApi.WmsWebApiDomainSharedModule 2022-02-19 20:00:38.792 +08:00 [INF] - Volo.Abp.Validation.AbpValidationModule 2022-02-19 20:00:38.792 +08:00 [INF] - WmsWebApi.WmsWebApiApplicationContractsModule 2022-02-19 20:00:38.792 +08:00 [INF] - Volo.Abp.Application.AbpDddApplicationContractsModule 2022-02-19 20:00:38.792 +08:00 [INF] - Volo.Abp.Authorization.AbpAuthorizationModule 2022-02-19 20:00:38.792 +08:00 [INF] - Volo.Abp.Authorization.AbpAuthorizationAbstractionsModule 2022-02-19 20:00:38.792 +08:00 [INF] - Volo.Abp.Application.AbpDddApplicationModule 2022-02-19 20:00:38.792 +08:00 [INF] - Volo.Abp.Http.AbpHttpAbstractionsModule 2022-02-19 20:00:38.792 +08:00 [INF] - Volo.Abp.Features.AbpFeaturesModule 2022-02-19 20:00:38.792 +08:00 [INF] - Volo.Abp.GlobalFeatures.AbpGlobalFeaturesModule 2022-02-19 20:00:38.792 +08:00 [INF] - Volo.Abp.AutoMapper.AbpAutoMapperModule 2022-02-19 20:00:38.792 +08:00 [INF] - WmsWebApi.EntityFrameworkCore.WmsWebApiEntityFrameworkCoreModule 2022-02-19 20:00:38.792 +08:00 [INF] - Volo.Abp.EntityFrameworkCore.AbpEntityFrameworkCoreModule 2022-02-19 20:00:38.792 +08:00 [INF] - Volo.Abp.Dapper.AbpDapperModule 2022-02-19 20:00:38.792 +08:00 [INF] - WmsWebApi.WmsWebApiHttpApiModule 2022-02-19 20:00:38.792 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.AbpAspNetCoreMvcModule 2022-02-19 20:00:38.792 +08:00 [INF] - Volo.Abp.AspNetCore.AbpAspNetCoreModule 2022-02-19 20:00:38.792 +08:00 [INF] - Volo.Abp.Http.AbpHttpModule 2022-02-19 20:00:38.792 +08:00 [INF] - Volo.Abp.Minify.AbpMinifyModule 2022-02-19 20:00:38.792 +08:00 [INF] - Volo.Abp.ApiVersioning.AbpApiVersioningAbstractionsModule 2022-02-19 20:00:38.792 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.AbpAspNetCoreMvcContractsModule 2022-02-19 20:00:38.792 +08:00 [INF] - Volo.Abp.UI.Navigation.AbpUiNavigationModule 2022-02-19 20:00:38.792 +08:00 [INF] - Volo.Abp.UI.AbpUiModule 2022-02-19 20:00:38.792 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.MultiTenancy.AbpAspNetCoreMvcUiMultiTenancyModule 2022-02-19 20:00:38.792 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Theme.Shared.AbpAspNetCoreMvcUiThemeSharedModule 2022-02-19 20:00:38.792 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.AbpAspNetCoreMvcUiBootstrapModule 2022-02-19 20:00:38.792 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.AbpAspNetCoreMvcUiModule 2022-02-19 20:00:38.792 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Packages.AbpAspNetCoreMvcUiPackagesModule 2022-02-19 20:00:38.792 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Bundling.AbpAspNetCoreMvcUiBundlingAbstractionsModule 2022-02-19 20:00:38.792 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Widgets.AbpAspNetCoreMvcUiWidgetsModule 2022-02-19 20:00:38.792 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Bundling.AbpAspNetCoreMvcUiBundlingModule 2022-02-19 20:00:38.792 +08:00 [INF] - Volo.Abp.AspNetCore.MultiTenancy.AbpAspNetCoreMultiTenancyModule 2022-02-19 20:00:38.792 +08:00 [INF] - Volo.Abp.Autofac.AbpAutofacModule 2022-02-19 20:00:38.792 +08:00 [INF] - Volo.Abp.Castle.AbpCastleCoreModule 2022-02-19 20:00:38.792 +08:00 [INF] - Volo.Abp.Caching.StackExchangeRedis.AbpCachingStackExchangeRedisModule 2022-02-19 20:00:38.792 +08:00 [INF] - Volo.Abp.Caching.AbpCachingModule 2022-02-19 20:00:38.792 +08:00 [INF] - Volo.Abp.Serialization.AbpSerializationModule 2022-02-19 20:00:38.792 +08:00 [INF] - Volo.Abp.EntityFrameworkCore.SqlServer.AbpEntityFrameworkCoreSqlServerModule 2022-02-19 20:00:38.792 +08:00 [INF] - Volo.Abp.AuditLogging.EntityFrameworkCore.AbpAuditLoggingEntityFrameworkCoreModule 2022-02-19 20:00:38.792 +08:00 [INF] - Volo.Abp.AuditLogging.AbpAuditLoggingDomainModule 2022-02-19 20:00:38.792 +08:00 [INF] - Volo.Abp.AuditLogging.AbpAuditLoggingDomainSharedModule 2022-02-19 20:00:38.792 +08:00 [INF] - Volo.Abp.PermissionManagement.EntityFrameworkCore.AbpPermissionManagementEntityFrameworkCoreModule 2022-02-19 20:00:38.792 +08:00 [INF] - Volo.Abp.PermissionManagement.AbpPermissionManagementDomainModule 2022-02-19 20:00:38.792 +08:00 [INF] - Volo.Abp.PermissionManagement.AbpPermissionManagementDomainSharedModule 2022-02-19 20:00:38.792 +08:00 [INF] - Volo.Abp.SettingManagement.EntityFrameworkCore.AbpSettingManagementEntityFrameworkCoreModule 2022-02-19 20:00:38.792 +08:00 [INF] - Volo.Abp.SettingManagement.AbpSettingManagementDomainModule 2022-02-19 20:00:38.792 +08:00 [INF] - Volo.Abp.SettingManagement.AbpSettingManagementDomainSharedModule 2022-02-19 20:00:38.792 +08:00 [INF] - Volo.Abp.AspNetCore.Serilog.AbpAspNetCoreSerilogModule 2022-02-19 20:00:38.792 +08:00 [INF] - Volo.Abp.Swashbuckle.AbpSwashbuckleModule 2022-02-19 20:00:39.786 +08:00 [INF] Initialized all ABP modules. 2022-02-19 20:00:40.507 +08:00 [INF] Now listening on: https://localhost:5000 2022-02-19 20:00:40.508 +08:00 [INF] Application started. Press Ctrl+C to shut down. 2022-02-19 20:00:40.508 +08:00 [INF] Hosting environment: Development 2022-02-19 20:00:40.508 +08:00 [INF] Content root path: D:\工作\派格\接口程序\WmsWebApi\host\WmsWebApi.HttpApi.Host 2022-02-19 20:00:44.920 +08:00 [INF] Request starting HTTP/2 GET https://localhost:5000/ - - 2022-02-19 20:00:48.696 +08:00 [INF] Executing endpoint 'WmsWebApi.Controllers.HomeController.Index (WmsWebApi.HttpApi.Host)' 2022-02-19 20:00:48.925 +08:00 [INF] Route matched with {action = "Index", controller = "Home", area = "", page = ""}. Executing controller action with signature Microsoft.AspNetCore.Mvc.ActionResult Index() on controller WmsWebApi.Controllers.HomeController (WmsWebApi.HttpApi.Host). 2022-02-19 20:00:49.550 +08:00 [INF] Executing action method WmsWebApi.Controllers.HomeController.Index (WmsWebApi.HttpApi.Host) - Validation state: "Valid" 2022-02-19 20:00:49.567 +08:00 [INF] Executed action method WmsWebApi.Controllers.HomeController.Index (WmsWebApi.HttpApi.Host), returned result Microsoft.AspNetCore.Mvc.RedirectResult in 0.8391ms. 2022-02-19 20:00:49.582 +08:00 [INF] Executing RedirectResult, redirecting to /swagger. 2022-02-19 20:00:49.602 +08:00 [INF] Executed action WmsWebApi.Controllers.HomeController.Index (WmsWebApi.HttpApi.Host) in 659.5125ms 2022-02-19 20:00:49.602 +08:00 [INF] Executed endpoint 'WmsWebApi.Controllers.HomeController.Index (WmsWebApi.HttpApi.Host)' 2022-02-19 20:00:49.672 +08:00 [INF] Request starting HTTP/2 GET https://localhost:5000/swagger/index.html - - 2022-02-19 20:00:49.672 +08:00 [INF] Request finished HTTP/2 GET https://localhost:5000/ - - - 302 0 - 4781.7174ms 2022-02-19 20:00:50.123 +08:00 [INF] Request finished HTTP/2 GET https://localhost:5000/swagger/index.html - - - 200 - text/html;charset=utf-8 451.4282ms 2022-02-19 20:00:50.890 +08:00 [INF] Request starting HTTP/2 GET https://localhost:5000/_framework/aspnetcore-browser-refresh.js - - 2022-02-19 20:00:50.916 +08:00 [INF] Request finished HTTP/2 GET https://localhost:5000/_framework/aspnetcore-browser-refresh.js - - - 200 11956 application/javascript;+charset=utf-8 25.4474ms 2022-02-19 20:00:51.370 +08:00 [INF] Request starting HTTP/2 GET https://localhost:5000/swagger/v1/swagger.json - - 2022-02-19 20:00:51.787 +08:00 [INF] Request finished HTTP/2 GET https://localhost:5000/swagger/v1/swagger.json - - - 200 - application/json;charset=utf-8 417.0988ms 2022-02-19 20:01:05.124 +08:00 [INF] Request starting HTTP/2 GET https://localhost:5000/abp/Swashbuckle/SetCsrfCookie application/json - 2022-02-19 20:01:05.129 +08:00 [INF] Executing endpoint 'Volo.Abp.Swashbuckle.AbpSwashbuckleController.SetCsrfCookie (Volo.Abp.Swashbuckle)' 2022-02-19 20:01:05.132 +08:00 [INF] Route matched with {area = "Abp", action = "SetCsrfCookie", controller = "AbpSwashbuckle", page = ""}. Executing controller action with signature Void SetCsrfCookie() on controller Volo.Abp.Swashbuckle.AbpSwashbuckleController (Volo.Abp.Swashbuckle). 2022-02-19 20:01:05.278 +08:00 [INF] Executing action method Volo.Abp.Swashbuckle.AbpSwashbuckleController.SetCsrfCookie (Volo.Abp.Swashbuckle) - Validation state: "Valid" 2022-02-19 20:01:05.300 +08:00 [INF] Executed action method Volo.Abp.Swashbuckle.AbpSwashbuckleController.SetCsrfCookie (Volo.Abp.Swashbuckle), returned result Microsoft.AspNetCore.Mvc.EmptyResult in 22.3905ms. 2022-02-19 20:01:05.301 +08:00 [INF] Executed action Volo.Abp.Swashbuckle.AbpSwashbuckleController.SetCsrfCookie (Volo.Abp.Swashbuckle) in 169.1827ms 2022-02-19 20:01:05.301 +08:00 [INF] Executed endpoint 'Volo.Abp.Swashbuckle.AbpSwashbuckleController.SetCsrfCookie (Volo.Abp.Swashbuckle)' 2022-02-19 20:01:05.302 +08:00 [INF] Request finished HTTP/2 GET https://localhost:5000/abp/Swashbuckle/SetCsrfCookie application/json - - 204 - - 178.8805ms 2022-02-19 20:01:05.364 +08:00 [INF] Request starting HTTP/2 POST https://localhost:5000/api/PPlan/add application/json 363 2022-02-19 20:01:05.369 +08:00 [INF] CORS policy execution failed. 2022-02-19 20:01:05.369 +08:00 [INF] Request origin https://localhost:5000 does not have permission to access the resource. 2022-02-19 20:01:05.371 +08:00 [INF] Executing endpoint 'WmsWebApi.PPlan.PPlanService.AddAsync (WmsWebApi.Application)' 2022-02-19 20:01:05.389 +08:00 [INF] Route matched with {action = "Add", controller = "PPlan", area = "", page = ""}. Executing controller action with signature System.Threading.Tasks.Task`1[WmsWebApi.PPlan.ReturnResult] AddAsync(System.Object) on controller WmsWebApi.PPlan.PPlanService (WmsWebApi.Application). 2022-02-19 20:01:06.279 +08:00 [INF] Executing action method WmsWebApi.PPlan.PPlanService.AddAsync (WmsWebApi.Application) - Validation state: "Valid" 2022-02-19 20:01:10.131 +08:00 [WRN] No type was specified for the decimal property 'BMENG' on entity type 'WmsWebApiBOMDTO'. This will cause values to be silently truncated if they do not fit in the default precision and scale. Explicitly specify the SQL server column type that can accommodate all the values in 'OnModelCreating' using 'HasColumnType()', specify precision and scale using 'HasPrecision()' or configure a value converter using 'HasConversion()'. 2022-02-19 20:01:10.131 +08:00 [WRN] No type was specified for the decimal property 'GSMNG' on entity type 'WmsWebApiPPLANDTO'. This will cause values to be silently truncated if they do not fit in the default precision and scale. Explicitly specify the SQL server column type that can accommodate all the values in 'OnModelCreating' using 'HasColumnType()', specify precision and scale using 'HasPrecision()' or configure a value converter using 'HasConversion()'. 2022-02-19 20:01:10.131 +08:00 [WRN] No type was specified for the decimal property 'Qty' on entity type 'TA_BOM'. This will cause values to be silently truncated if they do not fit in the default precision and scale. Explicitly specify the SQL server column type that can accommodate all the values in 'OnModelCreating' using 'HasColumnType()', specify precision and scale using 'HasPrecision()' or configure a value converter using 'HasConversion()'. 2022-02-19 20:01:10.131 +08:00 [WRN] No type was specified for the decimal property 'CustPackQty' on entity type 'TA_CUST_PART'. This will cause values to be silently truncated if they do not fit in the default precision and scale. Explicitly specify the SQL server column type that can accommodate all the values in 'OnModelCreating' using 'HasColumnType()', specify precision and scale using 'HasPrecision()' or configure a value converter using 'HasConversion()'. 2022-02-19 20:01:10.131 +08:00 [WRN] No type was specified for the decimal property 'CustPalletCapacity' on entity type 'TA_CUST_PART'. This will cause values to be silently truncated if they do not fit in the default precision and scale. Explicitly specify the SQL server column type that can accommodate all the values in 'OnModelCreating' using 'HasColumnType()', specify precision and scale using 'HasPrecision()' or configure a value converter using 'HasConversion()'. 2022-02-19 20:01:10.131 +08:00 [WRN] No type was specified for the decimal property 'ContainerQty' on entity type 'TA_PART'. This will cause values to be silently truncated if they do not fit in the default precision and scale. Explicitly specify the SQL server column type that can accommodate all the values in 'OnModelCreating' using 'HasColumnType()', specify precision and scale using 'HasPrecision()' or configure a value converter using 'HasConversion()'. 2022-02-19 20:01:10.131 +08:00 [WRN] No type was specified for the decimal property 'LinesidePackQty' on entity type 'TA_PART'. This will cause values to be silently truncated if they do not fit in the default precision and scale. Explicitly specify the SQL server column type that can accommodate all the values in 'OnModelCreating' using 'HasColumnType()', specify precision and scale using 'HasPrecision()' or configure a value converter using 'HasConversion()'. 2022-02-19 20:01:10.131 +08:00 [WRN] No type was specified for the decimal property 'MaxQty' on entity type 'TA_PART'. This will cause values to be silently truncated if they do not fit in the default precision and scale. Explicitly specify the SQL server column type that can accommodate all the values in 'OnModelCreating' using 'HasColumnType()', specify precision and scale using 'HasPrecision()' or configure a value converter using 'HasConversion()'. 2022-02-19 20:01:10.131 +08:00 [WRN] No type was specified for the decimal property 'MinQty' on entity type 'TA_PART'. This will cause values to be silently truncated if they do not fit in the default precision and scale. Explicitly specify the SQL server column type that can accommodate all the values in 'OnModelCreating' using 'HasColumnType()', specify precision and scale using 'HasPrecision()' or configure a value converter using 'HasConversion()'. 2022-02-19 20:01:10.131 +08:00 [WRN] No type was specified for the decimal property 'SafeQty' on entity type 'TA_PART'. This will cause values to be silently truncated if they do not fit in the default precision and scale. Explicitly specify the SQL server column type that can accommodate all the values in 'OnModelCreating' using 'HasColumnType()', specify precision and scale using 'HasPrecision()' or configure a value converter using 'HasConversion()'. 2022-02-19 20:01:10.131 +08:00 [WRN] No type was specified for the decimal property 'SamplePercent' on entity type 'TA_PART'. This will cause values to be silently truncated if they do not fit in the default precision and scale. Explicitly specify the SQL server column type that can accommodate all the values in 'OnModelCreating' using 'HasColumnType()', specify precision and scale using 'HasPrecision()' or configure a value converter using 'HasConversion()'. 2022-02-19 20:01:10.131 +08:00 [WRN] No type was specified for the decimal property 'SingleWeight' on entity type 'TA_PART'. This will cause values to be silently truncated if they do not fit in the default precision and scale. Explicitly specify the SQL server column type that can accommodate all the values in 'OnModelCreating' using 'HasColumnType()', specify precision and scale using 'HasPrecision()' or configure a value converter using 'HasConversion()'. 2022-02-19 20:01:10.131 +08:00 [WRN] No type was specified for the decimal property 'StockPackQty' on entity type 'TA_PART'. This will cause values to be silently truncated if they do not fit in the default precision and scale. Explicitly specify the SQL server column type that can accommodate all the values in 'OnModelCreating' using 'HasColumnType()', specify precision and scale using 'HasPrecision()' or configure a value converter using 'HasConversion()'. 2022-02-19 20:01:10.131 +08:00 [WRN] No type was specified for the decimal property 'BarCodeQty' on entity type 'TM_PG_PLAN'. This will cause values to be silently truncated if they do not fit in the default precision and scale. Explicitly specify the SQL server column type that can accommodate all the values in 'OnModelCreating' using 'HasColumnType()', specify precision and scale using 'HasPrecision()' or configure a value converter using 'HasConversion()'. 2022-02-19 20:01:10.131 +08:00 [WRN] No type was specified for the decimal property 'FinishedQty' on entity type 'TM_PG_PLAN'. This will cause values to be silently truncated if they do not fit in the default precision and scale. Explicitly specify the SQL server column type that can accommodate all the values in 'OnModelCreating' using 'HasColumnType()', specify precision and scale using 'HasPrecision()' or configure a value converter using 'HasConversion()'. 2022-02-19 20:01:10.131 +08:00 [WRN] No type was specified for the decimal property 'InQty' on entity type 'TM_PG_PLAN'. This will cause values to be silently truncated if they do not fit in the default precision and scale. Explicitly specify the SQL server column type that can accommodate all the values in 'OnModelCreating' using 'HasColumnType()', specify precision and scale using 'HasPrecision()' or configure a value converter using 'HasConversion()'. 2022-02-19 20:01:10.131 +08:00 [WRN] No type was specified for the decimal property 'NotInQty' on entity type 'TM_PG_PLAN'. This will cause values to be silently truncated if they do not fit in the default precision and scale. Explicitly specify the SQL server column type that can accommodate all the values in 'OnModelCreating' using 'HasColumnType()', specify precision and scale using 'HasPrecision()' or configure a value converter using 'HasConversion()'. 2022-02-19 20:01:10.131 +08:00 [WRN] No type was specified for the decimal property 'PackQty' on entity type 'TM_PG_PLAN'. This will cause values to be silently truncated if they do not fit in the default precision and scale. Explicitly specify the SQL server column type that can accommodate all the values in 'OnModelCreating' using 'HasColumnType()', specify precision and scale using 'HasPrecision()' or configure a value converter using 'HasConversion()'. 2022-02-19 20:01:10.131 +08:00 [WRN] No type was specified for the decimal property 'Qty' on entity type 'TM_PG_PLAN'. This will cause values to be silently truncated if they do not fit in the default precision and scale. Explicitly specify the SQL server column type that can accommodate all the values in 'OnModelCreating' using 'HasColumnType()', specify precision and scale using 'HasPrecision()' or configure a value converter using 'HasConversion()'. 2022-02-19 20:01:10.243 +08:00 [INF] Entity Framework Core 5.0.14 initialized 'WmsWebApiDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: QuerySplittingBehavior=SplitQuery 2022-02-19 20:01:11.076 +08:00 [INF] Executed DbCommand (80ms) [Parameters=[@___planDto_MATNR_0='?' (Size = 50)], CommandType='"Text"', CommandTimeout='30'] SELECT TOP(1) [t].[UID], [t].[AbcClass], [t].[CertificateOfQuality], [t].[Configuration], [t].[ContainerQty], [t].[DefaultBackFlushLocCode], [t].[DefaultReceiveLocCode], [t].[DistributionType], [t].[DrawingNumber], [t].[ErpPartCode], [t].[InspectType], [t].[Inspecter], [t].[IsAskMerge], [t].[IsConsign], [t].[IsDeposit], [t].[IsNoInterface], [t].[IsTransfer], [t].[LabelTemplate], [t].[LinesidePackQty], [t].[ManageType], [t].[MaxQty], [t].[MinQty], [t].[PalletSize], [t].[PalletTemplate], [t].[PartCode], [t].[PartDesc1], [t].[PartDesc2], [t].[PartGroup], [t].[PartKind], [t].[PartType], [t].[Process], [t].[ProjectId], [t].[Promo], [t].[QLevel], [t].[ReceivePort], [t].[Remark], [t].[SafeQty], [t].[SamplePercent], [t].[SingleWeight], [t].[Source], [t].[State], [t].[StockPackQty], [t].[StoreKeeper], [t].[Unit], [t].[ValidityDays] FROM [TA_PART] AS [t] WHERE [t].[PartCode] = @___planDto_MATNR_0 2022-02-19 20:01:11.554 +08:00 [INF] Executed DbCommand (60ms) [Parameters=[@___billnum_0='?' (Size = 64)], CommandType='"Text"', CommandTimeout='30'] SELECT TOP(1) [t].[UID], [t].[AccountDate], [t].[BillNum], [t].[BillTime], [t].[BillType], [t].[CustId], [t].[DetailQty], [t].[DockCode], [t].[FinishTime], [t].[GateCode], [t].[GateName], [t].[Guid], [t].[OperName], [t].[ProjectId], [t].[Remark], [t].[SourceBillNum], [t].[SourceBillNum2], [t].[SourceBillNum3], [t].[StartTime], [t].[State], [t].[SubBillType], [t].[TransportType], [t].[TruckNum], [t].[VendId] FROM [TB_BILL] AS [t] WHERE [t].[BillNum] = @___billnum_0 2022-02-19 20:01:11.651 +08:00 [INF] Executed DbCommand (30ms) [Parameters=[@__tbBill_BillNum_0='?' (Size = 64)], CommandType='"Text"', CommandTimeout='30'] SELECT TOP(1) [t].[UID], [t].[AccountDate], [t].[BillNum], [t].[BillTime], [t].[BillType], [t].[CustId], [t].[DetailQty], [t].[DockCode], [t].[FinishTime], [t].[GateCode], [t].[GateName], [t].[Guid], [t].[OperName], [t].[ProjectId], [t].[Remark], [t].[SourceBillNum], [t].[SourceBillNum2], [t].[SourceBillNum3], [t].[StartTime], [t].[State], [t].[SubBillType], [t].[TransportType], [t].[TruckNum], [t].[VendId] FROM [TB_BILL] AS [t] WHERE [t].[BillNum] = @__tbBill_BillNum_0 2022-02-19 20:01:11.927 +08:00 [INF] Executed DbCommand (31ms) [Parameters=[@___planDto_PEDTR_0='?' (Size = 450), @___planDto_SCHGRUP_1='?' (Size = 4000), @___planDto_KAPTPROG_2='?' (Size = 450), @___planDto_MATNR_3='?' (Size = 450)], CommandType='"Text"', CommandTimeout='30'] SELECT TOP(1) [t].[PartCode], [t].[BillNum], [t].[PlanTime], [t].[PlanShiftName], [t].[BarCodeQty], [t].[BillLine], [t].[BomVersion], [t].[FinishedQty], [t].[Group], [t].[House], [t].[UID], [t].[InQty], [t].[IsMin], [t].[IsPlus], [t].[IsPrinted], [t].[IsProduct], [t].[ModifyTime], [t].[NotInQty], [t].[PackQty], [t].[PlannedOrderParameter], [t].[Qty], [t].[Remark], [t].[Seq], [t].[ShiftName], [t].[State] FROM [TM_PG_PLAN] AS [t] WHERE ((([t].[PlanTime] = @___planDto_PEDTR_0) AND ([t].[Group] = @___planDto_SCHGRUP_1)) AND ([t].[PlanShiftName] = @___planDto_KAPTPROG_2)) AND ([t].[PartCode] = @___planDto_MATNR_3) 2022-02-19 20:01:12.115 +08:00 [INF] Executed action method WmsWebApi.PPlan.PPlanService.AddAsync (WmsWebApi.Application), returned result Microsoft.AspNetCore.Mvc.ObjectResult in 5836.0639ms. 2022-02-19 20:01:12.508 +08:00 [INF] Executed DbCommand (48ms) [Parameters=[@p0='?' (DbType = DateTime2), @p1='?' (Size = 64), @p2='?' (DbType = DateTime2), @p3='?' (DbType = Int32), @p4='?' (Size = 50), @p5='?' (DbType = Int32), @p6='?' (Size = 4000), @p7='?' (Size = 50), @p8='?' (Size = 50), @p9='?' (Size = 50), @p10='?' (DbType = Guid), @p11='?' (Size = 4000), @p12='?' (Size = 50), @p13='?' (Size = 4000), @p14='?' (Size = 4000), @p15='?' (Size = 4000), @p16='?' (Size = 4000), @p17='?' (Size = 50), @p18='?' (DbType = Int32), @p19='?' (Size = 50), @p20='?' (Size = 50), @p21='?' (Size = 50)], CommandType='"Text"', CommandTimeout='30'] SET NOCOUNT ON; INSERT INTO [TB_BILL] ([AccountDate], [BillNum], [BillTime], [BillType], [CustId], [DetailQty], [DockCode], [FinishTime], [GateCode], [GateName], [Guid], [OperName], [ProjectId], [Remark], [SourceBillNum], [SourceBillNum2], [SourceBillNum3], [StartTime], [SubBillType], [TransportType], [TruckNum], [VendId]) VALUES (@p0, @p1, @p2, @p3, @p4, @p5, @p6, @p7, @p8, @p9, @p10, @p11, @p12, @p13, @p14, @p15, @p16, @p17, @p18, @p19, @p20, @p21); SELECT [UID], [State] FROM [TB_BILL] WHERE @@ROWCOUNT = 1 AND [UID] = scope_identity(); 2022-02-19 20:01:12.618 +08:00 [INF] Executed DbCommand (47ms) [Parameters=[@p0='?' (Size = 50), @p1='?' (Size = 450), @p2='?' (Size = 450), @p3='?' (Size = 450), @p4='?' (Precision = 18) (Scale = 2) (DbType = Decimal), @p5='?' (DbType = Int32), @p6='?' (Size = 4000), @p7='?' (Precision = 18) (Scale = 2) (DbType = Decimal), @p8='?' (Size = 4000), @p9='?' (Size = 4000), @p10='?' (Precision = 18) (Scale = 2) (DbType = Decimal), @p11='?' (DbType = Int32), @p12='?' (DbType = Int32), @p13='?' (DbType = Int32), @p14='?' (DbType = Int32), @p15='?' (DbType = DateTime2), @p16='?' (Precision = 18) (Scale = 2) (DbType = Decimal), @p17='?' (Precision = 18) (Scale = 2) (DbType = Decimal), @p18='?' (Size = 50), @p19='?' (Precision = 18) (Scale = 2) (DbType = Decimal), @p20='?' (Size = 4000), @p21='?' (DbType = Int32), @p22='?' (Size = 4000), @p23='?' (DbType = Int32)], CommandType='"Text"', CommandTimeout='30'] SET NOCOUNT ON; INSERT INTO [TM_PG_PLAN] ([BillNum], [PartCode], [PlanShiftName], [PlanTime], [BarCodeQty], [BillLine], [BomVersion], [FinishedQty], [Group], [House], [InQty], [IsMin], [IsPlus], [IsPrinted], [IsProduct], [ModifyTime], [NotInQty], [PackQty], [PlannedOrderParameter], [Qty], [Remark], [Seq], [ShiftName], [State]) VALUES (@p0, @p1, @p2, @p3, @p4, @p5, @p6, @p7, @p8, @p9, @p10, @p11, @p12, @p13, @p14, @p15, @p16, @p17, @p18, @p19, @p20, @p21, @p22, @p23); SELECT [UID] FROM [TM_PG_PLAN] WHERE @@ROWCOUNT = 1 AND [BillNum] = @p0 AND [PartCode] = @p1 AND [PlanShiftName] = @p2 AND [PlanTime] = @p3; 2022-02-19 20:01:12.662 +08:00 [INF] Executed DbCommand (37ms) [Parameters=[@p0='?' (DbType = Guid), @p1='?' (Size = 4000), @p2='?' (DbType = DateTime2), @p3='?' (Precision = 18) (Scale = 2) (DbType = Decimal), @p4='?' (Size = 4000), @p5='?' (Size = 4000), @p6='?' (Size = 4000), @p7='?' (Size = 4000), @p8='?' (Size = 4000), @p9='?' (Size = 20), @p10='?' (Size = 2), @p11='?' (Size = 4000), @p12='?' (Size = 4000), @p13='?' (Size = 4000), @p14='?' (Size = 4000), @p15='?' (Size = 4000), @p16='?' (Size = 4000), @p17='?' (Size = 4000), @p18='?' (Size = 4000), @p19='?' (Size = 4000)], CommandType='"Text"', CommandTimeout='30'] SET NOCOUNT ON; INSERT INTO [WmsWebApiPPLANDTO] ([Id], [DISPO], [DYSJ], [GSMNG], [ITYPE], [JSON], [KAPTPROG], [MAKTX], [MATNR], [PEDTR], [SCHGRUP], [VERID], [WERKS], [XUBNAME], [ZBZSM], [ZCDATE], [ZCTIME], [ZMACD], [ZMATX], [ZSCSX]) VALUES (@p0, @p1, @p2, @p3, @p4, @p5, @p6, @p7, @p8, @p9, @p10, @p11, @p12, @p13, @p14, @p15, @p16, @p17, @p18, @p19); 2022-02-19 20:01:12.942 +08:00 [DBG] Added 0 entity changes to the current audit log 2022-02-19 20:01:12.943 +08:00 [DBG] Added 0 entity changes to the current audit log 2022-02-19 20:01:12.968 +08:00 [INF] Executing ObjectResult, writing value of type 'WmsWebApi.PPlan.ReturnResult'. 2022-02-19 20:01:12.996 +08:00 [INF] Executed action WmsWebApi.PPlan.PPlanService.AddAsync (WmsWebApi.Application) in 7606.8437ms 2022-02-19 20:01:12.997 +08:00 [INF] Executed endpoint 'WmsWebApi.PPlan.PPlanService.AddAsync (WmsWebApi.Application)' 2022-02-19 20:01:13.600 +08:00 [INF] Entity Framework Core 5.0.14 initialized 'AbpAuditLoggingDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: QuerySplittingBehavior=SplitQuery 2022-02-19 20:01:14.052 +08:00 [INF] Executed DbCommand (45ms) [Parameters=[@p0='?' (DbType = Guid), @p1='?' (Size = 96), @p2='?' (Size = 512), @p3='?' (Size = 64), @p4='?' (Size = 64), @p5='?' (Size = 128), @p6='?' (Size = 256), @p7='?' (Size = 40), @p8='?' (Size = 64), @p9='?' (Size = 4000), @p10='?' (DbType = Int32), @p11='?' (DbType = DateTime2), @p12='?' (Size = 4000), @p13='?' (Size = 16), @p14='?' (DbType = Int32), @p15='?' (DbType = Guid), @p16='?' (DbType = Guid), @p17='?' (DbType = Guid), @p18='?' (Size = 4000), @p19='?' (Size = 256), @p20='?' (DbType = Guid), @p21='?' (Size = 256)], CommandType='"Text"', CommandTimeout='30'] SET NOCOUNT ON; INSERT INTO [AbpAuditLogs] ([Id], [ApplicationName], [BrowserInfo], [ClientId], [ClientIpAddress], [ClientName], [Comments], [ConcurrencyStamp], [CorrelationId], [Exceptions], [ExecutionDuration], [ExecutionTime], [ExtraProperties], [HttpMethod], [HttpStatusCode], [ImpersonatorTenantId], [ImpersonatorUserId], [TenantId], [TenantName], [Url], [UserId], [UserName]) VALUES (@p0, @p1, @p2, @p3, @p4, @p5, @p6, @p7, @p8, @p9, @p10, @p11, @p12, @p13, @p14, @p15, @p16, @p17, @p18, @p19, @p20, @p21); 2022-02-19 20:01:14.080 +08:00 [INF] Executed DbCommand (26ms) [Parameters=[@p22='?' (DbType = Guid), @p23='?' (DbType = Guid), @p24='?' (DbType = Int32), @p25='?' (DbType = DateTime2), @p26='?' (Size = 4000), @p27='?' (Size = 128), @p28='?' (Size = 2000), @p29='?' (Size = 256), @p30='?' (DbType = Guid)], CommandType='"Text"', CommandTimeout='30'] SET NOCOUNT ON; INSERT INTO [AbpAuditLogActions] ([Id], [AuditLogId], [ExecutionDuration], [ExecutionTime], [ExtraProperties], [MethodName], [Parameters], [ServiceName], [TenantId]) VALUES (@p22, @p23, @p24, @p25, @p26, @p27, @p28, @p29, @p30); 2022-02-19 20:01:14.129 +08:00 [DBG] Added 0 entity changes to the current audit log 2022-02-19 20:01:14.129 +08:00 [DBG] Added 0 entity changes to the current audit log 2022-02-19 20:01:14.133 +08:00 [INF] Request finished HTTP/2 POST https://localhost:5000/api/PPlan/add application/json 363 - 200 - application/json;+charset=utf-8 8768.7077ms 2022-02-19 20:03:20.626 +08:00 [INF] Request starting HTTP/2 POST https://localhost:5000/api/PPlan/add application/json 361 2022-02-19 20:03:20.642 +08:00 [INF] CORS policy execution failed. 2022-02-19 20:03:20.643 +08:00 [INF] Request origin https://localhost:5000 does not have permission to access the resource. 2022-02-19 20:03:20.647 +08:00 [INF] Executing endpoint 'WmsWebApi.PPlan.PPlanService.AddAsync (WmsWebApi.Application)' 2022-02-19 20:03:20.648 +08:00 [INF] Route matched with {action = "Add", controller = "PPlan", area = "", page = ""}. Executing controller action with signature System.Threading.Tasks.Task`1[WmsWebApi.PPlan.ReturnResult] AddAsync(System.Object) on controller WmsWebApi.PPlan.PPlanService (WmsWebApi.Application). 2022-02-19 20:03:20.700 +08:00 [INF] Executing action method WmsWebApi.PPlan.PPlanService.AddAsync (WmsWebApi.Application) - Validation state: "Valid" 2022-02-19 20:03:20.735 +08:00 [INF] Entity Framework Core 5.0.14 initialized 'WmsWebApiDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: QuerySplittingBehavior=SplitQuery 2022-02-19 20:03:20.854 +08:00 [INF] Executed DbCommand (104ms) [Parameters=[@___planDto_MATNR_0='?' (Size = 50)], CommandType='"Text"', CommandTimeout='30'] SELECT TOP(1) [t].[UID], [t].[AbcClass], [t].[CertificateOfQuality], [t].[Configuration], [t].[ContainerQty], [t].[DefaultBackFlushLocCode], [t].[DefaultReceiveLocCode], [t].[DistributionType], [t].[DrawingNumber], [t].[ErpPartCode], [t].[InspectType], [t].[Inspecter], [t].[IsAskMerge], [t].[IsConsign], [t].[IsDeposit], [t].[IsNoInterface], [t].[IsTransfer], [t].[LabelTemplate], [t].[LinesidePackQty], [t].[ManageType], [t].[MaxQty], [t].[MinQty], [t].[PalletSize], [t].[PalletTemplate], [t].[PartCode], [t].[PartDesc1], [t].[PartDesc2], [t].[PartGroup], [t].[PartKind], [t].[PartType], [t].[Process], [t].[ProjectId], [t].[Promo], [t].[QLevel], [t].[ReceivePort], [t].[Remark], [t].[SafeQty], [t].[SamplePercent], [t].[SingleWeight], [t].[Source], [t].[State], [t].[StockPackQty], [t].[StoreKeeper], [t].[Unit], [t].[ValidityDays] FROM [TA_PART] AS [t] WHERE [t].[PartCode] = @___planDto_MATNR_0 2022-02-19 20:03:20.911 +08:00 [INF] Executed DbCommand (53ms) [Parameters=[@___billnum_0='?' (Size = 64)], CommandType='"Text"', CommandTimeout='30'] SELECT TOP(1) [t].[UID], [t].[AccountDate], [t].[BillNum], [t].[BillTime], [t].[BillType], [t].[CustId], [t].[DetailQty], [t].[DockCode], [t].[FinishTime], [t].[GateCode], [t].[GateName], [t].[Guid], [t].[OperName], [t].[ProjectId], [t].[Remark], [t].[SourceBillNum], [t].[SourceBillNum2], [t].[SourceBillNum3], [t].[StartTime], [t].[State], [t].[SubBillType], [t].[TransportType], [t].[TruckNum], [t].[VendId] FROM [TB_BILL] AS [t] WHERE [t].[BillNum] = @___billnum_0 2022-02-19 20:03:20.986 +08:00 [INF] Executed DbCommand (61ms) [Parameters=[@___planDto_PEDTR_0='?' (Size = 450), @___planDto_SCHGRUP_1='?' (Size = 4000), @___planDto_KAPTPROG_2='?' (Size = 450), @___planDto_MATNR_3='?' (Size = 450)], CommandType='"Text"', CommandTimeout='30'] SELECT TOP(1) [t].[PartCode], [t].[BillNum], [t].[PlanTime], [t].[PlanShiftName], [t].[BarCodeQty], [t].[BillLine], [t].[BomVersion], [t].[FinishedQty], [t].[Group], [t].[House], [t].[UID], [t].[InQty], [t].[IsMin], [t].[IsPlus], [t].[IsPrinted], [t].[IsProduct], [t].[ModifyTime], [t].[NotInQty], [t].[PackQty], [t].[PlannedOrderParameter], [t].[Qty], [t].[Remark], [t].[Seq], [t].[ShiftName], [t].[State] FROM [TM_PG_PLAN] AS [t] WHERE ((([t].[PlanTime] = @___planDto_PEDTR_0) AND ([t].[Group] = @___planDto_SCHGRUP_1)) AND ([t].[PlanShiftName] = @___planDto_KAPTPROG_2)) AND ([t].[PartCode] = @___planDto_MATNR_3) 2022-02-19 20:03:21.144 +08:00 [INF] Executed action method WmsWebApi.PPlan.PPlanService.AddAsync (WmsWebApi.Application), returned result Microsoft.AspNetCore.Mvc.ObjectResult in 444.3815ms. 2022-02-19 20:03:21.230 +08:00 [INF] Executed DbCommand (42ms) [Parameters=[@p0='?' (DbType = Guid), @p1='?' (Size = 4000), @p2='?' (DbType = DateTime2), @p3='?' (Precision = 18) (Scale = 2) (DbType = Decimal), @p4='?' (Size = 4000), @p5='?' (Size = 4000), @p6='?' (Size = 4000), @p7='?' (Size = 4000), @p8='?' (Size = 4000), @p9='?' (Size = 20), @p10='?' (Size = 2), @p11='?' (Size = 4000), @p12='?' (Size = 4000), @p13='?' (Size = 4000), @p14='?' (Size = 4000), @p15='?' (Size = 4000), @p16='?' (Size = 4000), @p17='?' (Size = 4000), @p18='?' (Size = 4000), @p19='?' (Size = 4000)], CommandType='"Text"', CommandTimeout='30'] SET NOCOUNT ON; INSERT INTO [WmsWebApiPPLANDTO] ([Id], [DISPO], [DYSJ], [GSMNG], [ITYPE], [JSON], [KAPTPROG], [MAKTX], [MATNR], [PEDTR], [SCHGRUP], [VERID], [WERKS], [XUBNAME], [ZBZSM], [ZCDATE], [ZCTIME], [ZMACD], [ZMATX], [ZSCSX]) VALUES (@p0, @p1, @p2, @p3, @p4, @p5, @p6, @p7, @p8, @p9, @p10, @p11, @p12, @p13, @p14, @p15, @p16, @p17, @p18, @p19); 2022-02-19 20:03:21.281 +08:00 [DBG] Added 0 entity changes to the current audit log 2022-02-19 20:03:21.281 +08:00 [DBG] Added 0 entity changes to the current audit log 2022-02-19 20:03:21.283 +08:00 [INF] Executing ObjectResult, writing value of type 'WmsWebApi.PPlan.ReturnResult'. 2022-02-19 20:03:21.285 +08:00 [INF] Executed action WmsWebApi.PPlan.PPlanService.AddAsync (WmsWebApi.Application) in 636.7344ms 2022-02-19 20:03:21.285 +08:00 [INF] Executed endpoint 'WmsWebApi.PPlan.PPlanService.AddAsync (WmsWebApi.Application)' 2022-02-19 20:03:21.287 +08:00 [INF] Entity Framework Core 5.0.14 initialized 'AbpAuditLoggingDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: QuerySplittingBehavior=SplitQuery 2022-02-19 20:03:21.361 +08:00 [INF] Executed DbCommand (33ms) [Parameters=[@p0='?' (DbType = Guid), @p1='?' (Size = 96), @p2='?' (Size = 512), @p3='?' (Size = 64), @p4='?' (Size = 64), @p5='?' (Size = 128), @p6='?' (Size = 256), @p7='?' (Size = 40), @p8='?' (Size = 64), @p9='?' (Size = 4000), @p10='?' (DbType = Int32), @p11='?' (DbType = DateTime2), @p12='?' (Size = 4000), @p13='?' (Size = 16), @p14='?' (DbType = Int32), @p15='?' (DbType = Guid), @p16='?' (DbType = Guid), @p17='?' (DbType = Guid), @p18='?' (Size = 4000), @p19='?' (Size = 256), @p20='?' (DbType = Guid), @p21='?' (Size = 256)], CommandType='"Text"', CommandTimeout='30'] SET NOCOUNT ON; INSERT INTO [AbpAuditLogs] ([Id], [ApplicationName], [BrowserInfo], [ClientId], [ClientIpAddress], [ClientName], [Comments], [ConcurrencyStamp], [CorrelationId], [Exceptions], [ExecutionDuration], [ExecutionTime], [ExtraProperties], [HttpMethod], [HttpStatusCode], [ImpersonatorTenantId], [ImpersonatorUserId], [TenantId], [TenantName], [Url], [UserId], [UserName]) VALUES (@p0, @p1, @p2, @p3, @p4, @p5, @p6, @p7, @p8, @p9, @p10, @p11, @p12, @p13, @p14, @p15, @p16, @p17, @p18, @p19, @p20, @p21); 2022-02-19 20:03:21.430 +08:00 [INF] Executed DbCommand (68ms) [Parameters=[@p22='?' (DbType = Guid), @p23='?' (DbType = Guid), @p24='?' (DbType = Int32), @p25='?' (DbType = DateTime2), @p26='?' (Size = 4000), @p27='?' (Size = 128), @p28='?' (Size = 2000), @p29='?' (Size = 256), @p30='?' (DbType = Guid)], CommandType='"Text"', CommandTimeout='30'] SET NOCOUNT ON; INSERT INTO [AbpAuditLogActions] ([Id], [AuditLogId], [ExecutionDuration], [ExecutionTime], [ExtraProperties], [MethodName], [Parameters], [ServiceName], [TenantId]) VALUES (@p22, @p23, @p24, @p25, @p26, @p27, @p28, @p29, @p30); 2022-02-19 20:03:21.483 +08:00 [DBG] Added 0 entity changes to the current audit log 2022-02-19 20:03:21.483 +08:00 [DBG] Added 0 entity changes to the current audit log 2022-02-19 20:03:21.484 +08:00 [INF] Request finished HTTP/2 POST https://localhost:5000/api/PPlan/add application/json 361 - 200 - application/json;+charset=utf-8 857.8302ms