You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

559 lines
81 KiB

2022-03-02 06:59:10.270 +08:00 [INF] Starting web host.
2022-03-02 06:59:22.531 +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-03-02 06:59:23.025 +08:00 [INF] Loaded ABP modules:
2022-03-02 06:59:23.025 +08:00 [INF] - WmsWebApi.WmsWebApiHttpApiHostModule
2022-03-02 06:59:23.025 +08:00 [INF] - WmsWebApi.WmsWebApiApplicationModule
2022-03-02 06:59:23.025 +08:00 [INF] - WmsWebApi.WmsWebApiDomainModule
2022-03-02 06:59:23.025 +08:00 [INF] - Volo.Abp.Domain.AbpDddDomainModule
2022-03-02 06:59:23.025 +08:00 [INF] - Volo.Abp.Auditing.AbpAuditingModule
2022-03-02 06:59:23.025 +08:00 [INF] - Volo.Abp.Data.AbpDataModule
2022-03-02 06:59:23.025 +08:00 [INF] - Volo.Abp.ObjectExtending.AbpObjectExtendingModule
2022-03-02 06:59:23.025 +08:00 [INF] - Volo.Abp.Localization.AbpLocalizationAbstractionsModule
2022-03-02 06:59:23.025 +08:00 [INF] - Volo.Abp.Validation.AbpValidationAbstractionsModule
2022-03-02 06:59:23.025 +08:00 [INF] - Volo.Abp.Uow.AbpUnitOfWorkModule
2022-03-02 06:59:23.025 +08:00 [INF] - Volo.Abp.EventBus.Abstractions.AbpEventBusAbstractionsModule
2022-03-02 06:59:23.025 +08:00 [INF] - Volo.Abp.Json.AbpJsonModule
2022-03-02 06:59:23.025 +08:00 [INF] - Volo.Abp.Timing.AbpTimingModule
2022-03-02 06:59:23.025 +08:00 [INF] - Volo.Abp.Localization.AbpLocalizationModule
2022-03-02 06:59:23.025 +08:00 [INF] - Volo.Abp.VirtualFileSystem.AbpVirtualFileSystemModule
2022-03-02 06:59:23.025 +08:00 [INF] - Volo.Abp.Settings.AbpSettingsModule
2022-03-02 06:59:23.025 +08:00 [INF] - Volo.Abp.Security.AbpSecurityModule
2022-03-02 06:59:23.025 +08:00 [INF] - Volo.Abp.MultiTenancy.AbpMultiTenancyModule
2022-03-02 06:59:23.025 +08:00 [INF] - Volo.Abp.Threading.AbpThreadingModule
2022-03-02 06:59:23.025 +08:00 [INF] - Volo.Abp.EventBus.AbpEventBusModule
2022-03-02 06:59:23.025 +08:00 [INF] - Volo.Abp.Guids.AbpGuidsModule
2022-03-02 06:59:23.025 +08:00 [INF] - Volo.Abp.ObjectMapping.AbpObjectMappingModule
2022-03-02 06:59:23.025 +08:00 [INF] - Volo.Abp.ExceptionHandling.AbpExceptionHandlingModule
2022-03-02 06:59:23.025 +08:00 [INF] - Volo.Abp.Specifications.AbpSpecificationsModule
2022-03-02 06:59:23.025 +08:00 [INF] - WmsWebApi.WmsWebApiDomainSharedModule
2022-03-02 06:59:23.025 +08:00 [INF] - Volo.Abp.Validation.AbpValidationModule
2022-03-02 06:59:23.025 +08:00 [INF] - WmsWebApi.WmsWebApiApplicationContractsModule
2022-03-02 06:59:23.025 +08:00 [INF] - Volo.Abp.Application.AbpDddApplicationContractsModule
2022-03-02 06:59:23.025 +08:00 [INF] - Volo.Abp.Authorization.AbpAuthorizationModule
2022-03-02 06:59:23.025 +08:00 [INF] - Volo.Abp.Authorization.AbpAuthorizationAbstractionsModule
2022-03-02 06:59:23.025 +08:00 [INF] - Volo.Abp.Application.AbpDddApplicationModule
2022-03-02 06:59:23.025 +08:00 [INF] - Volo.Abp.Http.AbpHttpAbstractionsModule
2022-03-02 06:59:23.025 +08:00 [INF] - Volo.Abp.Features.AbpFeaturesModule
2022-03-02 06:59:23.025 +08:00 [INF] - Volo.Abp.GlobalFeatures.AbpGlobalFeaturesModule
2022-03-02 06:59:23.025 +08:00 [INF] - Volo.Abp.AutoMapper.AbpAutoMapperModule
2022-03-02 06:59:23.025 +08:00 [INF] - WmsWebApi.EntityFrameworkCore.WmsWebApiEntityFrameworkCoreModule
2022-03-02 06:59:23.025 +08:00 [INF] - Volo.Abp.EntityFrameworkCore.AbpEntityFrameworkCoreModule
2022-03-02 06:59:23.025 +08:00 [INF] - Volo.Abp.Dapper.AbpDapperModule
2022-03-02 06:59:23.025 +08:00 [INF] - WmsWebApi.WmsWebApiHttpApiModule
2022-03-02 06:59:23.025 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.AbpAspNetCoreMvcModule
2022-03-02 06:59:23.026 +08:00 [INF] - Volo.Abp.AspNetCore.AbpAspNetCoreModule
2022-03-02 06:59:23.026 +08:00 [INF] - Volo.Abp.Http.AbpHttpModule
2022-03-02 06:59:23.026 +08:00 [INF] - Volo.Abp.Minify.AbpMinifyModule
2022-03-02 06:59:23.026 +08:00 [INF] - Volo.Abp.ApiVersioning.AbpApiVersioningAbstractionsModule
2022-03-02 06:59:23.026 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.AbpAspNetCoreMvcContractsModule
2022-03-02 06:59:23.026 +08:00 [INF] - Volo.Abp.UI.Navigation.AbpUiNavigationModule
2022-03-02 06:59:23.026 +08:00 [INF] - Volo.Abp.UI.AbpUiModule
2022-03-02 06:59:23.026 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.MultiTenancy.AbpAspNetCoreMvcUiMultiTenancyModule
2022-03-02 06:59:23.026 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Theme.Shared.AbpAspNetCoreMvcUiThemeSharedModule
2022-03-02 06:59:23.026 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.AbpAspNetCoreMvcUiBootstrapModule
2022-03-02 06:59:23.026 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.AbpAspNetCoreMvcUiModule
2022-03-02 06:59:23.026 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Packages.AbpAspNetCoreMvcUiPackagesModule
2022-03-02 06:59:23.026 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Bundling.AbpAspNetCoreMvcUiBundlingAbstractionsModule
2022-03-02 06:59:23.026 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Widgets.AbpAspNetCoreMvcUiWidgetsModule
2022-03-02 06:59:23.026 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Bundling.AbpAspNetCoreMvcUiBundlingModule
2022-03-02 06:59:23.026 +08:00 [INF] - Volo.Abp.AspNetCore.MultiTenancy.AbpAspNetCoreMultiTenancyModule
2022-03-02 06:59:23.026 +08:00 [INF] - Volo.Abp.Autofac.AbpAutofacModule
2022-03-02 06:59:23.026 +08:00 [INF] - Volo.Abp.Castle.AbpCastleCoreModule
2022-03-02 06:59:23.026 +08:00 [INF] - Volo.Abp.Caching.StackExchangeRedis.AbpCachingStackExchangeRedisModule
2022-03-02 06:59:23.026 +08:00 [INF] - Volo.Abp.Caching.AbpCachingModule
2022-03-02 06:59:23.026 +08:00 [INF] - Volo.Abp.Serialization.AbpSerializationModule
2022-03-02 06:59:23.026 +08:00 [INF] - Volo.Abp.EntityFrameworkCore.SqlServer.AbpEntityFrameworkCoreSqlServerModule
2022-03-02 06:59:23.026 +08:00 [INF] - Volo.Abp.AuditLogging.EntityFrameworkCore.AbpAuditLoggingEntityFrameworkCoreModule
2022-03-02 06:59:23.026 +08:00 [INF] - Volo.Abp.AuditLogging.AbpAuditLoggingDomainModule
2022-03-02 06:59:23.026 +08:00 [INF] - Volo.Abp.AuditLogging.AbpAuditLoggingDomainSharedModule
2022-03-02 06:59:23.026 +08:00 [INF] - Volo.Abp.PermissionManagement.EntityFrameworkCore.AbpPermissionManagementEntityFrameworkCoreModule
2022-03-02 06:59:23.026 +08:00 [INF] - Volo.Abp.PermissionManagement.AbpPermissionManagementDomainModule
2022-03-02 06:59:23.026 +08:00 [INF] - Volo.Abp.PermissionManagement.AbpPermissionManagementDomainSharedModule
2022-03-02 06:59:23.026 +08:00 [INF] - Volo.Abp.SettingManagement.EntityFrameworkCore.AbpSettingManagementEntityFrameworkCoreModule
2022-03-02 06:59:23.026 +08:00 [INF] - Volo.Abp.SettingManagement.AbpSettingManagementDomainModule
2022-03-02 06:59:23.026 +08:00 [INF] - Volo.Abp.SettingManagement.AbpSettingManagementDomainSharedModule
2022-03-02 06:59:23.026 +08:00 [INF] - Volo.Abp.AspNetCore.Serilog.AbpAspNetCoreSerilogModule
2022-03-02 06:59:23.026 +08:00 [INF] - Volo.Abp.Swashbuckle.AbpSwashbuckleModule
2022-03-02 06:59:24.674 +08:00 [INF] Initialized all ABP modules.
2022-03-02 06:59:25.767 +08:00 [INF] Now listening on: https://localhost:5000
2022-03-02 06:59:25.768 +08:00 [INF] Application started. Press Ctrl+C to shut down.
2022-03-02 06:59:25.768 +08:00 [INF] Hosting environment: Development
2022-03-02 06:59:25.768 +08:00 [INF] Content root path: D:\工作\派格\接口程序\WmsWebApi\host\WmsWebApi.HttpApi.Host
2022-03-02 06:59:29.977 +08:00 [INF] Request starting HTTP/2 GET https://localhost:5000/ - -
2022-03-02 06:59:34.852 +08:00 [INF] Entity Framework Core 5.0.14 initialized 'SettingManagementDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: QuerySplittingBehavior=SplitQuery
2022-03-02 06:59:37.314 +08:00 [INF] Executed DbCommand (152ms) [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-03-02 06:59:38.193 +08:00 [INF] Entity Framework Core 5.0.14 initialized 'SettingManagementDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: QuerySplittingBehavior=SplitQuery
2022-03-02 06:59:38.212 +08:00 [INF] Executed DbCommand (7ms) [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-03-02 06:59:38.403 +08:00 [INF] Executing endpoint 'WmsWebApi.Controllers.HomeController.Index (WmsWebApi.HttpApi.Host)'
2022-03-02 06:59:38.655 +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-03-02 06:59:39.181 +08:00 [INF] Executing action method WmsWebApi.Controllers.HomeController.Index (WmsWebApi.HttpApi.Host) - Validation state: "Valid"
2022-03-02 06:59:39.193 +08:00 [INF] Executed action method WmsWebApi.Controllers.HomeController.Index (WmsWebApi.HttpApi.Host), returned result Microsoft.AspNetCore.Mvc.RedirectResult in 0.5966ms.
2022-03-02 06:59:39.204 +08:00 [INF] Executing RedirectResult, redirecting to /swagger.
2022-03-02 06:59:39.222 +08:00 [INF] Executed action WmsWebApi.Controllers.HomeController.Index (WmsWebApi.HttpApi.Host) in 553.841ms
2022-03-02 06:59:39.222 +08:00 [INF] Executed endpoint 'WmsWebApi.Controllers.HomeController.Index (WmsWebApi.HttpApi.Host)'
2022-03-02 06:59:39.274 +08:00 [INF] Request finished HTTP/2 GET https://localhost:5000/ - - - 302 0 - 9298.2515ms
2022-03-02 06:59:39.274 +08:00 [INF] Request starting HTTP/2 GET https://localhost:5000/swagger/index.html - -
2022-03-02 06:59:39.722 +08:00 [INF] Request finished HTTP/2 GET https://localhost:5000/swagger/index.html - - - 200 - text/html;charset=utf-8 447.8028ms
2022-03-02 06:59:40.370 +08:00 [INF] Request starting HTTP/2 GET https://localhost:5000/_framework/aspnetcore-browser-refresh.js - -
2022-03-02 06:59:40.379 +08:00 [INF] Request finished HTTP/2 GET https://localhost:5000/_framework/aspnetcore-browser-refresh.js - - - 200 11956 application/javascript;+charset=utf-8 9.0058ms
2022-03-02 06:59:41.066 +08:00 [INF] Request starting HTTP/2 GET https://localhost:5000/swagger/v1/swagger.json - -
2022-03-02 06:59:41.410 +08:00 [INF] Request finished HTTP/2 GET https://localhost:5000/swagger/v1/swagger.json - - - 200 - application/json;charset=utf-8 344.1201ms
2022-03-02 07:01:41.955 +08:00 [INF] Request starting HTTP/2 GET https://localhost:5000/abp/Swashbuckle/SetCsrfCookie application/json -
2022-03-02 07:01:41.967 +08:00 [INF] Executing endpoint 'Volo.Abp.Swashbuckle.AbpSwashbuckleController.SetCsrfCookie (Volo.Abp.Swashbuckle)'
2022-03-02 07:01:41.972 +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-03-02 07:01:42.185 +08:00 [INF] Executing action method Volo.Abp.Swashbuckle.AbpSwashbuckleController.SetCsrfCookie (Volo.Abp.Swashbuckle) - Validation state: "Valid"
2022-03-02 07:01:42.237 +08:00 [INF] Executed action method Volo.Abp.Swashbuckle.AbpSwashbuckleController.SetCsrfCookie (Volo.Abp.Swashbuckle), returned result Microsoft.AspNetCore.Mvc.EmptyResult in 51.3788ms.
2022-03-02 07:01:42.239 +08:00 [INF] Executed action Volo.Abp.Swashbuckle.AbpSwashbuckleController.SetCsrfCookie (Volo.Abp.Swashbuckle) in 266.0462ms
2022-03-02 07:01:42.239 +08:00 [INF] Executed endpoint 'Volo.Abp.Swashbuckle.AbpSwashbuckleController.SetCsrfCookie (Volo.Abp.Swashbuckle)'
2022-03-02 07:01:42.240 +08:00 [INF] Request finished HTTP/2 GET https://localhost:5000/abp/Swashbuckle/SetCsrfCookie application/json - - 204 - - 285.1273ms
2022-03-02 07:01:42.452 +08:00 [INF] Request starting HTTP/2 POST https://localhost:5000/api/part/add application/json 1956
2022-03-02 07:01:42.469 +08:00 [INF] CORS policy execution failed.
2022-03-02 07:01:42.469 +08:00 [INF] Request origin https://localhost:5000 does not have permission to access the resource.
2022-03-02 07:01:42.477 +08:00 [INF] Executing endpoint 'WmsWebApi.Parts.PartService.AddAsync (WmsWebApi.Application)'
2022-03-02 07:01:42.531 +08:00 [INF] Route matched with {action = "Add", controller = "Part", area = "", page = ""}. Executing controller action with signature System.Threading.Tasks.Task`1[WmsWebApi.Parts.ReturnResult] AddAsync(System.Object) on controller WmsWebApi.Parts.PartService (WmsWebApi.Application).
2022-03-02 07:01:44.472 +08:00 [INF] Executing action method WmsWebApi.Parts.PartService.AddAsync (WmsWebApi.Application) - Validation state: "Valid"
2022-03-02 07:01:49.133 +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-03-02 07:01:49.133 +08:00 [WRN] No type was specified for the decimal property 'BMENG' on entity type 'WmsWebApiBom'. 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-03-02 07:01:49.134 +08:00 [WRN] No type was specified for the decimal property 'MENGE' on entity type 'WmsWebApiBomDetail'. 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-03-02 07:01:49.134 +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-03-02 07:01:49.134 +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-03-02 07:01:49.134 +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-03-02 07:01:49.134 +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-03-02 07:01:49.134 +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-03-02 07:01:49.134 +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-03-02 07:01:49.134 +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-03-02 07:01:49.134 +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-03-02 07:01:49.134 +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-03-02 07:01:49.134 +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-03-02 07:01:49.134 +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-03-02 07:01:49.134 +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-03-02 07:01:49.134 +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-03-02 07:01:49.134 +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-03-02 07:01:49.134 +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-03-02 07:01:49.134 +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-03-02 07:01:49.134 +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-03-02 07:01:49.134 +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-03-02 07:01:49.191 +08:00 [INF] Entity Framework Core 5.0.14 initialized 'WmsWebApiDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: QuerySplittingBehavior=SplitQuery
2022-03-02 07:01:49.416 +08:00 [INF] Executed DbCommand (4ms) [Parameters=[@__part_PartGroup_0='?' (Size = 50)], CommandType='"Text"', CommandTimeout='30']
SELECT TOP(1) [t].[UID], [t].[IsBom], [t].[IsManageType], [t].[IsPart], [t].[PARTGROUP], [t].[WERKS]
FROM [TM_PG_PARTGROUP] AS [t]
WHERE ([t].[WERKS] = N'1000') AND ([t].[PARTGROUP] = @__part_PartGroup_0)
2022-03-02 07:04:56.786 +08:00 [INF] Executed DbCommand (67ms) [Parameters=[@__part_PartCode_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] = @__part_PartCode_0
2022-03-02 07:06:18.688 +08:00 [INF] Executed action method WmsWebApi.Parts.PartService.AddAsync (WmsWebApi.Application), returned result Microsoft.AspNetCore.Mvc.ObjectResult in 274215.9989ms.
2022-03-02 07:06:19.048 +08:00 [ERR] Failed executing DbCommand (20ms) [Parameters=[@p0='?' (Size = 50), @p1='?' (Size = 50), @p2='?' (Precision = 18) (Scale = 2) (DbType = Decimal), @p3='?' (Precision = 18) (Scale = 2) (DbType = Decimal), @p4='?' (DbType = Int32), @p5='?' (Size = 4000), @p6='?' (Size = 4000), @p7='?' (Size = 50), @p8='?' (Size = 4000)], CommandType='"Text"', CommandTimeout='30']
SET NOCOUNT ON;
INSERT INTO [TA_CUST_PART] ([CustId], [CustPartCode], [CustPackQty], [CustPalletCapacity], [CustPalletQty], [CustPalletSize], [CustPartName], [PartCode], [Remark])
VALUES (@p0, @p1, @p2, @p3, @p4, @p5, @p6, @p7, @p8);
SELECT [UID], [State]
FROM [TA_CUST_PART]
WHERE @@ROWCOUNT = 1 AND [CustId] = @p0 AND [CustPartCode] = @p1;
2022-03-02 07:06:19.274 +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): 违反了 PRIMARY KEY 约束“PK_TA_CUST_PART_1”。不能在对象“dbo.TA_CUST_PART”中插入重复键。重复键值为 (10, )。
语句已终止。
at Microsoft.Data.SqlClient.SqlCommand.<>c.<ExecuteDbDataReaderAsync>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:7615c41a-e5d4-4606-8078-1706f79e8651
Error Number:2627,State:1,Class:14
--- 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): 违反了 PRIMARY KEY 约束“PK_TA_CUST_PART_1”。不能在对象“dbo.TA_CUST_PART”中插入重复键。重复键值为 (10, )。
语句已终止。
at Microsoft.Data.SqlClient.SqlCommand.<>c.<ExecuteDbDataReaderAsync>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:7615c41a-e5d4-4606-8078-1706f79e8651
Error Number:2627,State:1,Class:14
--- 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)
2022-03-02 07:06:19.535 +08:00 [ERR] ---------- RemoteServiceErrorInfo ----------
{
"code": null,
"message": "An internal error occurred during your request!",
"details": null,
"data": {},
"validationErrors": null
}
2022-03-02 07:06:19.537 +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): 违反了 PRIMARY KEY 约束“PK_TA_CUST_PART_1”。不能在对象“dbo.TA_CUST_PART”中插入重复键。重复键值为 (10, )。
语句已终止。
at Microsoft.Data.SqlClient.SqlCommand.<>c.<ExecuteDbDataReaderAsync>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:7615c41a-e5d4-4606-8078-1706f79e8651
Error Number:2627,State:1,Class:14
--- 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.<InvokeNextActionFilterAsync>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.<InvokeInnerFilterAsync>g__Awaited|13_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeNextExceptionFilterAsync>g__Awaited|25_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
2022-03-02 07:06:19.583 +08:00 [INF] Executing ObjectResult, writing value of type 'Volo.Abp.Http.RemoteServiceErrorResponse'.
2022-03-02 07:06:19.640 +08:00 [INF] Executed action WmsWebApi.Parts.PartService.AddAsync (WmsWebApi.Application) in 277108.9818ms
2022-03-02 07:06:19.642 +08:00 [INF] Executed endpoint 'WmsWebApi.Parts.PartService.AddAsync (WmsWebApi.Application)'
2022-03-02 07:06:20.955 +08:00 [INF] Entity Framework Core 5.0.14 initialized 'AbpAuditLoggingDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: QuerySplittingBehavior=SplitQuery
2022-03-02 07:06:21.156 +08:00 [ERR] Failed executing DbCommand (8ms) [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-03-02 07:06:21.168 +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.<ExecuteDbDataReaderAsync>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:b41900d3-4f28-461c-af47-f9840da95583
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.<ExecuteDbDataReaderAsync>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:b41900d3-4f28-461c-af47-f9840da95583
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-03-02 07:06:21.180 +08:00 [WRN] Could not save the audit log object:
AUDIT LOG: [500: POST ] /api/part/add
- UserName - UserId : -
- ClientIpAddress : ::1
- ExecutionDuration : 277178
- Actions:
- WmsWebApi.Parts.PartService.AddAsync (274957 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): 违反了 PRIMARY KEY 约束“PK_TA_CUST_PART_1”。不能在对象“dbo.TA_CUST_PART”中插入重复键。重复键值为 (10, )。
语句已终止。
at Microsoft.Data.SqlClient.SqlCommand.<>c.<ExecuteDbDataReaderAsync>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:7615c41a-e5d4-4606-8078-1706f79e8651
Error Number:2627,State:1,Class:14
--- 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.<InvokeNextActionFilterAsync>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.<InvokeInnerFilterAsync>g__Awaited|13_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeNextExceptionFilterAsync>g__Awaited|25_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
2022-03-02 07:06:21.180 +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.<ExecuteDbDataReaderAsync>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:b41900d3-4f28-461c-af47-f9840da95583
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-03-02 07:06:21.183 +08:00 [INF] Request finished HTTP/2 POST https://localhost:5000/api/part/add application/json 1956 - 500 - application/json;+charset=utf-8 278731.4421ms
2022-03-02 07:10:05.787 +08:00 [INF] Starting web host.
2022-03-02 07:10:17.002 +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-03-02 07:10:17.353 +08:00 [INF] Loaded ABP modules:
2022-03-02 07:10:17.353 +08:00 [INF] - WmsWebApi.WmsWebApiHttpApiHostModule
2022-03-02 07:10:17.353 +08:00 [INF] - WmsWebApi.WmsWebApiApplicationModule
2022-03-02 07:10:17.353 +08:00 [INF] - WmsWebApi.WmsWebApiDomainModule
2022-03-02 07:10:17.353 +08:00 [INF] - Volo.Abp.Domain.AbpDddDomainModule
2022-03-02 07:10:17.353 +08:00 [INF] - Volo.Abp.Auditing.AbpAuditingModule
2022-03-02 07:10:17.353 +08:00 [INF] - Volo.Abp.Data.AbpDataModule
2022-03-02 07:10:17.353 +08:00 [INF] - Volo.Abp.ObjectExtending.AbpObjectExtendingModule
2022-03-02 07:10:17.353 +08:00 [INF] - Volo.Abp.Localization.AbpLocalizationAbstractionsModule
2022-03-02 07:10:17.353 +08:00 [INF] - Volo.Abp.Validation.AbpValidationAbstractionsModule
2022-03-02 07:10:17.353 +08:00 [INF] - Volo.Abp.Uow.AbpUnitOfWorkModule
2022-03-02 07:10:17.353 +08:00 [INF] - Volo.Abp.EventBus.Abstractions.AbpEventBusAbstractionsModule
2022-03-02 07:10:17.353 +08:00 [INF] - Volo.Abp.Json.AbpJsonModule
2022-03-02 07:10:17.353 +08:00 [INF] - Volo.Abp.Timing.AbpTimingModule
2022-03-02 07:10:17.353 +08:00 [INF] - Volo.Abp.Localization.AbpLocalizationModule
2022-03-02 07:10:17.353 +08:00 [INF] - Volo.Abp.VirtualFileSystem.AbpVirtualFileSystemModule
2022-03-02 07:10:17.353 +08:00 [INF] - Volo.Abp.Settings.AbpSettingsModule
2022-03-02 07:10:17.353 +08:00 [INF] - Volo.Abp.Security.AbpSecurityModule
2022-03-02 07:10:17.353 +08:00 [INF] - Volo.Abp.MultiTenancy.AbpMultiTenancyModule
2022-03-02 07:10:17.353 +08:00 [INF] - Volo.Abp.Threading.AbpThreadingModule
2022-03-02 07:10:17.353 +08:00 [INF] - Volo.Abp.EventBus.AbpEventBusModule
2022-03-02 07:10:17.353 +08:00 [INF] - Volo.Abp.Guids.AbpGuidsModule
2022-03-02 07:10:17.353 +08:00 [INF] - Volo.Abp.ObjectMapping.AbpObjectMappingModule
2022-03-02 07:10:17.353 +08:00 [INF] - Volo.Abp.ExceptionHandling.AbpExceptionHandlingModule
2022-03-02 07:10:17.353 +08:00 [INF] - Volo.Abp.Specifications.AbpSpecificationsModule
2022-03-02 07:10:17.353 +08:00 [INF] - WmsWebApi.WmsWebApiDomainSharedModule
2022-03-02 07:10:17.353 +08:00 [INF] - Volo.Abp.Validation.AbpValidationModule
2022-03-02 07:10:17.353 +08:00 [INF] - WmsWebApi.WmsWebApiApplicationContractsModule
2022-03-02 07:10:17.353 +08:00 [INF] - Volo.Abp.Application.AbpDddApplicationContractsModule
2022-03-02 07:10:17.353 +08:00 [INF] - Volo.Abp.Authorization.AbpAuthorizationModule
2022-03-02 07:10:17.353 +08:00 [INF] - Volo.Abp.Authorization.AbpAuthorizationAbstractionsModule
2022-03-02 07:10:17.353 +08:00 [INF] - Volo.Abp.Application.AbpDddApplicationModule
2022-03-02 07:10:17.353 +08:00 [INF] - Volo.Abp.Http.AbpHttpAbstractionsModule
2022-03-02 07:10:17.353 +08:00 [INF] - Volo.Abp.Features.AbpFeaturesModule
2022-03-02 07:10:17.353 +08:00 [INF] - Volo.Abp.GlobalFeatures.AbpGlobalFeaturesModule
2022-03-02 07:10:17.353 +08:00 [INF] - Volo.Abp.AutoMapper.AbpAutoMapperModule
2022-03-02 07:10:17.353 +08:00 [INF] - WmsWebApi.EntityFrameworkCore.WmsWebApiEntityFrameworkCoreModule
2022-03-02 07:10:17.353 +08:00 [INF] - Volo.Abp.EntityFrameworkCore.AbpEntityFrameworkCoreModule
2022-03-02 07:10:17.353 +08:00 [INF] - Volo.Abp.Dapper.AbpDapperModule
2022-03-02 07:10:17.353 +08:00 [INF] - WmsWebApi.WmsWebApiHttpApiModule
2022-03-02 07:10:17.353 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.AbpAspNetCoreMvcModule
2022-03-02 07:10:17.353 +08:00 [INF] - Volo.Abp.AspNetCore.AbpAspNetCoreModule
2022-03-02 07:10:17.353 +08:00 [INF] - Volo.Abp.Http.AbpHttpModule
2022-03-02 07:10:17.353 +08:00 [INF] - Volo.Abp.Minify.AbpMinifyModule
2022-03-02 07:10:17.353 +08:00 [INF] - Volo.Abp.ApiVersioning.AbpApiVersioningAbstractionsModule
2022-03-02 07:10:17.353 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.AbpAspNetCoreMvcContractsModule
2022-03-02 07:10:17.353 +08:00 [INF] - Volo.Abp.UI.Navigation.AbpUiNavigationModule
2022-03-02 07:10:17.353 +08:00 [INF] - Volo.Abp.UI.AbpUiModule
2022-03-02 07:10:17.353 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.MultiTenancy.AbpAspNetCoreMvcUiMultiTenancyModule
2022-03-02 07:10:17.353 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Theme.Shared.AbpAspNetCoreMvcUiThemeSharedModule
2022-03-02 07:10:17.353 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.AbpAspNetCoreMvcUiBootstrapModule
2022-03-02 07:10:17.353 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.AbpAspNetCoreMvcUiModule
2022-03-02 07:10:17.354 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Packages.AbpAspNetCoreMvcUiPackagesModule
2022-03-02 07:10:17.354 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Bundling.AbpAspNetCoreMvcUiBundlingAbstractionsModule
2022-03-02 07:10:17.354 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Widgets.AbpAspNetCoreMvcUiWidgetsModule
2022-03-02 07:10:17.354 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Bundling.AbpAspNetCoreMvcUiBundlingModule
2022-03-02 07:10:17.354 +08:00 [INF] - Volo.Abp.AspNetCore.MultiTenancy.AbpAspNetCoreMultiTenancyModule
2022-03-02 07:10:17.354 +08:00 [INF] - Volo.Abp.Autofac.AbpAutofacModule
2022-03-02 07:10:17.354 +08:00 [INF] - Volo.Abp.Castle.AbpCastleCoreModule
2022-03-02 07:10:17.354 +08:00 [INF] - Volo.Abp.Caching.StackExchangeRedis.AbpCachingStackExchangeRedisModule
2022-03-02 07:10:17.354 +08:00 [INF] - Volo.Abp.Caching.AbpCachingModule
2022-03-02 07:10:17.354 +08:00 [INF] - Volo.Abp.Serialization.AbpSerializationModule
2022-03-02 07:10:17.354 +08:00 [INF] - Volo.Abp.EntityFrameworkCore.SqlServer.AbpEntityFrameworkCoreSqlServerModule
2022-03-02 07:10:17.354 +08:00 [INF] - Volo.Abp.AuditLogging.EntityFrameworkCore.AbpAuditLoggingEntityFrameworkCoreModule
2022-03-02 07:10:17.354 +08:00 [INF] - Volo.Abp.AuditLogging.AbpAuditLoggingDomainModule
2022-03-02 07:10:17.354 +08:00 [INF] - Volo.Abp.AuditLogging.AbpAuditLoggingDomainSharedModule
2022-03-02 07:10:17.354 +08:00 [INF] - Volo.Abp.PermissionManagement.EntityFrameworkCore.AbpPermissionManagementEntityFrameworkCoreModule
2022-03-02 07:10:17.354 +08:00 [INF] - Volo.Abp.PermissionManagement.AbpPermissionManagementDomainModule
2022-03-02 07:10:17.354 +08:00 [INF] - Volo.Abp.PermissionManagement.AbpPermissionManagementDomainSharedModule
2022-03-02 07:10:17.354 +08:00 [INF] - Volo.Abp.SettingManagement.EntityFrameworkCore.AbpSettingManagementEntityFrameworkCoreModule
2022-03-02 07:10:17.354 +08:00 [INF] - Volo.Abp.SettingManagement.AbpSettingManagementDomainModule
2022-03-02 07:10:17.354 +08:00 [INF] - Volo.Abp.SettingManagement.AbpSettingManagementDomainSharedModule
2022-03-02 07:10:17.354 +08:00 [INF] - Volo.Abp.AspNetCore.Serilog.AbpAspNetCoreSerilogModule
2022-03-02 07:10:17.354 +08:00 [INF] - Volo.Abp.Swashbuckle.AbpSwashbuckleModule
2022-03-02 07:10:19.574 +08:00 [INF] Initialized all ABP modules.
2022-03-02 07:10:20.497 +08:00 [INF] Now listening on: https://localhost:5000
2022-03-02 07:10:20.498 +08:00 [INF] Application started. Press Ctrl+C to shut down.
2022-03-02 07:10:20.498 +08:00 [INF] Hosting environment: Development
2022-03-02 07:10:20.498 +08:00 [INF] Content root path: D:\工作\派格\接口程序\WmsWebApi\host\WmsWebApi.HttpApi.Host
2022-03-02 07:10:28.051 +08:00 [INF] Request starting HTTP/2 GET https://localhost:5000/ - -
2022-03-02 07:10:35.320 +08:00 [INF] Executing endpoint 'WmsWebApi.Controllers.HomeController.Index (WmsWebApi.HttpApi.Host)'
2022-03-02 07:10:35.459 +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-03-02 07:10:35.838 +08:00 [INF] Executing action method WmsWebApi.Controllers.HomeController.Index (WmsWebApi.HttpApi.Host) - Validation state: "Valid"
2022-03-02 07:10:35.851 +08:00 [INF] Executed action method WmsWebApi.Controllers.HomeController.Index (WmsWebApi.HttpApi.Host), returned result Microsoft.AspNetCore.Mvc.RedirectResult in 0.531ms.
2022-03-02 07:10:35.862 +08:00 [INF] Executing RedirectResult, redirecting to /swagger.
2022-03-02 07:10:35.881 +08:00 [INF] Executed action WmsWebApi.Controllers.HomeController.Index (WmsWebApi.HttpApi.Host) in 404.9522ms
2022-03-02 07:10:35.881 +08:00 [INF] Executed endpoint 'WmsWebApi.Controllers.HomeController.Index (WmsWebApi.HttpApi.Host)'
2022-03-02 07:10:35.931 +08:00 [INF] Request starting HTTP/2 GET https://localhost:5000/swagger/index.html - -
2022-03-02 07:10:35.938 +08:00 [INF] Request finished HTTP/2 GET https://localhost:5000/ - - - 302 0 - 7886.7471ms
2022-03-02 07:10:36.796 +08:00 [INF] Request finished HTTP/2 GET https://localhost:5000/swagger/index.html - - - 200 - text/html;charset=utf-8 864.8906ms
2022-03-02 07:10:37.620 +08:00 [INF] Request starting HTTP/2 GET https://localhost:5000/_framework/aspnetcore-browser-refresh.js - -
2022-03-02 07:10:37.632 +08:00 [INF] Request finished HTTP/2 GET https://localhost:5000/_framework/aspnetcore-browser-refresh.js - - - 200 11956 application/javascript;+charset=utf-8 12.3787ms
2022-03-02 07:10:38.160 +08:00 [INF] Request starting HTTP/2 GET https://localhost:5000/swagger/v1/swagger.json - -
2022-03-02 07:10:38.876 +08:00 [INF] Request finished HTTP/2 GET https://localhost:5000/swagger/v1/swagger.json - - - 200 - application/json;charset=utf-8 716.7074ms
2022-03-02 07:11:44.269 +08:00 [INF] Request starting HTTP/2 GET https://localhost:5000/abp/Swashbuckle/SetCsrfCookie application/json -
2022-03-02 07:11:44.285 +08:00 [INF] Executing endpoint 'Volo.Abp.Swashbuckle.AbpSwashbuckleController.SetCsrfCookie (Volo.Abp.Swashbuckle)'
2022-03-02 07:11:44.289 +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-03-02 07:11:44.472 +08:00 [INF] Executing action method Volo.Abp.Swashbuckle.AbpSwashbuckleController.SetCsrfCookie (Volo.Abp.Swashbuckle) - Validation state: "Valid"
2022-03-02 07:11:44.522 +08:00 [INF] Executed action method Volo.Abp.Swashbuckle.AbpSwashbuckleController.SetCsrfCookie (Volo.Abp.Swashbuckle), returned result Microsoft.AspNetCore.Mvc.EmptyResult in 49.3031ms.
2022-03-02 07:11:44.523 +08:00 [INF] Executed action Volo.Abp.Swashbuckle.AbpSwashbuckleController.SetCsrfCookie (Volo.Abp.Swashbuckle) in 234.2941ms
2022-03-02 07:11:44.523 +08:00 [INF] Executed endpoint 'Volo.Abp.Swashbuckle.AbpSwashbuckleController.SetCsrfCookie (Volo.Abp.Swashbuckle)'
2022-03-02 07:11:44.526 +08:00 [INF] Request finished HTTP/2 GET https://localhost:5000/abp/Swashbuckle/SetCsrfCookie application/json - - 204 - - 256.3015ms
2022-03-02 07:11:44.795 +08:00 [INF] Request starting HTTP/2 POST https://localhost:5000/api/part/add application/json 1956
2022-03-02 07:11:44.811 +08:00 [INF] CORS policy execution failed.
2022-03-02 07:11:44.811 +08:00 [INF] Request origin https://localhost:5000 does not have permission to access the resource.
2022-03-02 07:11:44.822 +08:00 [INF] Executing endpoint 'WmsWebApi.Parts.PartService.AddAsync (WmsWebApi.Application)'
2022-03-02 07:11:44.890 +08:00 [INF] Route matched with {action = "Add", controller = "Part", area = "", page = ""}. Executing controller action with signature System.Threading.Tasks.Task`1[WmsWebApi.Parts.ReturnResult] AddAsync(System.Object) on controller WmsWebApi.Parts.PartService (WmsWebApi.Application).
2022-03-02 07:11:47.106 +08:00 [INF] Executing action method WmsWebApi.Parts.PartService.AddAsync (WmsWebApi.Application) - Validation state: "Valid"
2022-03-02 07:11:52.494 +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-03-02 07:11:52.494 +08:00 [WRN] No type was specified for the decimal property 'BMENG' on entity type 'WmsWebApiBom'. 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-03-02 07:11:52.494 +08:00 [WRN] No type was specified for the decimal property 'MENGE' on entity type 'WmsWebApiBomDetail'. 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-03-02 07:11:52.494 +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-03-02 07:11:52.494 +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-03-02 07:11:52.494 +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-03-02 07:11:52.494 +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-03-02 07:11:52.494 +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-03-02 07:11:52.495 +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-03-02 07:11:52.495 +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-03-02 07:11:52.495 +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-03-02 07:11:52.495 +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-03-02 07:11:52.495 +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-03-02 07:11:52.495 +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-03-02 07:11:52.495 +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-03-02 07:11:52.495 +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-03-02 07:11:52.495 +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-03-02 07:11:52.495 +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-03-02 07:11:52.495 +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-03-02 07:11:52.495 +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-03-02 07:11:52.495 +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-03-02 07:11:52.676 +08:00 [INF] Entity Framework Core 5.0.14 initialized 'WmsWebApiDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: QuerySplittingBehavior=SplitQuery
2022-03-02 07:11:53.772 +08:00 [INF] Executed DbCommand (220ms) [Parameters=[@__part_PartGroup_0='?' (Size = 50)], CommandType='"Text"', CommandTimeout='30']
SELECT TOP(1) [t].[UID], [t].[IsBom], [t].[IsManageType], [t].[IsPart], [t].[PARTGROUP], [t].[WERKS]
FROM [TM_PG_PARTGROUP] AS [t]
WHERE ([t].[WERKS] = N'1000') AND ([t].[PARTGROUP] = @__part_PartGroup_0)
2022-03-02 07:11:54.000 +08:00 [INF] Executed DbCommand (9ms) [Parameters=[@__part_PartCode_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] = @__part_PartCode_0
2022-03-02 07:12:19.914 +08:00 [INF] Executed action method WmsWebApi.Parts.PartService.AddAsync (WmsWebApi.Application), returned result Microsoft.AspNetCore.Mvc.ObjectResult in 32807.3698ms.
2022-03-02 07:12:20.347 +08:00 [INF] Executed DbCommand (13ms) [Parameters=[@p0='?' (Size = 4000), @p1='?' (Size = 4000), @p2='?' (Size = 4000), @p3='?' (Precision = 18) (Scale = 2) (DbType = Decimal), @p4='?' (Size = 4000), @p5='?' (Size = 4000), @p6='?' (DbType = Int32), @p7='?' (Size = 4000), @p8='?' (Size = 50), @p9='?' (DbType = Int32), @p10='?' (Size = 4000), @p11='?' (DbType = Boolean), @p12='?' (DbType = Boolean), @p13='?' (DbType = Boolean), @p14='?' (DbType = Boolean), @p15='?' (DbType = Boolean), @p16='?' (Size = 4000), @p17='?' (Precision = 18) (Scale = 2) (DbType = Decimal), @p18='?' (DbType = Int32), @p19='?' (Precision = 18) (Scale = 2) (DbType = Decimal), @p20='?' (Precision = 18) (Scale = 2) (DbType = Decimal), @p21='?' (Size = 4000), @p22='?' (Size = 4000), @p23='?' (Size = 50), @p24='?' (Size = 4000), @p25='?' (Size = 4000), @p26='?' (Size = 4000), @p27='?' (Size = 4000), @p28='?' (Size = 4000), @p29='?' (Size = 4000), @p30='?' (Size = 4000), @p31='?' (Size = 4000), @p32='?' (Size = 4000), @p33='?' (Size = 4000), @p34='?' (Size = 4000), @p35='?' (Precision = 18) (Scale = 2) (DbType = Decimal), @p36='?' (Precision = 18) (Scale = 2) (DbType = Decimal), @p37='?' (Precision = 18) (Scale = 2) (DbType = Decimal), @p38='?' (Size = 4000), @p39='?' (Size = 4000), @p40='?' (Precision = 18) (Scale = 2) (DbType = Decimal), @p41='?' (Size = 4000), @p42='?' (Size = 4000), @p43='?' (DbType = Int32)], CommandType='"Text"', CommandTimeout='30']
SET NOCOUNT ON;
INSERT INTO [TA_PART] ([AbcClass], [CertificateOfQuality], [Configuration], [ContainerQty], [DefaultBackFlushLocCode], [DefaultReceiveLocCode], [DistributionType], [DrawingNumber], [ErpPartCode], [InspectType], [Inspecter], [IsAskMerge], [IsConsign], [IsDeposit], [IsNoInterface], [IsTransfer], [LabelTemplate], [LinesidePackQty], [ManageType], [MaxQty], [MinQty], [PalletSize], [PalletTemplate], [PartCode], [PartDesc1], [PartDesc2], [PartGroup], [PartKind], [PartType], [Process], [ProjectId], [Promo], [QLevel], [ReceivePort], [Remark], [SafeQty], [SamplePercent], [SingleWeight], [Source], [State], [StockPackQty], [StoreKeeper], [Unit], [ValidityDays])
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, @p24, @p25, @p26, @p27, @p28, @p29, @p30, @p31, @p32, @p33, @p34, @p35, @p36, @p37, @p38, @p39, @p40, @p41, @p42, @p43);
SELECT [UID]
FROM [TA_PART]
WHERE @@ROWCOUNT = 1 AND [UID] = scope_identity();
2022-03-02 07:12:20.439 +08:00 [INF] Executed DbCommand (7ms) [Parameters=[@p0='?' (DbType = Guid), @p1='?' (Size = 4000), @p2='?' (DbType = DateTime2), @p3='?' (Size = 4000), @p4='?' (Size = 4000), @p5='?' (Size = 4000), @p6='?' (Size = 4000), @p7='?' (Size = 4000), @p8='?' (Size = 4000), @p9='?' (Size = 50), @p10='?' (Size = 10), @p11='?' (Size = 4000), @p12='?' (Size = 4000), @p13='?' (Size = 4000), @p14='?' (Size = 4000), @p15='?' (Size = 4000)], CommandType='"Text"', CommandTimeout='30']
SET NOCOUNT ON;
INSERT INTO [WmsWebApiPARTDTO] ([Id], [DISGR], [DYSJ], [GROES], [ITYPE], [JSON], [MAKTX], [MAKTX1], [MATKL], [MATNR], [MBRSH], [MEINS], [MTART], [VTWEG], [WERKS], [ZTEXT22])
VALUES (@p0, @p1, @p2, @p3, @p4, @p5, @p6, @p7, @p8, @p9, @p10, @p11, @p12, @p13, @p14, @p15);
2022-03-02 07:12:20.699 +08:00 [DBG] Added 0 entity changes to the current audit log
2022-03-02 07:12:20.700 +08:00 [DBG] Added 0 entity changes to the current audit log
2022-03-02 07:12:20.853 +08:00 [INF] Executing ObjectResult, writing value of type 'WmsWebApi.Parts.ReturnResult'.
2022-03-02 07:12:20.897 +08:00 [INF] Executed action WmsWebApi.Parts.PartService.AddAsync (WmsWebApi.Application) in 36006.2322ms
2022-03-02 07:12:20.899 +08:00 [INF] Executed endpoint 'WmsWebApi.Parts.PartService.AddAsync (WmsWebApi.Application)'
2022-03-02 07:12:21.862 +08:00 [INF] Entity Framework Core 5.0.14 initialized 'AbpAuditLoggingDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: QuerySplittingBehavior=SplitQuery
2022-03-02 07:12:22.275 +08:00 [INF] Executed DbCommand (3ms) [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-03-02 07:12:22.279 +08:00 [INF] Executed DbCommand (3ms) [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-03-02 07:12:22.311 +08:00 [DBG] Added 0 entity changes to the current audit log
2022-03-02 07:12:22.311 +08:00 [DBG] Added 0 entity changes to the current audit log
2022-03-02 07:12:22.317 +08:00 [INF] Request finished HTTP/2 POST https://localhost:5000/api/part/add application/json 1956 - 200 - application/json;+charset=utf-8 37521.9606ms