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.

2669 lines
448 KiB

2022-02-24 15:24:07.698 +08:00 [INF] Starting web host.
2022-02-24 15:24:33.811 +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-24 15:24:34.383 +08:00 [INF] Loaded ABP modules:
2022-02-24 15:24:34.383 +08:00 [INF] - WmsWebApi.WmsWebApiHttpApiHostModule
2022-02-24 15:24:34.383 +08:00 [INF] - WmsWebApi.WmsWebApiApplicationModule
2022-02-24 15:24:34.383 +08:00 [INF] - WmsWebApi.WmsWebApiDomainModule
2022-02-24 15:24:34.383 +08:00 [INF] - Volo.Abp.Domain.AbpDddDomainModule
2022-02-24 15:24:34.383 +08:00 [INF] - Volo.Abp.Auditing.AbpAuditingModule
2022-02-24 15:24:34.383 +08:00 [INF] - Volo.Abp.Data.AbpDataModule
2022-02-24 15:24:34.383 +08:00 [INF] - Volo.Abp.ObjectExtending.AbpObjectExtendingModule
2022-02-24 15:24:34.383 +08:00 [INF] - Volo.Abp.Localization.AbpLocalizationAbstractionsModule
2022-02-24 15:24:34.383 +08:00 [INF] - Volo.Abp.Validation.AbpValidationAbstractionsModule
2022-02-24 15:24:34.383 +08:00 [INF] - Volo.Abp.Uow.AbpUnitOfWorkModule
2022-02-24 15:24:34.383 +08:00 [INF] - Volo.Abp.EventBus.Abstractions.AbpEventBusAbstractionsModule
2022-02-24 15:24:34.383 +08:00 [INF] - Volo.Abp.Json.AbpJsonModule
2022-02-24 15:24:34.383 +08:00 [INF] - Volo.Abp.Timing.AbpTimingModule
2022-02-24 15:24:34.383 +08:00 [INF] - Volo.Abp.Localization.AbpLocalizationModule
2022-02-24 15:24:34.383 +08:00 [INF] - Volo.Abp.VirtualFileSystem.AbpVirtualFileSystemModule
2022-02-24 15:24:34.383 +08:00 [INF] - Volo.Abp.Settings.AbpSettingsModule
2022-02-24 15:24:34.383 +08:00 [INF] - Volo.Abp.Security.AbpSecurityModule
2022-02-24 15:24:34.383 +08:00 [INF] - Volo.Abp.MultiTenancy.AbpMultiTenancyModule
2022-02-24 15:24:34.383 +08:00 [INF] - Volo.Abp.Threading.AbpThreadingModule
2022-02-24 15:24:34.383 +08:00 [INF] - Volo.Abp.EventBus.AbpEventBusModule
2022-02-24 15:24:34.383 +08:00 [INF] - Volo.Abp.Guids.AbpGuidsModule
2022-02-24 15:24:34.383 +08:00 [INF] - Volo.Abp.ObjectMapping.AbpObjectMappingModule
2022-02-24 15:24:34.383 +08:00 [INF] - Volo.Abp.ExceptionHandling.AbpExceptionHandlingModule
2022-02-24 15:24:34.383 +08:00 [INF] - Volo.Abp.Specifications.AbpSpecificationsModule
2022-02-24 15:24:34.383 +08:00 [INF] - WmsWebApi.WmsWebApiDomainSharedModule
2022-02-24 15:24:34.383 +08:00 [INF] - Volo.Abp.Validation.AbpValidationModule
2022-02-24 15:24:34.383 +08:00 [INF] - WmsWebApi.WmsWebApiApplicationContractsModule
2022-02-24 15:24:34.383 +08:00 [INF] - Volo.Abp.Application.AbpDddApplicationContractsModule
2022-02-24 15:24:34.383 +08:00 [INF] - Volo.Abp.Authorization.AbpAuthorizationModule
2022-02-24 15:24:34.383 +08:00 [INF] - Volo.Abp.Authorization.AbpAuthorizationAbstractionsModule
2022-02-24 15:24:34.383 +08:00 [INF] - Volo.Abp.Application.AbpDddApplicationModule
2022-02-24 15:24:34.383 +08:00 [INF] - Volo.Abp.Http.AbpHttpAbstractionsModule
2022-02-24 15:24:34.383 +08:00 [INF] - Volo.Abp.Features.AbpFeaturesModule
2022-02-24 15:24:34.383 +08:00 [INF] - Volo.Abp.GlobalFeatures.AbpGlobalFeaturesModule
2022-02-24 15:24:34.383 +08:00 [INF] - Volo.Abp.AutoMapper.AbpAutoMapperModule
2022-02-24 15:24:34.383 +08:00 [INF] - WmsWebApi.EntityFrameworkCore.WmsWebApiEntityFrameworkCoreModule
2022-02-24 15:24:34.383 +08:00 [INF] - Volo.Abp.EntityFrameworkCore.AbpEntityFrameworkCoreModule
2022-02-24 15:24:34.383 +08:00 [INF] - Volo.Abp.Dapper.AbpDapperModule
2022-02-24 15:24:34.383 +08:00 [INF] - WmsWebApi.WmsWebApiHttpApiModule
2022-02-24 15:24:34.383 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.AbpAspNetCoreMvcModule
2022-02-24 15:24:34.383 +08:00 [INF] - Volo.Abp.AspNetCore.AbpAspNetCoreModule
2022-02-24 15:24:34.383 +08:00 [INF] - Volo.Abp.Http.AbpHttpModule
2022-02-24 15:24:34.383 +08:00 [INF] - Volo.Abp.Minify.AbpMinifyModule
2022-02-24 15:24:34.383 +08:00 [INF] - Volo.Abp.ApiVersioning.AbpApiVersioningAbstractionsModule
2022-02-24 15:24:34.383 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.AbpAspNetCoreMvcContractsModule
2022-02-24 15:24:34.383 +08:00 [INF] - Volo.Abp.UI.Navigation.AbpUiNavigationModule
2022-02-24 15:24:34.383 +08:00 [INF] - Volo.Abp.UI.AbpUiModule
2022-02-24 15:24:34.383 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.MultiTenancy.AbpAspNetCoreMvcUiMultiTenancyModule
2022-02-24 15:24:34.383 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Theme.Shared.AbpAspNetCoreMvcUiThemeSharedModule
2022-02-24 15:24:34.384 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.AbpAspNetCoreMvcUiBootstrapModule
2022-02-24 15:24:34.384 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.AbpAspNetCoreMvcUiModule
2022-02-24 15:24:34.384 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Packages.AbpAspNetCoreMvcUiPackagesModule
2022-02-24 15:24:34.384 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Bundling.AbpAspNetCoreMvcUiBundlingAbstractionsModule
2022-02-24 15:24:34.384 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Widgets.AbpAspNetCoreMvcUiWidgetsModule
2022-02-24 15:24:34.384 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Bundling.AbpAspNetCoreMvcUiBundlingModule
2022-02-24 15:24:34.384 +08:00 [INF] - Volo.Abp.AspNetCore.MultiTenancy.AbpAspNetCoreMultiTenancyModule
2022-02-24 15:24:34.384 +08:00 [INF] - Volo.Abp.Autofac.AbpAutofacModule
2022-02-24 15:24:34.384 +08:00 [INF] - Volo.Abp.Castle.AbpCastleCoreModule
2022-02-24 15:24:34.384 +08:00 [INF] - Volo.Abp.Caching.StackExchangeRedis.AbpCachingStackExchangeRedisModule
2022-02-24 15:24:34.384 +08:00 [INF] - Volo.Abp.Caching.AbpCachingModule
2022-02-24 15:24:34.384 +08:00 [INF] - Volo.Abp.Serialization.AbpSerializationModule
2022-02-24 15:24:34.384 +08:00 [INF] - Volo.Abp.EntityFrameworkCore.SqlServer.AbpEntityFrameworkCoreSqlServerModule
2022-02-24 15:24:34.384 +08:00 [INF] - Volo.Abp.AuditLogging.EntityFrameworkCore.AbpAuditLoggingEntityFrameworkCoreModule
2022-02-24 15:24:34.384 +08:00 [INF] - Volo.Abp.AuditLogging.AbpAuditLoggingDomainModule
2022-02-24 15:24:34.384 +08:00 [INF] - Volo.Abp.AuditLogging.AbpAuditLoggingDomainSharedModule
2022-02-24 15:24:34.384 +08:00 [INF] - Volo.Abp.PermissionManagement.EntityFrameworkCore.AbpPermissionManagementEntityFrameworkCoreModule
2022-02-24 15:24:34.384 +08:00 [INF] - Volo.Abp.PermissionManagement.AbpPermissionManagementDomainModule
2022-02-24 15:24:34.384 +08:00 [INF] - Volo.Abp.PermissionManagement.AbpPermissionManagementDomainSharedModule
2022-02-24 15:24:34.384 +08:00 [INF] - Volo.Abp.SettingManagement.EntityFrameworkCore.AbpSettingManagementEntityFrameworkCoreModule
2022-02-24 15:24:34.384 +08:00 [INF] - Volo.Abp.SettingManagement.AbpSettingManagementDomainModule
2022-02-24 15:24:34.384 +08:00 [INF] - Volo.Abp.SettingManagement.AbpSettingManagementDomainSharedModule
2022-02-24 15:24:34.384 +08:00 [INF] - Volo.Abp.AspNetCore.Serilog.AbpAspNetCoreSerilogModule
2022-02-24 15:24:34.384 +08:00 [INF] - Volo.Abp.Swashbuckle.AbpSwashbuckleModule
2022-02-24 15:24:37.167 +08:00 [INF] Initialized all ABP modules.
2022-02-24 15:24:38.433 +08:00 [INF] Now listening on: https://localhost:5000
2022-02-24 15:24:38.434 +08:00 [INF] Application started. Press Ctrl+C to shut down.
2022-02-24 15:24:38.434 +08:00 [INF] Hosting environment: Development
2022-02-24 15:24:38.434 +08:00 [INF] Content root path: D:\工作\派格\接口程序\WmsWebApi\host\WmsWebApi.HttpApi.Host
2022-02-24 15:24:49.733 +08:00 [INF] Request starting HTTP/2 GET https://localhost:5000/ - -
2022-02-24 15:24:56.326 +08:00 [INF] Entity Framework Core 5.0.14 initialized 'SettingManagementDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: QuerySplittingBehavior=SplitQuery
2022-02-24 15:24:59.976 +08:00 [INF] Executed DbCommand (451ms) [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-24 15:25:01.285 +08:00 [INF] Entity Framework Core 5.0.14 initialized 'SettingManagementDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: QuerySplittingBehavior=SplitQuery
2022-02-24 15:25:01.333 +08:00 [INF] Executed DbCommand (31ms) [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-24 15:25:01.706 +08:00 [INF] Executing endpoint 'WmsWebApi.Controllers.HomeController.Index (WmsWebApi.HttpApi.Host)'
2022-02-24 15:25:01.927 +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-24 15:25:02.542 +08:00 [INF] Executing action method WmsWebApi.Controllers.HomeController.Index (WmsWebApi.HttpApi.Host) - Validation state: "Valid"
2022-02-24 15:25:02.559 +08:00 [INF] Executed action method WmsWebApi.Controllers.HomeController.Index (WmsWebApi.HttpApi.Host), returned result Microsoft.AspNetCore.Mvc.RedirectResult in 0.8971ms.
2022-02-24 15:25:02.577 +08:00 [INF] Executing RedirectResult, redirecting to /swagger.
2022-02-24 15:25:02.600 +08:00 [INF] Executed action WmsWebApi.Controllers.HomeController.Index (WmsWebApi.HttpApi.Host) in 653.1613ms
2022-02-24 15:25:02.601 +08:00 [INF] Executed endpoint 'WmsWebApi.Controllers.HomeController.Index (WmsWebApi.HttpApi.Host)'
2022-02-24 15:25:02.702 +08:00 [INF] Request finished HTTP/2 GET https://localhost:5000/ - - - 302 0 - 13044.5477ms
2022-02-24 15:25:02.732 +08:00 [INF] Request starting HTTP/2 GET https://localhost:5000/swagger/index.html - -
2022-02-24 15:25:03.467 +08:00 [INF] Request finished HTTP/2 GET https://localhost:5000/swagger/index.html - - - 200 - text/html;charset=utf-8 734.9456ms
2022-02-24 15:25:04.284 +08:00 [INF] Request starting HTTP/2 GET https://localhost:5000/_framework/aspnetcore-browser-refresh.js - -
2022-02-24 15:25:04.298 +08:00 [INF] Request finished HTTP/2 GET https://localhost:5000/_framework/aspnetcore-browser-refresh.js - - - 200 11956 application/javascript;+charset=utf-8 14.9455ms
2022-02-24 15:25:05.929 +08:00 [INF] Request starting HTTP/2 GET https://localhost:5000/swagger/v1/swagger.json - -
2022-02-24 15:25:06.483 +08:00 [INF] Request finished HTTP/2 GET https://localhost:5000/swagger/v1/swagger.json - - - 200 - application/json;charset=utf-8 554.9861ms
2022-02-24 15:30:26.780 +08:00 [INF] Request starting HTTP/2 GET https://localhost:5000/abp/Swashbuckle/SetCsrfCookie application/json -
2022-02-24 15:30:26.838 +08:00 [INF] Executing endpoint 'Volo.Abp.Swashbuckle.AbpSwashbuckleController.SetCsrfCookie (Volo.Abp.Swashbuckle)'
2022-02-24 15:30:26.845 +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-24 15:30:27.143 +08:00 [INF] Executing action method Volo.Abp.Swashbuckle.AbpSwashbuckleController.SetCsrfCookie (Volo.Abp.Swashbuckle) - Validation state: "Valid"
2022-02-24 15:30:27.196 +08:00 [INF] Executed action method Volo.Abp.Swashbuckle.AbpSwashbuckleController.SetCsrfCookie (Volo.Abp.Swashbuckle), returned result Microsoft.AspNetCore.Mvc.EmptyResult in 52.5368ms.
2022-02-24 15:30:27.198 +08:00 [INF] Executed action Volo.Abp.Swashbuckle.AbpSwashbuckleController.SetCsrfCookie (Volo.Abp.Swashbuckle) in 353.2406ms
2022-02-24 15:30:27.198 +08:00 [INF] Executed endpoint 'Volo.Abp.Swashbuckle.AbpSwashbuckleController.SetCsrfCookie (Volo.Abp.Swashbuckle)'
2022-02-24 15:30:27.200 +08:00 [INF] Request finished HTTP/2 GET https://localhost:5000/abp/Swashbuckle/SetCsrfCookie application/json - - 204 - - 424.0033ms
2022-02-24 15:30:27.437 +08:00 [INF] Request starting HTTP/2 POST https://localhost:5000/api/zlldcj/addObj application/json 10221
2022-02-24 15:30:27.479 +08:00 [INF] CORS policy execution failed.
2022-02-24 15:30:27.480 +08:00 [INF] Request origin https://localhost:5000 does not have permission to access the resource.
2022-02-24 15:30:27.488 +08:00 [INF] Executing endpoint 'WmsWebApi.ZlldcjLogs.ZlldcjLogAppService.AddAsync (WmsWebApi.Application)'
2022-02-24 15:30:27.534 +08:00 [INF] Route matched with {action = "Add", controller = "ZlldcjLog", area = "", page = ""}. Executing controller action with signature System.Threading.Tasks.Task`1[WmsWebApi.ZlldcjLogs.ReturnResult] AddAsync(System.Object) on controller WmsWebApi.ZlldcjLogs.ZlldcjLogAppService (WmsWebApi.Application).
2022-02-24 15:30:30.628 +08:00 [INF] Executing action method WmsWebApi.ZlldcjLogs.ZlldcjLogAppService.AddAsync (WmsWebApi.Application) - Validation state: "Valid"
2022-02-24 15:30:42.347 +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-24 15:30:42.348 +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-02-24 15:30:42.348 +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-02-24 15:30:42.348 +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-24 15:30:42.348 +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-24 15:30:42.348 +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-24 15:30:42.349 +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-24 15:30:42.349 +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-24 15:30:42.349 +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-24 15:30:42.350 +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-24 15:30:42.350 +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-24 15:30:42.350 +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-24 15:30:42.350 +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-24 15:30:42.350 +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-24 15:30:42.350 +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-24 15:30:42.350 +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-24 15:30:42.351 +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-24 15:30:42.351 +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-24 15:30:42.351 +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-24 15:30:42.351 +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-24 15:30:42.351 +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-24 15:30:42.617 +08:00 [INF] Entity Framework Core 5.0.14 initialized 'WmsWebApiDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: QuerySplittingBehavior=SplitQuery
2022-02-24 15:30:43.252 +08:00 [INF] Executed DbCommand (5ms) [Parameters=[@__get_Item_ZLLDJ_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] = @__get_Item_ZLLDJ_0
2022-02-24 15:30:43.321 +08:00 [INF] Executed DbCommand (4ms) [Parameters=[@__get_Item_ZDJLX_0='?' (Size = 10), @__get_Item_ZLTLX_1='?' (Size = 10), @__get_Item_BWART_2='?' (Size = 20)], CommandType='"Text"', CommandTimeout='30']
SELECT TOP(1) [t].[UID], [t].[GetOrBack], [t].[MoveReason], [t].[MoveType], [t].[Remark], [t].[SAPBillDesc], [t].[SAPBillType], [t].[SubBillType]
FROM [TM_PG_SAPMOVETYPE] AS [t]
WHERE (([t].[SAPBillType] = @__get_Item_ZDJLX_0) AND ([t].[GetOrBack] = @__get_Item_ZLTLX_1)) AND ([t].[MoveType] = @__get_Item_BWART_2)
2022-02-24 15:30:50.534 +08:00 [INF] Executed DbCommand (2ms) [Parameters=[@__get_Item_ZLLDJ_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] = @__get_Item_ZLLDJ_0
2022-02-24 15:30:50.538 +08:00 [INF] Executed DbCommand (2ms) [Parameters=[@__get_Item_ZDJLX_0='?' (Size = 10), @__get_Item_ZLTLX_1='?' (Size = 10), @__get_Item_BWART_2='?' (Size = 20)], CommandType='"Text"', CommandTimeout='30']
SELECT TOP(1) [t].[UID], [t].[GetOrBack], [t].[MoveReason], [t].[MoveType], [t].[Remark], [t].[SAPBillDesc], [t].[SAPBillType], [t].[SubBillType]
FROM [TM_PG_SAPMOVETYPE] AS [t]
WHERE (([t].[SAPBillType] = @__get_Item_ZDJLX_0) AND ([t].[GetOrBack] = @__get_Item_ZLTLX_1)) AND ([t].[MoveType] = @__get_Item_BWART_2)
2022-02-24 15:30:50.542 +08:00 [INF] Executed DbCommand (2ms) [Parameters=[@__get_Item_ZLLDJ_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] = @__get_Item_ZLLDJ_0
2022-02-24 15:30:50.546 +08:00 [INF] Executed DbCommand (2ms) [Parameters=[@__get_Item_ZDJLX_0='?' (Size = 10), @__get_Item_ZLTLX_1='?' (Size = 10), @__get_Item_BWART_2='?' (Size = 20)], CommandType='"Text"', CommandTimeout='30']
SELECT TOP(1) [t].[UID], [t].[GetOrBack], [t].[MoveReason], [t].[MoveType], [t].[Remark], [t].[SAPBillDesc], [t].[SAPBillType], [t].[SubBillType]
FROM [TM_PG_SAPMOVETYPE] AS [t]
WHERE (([t].[SAPBillType] = @__get_Item_ZDJLX_0) AND ([t].[GetOrBack] = @__get_Item_ZLTLX_1)) AND ([t].[MoveType] = @__get_Item_BWART_2)
2022-02-24 15:30:50.549 +08:00 [INF] Executed DbCommand (2ms) [Parameters=[@__get_Item_ZLLDJ_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] = @__get_Item_ZLLDJ_0
2022-02-24 15:30:50.553 +08:00 [INF] Executed DbCommand (2ms) [Parameters=[@__get_Item_ZDJLX_0='?' (Size = 10), @__get_Item_ZLTLX_1='?' (Size = 10), @__get_Item_BWART_2='?' (Size = 20)], CommandType='"Text"', CommandTimeout='30']
SELECT TOP(1) [t].[UID], [t].[GetOrBack], [t].[MoveReason], [t].[MoveType], [t].[Remark], [t].[SAPBillDesc], [t].[SAPBillType], [t].[SubBillType]
FROM [TM_PG_SAPMOVETYPE] AS [t]
WHERE (([t].[SAPBillType] = @__get_Item_ZDJLX_0) AND ([t].[GetOrBack] = @__get_Item_ZLTLX_1)) AND ([t].[MoveType] = @__get_Item_BWART_2)
2022-02-24 15:30:50.558 +08:00 [INF] Executed DbCommand (2ms) [Parameters=[@__get_Item_ZLLDJ_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] = @__get_Item_ZLLDJ_0
2022-02-24 15:30:50.562 +08:00 [INF] Executed DbCommand (2ms) [Parameters=[@__get_Item_ZDJLX_0='?' (Size = 10), @__get_Item_ZLTLX_1='?' (Size = 10), @__get_Item_BWART_2='?' (Size = 20)], CommandType='"Text"', CommandTimeout='30']
SELECT TOP(1) [t].[UID], [t].[GetOrBack], [t].[MoveReason], [t].[MoveType], [t].[Remark], [t].[SAPBillDesc], [t].[SAPBillType], [t].[SubBillType]
FROM [TM_PG_SAPMOVETYPE] AS [t]
WHERE (([t].[SAPBillType] = @__get_Item_ZDJLX_0) AND ([t].[GetOrBack] = @__get_Item_ZLTLX_1)) AND ([t].[MoveType] = @__get_Item_BWART_2)
2022-02-24 15:30:50.588 +08:00 [INF] Executed action method WmsWebApi.ZlldcjLogs.ZlldcjLogAppService.AddAsync (WmsWebApi.Application), returned result Microsoft.AspNetCore.Mvc.ObjectResult in 19959.9606ms.
2022-02-24 15:30:51.155 +08:00 [INF] Executed DbCommand (253ms) [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), @p22='?' (DbType = DateTime2), @p23='?' (Size = 64), @p24='?' (DbType = DateTime2), @p25='?' (DbType = Int32), @p26='?' (Size = 50), @p27='?' (DbType = Int32), @p28='?' (Size = 4000), @p29='?' (Size = 50), @p30='?' (Size = 50), @p31='?' (Size = 50), @p32='?' (DbType = Guid), @p33='?' (Size = 4000), @p34='?' (Size = 50), @p35='?' (Size = 4000), @p36='?' (Size = 4000), @p37='?' (Size = 4000), @p38='?' (Size = 4000), @p39='?' (Size = 50), @p40='?' (DbType = Int32), @p41='?' (Size = 50), @p42='?' (Size = 50), @p43='?' (Size = 50), @p44='?' (DbType = DateTime2), @p45='?' (Size = 64), @p46='?' (DbType = DateTime2), @p47='?' (DbType = Int32), @p48='?' (Size = 50), @p49='?' (DbType = Int32), @p50='?' (Size = 4000), @p51='?' (Size = 50), @p52='?' (Size = 50), @p53='?' (Size = 50), @p54='?' (DbType = Guid), @p55='?' (Size = 4000), @p56='?' (Size = 50), @p57='?' (Size = 4000), @p58='?' (Size = 4000), @p59='?' (Size = 4000), @p60='?' (Size = 4000), @p61='?' (Size = 50), @p62='?' (DbType = Int32), @p63='?' (Size = 50), @p64='?' (Size = 50), @p65='?' (Size = 50), @p66='?' (DbType = DateTime2), @p67='?' (Size = 64), @p68='?' (DbType = DateTime2), @p69='?' (DbType = Int32), @p70='?' (Size = 50), @p71='?' (DbType = Int32), @p72='?' (Size = 4000), @p73='?' (Size = 50), @p74='?' (Size = 50), @p75='?' (Size = 50), @p76='?' (DbType = Guid), @p77='?' (Size = 4000), @p78='?' (Size = 50), @p79='?' (Size = 4000), @p80='?' (Size = 4000), @p81='?' (Size = 4000), @p82='?' (Size = 4000), @p83='?' (Size = 50), @p84='?' (DbType = Int32), @p85='?' (Size = 50), @p86='?' (Size = 50), @p87='?' (Size = 50), @p88='?' (DbType = DateTime2), @p89='?' (Size = 64), @p90='?' (DbType = DateTime2), @p91='?' (DbType = Int32), @p92='?' (Size = 50), @p93='?' (DbType = Int32), @p94='?' (Size = 4000), @p95='?' (Size = 50), @p96='?' (Size = 50), @p97='?' (Size = 50), @p98='?' (DbType = Guid), @p99='?' (Size = 4000), @p100='?' (Size = 50), @p101='?' (Size = 4000), @p102='?' (Size = 4000), @p103='?' (Size = 4000), @p104='?' (Size = 4000), @p105='?' (Size = 50), @p106='?' (DbType = Int32), @p107='?' (Size = 50), @p108='?' (Size = 50), @p109='?' (Size = 50), @p110='?' (Size = 50), @p111='?' (Size = 50), @p112='?' (Size = 50), @p113='?' (Size = 50), @p114='?' (Size = 50), @p115='?' (Size = 50), @p116='?' (Size = 50), @p117='?' (Size = 50), @p118='?' (Size = 50), @p119='?' (Size = 50), @p120='?' (Size = 50), @p121='?' (Size = 50), @p122='?' (Size = 50), @p123='?' (DbType = Boolean), @p124='?' (Size = 50), @p125='?' (Size = 50), @p126='?' (Size = 50), @p127='?' (Size = 50), @p128='?' (Size = 50), @p129='?' (Size = 50), @p130='?' (Precision = 18) (Scale = 6) (DbType = Decimal), @p131='?' (Precision = 18) (Scale = 6) (DbType = Decimal), @p132='?' (Size = 50), @p133='?' (DbType = Decimal), @p134='?' (Size = 200), @p135='?' (Size = 50), @p136='?' (Size = 50), @p137='?' (Size = 50), @p138='?' (Size = 50), @p139='?' (Size = 50), @p140='?' (Size = 50), @p141='?' (Size = 50), @p142='?' (Size = 50), @p143='?' (Size = 50), @p144='?' (Size = 50), @p145='?' (Size = 50), @p146='?' (Size = 50), @p147='?' (Size = 50), @p148='?' (Size = 50), @p149='?' (Size = 50), @p150='?' (DbType = Boolean), @p151='?' (Size = 50), @p152='?' (Size = 50), @p153='?' (Size = 50), @p154='?' (Size = 50), @p155='?' (Size = 50), @p156='?' (Size = 50), @p157='?' (Precision = 18) (Scale = 6) (DbType = Decimal), @p158='?' (Precision = 18) (Scale = 6) (DbType = Decimal), @p159='?' (Size = 50), @p160='?' (DbType = Decimal), @p161='
SET NOCOUNT ON;
DECLARE @inserted0 TABLE ([UID] int, [_Position] [int]);
MERGE [TB_BILL] USING (
VALUES (@p0, @p1, @p2, @p3, @p4, @p5, @p6, @p7, @p8, @p9, @p10, @p11, @p12, @p13, @p14, @p15, @p16, @p17, @p18, @p19, @p20, @p21, 0),
(@p22, @p23, @p24, @p25, @p26, @p27, @p28, @p29, @p30, @p31, @p32, @p33, @p34, @p35, @p36, @p37, @p38, @p39, @p40, @p41, @p42, @p43, 1),
(@p44, @p45, @p46, @p47, @p48, @p49, @p50, @p51, @p52, @p53, @p54, @p55, @p56, @p57, @p58, @p59, @p60, @p61, @p62, @p63, @p64, @p65, 2),
(@p66, @p67, @p68, @p69, @p70, @p71, @p72, @p73, @p74, @p75, @p76, @p77, @p78, @p79, @p80, @p81, @p82, @p83, @p84, @p85, @p86, @p87, 3),
(@p88, @p89, @p90, @p91, @p92, @p93, @p94, @p95, @p96, @p97, @p98, @p99, @p100, @p101, @p102, @p103, @p104, @p105, @p106, @p107, @p108, @p109, 4)) AS i ([AccountDate], [BillNum], [BillTime], [BillType], [CustId], [DetailQty], [DockCode], [FinishTime], [GateCode], [GateName], [Guid], [OperName], [ProjectId], [Remark], [SourceBillNum], [SourceBillNum2], [SourceBillNum3], [StartTime], [SubBillType], [TransportType], [TruckNum], [VendId], _Position) ON 1=0
WHEN NOT MATCHED THEN
INSERT ([AccountDate], [BillNum], [BillTime], [BillType], [CustId], [DetailQty], [DockCode], [FinishTime], [GateCode], [GateName], [Guid], [OperName], [ProjectId], [Remark], [SourceBillNum], [SourceBillNum2], [SourceBillNum3], [StartTime], [SubBillType], [TransportType], [TruckNum], [VendId])
VALUES (i.[AccountDate], i.[BillNum], i.[BillTime], i.[BillType], i.[CustId], i.[DetailQty], i.[DockCode], i.[FinishTime], i.[GateCode], i.[GateName], i.[Guid], i.[OperName], i.[ProjectId], i.[Remark], i.[SourceBillNum], i.[SourceBillNum2], i.[SourceBillNum3], i.[StartTime], i.[SubBillType], i.[TransportType], i.[TruckNum], i.[VendId])
OUTPUT INSERTED.[UID], i._Position
INTO @inserted0;
SELECT [t].[UID], [t].[State] FROM [TB_BILL] t
INNER JOIN @inserted0 i ON ([t].[UID] = [i].[UID])
ORDER BY [i].[_Position];
DECLARE @inserted5 TABLE ([BillLineID] nvarchar(50), [BillNum] nvarchar(50), [_Position] [int]);
MERGE [TM_PG_OTHER_INOUT_ASK] USING (
VALUES (@p110, @p111, @p112, @p113, @p114, @p115, @p116, @p117, @p118, @p119, @p120, @p121, @p122, @p123, @p124, @p125, @p126, @p127, @p128, @p129, @p130, @p131, @p132, @p133, @p134, @p135, @p136, 0),
(@p137, @p138, @p139, @p140, @p141, @p142, @p143, @p144, @p145, @p146, @p147, @p148, @p149, @p150, @p151, @p152, @p153, @p154, @p155, @p156, @p157, @p158, @p159, @p160, @p161, @p162, @p163, 1),
(@p164, @p165, @p166, @p167, @p168, @p169, @p170, @p171, @p172, @p173, @p174, @p175, @p176, @p177, @p178, @p179, @p180, @p181, @p182, @p183, @p184, @p185, @p186, @p187, @p188, @p189, @p190, 2),
(@p191, @p192, @p193, @p194, @p195, @p196, @p197, @p198, @p199, @p200, @p201, @p202, @p203, @p204, @p205, @p206, @p207, @p208, @p209, @p210, @p211, @p212, @p213, @p214, @p215, @p216, @p217, 3),
(@p218, @p219, @p220, @p221, @p222, @p223, @p224, @p225, @p226, @p227, @p228, @p229, @p230, @p231, @p232, @p233, @p234, @p235, @p236, @p237, @p238, @p239, @p240, @p241, @p242, @p243, @p244, 4),
(@p245, @p246, @p247, @p248, @p249, @p250, @p251, @p252, @p253, @p254, @p255, @p256, @p257, @p258, @p259, @p260, @p261, @p262, @p263, @p264, @p265, @p266, @p267, @p268, @p269, @p270, @p271, 5),
(@p272, @p273, @p274, @p275, @p276, @p277, @p278, @p279, @p280, @p281, @p282, @p283, @p284, @p285, @p286, @p287, @p288, @p289, @p290, @p291, @p292, @p293, @p294, @p295, @p296, @p297, @p298, 6),
(@p299, @p300, @p301, @p302, @p303, @p304, @p305, @p306, @p307, @p308, @p309, @p310, @p311, @p312, @p313, @p314, @p315, @p316, @p317, @p318, @p319, @p320, @p321, @p322, @p323, @p324, @p325, 7),
(@p326, @p327, @p328, @p329, @p330, @p331, @p332, @p333, @p334, @p335, @p336, @p337, @p338, @p339, @p340, @p341, @p342, @p343, @p344, @p345, @p346, @p347, @p348, @p349, @p350, @p351, @p352, 8),
(@p353, @p354, @p355, @p356, @p357, @p358, @p359, @p360, @p361, @p362, @p363, @p364, @p365, @p366, @p367, @p368, @p369, @p370, @p371, @p372, @p373, @p374, @p375, @p376, @p377, @p378, @p379, 9),
(@p380, @p381, @p382, @p383, @p384, @p385, @p386, @p387, @p388, @p389, @p390, @p391, @p392, @p393, @p394, @p395, @p396, @p397, @p398, @p399, @p400, @p401, @p402, @p403, @p404, @p405, @p406, 10),
(@p407, @p408, @p409, @p410, @p411, @p412, @p413, @p414, @p415, @p416, @p417, @p418, @p419, @p420, @p421, @p422, @p423, @p424, @p425, @p426, @p427, @p428, @p429, @p430, @p431, @p432, @p433, 11),
(@p434, @p435, @p436, @p437, @p438, @p439, @p440, @p441, @p442, @p443, @p444, @p445, @p446, @p447, @p448, @p449, @p450, @p451, @p452, @p453, @p454, @p455, @p456, @p457, @p458, @p459, @p460, 12),
(@p461, @p462, @p463, @p464, @p465, @p466, @p467, @p468, @p469, @p470, @p471, @p472, @p473, @p474, @p475, @p476, @p477, @p478, @p479, @p480, @p481, @p482, @p483, @p484, @p485, @p486, @p487, 13),
(@p488, @p489, @p490, @p491, @p492, @p493, @p494, @p495, @p496, @p497, @p498, @p499, @p500, @p501, @p502, @p503, @p504, @p505, @p506, @p507, @p508, @p509, @p510, @p511, @p512, @p513, @p514, 14),
(@p515, @p516, @p517, @p518, @p519, @p520, @p521, @p522, @p523, @p524, @p525, @p526, @p527, @p528, @p529, @p530, @p531, @p532, @p533, @p534, @p535, @p536, @p537, @p538, @p539, @p540, @p541, 15),
(@p542, @p543, @p544, @p545, @p546, @p547, @p548, @p549, @p550, @p551, @p552, @p553, @p554, @p555, @p556, @p557, @p558, @p559, @p560, @p561, @p562, @p563, @p564, @p565, @p566, @p567, @p568, 16),
(@p569, @p570, @p571, @p572, @p573, @p574, @p575, @p576, @p577, @p578, @p579, @p580, @p581, @p582, @p583, @p584, @p585, @p586, @p587, @p588, @p589, @p590, @p591, @p592, @p593, @p594, @p595, 17),
(@p596, @p597, @p598, @p599, @p600, @p601, @p602, @p603, @p604, @p605, @p606, @p607, @p608, @p609, @p610, @p611, @p612, @p613, @p614, @p615, @p616, @p617, @p618, @p619, @p620, @p621, @p622, 18),
(@p623, @p624, @p625, @p626, @p627, @p628, @p629, @p630, @p631, @p632, @p633, @p634, @p635, @p636, @p637, @p638, @p639, @p640, @p641, @p642, @p643, @p644, @p645, @p646, @p647, @p648, @p649, 19)) AS i ([BillLineID], [BillNum], [BUn], [BarCode], [BaseOrder], [BaseOrderDesc], [BillType], [BillTypeDesc], [ClaimLocation], [CostCenter], [CreatDate], [Creator], [GetOrBack], [IsClosed], [MoveReason], [MoveType], [OrderReason], [PartCode], [PickLocation], [PickPerson], [PickedQty], [Qty], [RejecteLocation], [RejecteQty], [Remark], [ToBarCode], [ToPartCode], _Position) ON 1=0
WHEN NOT MATCHED THEN
INSERT ([BillLineID], [BillNum], [BUn], [BarCode], [BaseOrder], [BaseOrderDesc], [BillType], [BillTypeDesc], [ClaimLocation], [CostCenter], [CreatDate], [Creator], [GetOrBack], [IsClosed], [MoveReason], [MoveType], [OrderReason], [PartCode], [PickLocation], [PickPerson], [PickedQty], [Qty], [RejecteLocation], [RejecteQty], [Remark], [ToBarCode], [ToPartCode])
VALUES (i.[BillLineID], i.[BillNum], i.[BUn], i.[BarCode], i.[BaseOrder], i.[BaseOrderDesc], i.[BillType], i.[BillTypeDesc], i.[ClaimLocation], i.[CostCenter], i.[CreatDate], i.[Creator], i.[GetOrBack], i.[IsClosed], i.[MoveReason], i.[MoveType], i.[OrderReason], i.[PartCode], i.[PickLocation], i.[PickPerson], i.[PickedQty], i.[Qty], i.[RejecteLocation], i.[RejecteQty], i.[Remark], i.[ToBarCode], i.[ToPartCode])
OUTPUT INSERTED.[BillLineID], INSERTED.[BillNum], i._Position
INTO @inserted5;
SELECT [t].[UID] FROM [TM_PG_OTHER_INOUT_ASK] t
INNER JOIN @inserted5 i ON ([t].[BillLineID] = [i].[BillLineID]) AND ([t].[BillNum] = [i].[BillNum])
ORDER BY [i].[_Position];
INSERT INTO [WmsWebApiZLLDCJDTO] ([Id], [DYSJ], [ITYPE], [JSON], [ZDJLX], [ZLLDJ], [ZLTLX])
VALUES (@p650, @p651, @p652, @p653, @p654, @p655, @p656);
INSERT INTO [WmsWebApiZLLDCJ_LOGDTO] ([Id], [AEDAT], [AENAM], [AEZET], [ANLN1], [AUFNR], [BDMNG], [BKNUM], [BWART], [ConcurrencyStamp], [CreationTime], [CreatorId], [ENMNG], [ERDAT], [ERNAM], [ERZET], [ExtraProperties], [GRUND], [IType], [KOSTL], [KZEAR], [LGORT1], [LGORT2], [LGORT3], [MATNR], [MEINS], [POSNR], [RSNUM], [RSPOS], [VBELN], [WERKS], [ZBZSM], [ZDJLX], [ZLLDJ], [ZLLITEM], [ZLLR], [ZLTLX])
VALUES (@p657, @p658, @p659, @p660, @p661, @p662, @p663, @p664, @p665, @p666, @p667, @p668, @p669, @p670, @p671, @p672, @p673, @p674, @p675, @p676, @p677, @p678, @p679, @p680, @p681, @p682, @p683, @p684, @p685, @p686, @p687, @p688, @p689, @p690, @p691, @p692, @p693),
(@p694, @p695, @p696, @p697, @p698, @p699, @p700, @p701, @p702, @p703, @p704, @p705, @p706, @p707, @p708, @p709, @p710, @p711, @p712, @p713, @p714, @p715, @p716, @p717, @p718, @p719, @p720, @p721, @p722, @p723, @p724, @p725, @p726, @p727, @p728, @p729, @p730),
(@p731, @p732, @p733, @p734, @p735, @p736, @p737, @p738, @p739, @p740, @p741, @p742, @p743, @p744, @p745, @p746, @p747, @p748, @p749, @p750, @p751, @p752, @p753, @p754, @p755, @p756, @p757, @p758, @p759, @p760, @p761, @p762, @p763, @p764, @p765, @p766, @p767),
(@p768, @p769, @p770, @p771, @p772, @p773, @p774, @p775, @p776, @p777, @p778, @p779, @p780, @p781, @p782, @p783, @p784, @p785, @p786, @p787, @p788, @p789, @p790, @p791, @p792, @p793, @p794, @p795, @p796, @p797, @p798, @p799, @p800, @p801, @p802, @p803, @p804),
(@p805, @p806, @p807, @p808, @p809, @p810, @p811, @p812, @p813, @p814, @p815, @p816, @p817, @p818, @p819, @p820, @p821, @p822, @p823, @p824, @p825, @p826, @p827, @p828, @p829, @p830, @p831, @p832, @p833, @p834, @p835, @p836, @p837, @p838, @p839, @p840, @p841),
(@p842, @p843, @p844, @p845, @p846, @p847, @p848, @p849, @p850, @p851, @p852, @p853, @p854, @p855, @p856, @p857, @p858, @p859, @p860, @p861, @p862, @p863, @p864, @p865, @p866, @p867, @p868, @p869, @p870, @p871, @p872, @p873, @p874, @p875, @p876, @p877, @p878),
(@p879, @p880, @p881, @p882, @p883, @p884, @p885, @p886, @p887, @p888, @p889, @p890, @p891, @p892, @p893, @p894, @p895, @p896, @p897, @p898, @p899, @p900, @p901, @p902, @p903, @p904, @p905, @p906, @p907, @p908, @p909, @p910, @p911, @p912, @p913, @p914, @p915),
(@p916, @p917, @p918, @p919, @p920, @p921, @p922, @p923, @p924, @p925, @p926, @p927, @p928, @p929, @p930, @p931, @p932, @p933, @p934, @p935, @p936, @p937, @p938, @p939, @p940, @p941, @p942, @p943, @p944, @p945, @p946, @p947, @p948, @p949, @p950, @p951, @p952),
(@p953, @p954, @p955, @p956, @p957, @p958, @p959, @p960, @p961, @p962, @p963, @p964, @p965, @p966, @p967, @p968, @p969, @p970, @p971, @p972, @p973, @p974, @p975, @p976, @p977, @p978, @p979, @p980, @p981, @p982, @p983, @p984, @p985, @p986, @p987, @p988, @p989),
(@p990, @p991, @p992, @p993, @p994, @p995, @p996, @p997, @p998, @p999, @p1000, @p1001, @p1002, @p1003, @p1004, @p1005, @p1006, @p1007, @p1008, @p1009, @p1010, @p1011, @p1012, @p1013, @p1014, @p1015, @p1016, @p1017, @p1018, @p1019, @p1020, @p1021, @p1022, @p1023, @p1024, @p1025, @p1026),
(@p1027, @p1028, @p1029, @p1030, @p1031, @p1032, @p1033, @p1034, @p1035, @p1036, @p1037, @p1038, @p1039, @p1040, @p1041, @p1042, @p1043, @p1044, @p1045, @p1046, @p1047, @p1048, @p1049, @p1050, @p1051, @p1052, @p1053, @p1054, @p1055, @p1056, @p1057, @p1058, @p1059, @p1060, @p1061, @p1062, @p1063),
(@p1064, @p1065, @p1066, @p1067, @p1068, @p1069, @p1070, @p1071, @p1072, @p1073, @p1074, @p1075, @p1076, @p1077, @p1078, @p1079, @p1080, @p1081, @p1082, @p1083, @p1084, @p1085, @p1086, @p1087, @p1088, @p1089, @p1090, @p1091, @p1092, @p1093, @p1094, @p1095, @p1096, @p1097, @p1098, @p1099, @p1100),
(@p1101, @p1102, @p1103, @p1104, @p1105, @p1106, @p1107, @p1108, @p1109, @p1110, @p1111, @p1112, @p1113, @p1114, @p1115, @p1116, @p1117, @p1118, @p1119, @p1120, @p1121, @p1122, @p1123, @p1124, @p1125, @p1126, @p1127, @p1128, @p1129, @p1130, @p1131, @p1132, @p1133, @p1134, @p1135, @p1136, @p1137),
(@p1138, @p1139, @p1140, @p1141, @p1142, @p1143, @p1144, @p1145, @p1146, @p1147, @p1148, @p1149, @p1150, @p1151, @p1152, @p1153, @p1154, @p1155, @p1156, @p1157, @p1158, @p1159, @p1160, @p1161, @p1162, @p1163, @p1164, @p1165, @p1166, @p1167, @p1168, @p1169, @p1170, @p1171, @p1172, @p1173, @p1174),
(@p1175, @p1176, @p1177, @p1178, @p1179, @p1180, @p1181, @p1182, @p1183, @p1184, @p1185, @p1186, @p1187, @p1188, @p1189, @p1190, @p1191, @p1192, @p1193, @p1194, @p1195, @p1196, @p1197, @p1198, @p1199, @p1200, @p1201, @p1202, @p1203, @p1204, @p1205, @p1206, @p1207, @p1208, @p1209, @p1210, @p1211),
(@p1212, @p1213, @p1214, @p1215, @p1216, @p1217, @p1218, @p1219, @p1220, @p1221, @p1222, @p1223, @p1224, @p1225, @p1226, @p1227, @p1228, @p1229, @p1230, @p1231, @p1232, @p1233, @p1234, @p1235, @p1236, @p1237, @p1238, @p1239, @p1240, @p1241, @p1242, @p1243, @p1244, @p1245, @p1246, @p1247, @p1248);
2022-02-24 15:30:51.221 +08:00 [INF] Executed DbCommand (29ms) [Parameters=[@p0='?' (DbType = Guid), @p1='?' (Size = 4000), @p2='?' (Size = 64), @p3='?' (Size = 4000), @p4='?' (Size = 64), @p5='?' (Size = 64), @p6='?' (Precision = 18) (Scale = 6) (DbType = Decimal), @p7='?' (Precision = 18) (Scale = 6) (DbType = Decimal), @p8='?' (Size = 64), @p9='?' (Size = 40), @p10='?' (DbType = DateTime2), @p11='?' (DbType = Guid), @p12='?' (Precision = 18) (Scale = 6) (DbType = Decimal), @p13='?' (Size = 4000), @p14='?' (Size = 64), @p15='?' (Size = 4000), @p16='?' (Size = 4000), @p17='?' (Size = 4000), @p18='?' (Size = 4000), @p19='?' (Size = 64), @p20='?' (Size = 64), @p21='?' (Size = 64), @p22='?' (Size = 64), @p23='?' (Size = 64), @p24='?' (Size = 64), @p25='?' (Size = 4000), @p26='?' (Size = 4000), @p27='?' (Size = 4000), @p28='?' (Size = 4000), @p29='?' (Size = 64), @p30='?' (Size = 64), @p31='?' (Size = 64), @p32='?' (Size = 64), @p33='?' (Size = 4000), @p34='?' (DbType = Int32), @p35='?' (Size = 64), @p36='?' (Size = 64), @p37='?' (DbType = Guid), @p38='?' (Size = 4000), @p39='?' (Size = 64), @p40='?' (Size = 4000), @p41='?' (Size = 64), @p42='?' (Size = 64), @p43='?' (Precision = 18) (Scale = 6) (DbType = Decimal), @p44='?' (Precision = 18) (Scale = 6) (DbType = Decimal), @p45='?' (Size = 64), @p46='?' (Size = 40), @p47='?' (DbType = DateTime2), @p48='?' (DbType = Guid), @p49='?' (Precision = 18) (Scale = 6) (DbType = Decimal), @p50='?' (Size = 4000), @p51='?' (Size = 64), @p52='?' (Size = 4000), @p53='?' (Size = 4000), @p54='?' (Size = 4000), @p55='?' (Size = 4000), @p56='?' (Size = 64), @p57='?' (Size = 64), @p58='?' (Size = 64), @p59='?' (Size = 64), @p60='?' (Size = 64), @p61='?' (Size = 64), @p62='?' (Size = 4000), @p63='?' (Size = 4000), @p64='?' (Size = 4000), @p65='?' (Size = 4000), @p66='?' (Size = 64), @p67='?' (Size = 64), @p68='?' (Size = 64), @p69='?' (Size = 64), @p70='?' (Size = 4000), @p71='?' (DbType = Int32), @p72='?' (Size = 64), @p73='?' (Size = 64), @p74='?' (DbType = Guid), @p75='?' (Size = 4000), @p76='?' (Size = 64), @p77='?' (Size = 4000), @p78='?' (Size = 64), @p79='?' (Size = 64), @p80='?' (Precision = 18) (Scale = 6) (DbType = Decimal), @p81='?' (Precision = 18) (Scale = 6) (DbType = Decimal), @p82='?' (Size = 64), @p83='?' (Size = 40), @p84='?' (DbType = DateTime2), @p85='?' (DbType = Guid), @p86='?' (Precision = 18) (Scale = 6) (DbType = Decimal), @p87='?' (Size = 4000), @p88='?' (Size = 64), @p89='?' (Size = 4000), @p90='?' (Size = 4000), @p91='?' (Size = 4000), @p92='?' (Size = 4000), @p93='?' (Size = 64), @p94='?' (Size = 64), @p95='?' (Size = 64), @p96='?' (Size = 64), @p97='?' (Size = 64), @p98='?' (Size = 64), @p99='?' (Size = 4000), @p100='?' (Size = 4000), @p101='?' (Size = 4000), @p102='?' (Size = 4000), @p103='?' (Size = 64), @p104='?' (Size = 64), @p105='?' (Size = 64), @p106='?' (Size = 64), @p107='?' (Size = 4000), @p108='?' (DbType = Int32), @p109='?' (Size = 64), @p110='?' (Size = 64), @p111='?' (DbType = Guid), @p112='?' (Size = 4000), @p113='?' (Size = 64), @p114='?' (Size = 4000), @p115='?' (Size = 64), @p116='?' (Size = 64), @p117='?' (Precision = 18) (Scale = 6) (DbType = Decimal), @p118='?' (Precision = 18) (Scale = 6) (DbType = Decimal), @p119='?' (Size = 64), @p120='?' (Size = 40), @p121='?' (DbType = DateTime2), @p122='?' (DbType = Guid), @p123='?' (Precision = 18) (Scale = 6) (DbType = Decimal), @p124='?' (Size = 4000), @p125='?' (Size = 64), @p126='?' (Size = 4000), @p127='?' (Size = 4000), @p128='?' (Size = 4000), @p129='?' (Size = 4000), @p130='?' (Size = 64), @p131='?' (Size = 64), @p132='?' (Size = 64), @p133='?' (Size = 64), @p134='?' (Size = 64), @p135='?' (Size = 64), @p136='?' (Size = 4000), @p137='?' (Size = 4000), @p138='?' (Size = 4000), @p139='?' (Size = 4000), @p140='?' (Size = 64), @p141='?' (Size = 64), @p142='?' (Size = 64), @p143='?' (Size = 64), @p144='?' (Size = 4000), @p145='?' (DbType = Int32), @p146='?' (Size = 64), @p147='?' (Size = 64)], CommandType='"Text"', CommandTimeout='30']
SET NOCOUNT ON;
INSERT INTO [WmsWebApiZLLDCJ_LOGDTO] ([Id], [AEDAT], [AENAM], [AEZET], [ANLN1], [AUFNR], [BDMNG], [BKNUM], [BWART], [ConcurrencyStamp], [CreationTime], [CreatorId], [ENMNG], [ERDAT], [ERNAM], [ERZET], [ExtraProperties], [GRUND], [IType], [KOSTL], [KZEAR], [LGORT1], [LGORT2], [LGORT3], [MATNR], [MEINS], [POSNR], [RSNUM], [RSPOS], [VBELN], [WERKS], [ZBZSM], [ZDJLX], [ZLLDJ], [ZLLITEM], [ZLLR], [ZLTLX])
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, @p44, @p45, @p46, @p47, @p48, @p49, @p50, @p51, @p52, @p53, @p54, @p55, @p56, @p57, @p58, @p59, @p60, @p61, @p62, @p63, @p64, @p65, @p66, @p67, @p68, @p69, @p70, @p71, @p72, @p73),
(@p74, @p75, @p76, @p77, @p78, @p79, @p80, @p81, @p82, @p83, @p84, @p85, @p86, @p87, @p88, @p89, @p90, @p91, @p92, @p93, @p94, @p95, @p96, @p97, @p98, @p99, @p100, @p101, @p102, @p103, @p104, @p105, @p106, @p107, @p108, @p109, @p110),
(@p111, @p112, @p113, @p114, @p115, @p116, @p117, @p118, @p119, @p120, @p121, @p122, @p123, @p124, @p125, @p126, @p127, @p128, @p129, @p130, @p131, @p132, @p133, @p134, @p135, @p136, @p137, @p138, @p139, @p140, @p141, @p142, @p143, @p144, @p145, @p146, @p147);
2022-02-24 15:30:51.349 +08:00 [DBG] Added 0 entity changes to the current audit log
2022-02-24 15:30:51.349 +08:00 [DBG] Added 0 entity changes to the current audit log
2022-02-24 15:30:51.668 +08:00 [INF] Executing ObjectResult, writing value of type 'WmsWebApi.ZlldcjLogs.ReturnResult'.
2022-02-24 15:30:51.781 +08:00 [INF] Executed action WmsWebApi.ZlldcjLogs.ZlldcjLogAppService.AddAsync (WmsWebApi.Application) in 24246.9595ms
2022-02-24 15:30:51.784 +08:00 [INF] Executed endpoint 'WmsWebApi.ZlldcjLogs.ZlldcjLogAppService.AddAsync (WmsWebApi.Application)'
2022-02-24 15:30:52.605 +08:00 [INF] Entity Framework Core 5.0.14 initialized 'AbpAuditLoggingDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: QuerySplittingBehavior=SplitQuery
2022-02-24 15:30:52.952 +08:00 [INF] Executed DbCommand (11ms) [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-24 15:30:52.978 +08:00 [INF] Executed DbCommand (6ms) [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-24 15:30:53.007 +08:00 [DBG] Added 0 entity changes to the current audit log
2022-02-24 15:30:53.007 +08:00 [DBG] Added 0 entity changes to the current audit log
2022-02-24 15:30:53.016 +08:00 [INF] Request finished HTTP/2 POST https://localhost:5000/api/zlldcj/addObj application/json 10221 - 200 - application/json;+charset=utf-8 25579.6103ms
2022-02-24 17:57:42.120 +08:00 [INF] Starting web host.
2022-02-24 17:58:02.161 +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-24 17:58:02.707 +08:00 [INF] Loaded ABP modules:
2022-02-24 17:58:02.707 +08:00 [INF] - WmsWebApi.WmsWebApiHttpApiHostModule
2022-02-24 17:58:02.707 +08:00 [INF] - WmsWebApi.WmsWebApiApplicationModule
2022-02-24 17:58:02.707 +08:00 [INF] - WmsWebApi.WmsWebApiDomainModule
2022-02-24 17:58:02.707 +08:00 [INF] - Volo.Abp.Domain.AbpDddDomainModule
2022-02-24 17:58:02.707 +08:00 [INF] - Volo.Abp.Auditing.AbpAuditingModule
2022-02-24 17:58:02.707 +08:00 [INF] - Volo.Abp.Data.AbpDataModule
2022-02-24 17:58:02.707 +08:00 [INF] - Volo.Abp.ObjectExtending.AbpObjectExtendingModule
2022-02-24 17:58:02.707 +08:00 [INF] - Volo.Abp.Localization.AbpLocalizationAbstractionsModule
2022-02-24 17:58:02.707 +08:00 [INF] - Volo.Abp.Validation.AbpValidationAbstractionsModule
2022-02-24 17:58:02.707 +08:00 [INF] - Volo.Abp.Uow.AbpUnitOfWorkModule
2022-02-24 17:58:02.707 +08:00 [INF] - Volo.Abp.EventBus.Abstractions.AbpEventBusAbstractionsModule
2022-02-24 17:58:02.707 +08:00 [INF] - Volo.Abp.Json.AbpJsonModule
2022-02-24 17:58:02.707 +08:00 [INF] - Volo.Abp.Timing.AbpTimingModule
2022-02-24 17:58:02.707 +08:00 [INF] - Volo.Abp.Localization.AbpLocalizationModule
2022-02-24 17:58:02.707 +08:00 [INF] - Volo.Abp.VirtualFileSystem.AbpVirtualFileSystemModule
2022-02-24 17:58:02.707 +08:00 [INF] - Volo.Abp.Settings.AbpSettingsModule
2022-02-24 17:58:02.707 +08:00 [INF] - Volo.Abp.Security.AbpSecurityModule
2022-02-24 17:58:02.707 +08:00 [INF] - Volo.Abp.MultiTenancy.AbpMultiTenancyModule
2022-02-24 17:58:02.707 +08:00 [INF] - Volo.Abp.Threading.AbpThreadingModule
2022-02-24 17:58:02.707 +08:00 [INF] - Volo.Abp.EventBus.AbpEventBusModule
2022-02-24 17:58:02.707 +08:00 [INF] - Volo.Abp.Guids.AbpGuidsModule
2022-02-24 17:58:02.707 +08:00 [INF] - Volo.Abp.ObjectMapping.AbpObjectMappingModule
2022-02-24 17:58:02.707 +08:00 [INF] - Volo.Abp.ExceptionHandling.AbpExceptionHandlingModule
2022-02-24 17:58:02.707 +08:00 [INF] - Volo.Abp.Specifications.AbpSpecificationsModule
2022-02-24 17:58:02.707 +08:00 [INF] - WmsWebApi.WmsWebApiDomainSharedModule
2022-02-24 17:58:02.707 +08:00 [INF] - Volo.Abp.Validation.AbpValidationModule
2022-02-24 17:58:02.707 +08:00 [INF] - WmsWebApi.WmsWebApiApplicationContractsModule
2022-02-24 17:58:02.707 +08:00 [INF] - Volo.Abp.Application.AbpDddApplicationContractsModule
2022-02-24 17:58:02.707 +08:00 [INF] - Volo.Abp.Authorization.AbpAuthorizationModule
2022-02-24 17:58:02.708 +08:00 [INF] - Volo.Abp.Authorization.AbpAuthorizationAbstractionsModule
2022-02-24 17:58:02.708 +08:00 [INF] - Volo.Abp.Application.AbpDddApplicationModule
2022-02-24 17:58:02.708 +08:00 [INF] - Volo.Abp.Http.AbpHttpAbstractionsModule
2022-02-24 17:58:02.708 +08:00 [INF] - Volo.Abp.Features.AbpFeaturesModule
2022-02-24 17:58:02.708 +08:00 [INF] - Volo.Abp.GlobalFeatures.AbpGlobalFeaturesModule
2022-02-24 17:58:02.708 +08:00 [INF] - Volo.Abp.AutoMapper.AbpAutoMapperModule
2022-02-24 17:58:02.708 +08:00 [INF] - WmsWebApi.EntityFrameworkCore.WmsWebApiEntityFrameworkCoreModule
2022-02-24 17:58:02.708 +08:00 [INF] - Volo.Abp.EntityFrameworkCore.AbpEntityFrameworkCoreModule
2022-02-24 17:58:02.708 +08:00 [INF] - Volo.Abp.Dapper.AbpDapperModule
2022-02-24 17:58:02.708 +08:00 [INF] - WmsWebApi.WmsWebApiHttpApiModule
2022-02-24 17:58:02.708 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.AbpAspNetCoreMvcModule
2022-02-24 17:58:02.708 +08:00 [INF] - Volo.Abp.AspNetCore.AbpAspNetCoreModule
2022-02-24 17:58:02.708 +08:00 [INF] - Volo.Abp.Http.AbpHttpModule
2022-02-24 17:58:02.708 +08:00 [INF] - Volo.Abp.Minify.AbpMinifyModule
2022-02-24 17:58:02.708 +08:00 [INF] - Volo.Abp.ApiVersioning.AbpApiVersioningAbstractionsModule
2022-02-24 17:58:02.708 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.AbpAspNetCoreMvcContractsModule
2022-02-24 17:58:02.708 +08:00 [INF] - Volo.Abp.UI.Navigation.AbpUiNavigationModule
2022-02-24 17:58:02.708 +08:00 [INF] - Volo.Abp.UI.AbpUiModule
2022-02-24 17:58:02.708 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.MultiTenancy.AbpAspNetCoreMvcUiMultiTenancyModule
2022-02-24 17:58:02.708 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Theme.Shared.AbpAspNetCoreMvcUiThemeSharedModule
2022-02-24 17:58:02.708 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.AbpAspNetCoreMvcUiBootstrapModule
2022-02-24 17:58:02.708 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.AbpAspNetCoreMvcUiModule
2022-02-24 17:58:02.708 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Packages.AbpAspNetCoreMvcUiPackagesModule
2022-02-24 17:58:02.708 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Bundling.AbpAspNetCoreMvcUiBundlingAbstractionsModule
2022-02-24 17:58:02.708 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Widgets.AbpAspNetCoreMvcUiWidgetsModule
2022-02-24 17:58:02.708 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Bundling.AbpAspNetCoreMvcUiBundlingModule
2022-02-24 17:58:02.708 +08:00 [INF] - Volo.Abp.AspNetCore.MultiTenancy.AbpAspNetCoreMultiTenancyModule
2022-02-24 17:58:02.708 +08:00 [INF] - Volo.Abp.Autofac.AbpAutofacModule
2022-02-24 17:58:02.708 +08:00 [INF] - Volo.Abp.Castle.AbpCastleCoreModule
2022-02-24 17:58:02.708 +08:00 [INF] - Volo.Abp.Caching.StackExchangeRedis.AbpCachingStackExchangeRedisModule
2022-02-24 17:58:02.708 +08:00 [INF] - Volo.Abp.Caching.AbpCachingModule
2022-02-24 17:58:02.708 +08:00 [INF] - Volo.Abp.Serialization.AbpSerializationModule
2022-02-24 17:58:02.708 +08:00 [INF] - Volo.Abp.EntityFrameworkCore.SqlServer.AbpEntityFrameworkCoreSqlServerModule
2022-02-24 17:58:02.708 +08:00 [INF] - Volo.Abp.AuditLogging.EntityFrameworkCore.AbpAuditLoggingEntityFrameworkCoreModule
2022-02-24 17:58:02.708 +08:00 [INF] - Volo.Abp.AuditLogging.AbpAuditLoggingDomainModule
2022-02-24 17:58:02.708 +08:00 [INF] - Volo.Abp.AuditLogging.AbpAuditLoggingDomainSharedModule
2022-02-24 17:58:02.708 +08:00 [INF] - Volo.Abp.PermissionManagement.EntityFrameworkCore.AbpPermissionManagementEntityFrameworkCoreModule
2022-02-24 17:58:02.708 +08:00 [INF] - Volo.Abp.PermissionManagement.AbpPermissionManagementDomainModule
2022-02-24 17:58:02.708 +08:00 [INF] - Volo.Abp.PermissionManagement.AbpPermissionManagementDomainSharedModule
2022-02-24 17:58:02.708 +08:00 [INF] - Volo.Abp.SettingManagement.EntityFrameworkCore.AbpSettingManagementEntityFrameworkCoreModule
2022-02-24 17:58:02.708 +08:00 [INF] - Volo.Abp.SettingManagement.AbpSettingManagementDomainModule
2022-02-24 17:58:02.708 +08:00 [INF] - Volo.Abp.SettingManagement.AbpSettingManagementDomainSharedModule
2022-02-24 17:58:02.708 +08:00 [INF] - Volo.Abp.AspNetCore.Serilog.AbpAspNetCoreSerilogModule
2022-02-24 17:58:02.708 +08:00 [INF] - Volo.Abp.Swashbuckle.AbpSwashbuckleModule
2022-02-24 17:58:04.993 +08:00 [INF] Initialized all ABP modules.
2022-02-24 17:58:06.055 +08:00 [INF] Now listening on: https://localhost:5000
2022-02-24 17:58:06.055 +08:00 [INF] Application started. Press Ctrl+C to shut down.
2022-02-24 17:58:06.055 +08:00 [INF] Hosting environment: Development
2022-02-24 17:58:06.055 +08:00 [INF] Content root path: D:\工作\派格\接口程序\WmsWebApi\host\WmsWebApi.HttpApi.Host
2022-02-24 17:58:14.560 +08:00 [INF] Request starting HTTP/2 GET https://localhost:5000/ - -
2022-02-24 17:58:20.544 +08:00 [INF] Entity Framework Core 5.0.14 initialized 'SettingManagementDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: QuerySplittingBehavior=SplitQuery
2022-02-24 17:58:23.527 +08:00 [INF] Executed DbCommand (204ms) [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-24 17:58:24.877 +08:00 [INF] Entity Framework Core 5.0.14 initialized 'SettingManagementDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: QuerySplittingBehavior=SplitQuery
2022-02-24 17:58:25.060 +08:00 [INF] Executed DbCommand (150ms) [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-24 17:58:25.516 +08:00 [INF] Executing endpoint 'WmsWebApi.Controllers.HomeController.Index (WmsWebApi.HttpApi.Host)'
2022-02-24 17:58:25.759 +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-24 17:58:26.483 +08:00 [INF] Executing action method WmsWebApi.Controllers.HomeController.Index (WmsWebApi.HttpApi.Host) - Validation state: "Valid"
2022-02-24 17:58:26.503 +08:00 [INF] Executed action method WmsWebApi.Controllers.HomeController.Index (WmsWebApi.HttpApi.Host), returned result Microsoft.AspNetCore.Mvc.RedirectResult in 1.0934ms.
2022-02-24 17:58:26.521 +08:00 [INF] Executing RedirectResult, redirecting to /swagger.
2022-02-24 17:58:26.553 +08:00 [INF] Executed action WmsWebApi.Controllers.HomeController.Index (WmsWebApi.HttpApi.Host) in 764.4084ms
2022-02-24 17:58:26.554 +08:00 [INF] Executed endpoint 'WmsWebApi.Controllers.HomeController.Index (WmsWebApi.HttpApi.Host)'
2022-02-24 17:58:26.723 +08:00 [INF] Request starting HTTP/2 GET https://localhost:5000/swagger/index.html - -
2022-02-24 17:58:26.786 +08:00 [INF] Request finished HTTP/2 GET https://localhost:5000/ - - - 302 0 - 12228.4022ms
2022-02-24 17:58:27.754 +08:00 [INF] Request finished HTTP/2 GET https://localhost:5000/swagger/index.html - - - 200 - text/html;charset=utf-8 1030.7278ms
2022-02-24 17:58:28.549 +08:00 [INF] Request starting HTTP/2 GET https://localhost:5000/_framework/aspnetcore-browser-refresh.js - -
2022-02-24 17:58:28.556 +08:00 [INF] Request finished HTTP/2 GET https://localhost:5000/_framework/aspnetcore-browser-refresh.js - - - 200 11956 application/javascript;+charset=utf-8 7.7327ms
2022-02-24 17:58:29.587 +08:00 [INF] Request starting HTTP/2 GET https://localhost:5000/swagger/v1/swagger.json - -
2022-02-24 17:58:30.130 +08:00 [INF] Request finished HTTP/2 GET https://localhost:5000/swagger/v1/swagger.json - - - 200 - application/json;charset=utf-8 542.2601ms
2022-02-24 18:04:03.476 +08:00 [INF] Request starting HTTP/2 GET https://localhost:5000/abp/Swashbuckle/SetCsrfCookie application/json -
2022-02-24 18:04:03.830 +08:00 [INF] Executing endpoint 'Volo.Abp.Swashbuckle.AbpSwashbuckleController.SetCsrfCookie (Volo.Abp.Swashbuckle)'
2022-02-24 18:04:03.838 +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-24 18:04:04.144 +08:00 [INF] Executing action method Volo.Abp.Swashbuckle.AbpSwashbuckleController.SetCsrfCookie (Volo.Abp.Swashbuckle) - Validation state: "Valid"
2022-02-24 18:04:04.198 +08:00 [INF] Executed action method Volo.Abp.Swashbuckle.AbpSwashbuckleController.SetCsrfCookie (Volo.Abp.Swashbuckle), returned result Microsoft.AspNetCore.Mvc.EmptyResult in 53.0728ms.
2022-02-24 18:04:04.201 +08:00 [INF] Executed action Volo.Abp.Swashbuckle.AbpSwashbuckleController.SetCsrfCookie (Volo.Abp.Swashbuckle) in 361.7131ms
2022-02-24 18:04:04.202 +08:00 [INF] Executed endpoint 'Volo.Abp.Swashbuckle.AbpSwashbuckleController.SetCsrfCookie (Volo.Abp.Swashbuckle)'
2022-02-24 18:04:04.202 +08:00 [INF] Request finished HTTP/2 GET https://localhost:5000/abp/Swashbuckle/SetCsrfCookie application/json - - 204 - - 726.2887ms
2022-02-24 18:04:04.457 +08:00 [INF] Request starting HTTP/2 POST https://localhost:5000/api/Purchase/add application/json 327
2022-02-24 18:04:04.473 +08:00 [INF] CORS policy execution failed.
2022-02-24 18:04:04.473 +08:00 [INF] Request origin https://localhost:5000 does not have permission to access the resource.
2022-02-24 18:04:04.483 +08:00 [INF] Executing endpoint 'WmsWebApi.PPlan.PurchaseService.AddAsync (WmsWebApi.Application)'
2022-02-24 18:04:04.530 +08:00 [INF] Route matched with {action = "Add", controller = "Purchase", area = "", page = ""}. Executing controller action with signature System.Threading.Tasks.Task`1[WmsWebApi.PPlan.ReturnResult] AddAsync(System.Object) on controller WmsWebApi.PPlan.PurchaseService (WmsWebApi.Application).
2022-02-24 18:04:07.811 +08:00 [INF] Executing action method WmsWebApi.PPlan.PurchaseService.AddAsync (WmsWebApi.Application) - Validation state: "Valid"
2022-02-24 18:04:09.151 +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-24 18:04:09.151 +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-02-24 18:04:09.151 +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-02-24 18:04:09.151 +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-24 18:04:09.151 +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-24 18:04:09.151 +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-24 18:04:09.152 +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-24 18:04:09.152 +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-24 18:04:09.152 +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-24 18:04:09.152 +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-24 18:04:09.152 +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-24 18:04:09.152 +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-24 18:04:09.152 +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-24 18:04:09.152 +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-24 18:04:09.152 +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-24 18:04:09.153 +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-24 18:04:09.153 +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-24 18:04:09.153 +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-24 18:04:09.153 +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-24 18:04:09.153 +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-24 18:04:09.153 +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-24 18:04:09.346 +08:00 [INF] Entity Framework Core 5.0.14 initialized 'WmsWebApiDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: QuerySplittingBehavior=SplitQuery
2022-02-24 18:04:09.583 +08:00 [INF] Executed DbCommand (10ms) [Parameters=[@___purchaseDto_MBLNR_0='?' (Size = 4000)], 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].[SourceBillNum2] = @___purchaseDto_MBLNR_0
2022-02-24 18:04:09.774 +08:00 [INF] Executed DbCommand (4ms) [Parameters=[@__item_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] = @__item_MATNR_0
2022-02-24 18:04:10.465 +08:00 [INF] Executed DbCommand (121ms) [Parameters=[@___barcode_0='?' (Size = 50), @__part_DefaultReceiveLocCode_1='?' (Size = 50)], CommandType='"Text"', CommandTimeout='30']
SELECT TOP(1) [t].[BarCode], [t].[LocCode], [t].[State], [t].[Amount], [t].[AreaCode], [t].[Batch], [t].[EqptCode], [t].[UID], [t].[OverdueDate], [t].[PartCode], [t].[PlanOrderId], [t].[ProduceDate], [t].[Qty], [t].[ReceiveDate], [t].[Remark], [t].[TracebackCode], [t].[UpdateQty], [t].[UpdateTime], [t].[VendBatch], [t].[VendId], [t].[Version], [t].[VinState]
FROM [TS_STOCK_DETAIL] AS [t]
WHERE (([t].[BarCode] = @___barcode_0) AND ([t].[LocCode] = @__part_DefaultReceiveLocCode_1)) AND ([t].[State] = 2)
2022-02-24 18:04:11.586 +08:00 [INF] Executed action method WmsWebApi.PPlan.PurchaseService.AddAsync (WmsWebApi.Application), returned result Microsoft.AspNetCore.Mvc.ObjectResult in 3756.9688ms.
2022-02-24 18:04:12.090 +08:00 [INF] Executed DbCommand (19ms) [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='?' (DbType = Int32), @p20='?' (Size = 50), @p21='?' (Size = 50), @p22='?' (Size = 50), @p23='?' (Size = 50), @p24='?' (Size = 50), @p25='?' (Size = 4000), @p26='?' (Size = 4000), @p27='?' (Size = 4000), @p28='?' (Size = 4000), @p29='?' (Precision = 18) (Scale = 6) (DbType = Decimal), @p30='?' (Precision = 18) (Scale = 6) (DbType = Decimal), @p31='?' (Size = 4000), @p32='?' (Size = 50), @p33='?' (Size = 50), @p34='?' (DbType = DateTime2), @p35='?' (Precision = 18) (Scale = 6) (DbType = Decimal), @p36='?' (DbType = DateTime2), @p37='?' (Size = 4000), @p38='?' (Precision = 18) (Scale = 6) (DbType = Decimal), @p39='?' (Size = 4000), @p40='?' (DbType = Int32), @p41='?' (Size = 4000), @p42='?' (Size = 4000), @p43='?' (Size = 4000), @p44='?' (Size = 4000), @p45='?' (Size = 4000), @p46='?' (Size = 4000), @p47='?' (Size = 50), @p48='?' (DbType = Int32), @p49='?' (Size = 4000), @p50='?' (Size = 4000), @p51='?' (DbType = DateTime2), @p52='?' (Size = 80), @p53='?' (Size = 4000), @p54='?' (Precision = 18) (Scale = 6) (DbType = Decimal), @p55='?' (Size = 500), @p56='?' (DbType = Int32), @p57='?' (DbType = Int32), @p58='?' (DbType = Int32), @p59='?' (Size = 4000), @p60='?' (DbType = Guid), @p61='?' (Size = 4000), @p62='?' (DbType = DateTime2), @p63='?' (Size = 4000), @p64='?' (Size = 4000), @p65='?' (Size = 4000), @p66='?' (Size = 10)], 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], [State], [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, @p22);
SELECT [UID]
FROM [TB_BILL]
WHERE @@ROWCOUNT = 1 AND [UID] = scope_identity();
INSERT INTO [TB_PRODUCT_RECEIVE] ([BarCode], [BillNum], [Batch], [CellCode], [EqptCode], [FromLocCode], [GoodQty], [InvalidQty], [LineId], [PartCode], [PpBillNum], [ProduceDate], [Qty], [ReceiveDate], [Remark], [ScrapQty], [ShiftName], [State], [TeamName], [ToLocCode], [TraceBackCode], [Unit])
VALUES (@p23, @p24, @p25, @p26, @p27, @p28, @p29, @p30, @p31, @p32, @p33, @p34, @p35, @p36, @p37, @p38, @p39, @p40, @p41, @p42, @p43, @p44);
SELECT [UID]
FROM [TB_PRODUCT_RECEIVE]
WHERE @@ROWCOUNT = 1 AND [BarCode] = @p23 AND [BillNum] = @p24;
INSERT INTO [TL_TRANSACTION] ([BarCode], [Batch], [BillNum], [BillType], [EqptCode], [LocCode], [LogTime], [OperName], [PartCode], [Qty], [Remark], [State], [SubBillType], [TransType], [VendId])
VALUES (@p45, @p46, @p47, @p48, @p49, @p50, @p51, @p52, @p53, @p54, @p55, @p56, @p57, @p58, @p59);
SELECT [UID]
FROM [TL_TRANSACTION]
WHERE @@ROWCOUNT = 1 AND [UID] = scope_identity();
INSERT INTO [WmsWebApiPURCHASEDTO] ([Id], [BUDAT], [DYSJ], [ITYPE], [JSON], [MBLNR], [MJAHR])
VALUES (@p60, @p61, @p62, @p63, @p64, @p65, @p66);
2022-02-24 18:04:12.505 +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): 将截断字符串或二进制数据。
at Microsoft.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
at Microsoft.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
at Microsoft.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
at Microsoft.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady)
at Microsoft.Data.SqlClient.SqlDataReader.TryHasMoreRows(Boolean& moreRows)
at Microsoft.Data.SqlClient.SqlDataReader.TryHasMoreResults(Boolean& moreResults)
at Microsoft.Data.SqlClient.SqlDataReader.TryNextResult(Boolean& more)
at Microsoft.Data.SqlClient.SqlDataReader.NextResultAsyncExecute(Task task, Object state)
at Microsoft.Data.SqlClient.SqlDataReader.InvokeAsyncCall[T](AAsyncCallContext`1 context)
--- End of stack trace from previous location ---
at Microsoft.EntityFrameworkCore.Update.AffectedCountModificationCommandBatch.ConsumeAsync(RelationalDataReader reader, CancellationToken cancellationToken)
ClientConnectionId:308e0b9c-e30d-49fd-887a-cc00a4168307
Error Number:8152,State:13,Class:16
--- End of inner exception stack trace ---
at Microsoft.EntityFrameworkCore.Update.AffectedCountModificationCommandBatch.ConsumeAsync(RelationalDataReader reader, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.ExecuteAsync(IRelationalConnection connection, CancellationToken cancellationToken)
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.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
at Microsoft.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
at Microsoft.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
at Microsoft.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady)
at Microsoft.Data.SqlClient.SqlDataReader.TryHasMoreRows(Boolean& moreRows)
at Microsoft.Data.SqlClient.SqlDataReader.TryHasMoreResults(Boolean& moreResults)
at Microsoft.Data.SqlClient.SqlDataReader.TryNextResult(Boolean& more)
at Microsoft.Data.SqlClient.SqlDataReader.NextResultAsyncExecute(Task task, Object state)
at Microsoft.Data.SqlClient.SqlDataReader.InvokeAsyncCall[T](AAsyncCallContext`1 context)
--- End of stack trace from previous location ---
at Microsoft.EntityFrameworkCore.Update.AffectedCountModificationCommandBatch.ConsumeAsync(RelationalDataReader reader, CancellationToken cancellationToken)
ClientConnectionId:308e0b9c-e30d-49fd-887a-cc00a4168307
Error Number:8152,State:13,Class:16
--- End of inner exception stack trace ---
at Microsoft.EntityFrameworkCore.Update.AffectedCountModificationCommandBatch.ConsumeAsync(RelationalDataReader reader, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.ExecuteAsync(IRelationalConnection connection, CancellationToken cancellationToken)
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-02-24 18:04:12.801 +08:00 [ERR] ---------- RemoteServiceErrorInfo ----------
{
"code": null,
"message": "An internal error occurred during your request!",
"details": null,
"data": {},
"validationErrors": null
}
2022-02-24 18:04:12.803 +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.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
at Microsoft.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
at Microsoft.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
at Microsoft.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady)
at Microsoft.Data.SqlClient.SqlDataReader.TryHasMoreRows(Boolean& moreRows)
at Microsoft.Data.SqlClient.SqlDataReader.TryHasMoreResults(Boolean& moreResults)
at Microsoft.Data.SqlClient.SqlDataReader.TryNextResult(Boolean& more)
at Microsoft.Data.SqlClient.SqlDataReader.NextResultAsyncExecute(Task task, Object state)
at Microsoft.Data.SqlClient.SqlDataReader.InvokeAsyncCall[T](AAsyncCallContext`1 context)
--- End of stack trace from previous location ---
at Microsoft.EntityFrameworkCore.Update.AffectedCountModificationCommandBatch.ConsumeAsync(RelationalDataReader reader, CancellationToken cancellationToken)
ClientConnectionId:308e0b9c-e30d-49fd-887a-cc00a4168307
Error Number:8152,State:13,Class:16
--- End of inner exception stack trace ---
at Microsoft.EntityFrameworkCore.Update.AffectedCountModificationCommandBatch.ConsumeAsync(RelationalDataReader reader, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.ExecuteAsync(IRelationalConnection connection, CancellationToken cancellationToken)
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-02-24 18:04:12.842 +08:00 [INF] Executing ObjectResult, writing value of type 'Volo.Abp.Http.RemoteServiceErrorResponse'.
2022-02-24 18:04:12.881 +08:00 [INF] Executed action WmsWebApi.PPlan.PurchaseService.AddAsync (WmsWebApi.Application) in 8350.9072ms
2022-02-24 18:04:12.884 +08:00 [INF] Executed endpoint 'WmsWebApi.PPlan.PurchaseService.AddAsync (WmsWebApi.Application)'
2022-02-24 18:04:13.738 +08:00 [INF] Entity Framework Core 5.0.14 initialized 'AbpAuditLoggingDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: QuerySplittingBehavior=SplitQuery
2022-02-24 18:04:14.126 +08:00 [ERR] Failed executing DbCommand (27ms) [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-24 18:04:14.154 +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:5bf85f42-3613-4229-95cc-2f35e338e610
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:5bf85f42-3613-4229-95cc-2f35e338e610
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-24 18:04:14.183 +08:00 [WRN] Could not save the audit log object:
AUDIT LOG: [500: POST ] /api/Purchase/add
- UserName - UserId : -
- ClientIpAddress : ::1
- ExecutionDuration : 8433
- Actions:
- WmsWebApi.PPlan.PurchaseService.AddAsync (4865 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): 将截断字符串或二进制数据。
at Microsoft.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
at Microsoft.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
at Microsoft.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
at Microsoft.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady)
at Microsoft.Data.SqlClient.SqlDataReader.TryHasMoreRows(Boolean& moreRows)
at Microsoft.Data.SqlClient.SqlDataReader.TryHasMoreResults(Boolean& moreResults)
at Microsoft.Data.SqlClient.SqlDataReader.TryNextResult(Boolean& more)
at Microsoft.Data.SqlClient.SqlDataReader.NextResultAsyncExecute(Task task, Object state)
at Microsoft.Data.SqlClient.SqlDataReader.InvokeAsyncCall[T](AAsyncCallContext`1 context)
--- End of stack trace from previous location ---
at Microsoft.EntityFrameworkCore.Update.AffectedCountModificationCommandBatch.ConsumeAsync(RelationalDataReader reader, CancellationToken cancellationToken)
ClientConnectionId:308e0b9c-e30d-49fd-887a-cc00a4168307
Error Number:8152,State:13,Class:16
--- End of inner exception stack trace ---
at Microsoft.EntityFrameworkCore.Update.AffectedCountModificationCommandBatch.ConsumeAsync(RelationalDataReader reader, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.ExecuteAsync(IRelationalConnection connection, CancellationToken cancellationToken)
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-02-24 18:04:14.183 +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:5bf85f42-3613-4229-95cc-2f35e338e610
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-24 18:04:14.188 +08:00 [INF] Request finished HTTP/2 POST https://localhost:5000/api/Purchase/add application/json 327 - 500 - application/json;+charset=utf-8 9730.2074ms
2022-02-24 18:06:15.226 +08:00 [INF] Request starting HTTP/2 POST https://localhost:5000/api/Purchase/add application/json 323
2022-02-24 18:06:15.253 +08:00 [INF] CORS policy execution failed.
2022-02-24 18:06:15.253 +08:00 [INF] Request origin https://localhost:5000 does not have permission to access the resource.
2022-02-24 18:06:15.263 +08:00 [INF] Executing endpoint 'WmsWebApi.PPlan.PurchaseService.AddAsync (WmsWebApi.Application)'
2022-02-24 18:06:15.263 +08:00 [INF] Route matched with {action = "Add", controller = "Purchase", area = "", page = ""}. Executing controller action with signature System.Threading.Tasks.Task`1[WmsWebApi.PPlan.ReturnResult] AddAsync(System.Object) on controller WmsWebApi.PPlan.PurchaseService (WmsWebApi.Application).
2022-02-24 18:06:15.421 +08:00 [INF] Executing action method WmsWebApi.PPlan.PurchaseService.AddAsync (WmsWebApi.Application) - Validation state: "Valid"
2022-02-24 18:06:15.428 +08:00 [INF] Entity Framework Core 5.0.14 initialized 'WmsWebApiDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: QuerySplittingBehavior=SplitQuery
2022-02-24 18:06:15.459 +08:00 [INF] Executed DbCommand (10ms) [Parameters=[@___purchaseDto_MBLNR_0='?' (Size = 4000)], 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].[SourceBillNum2] = @___purchaseDto_MBLNR_0
2022-02-24 18:06:15.478 +08:00 [INF] Executed action method WmsWebApi.PPlan.PurchaseService.AddAsync (WmsWebApi.Application), returned result Microsoft.AspNetCore.Mvc.ObjectResult in 56.4177ms.
2022-02-24 18:06:15.493 +08:00 [INF] Executed DbCommand (6ms) [Parameters=[@p0='?' (DbType = Guid), @p1='?' (Size = 4000), @p2='?' (DbType = DateTime2), @p3='?' (Size = 4000), @p4='?' (Size = 4000), @p5='?' (Size = 10), @p6='?' (Size = 10)], CommandType='"Text"', CommandTimeout='30']
SET NOCOUNT ON;
INSERT INTO [WmsWebApiPURCHASEDTO] ([Id], [BUDAT], [DYSJ], [ITYPE], [JSON], [MBLNR], [MJAHR])
VALUES (@p0, @p1, @p2, @p3, @p4, @p5, @p6);
2022-02-24 18:06:15.659 +08:00 [DBG] Added 0 entity changes to the current audit log
2022-02-24 18:06:15.659 +08:00 [DBG] Added 0 entity changes to the current audit log
2022-02-24 18:06:15.669 +08:00 [INF] Executing ObjectResult, writing value of type 'WmsWebApi.PPlan.ReturnResult'.
2022-02-24 18:06:15.679 +08:00 [INF] Executed action WmsWebApi.PPlan.PurchaseService.AddAsync (WmsWebApi.Application) in 414.9348ms
2022-02-24 18:06:15.679 +08:00 [INF] Executed endpoint 'WmsWebApi.PPlan.PurchaseService.AddAsync (WmsWebApi.Application)'
2022-02-24 18:06:15.681 +08:00 [INF] Entity Framework Core 5.0.14 initialized 'AbpAuditLoggingDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: QuerySplittingBehavior=SplitQuery
2022-02-24 18:06:15.696 +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-02-24 18:06:15.716 +08:00 [INF] Executed DbCommand (2ms) [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-24 18:06:15.739 +08:00 [DBG] Added 0 entity changes to the current audit log
2022-02-24 18:06:15.739 +08:00 [DBG] Added 0 entity changes to the current audit log
2022-02-24 18:06:15.741 +08:00 [INF] Request finished HTTP/2 POST https://localhost:5000/api/Purchase/add application/json 323 - 200 - application/json;+charset=utf-8 520.6156ms
2022-02-24 18:06:35.156 +08:00 [INF] Request starting HTTP/2 POST https://localhost:5000/api/Purchase/add application/json 324
2022-02-24 18:06:35.159 +08:00 [INF] CORS policy execution failed.
2022-02-24 18:06:35.159 +08:00 [INF] Request origin https://localhost:5000 does not have permission to access the resource.
2022-02-24 18:06:35.168 +08:00 [INF] Executing endpoint 'WmsWebApi.PPlan.PurchaseService.AddAsync (WmsWebApi.Application)'
2022-02-24 18:06:35.169 +08:00 [INF] Route matched with {action = "Add", controller = "Purchase", area = "", page = ""}. Executing controller action with signature System.Threading.Tasks.Task`1[WmsWebApi.PPlan.ReturnResult] AddAsync(System.Object) on controller WmsWebApi.PPlan.PurchaseService (WmsWebApi.Application).
2022-02-24 18:06:35.331 +08:00 [INF] Executing action method WmsWebApi.PPlan.PurchaseService.AddAsync (WmsWebApi.Application) - Validation state: "Valid"
2022-02-24 18:06:35.334 +08:00 [INF] Entity Framework Core 5.0.14 initialized 'WmsWebApiDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: QuerySplittingBehavior=SplitQuery
2022-02-24 18:06:35.347 +08:00 [INF] Executed DbCommand (9ms) [Parameters=[@___purchaseDto_MBLNR_0='?' (Size = 4000)], 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].[SourceBillNum2] = @___purchaseDto_MBLNR_0
2022-02-24 18:06:35.367 +08:00 [INF] Executed DbCommand (4ms) [Parameters=[@__item_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] = @__item_MATNR_0
2022-02-24 18:06:35.376 +08:00 [INF] Executed DbCommand (3ms) [Parameters=[@___barcode_0='?' (Size = 50), @__part_DefaultReceiveLocCode_1='?' (Size = 50)], CommandType='"Text"', CommandTimeout='30']
SELECT TOP(1) [t].[BarCode], [t].[LocCode], [t].[State], [t].[Amount], [t].[AreaCode], [t].[Batch], [t].[EqptCode], [t].[UID], [t].[OverdueDate], [t].[PartCode], [t].[PlanOrderId], [t].[ProduceDate], [t].[Qty], [t].[ReceiveDate], [t].[Remark], [t].[TracebackCode], [t].[UpdateQty], [t].[UpdateTime], [t].[VendBatch], [t].[VendId], [t].[Version], [t].[VinState]
FROM [TS_STOCK_DETAIL] AS [t]
WHERE (([t].[BarCode] = @___barcode_0) AND ([t].[LocCode] = @__part_DefaultReceiveLocCode_1)) AND ([t].[State] = 2)
2022-02-24 18:06:35.409 +08:00 [INF] Executed action method WmsWebApi.PPlan.PurchaseService.AddAsync (WmsWebApi.Application), returned result Microsoft.AspNetCore.Mvc.ObjectResult in 77.9982ms.
2022-02-24 18:06:35.430 +08:00 [INF] Executed DbCommand (6ms) [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='?' (DbType = Int32), @p20='?' (Size = 50), @p21='?' (Size = 50), @p22='?' (Size = 50), @p23='?' (Size = 50), @p24='?' (Size = 50), @p25='?' (Size = 4000), @p26='?' (Size = 4000), @p27='?' (Size = 4000), @p28='?' (Size = 4000), @p29='?' (Precision = 18) (Scale = 6) (DbType = Decimal), @p30='?' (Precision = 18) (Scale = 6) (DbType = Decimal), @p31='?' (Size = 4000), @p32='?' (Size = 50), @p33='?' (Size = 50), @p34='?' (DbType = DateTime2), @p35='?' (Precision = 18) (Scale = 6) (DbType = Decimal), @p36='?' (DbType = DateTime2), @p37='?' (Size = 4000), @p38='?' (Precision = 18) (Scale = 6) (DbType = Decimal), @p39='?' (Size = 4000), @p40='?' (DbType = Int32), @p41='?' (Size = 4000), @p42='?' (Size = 4000), @p43='?' (Size = 4000), @p44='?' (Size = 4000), @p45='?' (Size = 4000), @p46='?' (Size = 4000), @p47='?' (Size = 50), @p48='?' (DbType = Int32), @p49='?' (Size = 4000), @p50='?' (Size = 4000), @p51='?' (DbType = DateTime2), @p52='?' (Size = 80), @p53='?' (Size = 4000), @p54='?' (Precision = 18) (Scale = 6) (DbType = Decimal), @p55='?' (Size = 500), @p56='?' (DbType = Int32), @p57='?' (DbType = Int32), @p58='?' (DbType = Int32), @p59='?' (Size = 4000), @p60='?' (DbType = Guid), @p61='?' (Size = 4000), @p62='?' (DbType = DateTime2), @p63='?' (Size = 4000), @p64='?' (Size = 4000), @p65='?' (Size = 10), @p66='?' (Size = 10)], 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], [State], [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, @p22);
SELECT [UID]
FROM [TB_BILL]
WHERE @@ROWCOUNT = 1 AND [UID] = scope_identity();
INSERT INTO [TB_PRODUCT_RECEIVE] ([BarCode], [BillNum], [Batch], [CellCode], [EqptCode], [FromLocCode], [GoodQty], [InvalidQty], [LineId], [PartCode], [PpBillNum], [ProduceDate], [Qty], [ReceiveDate], [Remark], [ScrapQty], [ShiftName], [State], [TeamName], [ToLocCode], [TraceBackCode], [Unit])
VALUES (@p23, @p24, @p25, @p26, @p27, @p28, @p29, @p30, @p31, @p32, @p33, @p34, @p35, @p36, @p37, @p38, @p39, @p40, @p41, @p42, @p43, @p44);
SELECT [UID]
FROM [TB_PRODUCT_RECEIVE]
WHERE @@ROWCOUNT = 1 AND [BarCode] = @p23 AND [BillNum] = @p24;
INSERT INTO [TL_TRANSACTION] ([BarCode], [Batch], [BillNum], [BillType], [EqptCode], [LocCode], [LogTime], [OperName], [PartCode], [Qty], [Remark], [State], [SubBillType], [TransType], [VendId])
VALUES (@p45, @p46, @p47, @p48, @p49, @p50, @p51, @p52, @p53, @p54, @p55, @p56, @p57, @p58, @p59);
SELECT [UID]
FROM [TL_TRANSACTION]
WHERE @@ROWCOUNT = 1 AND [UID] = scope_identity();
INSERT INTO [WmsWebApiPURCHASEDTO] ([Id], [BUDAT], [DYSJ], [ITYPE], [JSON], [MBLNR], [MJAHR])
VALUES (@p60, @p61, @p62, @p63, @p64, @p65, @p66);
2022-02-24 18:06:35.469 +08:00 [DBG] Added 0 entity changes to the current audit log
2022-02-24 18:06:35.469 +08:00 [DBG] Added 0 entity changes to the current audit log
2022-02-24 18:06:35.471 +08:00 [INF] Executing ObjectResult, writing value of type 'WmsWebApi.PPlan.ReturnResult'.
2022-02-24 18:06:35.472 +08:00 [INF] Executed action WmsWebApi.PPlan.PurchaseService.AddAsync (WmsWebApi.Application) in 302.5065ms
2022-02-24 18:06:35.472 +08:00 [INF] Executed endpoint 'WmsWebApi.PPlan.PurchaseService.AddAsync (WmsWebApi.Application)'
2022-02-24 18:06:35.473 +08:00 [INF] Entity Framework Core 5.0.14 initialized 'AbpAuditLoggingDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: QuerySplittingBehavior=SplitQuery
2022-02-24 18:06:35.488 +08:00 [INF] Executed DbCommand (4ms) [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-24 18:06:35.491 +08:00 [INF] Executed DbCommand (2ms) [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-24 18:06:35.512 +08:00 [DBG] Added 0 entity changes to the current audit log
2022-02-24 18:06:35.513 +08:00 [DBG] Added 0 entity changes to the current audit log
2022-02-24 18:06:35.514 +08:00 [INF] Request finished HTTP/2 POST https://localhost:5000/api/Purchase/add application/json 324 - 200 - application/json;+charset=utf-8 357.6217ms
2022-02-24 18:21:32.344 +08:00 [INF] Starting web host.
2022-02-24 18:21:52.941 +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-24 18:21:53.518 +08:00 [INF] Loaded ABP modules:
2022-02-24 18:21:53.519 +08:00 [INF] - WmsWebApi.WmsWebApiHttpApiHostModule
2022-02-24 18:21:53.519 +08:00 [INF] - WmsWebApi.WmsWebApiApplicationModule
2022-02-24 18:21:53.519 +08:00 [INF] - WmsWebApi.WmsWebApiDomainModule
2022-02-24 18:21:53.519 +08:00 [INF] - Volo.Abp.Domain.AbpDddDomainModule
2022-02-24 18:21:53.519 +08:00 [INF] - Volo.Abp.Auditing.AbpAuditingModule
2022-02-24 18:21:53.519 +08:00 [INF] - Volo.Abp.Data.AbpDataModule
2022-02-24 18:21:53.519 +08:00 [INF] - Volo.Abp.ObjectExtending.AbpObjectExtendingModule
2022-02-24 18:21:53.519 +08:00 [INF] - Volo.Abp.Localization.AbpLocalizationAbstractionsModule
2022-02-24 18:21:53.519 +08:00 [INF] - Volo.Abp.Validation.AbpValidationAbstractionsModule
2022-02-24 18:21:53.519 +08:00 [INF] - Volo.Abp.Uow.AbpUnitOfWorkModule
2022-02-24 18:21:53.519 +08:00 [INF] - Volo.Abp.EventBus.Abstractions.AbpEventBusAbstractionsModule
2022-02-24 18:21:53.519 +08:00 [INF] - Volo.Abp.Json.AbpJsonModule
2022-02-24 18:21:53.519 +08:00 [INF] - Volo.Abp.Timing.AbpTimingModule
2022-02-24 18:21:53.519 +08:00 [INF] - Volo.Abp.Localization.AbpLocalizationModule
2022-02-24 18:21:53.519 +08:00 [INF] - Volo.Abp.VirtualFileSystem.AbpVirtualFileSystemModule
2022-02-24 18:21:53.519 +08:00 [INF] - Volo.Abp.Settings.AbpSettingsModule
2022-02-24 18:21:53.519 +08:00 [INF] - Volo.Abp.Security.AbpSecurityModule
2022-02-24 18:21:53.519 +08:00 [INF] - Volo.Abp.MultiTenancy.AbpMultiTenancyModule
2022-02-24 18:21:53.519 +08:00 [INF] - Volo.Abp.Threading.AbpThreadingModule
2022-02-24 18:21:53.519 +08:00 [INF] - Volo.Abp.EventBus.AbpEventBusModule
2022-02-24 18:21:53.519 +08:00 [INF] - Volo.Abp.Guids.AbpGuidsModule
2022-02-24 18:21:53.520 +08:00 [INF] - Volo.Abp.ObjectMapping.AbpObjectMappingModule
2022-02-24 18:21:53.520 +08:00 [INF] - Volo.Abp.ExceptionHandling.AbpExceptionHandlingModule
2022-02-24 18:21:53.520 +08:00 [INF] - Volo.Abp.Specifications.AbpSpecificationsModule
2022-02-24 18:21:53.520 +08:00 [INF] - WmsWebApi.WmsWebApiDomainSharedModule
2022-02-24 18:21:53.520 +08:00 [INF] - Volo.Abp.Validation.AbpValidationModule
2022-02-24 18:21:53.520 +08:00 [INF] - WmsWebApi.WmsWebApiApplicationContractsModule
2022-02-24 18:21:53.520 +08:00 [INF] - Volo.Abp.Application.AbpDddApplicationContractsModule
2022-02-24 18:21:53.520 +08:00 [INF] - Volo.Abp.Authorization.AbpAuthorizationModule
2022-02-24 18:21:53.520 +08:00 [INF] - Volo.Abp.Authorization.AbpAuthorizationAbstractionsModule
2022-02-24 18:21:53.520 +08:00 [INF] - Volo.Abp.Application.AbpDddApplicationModule
2022-02-24 18:21:53.520 +08:00 [INF] - Volo.Abp.Http.AbpHttpAbstractionsModule
2022-02-24 18:21:53.520 +08:00 [INF] - Volo.Abp.Features.AbpFeaturesModule
2022-02-24 18:21:53.520 +08:00 [INF] - Volo.Abp.GlobalFeatures.AbpGlobalFeaturesModule
2022-02-24 18:21:53.520 +08:00 [INF] - Volo.Abp.AutoMapper.AbpAutoMapperModule
2022-02-24 18:21:53.520 +08:00 [INF] - WmsWebApi.EntityFrameworkCore.WmsWebApiEntityFrameworkCoreModule
2022-02-24 18:21:53.520 +08:00 [INF] - Volo.Abp.EntityFrameworkCore.AbpEntityFrameworkCoreModule
2022-02-24 18:21:53.520 +08:00 [INF] - Volo.Abp.Dapper.AbpDapperModule
2022-02-24 18:21:53.520 +08:00 [INF] - WmsWebApi.WmsWebApiHttpApiModule
2022-02-24 18:21:53.520 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.AbpAspNetCoreMvcModule
2022-02-24 18:21:53.521 +08:00 [INF] - Volo.Abp.AspNetCore.AbpAspNetCoreModule
2022-02-24 18:21:53.521 +08:00 [INF] - Volo.Abp.Http.AbpHttpModule
2022-02-24 18:21:53.521 +08:00 [INF] - Volo.Abp.Minify.AbpMinifyModule
2022-02-24 18:21:53.521 +08:00 [INF] - Volo.Abp.ApiVersioning.AbpApiVersioningAbstractionsModule
2022-02-24 18:21:53.521 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.AbpAspNetCoreMvcContractsModule
2022-02-24 18:21:53.521 +08:00 [INF] - Volo.Abp.UI.Navigation.AbpUiNavigationModule
2022-02-24 18:21:53.521 +08:00 [INF] - Volo.Abp.UI.AbpUiModule
2022-02-24 18:21:53.521 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.MultiTenancy.AbpAspNetCoreMvcUiMultiTenancyModule
2022-02-24 18:21:53.521 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Theme.Shared.AbpAspNetCoreMvcUiThemeSharedModule
2022-02-24 18:21:53.521 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.AbpAspNetCoreMvcUiBootstrapModule
2022-02-24 18:21:53.521 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.AbpAspNetCoreMvcUiModule
2022-02-24 18:21:53.521 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Packages.AbpAspNetCoreMvcUiPackagesModule
2022-02-24 18:21:53.521 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Bundling.AbpAspNetCoreMvcUiBundlingAbstractionsModule
2022-02-24 18:21:53.521 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Widgets.AbpAspNetCoreMvcUiWidgetsModule
2022-02-24 18:21:53.521 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Bundling.AbpAspNetCoreMvcUiBundlingModule
2022-02-24 18:21:53.522 +08:00 [INF] - Volo.Abp.AspNetCore.MultiTenancy.AbpAspNetCoreMultiTenancyModule
2022-02-24 18:21:53.522 +08:00 [INF] - Volo.Abp.Autofac.AbpAutofacModule
2022-02-24 18:21:53.522 +08:00 [INF] - Volo.Abp.Castle.AbpCastleCoreModule
2022-02-24 18:21:53.522 +08:00 [INF] - Volo.Abp.Caching.StackExchangeRedis.AbpCachingStackExchangeRedisModule
2022-02-24 18:21:53.522 +08:00 [INF] - Volo.Abp.Caching.AbpCachingModule
2022-02-24 18:21:53.522 +08:00 [INF] - Volo.Abp.Serialization.AbpSerializationModule
2022-02-24 18:21:53.522 +08:00 [INF] - Volo.Abp.EntityFrameworkCore.SqlServer.AbpEntityFrameworkCoreSqlServerModule
2022-02-24 18:21:53.522 +08:00 [INF] - Volo.Abp.AuditLogging.EntityFrameworkCore.AbpAuditLoggingEntityFrameworkCoreModule
2022-02-24 18:21:53.522 +08:00 [INF] - Volo.Abp.AuditLogging.AbpAuditLoggingDomainModule
2022-02-24 18:21:53.522 +08:00 [INF] - Volo.Abp.AuditLogging.AbpAuditLoggingDomainSharedModule
2022-02-24 18:21:53.522 +08:00 [INF] - Volo.Abp.PermissionManagement.EntityFrameworkCore.AbpPermissionManagementEntityFrameworkCoreModule
2022-02-24 18:21:53.522 +08:00 [INF] - Volo.Abp.PermissionManagement.AbpPermissionManagementDomainModule
2022-02-24 18:21:53.522 +08:00 [INF] - Volo.Abp.PermissionManagement.AbpPermissionManagementDomainSharedModule
2022-02-24 18:21:53.522 +08:00 [INF] - Volo.Abp.SettingManagement.EntityFrameworkCore.AbpSettingManagementEntityFrameworkCoreModule
2022-02-24 18:21:53.522 +08:00 [INF] - Volo.Abp.SettingManagement.AbpSettingManagementDomainModule
2022-02-24 18:21:53.522 +08:00 [INF] - Volo.Abp.SettingManagement.AbpSettingManagementDomainSharedModule
2022-02-24 18:21:53.522 +08:00 [INF] - Volo.Abp.AspNetCore.Serilog.AbpAspNetCoreSerilogModule
2022-02-24 18:21:53.522 +08:00 [INF] - Volo.Abp.Swashbuckle.AbpSwashbuckleModule
2022-02-24 18:21:55.969 +08:00 [INF] Initialized all ABP modules.
2022-02-24 18:21:57.213 +08:00 [INF] Now listening on: https://localhost:5000
2022-02-24 18:21:57.214 +08:00 [INF] Application started. Press Ctrl+C to shut down.
2022-02-24 18:21:57.215 +08:00 [INF] Hosting environment: Development
2022-02-24 18:21:57.215 +08:00 [INF] Content root path: D:\工作\派格\接口程序\WmsWebApi\host\WmsWebApi.HttpApi.Host
2022-02-24 18:22:06.036 +08:00 [INF] Request starting HTTP/2 GET https://localhost:5000/ - -
2022-02-24 18:22:13.040 +08:00 [INF] Entity Framework Core 5.0.14 initialized 'SettingManagementDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: QuerySplittingBehavior=SplitQuery
2022-02-24 18:22:16.055 +08:00 [INF] Executed DbCommand (272ms) [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-24 18:22:17.500 +08:00 [INF] Entity Framework Core 5.0.14 initialized 'SettingManagementDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: QuerySplittingBehavior=SplitQuery
2022-02-24 18:22:17.522 +08:00 [INF] Executed DbCommand (10ms) [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-24 18:22:17.794 +08:00 [INF] Executing endpoint 'WmsWebApi.Controllers.HomeController.Index (WmsWebApi.HttpApi.Host)'
2022-02-24 18:22:18.068 +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-24 18:22:18.697 +08:00 [INF] Executing action method WmsWebApi.Controllers.HomeController.Index (WmsWebApi.HttpApi.Host) - Validation state: "Valid"
2022-02-24 18:22:18.732 +08:00 [INF] Executed action method WmsWebApi.Controllers.HomeController.Index (WmsWebApi.HttpApi.Host), returned result Microsoft.AspNetCore.Mvc.RedirectResult in 1.354ms.
2022-02-24 18:22:18.753 +08:00 [INF] Executing RedirectResult, redirecting to /swagger.
2022-02-24 18:22:18.785 +08:00 [INF] Executed action WmsWebApi.Controllers.HomeController.Index (WmsWebApi.HttpApi.Host) in 684.6056ms
2022-02-24 18:22:18.786 +08:00 [INF] Executed endpoint 'WmsWebApi.Controllers.HomeController.Index (WmsWebApi.HttpApi.Host)'
2022-02-24 18:22:18.879 +08:00 [INF] Request finished HTTP/2 GET https://localhost:5000/ - - - 302 0 - 12839.5169ms
2022-02-24 18:22:18.880 +08:00 [INF] Request starting HTTP/2 GET https://localhost:5000/swagger/index.html - -
2022-02-24 18:22:19.753 +08:00 [INF] Request finished HTTP/2 GET https://localhost:5000/swagger/index.html - - - 200 - text/html;charset=utf-8 872.7138ms
2022-02-24 18:22:20.560 +08:00 [INF] Request starting HTTP/2 GET https://localhost:5000/_framework/aspnetcore-browser-refresh.js - -
2022-02-24 18:22:20.677 +08:00 [INF] Request finished HTTP/2 GET https://localhost:5000/_framework/aspnetcore-browser-refresh.js - - - 200 11956 application/javascript;+charset=utf-8 117.2921ms
2022-02-24 18:22:21.779 +08:00 [INF] Request starting HTTP/2 GET https://localhost:5000/swagger/v1/swagger.json - -
2022-02-24 18:22:22.395 +08:00 [INF] Request finished HTTP/2 GET https://localhost:5000/swagger/v1/swagger.json - - - 200 - application/json;charset=utf-8 615.5214ms
2022-02-24 18:22:42.063 +08:00 [INF] Request starting HTTP/2 GET https://localhost:5000/abp/Swashbuckle/SetCsrfCookie application/json -
2022-02-24 18:22:42.080 +08:00 [INF] Executing endpoint 'Volo.Abp.Swashbuckle.AbpSwashbuckleController.SetCsrfCookie (Volo.Abp.Swashbuckle)'
2022-02-24 18:22:42.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-24 18:22:42.196 +08:00 [INF] Executing action method Volo.Abp.Swashbuckle.AbpSwashbuckleController.SetCsrfCookie (Volo.Abp.Swashbuckle) - Validation state: "Valid"
2022-02-24 18:22:42.216 +08:00 [INF] Executed action method Volo.Abp.Swashbuckle.AbpSwashbuckleController.SetCsrfCookie (Volo.Abp.Swashbuckle), returned result Microsoft.AspNetCore.Mvc.EmptyResult in 19.6664ms.
2022-02-24 18:22:42.216 +08:00 [INF] Executed action Volo.Abp.Swashbuckle.AbpSwashbuckleController.SetCsrfCookie (Volo.Abp.Swashbuckle) in 133.0267ms
2022-02-24 18:22:42.216 +08:00 [INF] Executed endpoint 'Volo.Abp.Swashbuckle.AbpSwashbuckleController.SetCsrfCookie (Volo.Abp.Swashbuckle)'
2022-02-24 18:22:42.216 +08:00 [INF] Request finished HTTP/2 GET https://localhost:5000/abp/Swashbuckle/SetCsrfCookie application/json - - 204 - - 153.8175ms
2022-02-24 18:22:42.297 +08:00 [INF] Request starting HTTP/2 POST https://localhost:5000/api/Purchase/add application/json 329
2022-02-24 18:22:42.307 +08:00 [INF] CORS policy execution failed.
2022-02-24 18:22:42.307 +08:00 [INF] Request origin https://localhost:5000 does not have permission to access the resource.
2022-02-24 18:22:42.312 +08:00 [INF] Executing endpoint 'WmsWebApi.PPlan.PurchaseService.AddAsync (WmsWebApi.Application)'
2022-02-24 18:22:42.340 +08:00 [INF] Route matched with {action = "Add", controller = "Purchase", area = "", page = ""}. Executing controller action with signature System.Threading.Tasks.Task`1[WmsWebApi.PPlan.ReturnResult] AddAsync(System.Object) on controller WmsWebApi.PPlan.PurchaseService (WmsWebApi.Application).
2022-02-24 18:22:45.514 +08:00 [INF] Executing action method WmsWebApi.PPlan.PurchaseService.AddAsync (WmsWebApi.Application) - Validation state: "Valid"
2022-02-24 18:22:46.601 +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-24 18:22:46.602 +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-02-24 18:22:46.602 +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-02-24 18:22:46.602 +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-24 18:22:46.602 +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-24 18:22:46.602 +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-24 18:22:46.602 +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-24 18:22:46.602 +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-24 18:22:46.602 +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-24 18:22:46.602 +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-24 18:22:46.602 +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-24 18:22:46.603 +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-24 18:22:46.603 +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-24 18:22:46.603 +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-24 18:22:46.603 +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-24 18:22:46.605 +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-24 18:22:46.605 +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-24 18:22:46.606 +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-24 18:22:46.606 +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-24 18:22:46.606 +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-24 18:22:46.606 +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-24 18:22:46.818 +08:00 [INF] Entity Framework Core 5.0.14 initialized 'WmsWebApiDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: QuerySplittingBehavior=SplitQuery
2022-02-24 18:22:47.279 +08:00 [INF] Executed DbCommand (10ms) [Parameters=[@___purchaseDto_MBLNR_0='?' (Size = 4000)], 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].[SourceBillNum2] = @___purchaseDto_MBLNR_0
2022-02-24 18:22:47.472 +08:00 [INF] Executed DbCommand (9ms) [Parameters=[@__item_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] = @__item_MATNR_0
2022-02-24 18:22:48.207 +08:00 [INF] Executed DbCommand (8ms) [Parameters=[@___barcode_0='?' (Size = 50), @__part_DefaultReceiveLocCode_1='?' (Size = 50)], CommandType='"Text"', CommandTimeout='30']
SELECT TOP(1) [t].[BarCode], [t].[LocCode], [t].[State], [t].[Amount], [t].[AreaCode], [t].[Batch], [t].[EqptCode], [t].[UID], [t].[OverdueDate], [t].[PartCode], [t].[PlanOrderId], [t].[ProduceDate], [t].[Qty], [t].[ReceiveDate], [t].[Remark], [t].[TracebackCode], [t].[UpdateQty], [t].[UpdateTime], [t].[VendBatch], [t].[VendId], [t].[Version], [t].[VinState]
FROM [TS_STOCK_DETAIL] AS [t]
WHERE (([t].[BarCode] = @___barcode_0) AND ([t].[LocCode] = @__part_DefaultReceiveLocCode_1)) AND ([t].[State] = 2)
2022-02-24 18:22:48.973 +08:00 [INF] Executed action method WmsWebApi.PPlan.PurchaseService.AddAsync (WmsWebApi.Application), returned result Microsoft.AspNetCore.Mvc.ObjectResult in 3458.51ms.
2022-02-24 18:22:49.773 +08:00 [ERR] Failed executing DbCommand (29ms) [Parameters=[@p0='?' (DbType = Guid), @p1='?' (Size = 4000), @p2='?' (DbType = DateTime2), @p3='?' (Size = 4000), @p4='?' (Size = 4000), @p5='?' (Size = 4000), @p6='?' (Size = 10)], CommandType='"Text"', CommandTimeout='30']
SET NOCOUNT ON;
INSERT INTO [WmsWebApiPURCHASEDTO] ([Id], [BUDAT], [DYSJ], [ITYPE], [JSON], [MBLNR], [MJAHR])
VALUES (@p0, @p1, @p2, @p3, @p4, @p5, @p6);
2022-02-24 18:22:50.259 +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): 将截断字符串或二进制数据。
语句已终止。
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:a3cad259-b3bf-49ff-ad8f-dc527630d547
Error Number:8152,State:13,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:a3cad259-b3bf-49ff-ad8f-dc527630d547
Error Number:8152,State:13,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)
2022-02-24 18:22:50.556 +08:00 [ERR] ---------- RemoteServiceErrorInfo ----------
{
"code": null,
"message": "An internal error occurred during your request!",
"details": null,
"data": {},
"validationErrors": null
}
2022-02-24 18:22:50.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.<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:a3cad259-b3bf-49ff-ad8f-dc527630d547
Error Number:8152,State:13,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.<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-02-24 18:22:50.591 +08:00 [INF] Executing ObjectResult, writing value of type 'Volo.Abp.Http.RemoteServiceErrorResponse'.
2022-02-24 18:22:50.655 +08:00 [INF] Executed action WmsWebApi.PPlan.PurchaseService.AddAsync (WmsWebApi.Application) in 8315.1678ms
2022-02-24 18:22:50.658 +08:00 [INF] Executed endpoint 'WmsWebApi.PPlan.PurchaseService.AddAsync (WmsWebApi.Application)'
2022-02-24 18:22:51.561 +08:00 [INF] Entity Framework Core 5.0.14 initialized 'AbpAuditLoggingDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: QuerySplittingBehavior=SplitQuery
2022-02-24 18:22:51.915 +08:00 [ERR] Failed executing DbCommand (12ms) [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-24 18:22:51.938 +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:243e973a-8e23-4c8c-9af8-6e421b86a5d9
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:243e973a-8e23-4c8c-9af8-6e421b86a5d9
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-24 18:22:51.963 +08:00 [WRN] Could not save the audit log object:
AUDIT LOG: [500: POST ] /api/Purchase/add
- UserName - UserId : -
- ClientIpAddress : ::1
- ExecutionDuration : 8363
- Actions:
- WmsWebApi.PPlan.PurchaseService.AddAsync (4942 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): 将截断字符串或二进制数据。
语句已终止。
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:a3cad259-b3bf-49ff-ad8f-dc527630d547
Error Number:8152,State:13,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.<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-02-24 18:22:51.963 +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:243e973a-8e23-4c8c-9af8-6e421b86a5d9
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-24 18:22:51.971 +08:00 [INF] Request finished HTTP/2 POST https://localhost:5000/api/Purchase/add application/json 329 - 500 - application/json;+charset=utf-8 9673.6387ms
2022-02-24 18:23:32.076 +08:00 [INF] Request starting HTTP/2 POST https://localhost:5000/api/Purchase/add application/json 324
2022-02-24 18:23:32.116 +08:00 [INF] CORS policy execution failed.
2022-02-24 18:23:32.117 +08:00 [INF] Request origin https://localhost:5000 does not have permission to access the resource.
2022-02-24 18:23:32.133 +08:00 [INF] Executing endpoint 'WmsWebApi.PPlan.PurchaseService.AddAsync (WmsWebApi.Application)'
2022-02-24 18:23:32.134 +08:00 [INF] Route matched with {action = "Add", controller = "Purchase", area = "", page = ""}. Executing controller action with signature System.Threading.Tasks.Task`1[WmsWebApi.PPlan.ReturnResult] AddAsync(System.Object) on controller WmsWebApi.PPlan.PurchaseService (WmsWebApi.Application).
2022-02-24 18:23:32.271 +08:00 [INF] Executing action method WmsWebApi.PPlan.PurchaseService.AddAsync (WmsWebApi.Application) - Validation state: "Valid"
2022-02-24 18:23:32.279 +08:00 [INF] Entity Framework Core 5.0.14 initialized 'WmsWebApiDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: QuerySplittingBehavior=SplitQuery
2022-02-24 18:23:32.325 +08:00 [INF] Executed DbCommand (33ms) [Parameters=[@___purchaseDto_MBLNR_0='?' (Size = 4000)], 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].[SourceBillNum2] = @___purchaseDto_MBLNR_0
2022-02-24 18:23:32.340 +08:00 [INF] Executed DbCommand (3ms) [Parameters=[@__item_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] = @__item_MATNR_0
2022-02-24 18:23:32.359 +08:00 [INF] Executed DbCommand (13ms) [Parameters=[@___barcode_0='?' (Size = 50), @__part_DefaultReceiveLocCode_1='?' (Size = 50)], CommandType='"Text"', CommandTimeout='30']
SELECT TOP(1) [t].[BarCode], [t].[LocCode], [t].[State], [t].[Amount], [t].[AreaCode], [t].[Batch], [t].[EqptCode], [t].[UID], [t].[OverdueDate], [t].[PartCode], [t].[PlanOrderId], [t].[ProduceDate], [t].[Qty], [t].[ReceiveDate], [t].[Remark], [t].[TracebackCode], [t].[UpdateQty], [t].[UpdateTime], [t].[VendBatch], [t].[VendId], [t].[Version], [t].[VinState]
FROM [TS_STOCK_DETAIL] AS [t]
WHERE (([t].[BarCode] = @___barcode_0) AND ([t].[LocCode] = @__part_DefaultReceiveLocCode_1)) AND ([t].[State] = 2)
2022-02-24 18:23:32.363 +08:00 [INF] Executed action method WmsWebApi.PPlan.PurchaseService.AddAsync (WmsWebApi.Application), returned result Microsoft.AspNetCore.Mvc.ObjectResult in 91.3779ms.
2022-02-24 18:23:32.378 +08:00 [INF] Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Guid), @p1='?' (Size = 4000), @p2='?' (DbType = DateTime2), @p3='?' (Size = 4000), @p4='?' (Size = 4000), @p5='?' (Size = 10), @p6='?' (Size = 10)], CommandType='"Text"', CommandTimeout='30']
SET NOCOUNT ON;
INSERT INTO [WmsWebApiPURCHASEDTO] ([Id], [BUDAT], [DYSJ], [ITYPE], [JSON], [MBLNR], [MJAHR])
VALUES (@p0, @p1, @p2, @p3, @p4, @p5, @p6);
2022-02-24 18:23:32.486 +08:00 [DBG] Added 0 entity changes to the current audit log
2022-02-24 18:23:32.486 +08:00 [DBG] Added 0 entity changes to the current audit log
2022-02-24 18:23:32.548 +08:00 [INF] Executing ObjectResult, writing value of type 'WmsWebApi.PPlan.ReturnResult'.
2022-02-24 18:23:32.557 +08:00 [INF] Executed action WmsWebApi.PPlan.PurchaseService.AddAsync (WmsWebApi.Application) in 422.289ms
2022-02-24 18:23:32.557 +08:00 [INF] Executed endpoint 'WmsWebApi.PPlan.PurchaseService.AddAsync (WmsWebApi.Application)'
2022-02-24 18:23:32.560 +08:00 [INF] Entity Framework Core 5.0.14 initialized 'AbpAuditLoggingDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: QuerySplittingBehavior=SplitQuery
2022-02-24 18:23:32.599 +08:00 [INF] Executed DbCommand (9ms) [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-24 18:23:32.609 +08:00 [INF] Executed DbCommand (8ms) [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-24 18:23:32.754 +08:00 [DBG] Added 0 entity changes to the current audit log
2022-02-24 18:23:32.755 +08:00 [DBG] Added 0 entity changes to the current audit log
2022-02-24 18:23:32.757 +08:00 [INF] Request finished HTTP/2 POST https://localhost:5000/api/Purchase/add application/json 324 - 200 - application/json;+charset=utf-8 680.6865ms
2022-02-24 18:25:58.254 +08:00 [INF] Starting web host.
2022-02-24 18:26:16.933 +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-24 18:26:17.541 +08:00 [INF] Loaded ABP modules:
2022-02-24 18:26:17.541 +08:00 [INF] - WmsWebApi.WmsWebApiHttpApiHostModule
2022-02-24 18:26:17.541 +08:00 [INF] - WmsWebApi.WmsWebApiApplicationModule
2022-02-24 18:26:17.541 +08:00 [INF] - WmsWebApi.WmsWebApiDomainModule
2022-02-24 18:26:17.541 +08:00 [INF] - Volo.Abp.Domain.AbpDddDomainModule
2022-02-24 18:26:17.541 +08:00 [INF] - Volo.Abp.Auditing.AbpAuditingModule
2022-02-24 18:26:17.541 +08:00 [INF] - Volo.Abp.Data.AbpDataModule
2022-02-24 18:26:17.541 +08:00 [INF] - Volo.Abp.ObjectExtending.AbpObjectExtendingModule
2022-02-24 18:26:17.541 +08:00 [INF] - Volo.Abp.Localization.AbpLocalizationAbstractionsModule
2022-02-24 18:26:17.541 +08:00 [INF] - Volo.Abp.Validation.AbpValidationAbstractionsModule
2022-02-24 18:26:17.541 +08:00 [INF] - Volo.Abp.Uow.AbpUnitOfWorkModule
2022-02-24 18:26:17.542 +08:00 [INF] - Volo.Abp.EventBus.Abstractions.AbpEventBusAbstractionsModule
2022-02-24 18:26:17.542 +08:00 [INF] - Volo.Abp.Json.AbpJsonModule
2022-02-24 18:26:17.542 +08:00 [INF] - Volo.Abp.Timing.AbpTimingModule
2022-02-24 18:26:17.542 +08:00 [INF] - Volo.Abp.Localization.AbpLocalizationModule
2022-02-24 18:26:17.542 +08:00 [INF] - Volo.Abp.VirtualFileSystem.AbpVirtualFileSystemModule
2022-02-24 18:26:17.542 +08:00 [INF] - Volo.Abp.Settings.AbpSettingsModule
2022-02-24 18:26:17.542 +08:00 [INF] - Volo.Abp.Security.AbpSecurityModule
2022-02-24 18:26:17.542 +08:00 [INF] - Volo.Abp.MultiTenancy.AbpMultiTenancyModule
2022-02-24 18:26:17.542 +08:00 [INF] - Volo.Abp.Threading.AbpThreadingModule
2022-02-24 18:26:17.542 +08:00 [INF] - Volo.Abp.EventBus.AbpEventBusModule
2022-02-24 18:26:17.542 +08:00 [INF] - Volo.Abp.Guids.AbpGuidsModule
2022-02-24 18:26:17.542 +08:00 [INF] - Volo.Abp.ObjectMapping.AbpObjectMappingModule
2022-02-24 18:26:17.542 +08:00 [INF] - Volo.Abp.ExceptionHandling.AbpExceptionHandlingModule
2022-02-24 18:26:17.542 +08:00 [INF] - Volo.Abp.Specifications.AbpSpecificationsModule
2022-02-24 18:26:17.542 +08:00 [INF] - WmsWebApi.WmsWebApiDomainSharedModule
2022-02-24 18:26:17.542 +08:00 [INF] - Volo.Abp.Validation.AbpValidationModule
2022-02-24 18:26:17.542 +08:00 [INF] - WmsWebApi.WmsWebApiApplicationContractsModule
2022-02-24 18:26:17.542 +08:00 [INF] - Volo.Abp.Application.AbpDddApplicationContractsModule
2022-02-24 18:26:17.542 +08:00 [INF] - Volo.Abp.Authorization.AbpAuthorizationModule
2022-02-24 18:26:17.542 +08:00 [INF] - Volo.Abp.Authorization.AbpAuthorizationAbstractionsModule
2022-02-24 18:26:17.542 +08:00 [INF] - Volo.Abp.Application.AbpDddApplicationModule
2022-02-24 18:26:17.542 +08:00 [INF] - Volo.Abp.Http.AbpHttpAbstractionsModule
2022-02-24 18:26:17.542 +08:00 [INF] - Volo.Abp.Features.AbpFeaturesModule
2022-02-24 18:26:17.542 +08:00 [INF] - Volo.Abp.GlobalFeatures.AbpGlobalFeaturesModule
2022-02-24 18:26:17.542 +08:00 [INF] - Volo.Abp.AutoMapper.AbpAutoMapperModule
2022-02-24 18:26:17.542 +08:00 [INF] - WmsWebApi.EntityFrameworkCore.WmsWebApiEntityFrameworkCoreModule
2022-02-24 18:26:17.542 +08:00 [INF] - Volo.Abp.EntityFrameworkCore.AbpEntityFrameworkCoreModule
2022-02-24 18:26:17.542 +08:00 [INF] - Volo.Abp.Dapper.AbpDapperModule
2022-02-24 18:26:17.542 +08:00 [INF] - WmsWebApi.WmsWebApiHttpApiModule
2022-02-24 18:26:17.542 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.AbpAspNetCoreMvcModule
2022-02-24 18:26:17.542 +08:00 [INF] - Volo.Abp.AspNetCore.AbpAspNetCoreModule
2022-02-24 18:26:17.542 +08:00 [INF] - Volo.Abp.Http.AbpHttpModule
2022-02-24 18:26:17.542 +08:00 [INF] - Volo.Abp.Minify.AbpMinifyModule
2022-02-24 18:26:17.542 +08:00 [INF] - Volo.Abp.ApiVersioning.AbpApiVersioningAbstractionsModule
2022-02-24 18:26:17.542 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.AbpAspNetCoreMvcContractsModule
2022-02-24 18:26:17.542 +08:00 [INF] - Volo.Abp.UI.Navigation.AbpUiNavigationModule
2022-02-24 18:26:17.542 +08:00 [INF] - Volo.Abp.UI.AbpUiModule
2022-02-24 18:26:17.542 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.MultiTenancy.AbpAspNetCoreMvcUiMultiTenancyModule
2022-02-24 18:26:17.542 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Theme.Shared.AbpAspNetCoreMvcUiThemeSharedModule
2022-02-24 18:26:17.542 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.AbpAspNetCoreMvcUiBootstrapModule
2022-02-24 18:26:17.542 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.AbpAspNetCoreMvcUiModule
2022-02-24 18:26:17.542 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Packages.AbpAspNetCoreMvcUiPackagesModule
2022-02-24 18:26:17.542 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Bundling.AbpAspNetCoreMvcUiBundlingAbstractionsModule
2022-02-24 18:26:17.542 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Widgets.AbpAspNetCoreMvcUiWidgetsModule
2022-02-24 18:26:17.542 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Bundling.AbpAspNetCoreMvcUiBundlingModule
2022-02-24 18:26:17.542 +08:00 [INF] - Volo.Abp.AspNetCore.MultiTenancy.AbpAspNetCoreMultiTenancyModule
2022-02-24 18:26:17.542 +08:00 [INF] - Volo.Abp.Autofac.AbpAutofacModule
2022-02-24 18:26:17.542 +08:00 [INF] - Volo.Abp.Castle.AbpCastleCoreModule
2022-02-24 18:26:17.542 +08:00 [INF] - Volo.Abp.Caching.StackExchangeRedis.AbpCachingStackExchangeRedisModule
2022-02-24 18:26:17.542 +08:00 [INF] - Volo.Abp.Caching.AbpCachingModule
2022-02-24 18:26:17.542 +08:00 [INF] - Volo.Abp.Serialization.AbpSerializationModule
2022-02-24 18:26:17.542 +08:00 [INF] - Volo.Abp.EntityFrameworkCore.SqlServer.AbpEntityFrameworkCoreSqlServerModule
2022-02-24 18:26:17.542 +08:00 [INF] - Volo.Abp.AuditLogging.EntityFrameworkCore.AbpAuditLoggingEntityFrameworkCoreModule
2022-02-24 18:26:17.542 +08:00 [INF] - Volo.Abp.AuditLogging.AbpAuditLoggingDomainModule
2022-02-24 18:26:17.542 +08:00 [INF] - Volo.Abp.AuditLogging.AbpAuditLoggingDomainSharedModule
2022-02-24 18:26:17.542 +08:00 [INF] - Volo.Abp.PermissionManagement.EntityFrameworkCore.AbpPermissionManagementEntityFrameworkCoreModule
2022-02-24 18:26:17.542 +08:00 [INF] - Volo.Abp.PermissionManagement.AbpPermissionManagementDomainModule
2022-02-24 18:26:17.542 +08:00 [INF] - Volo.Abp.PermissionManagement.AbpPermissionManagementDomainSharedModule
2022-02-24 18:26:17.542 +08:00 [INF] - Volo.Abp.SettingManagement.EntityFrameworkCore.AbpSettingManagementEntityFrameworkCoreModule
2022-02-24 18:26:17.542 +08:00 [INF] - Volo.Abp.SettingManagement.AbpSettingManagementDomainModule
2022-02-24 18:26:17.542 +08:00 [INF] - Volo.Abp.SettingManagement.AbpSettingManagementDomainSharedModule
2022-02-24 18:26:17.542 +08:00 [INF] - Volo.Abp.AspNetCore.Serilog.AbpAspNetCoreSerilogModule
2022-02-24 18:26:17.542 +08:00 [INF] - Volo.Abp.Swashbuckle.AbpSwashbuckleModule
2022-02-24 18:26:20.368 +08:00 [INF] Initialized all ABP modules.
2022-02-24 18:26:21.580 +08:00 [INF] Now listening on: https://localhost:5000
2022-02-24 18:26:21.581 +08:00 [INF] Application started. Press Ctrl+C to shut down.
2022-02-24 18:26:21.581 +08:00 [INF] Hosting environment: Development
2022-02-24 18:26:21.581 +08:00 [INF] Content root path: D:\工作\派格\接口程序\WmsWebApi\host\WmsWebApi.HttpApi.Host
2022-02-24 18:26:30.577 +08:00 [INF] Request starting HTTP/2 GET https://localhost:5000/ - -
2022-02-24 18:26:35.004 +08:00 [INF] Executing endpoint 'WmsWebApi.Controllers.HomeController.Index (WmsWebApi.HttpApi.Host)'
2022-02-24 18:26:35.225 +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-24 18:26:36.279 +08:00 [INF] Executing action method WmsWebApi.Controllers.HomeController.Index (WmsWebApi.HttpApi.Host) - Validation state: "Valid"
2022-02-24 18:26:36.303 +08:00 [INF] Executed action method WmsWebApi.Controllers.HomeController.Index (WmsWebApi.HttpApi.Host), returned result Microsoft.AspNetCore.Mvc.RedirectResult in 1.1676ms.
2022-02-24 18:26:36.322 +08:00 [INF] Executing RedirectResult, redirecting to /swagger.
2022-02-24 18:26:36.347 +08:00 [INF] Executed action WmsWebApi.Controllers.HomeController.Index (WmsWebApi.HttpApi.Host) in 1098.7284ms
2022-02-24 18:26:36.347 +08:00 [INF] Executed endpoint 'WmsWebApi.Controllers.HomeController.Index (WmsWebApi.HttpApi.Host)'
2022-02-24 18:26:36.468 +08:00 [INF] Request starting HTTP/2 GET https://localhost:5000/swagger/index.html - -
2022-02-24 18:26:36.470 +08:00 [INF] Request finished HTTP/2 GET https://localhost:5000/ - - - 302 0 - 5892.5908ms
2022-02-24 18:26:37.187 +08:00 [INF] Request finished HTTP/2 GET https://localhost:5000/swagger/index.html - - - 200 - text/html;charset=utf-8 719.8394ms
2022-02-24 18:26:37.570 +08:00 [INF] Request starting HTTP/2 GET https://localhost:5000/_framework/aspnetcore-browser-refresh.js - -
2022-02-24 18:26:37.584 +08:00 [INF] Request finished HTTP/2 GET https://localhost:5000/_framework/aspnetcore-browser-refresh.js - - - 200 11956 application/javascript;+charset=utf-8 13.4274ms
2022-02-24 18:26:39.864 +08:00 [INF] Request starting HTTP/2 GET https://localhost:5000/swagger/v1/swagger.json - -
2022-02-24 18:26:40.599 +08:00 [INF] Request finished HTTP/2 GET https://localhost:5000/swagger/v1/swagger.json - - - 200 - application/json;charset=utf-8 735.3670ms
2022-02-24 18:27:05.953 +08:00 [INF] Request starting HTTP/2 GET https://localhost:5000/abp/Swashbuckle/SetCsrfCookie application/json -
2022-02-24 18:27:05.962 +08:00 [INF] Executing endpoint 'Volo.Abp.Swashbuckle.AbpSwashbuckleController.SetCsrfCookie (Volo.Abp.Swashbuckle)'
2022-02-24 18:27:05.968 +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-24 18:27:06.108 +08:00 [INF] Executing action method Volo.Abp.Swashbuckle.AbpSwashbuckleController.SetCsrfCookie (Volo.Abp.Swashbuckle) - Validation state: "Valid"
2022-02-24 18:27:06.134 +08:00 [INF] Executed action method Volo.Abp.Swashbuckle.AbpSwashbuckleController.SetCsrfCookie (Volo.Abp.Swashbuckle), returned result Microsoft.AspNetCore.Mvc.EmptyResult in 26.078ms.
2022-02-24 18:27:06.134 +08:00 [INF] Executed action Volo.Abp.Swashbuckle.AbpSwashbuckleController.SetCsrfCookie (Volo.Abp.Swashbuckle) in 166.2072ms
2022-02-24 18:27:06.135 +08:00 [INF] Executed endpoint 'Volo.Abp.Swashbuckle.AbpSwashbuckleController.SetCsrfCookie (Volo.Abp.Swashbuckle)'
2022-02-24 18:27:06.135 +08:00 [INF] Request finished HTTP/2 GET https://localhost:5000/abp/Swashbuckle/SetCsrfCookie application/json - - 204 - - 182.5147ms
2022-02-24 18:27:06.324 +08:00 [INF] Request starting HTTP/2 POST https://localhost:5000/api/Purchase/add application/json 324
2022-02-24 18:27:06.331 +08:00 [INF] CORS policy execution failed.
2022-02-24 18:27:06.332 +08:00 [INF] Request origin https://localhost:5000 does not have permission to access the resource.
2022-02-24 18:27:06.338 +08:00 [INF] Executing endpoint 'WmsWebApi.PPlan.PurchaseService.AddAsync (WmsWebApi.Application)'
2022-02-24 18:27:06.374 +08:00 [INF] Route matched with {action = "Add", controller = "Purchase", area = "", page = ""}. Executing controller action with signature System.Threading.Tasks.Task`1[WmsWebApi.PPlan.ReturnResult] AddAsync(System.Object) on controller WmsWebApi.PPlan.PurchaseService (WmsWebApi.Application).
2022-02-24 18:27:08.645 +08:00 [INF] Executing action method WmsWebApi.PPlan.PurchaseService.AddAsync (WmsWebApi.Application) - Validation state: "Valid"
2022-02-24 18:27:11.486 +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-24 18:27:11.486 +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-02-24 18:27:11.486 +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-02-24 18:27:11.486 +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-24 18:27:11.487 +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-24 18:27:11.487 +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-24 18:27:11.487 +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-24 18:27:11.487 +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-24 18:27:11.487 +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-24 18:27:11.487 +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-24 18:27:11.487 +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-24 18:27:11.487 +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-24 18:27:11.487 +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-24 18:27:11.487 +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-24 18:27:11.487 +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-24 18:27:11.488 +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-24 18:27:11.488 +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-24 18:27:11.488 +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-24 18:27:11.488 +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-24 18:27:11.488 +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-24 18:27:11.488 +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-24 18:27:11.934 +08:00 [INF] Entity Framework Core 5.0.14 initialized 'WmsWebApiDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: QuerySplittingBehavior=SplitQuery
2022-02-24 18:27:14.457 +08:00 [INF] Executed DbCommand (198ms) [Parameters=[@___purchaseDto_MBLNR_0='?' (Size = 4000)], 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].[SourceBillNum2] = @___purchaseDto_MBLNR_0
2022-02-24 18:27:14.709 +08:00 [INF] Executed DbCommand (7ms) [Parameters=[@__item_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] = @__item_MATNR_0
2022-02-24 18:27:15.290 +08:00 [INF] Executed DbCommand (15ms) [Parameters=[@___barcode_0='?' (Size = 50), @__part_DefaultReceiveLocCode_1='?' (Size = 50)], CommandType='"Text"', CommandTimeout='30']
SELECT TOP(1) [t].[BarCode], [t].[LocCode], [t].[State], [t].[Amount], [t].[AreaCode], [t].[Batch], [t].[EqptCode], [t].[UID], [t].[OverdueDate], [t].[PartCode], [t].[PlanOrderId], [t].[ProduceDate], [t].[Qty], [t].[ReceiveDate], [t].[Remark], [t].[TracebackCode], [t].[UpdateQty], [t].[UpdateTime], [t].[VendBatch], [t].[VendId], [t].[Version], [t].[VinState]
FROM [TS_STOCK_DETAIL] AS [t]
WHERE (([t].[BarCode] = @___barcode_0) AND ([t].[LocCode] = @__part_DefaultReceiveLocCode_1)) AND ([t].[State] = 2)
2022-02-24 18:27:15.799 +08:00 [INF] Executed action method WmsWebApi.PPlan.PurchaseService.AddAsync (WmsWebApi.Application), returned result Microsoft.AspNetCore.Mvc.ObjectResult in 7153.6968ms.
2022-02-24 18:27:16.394 +08:00 [INF] Executed DbCommand (7ms) [Parameters=[@p0='?' (DbType = Guid), @p1='?' (Size = 4000), @p2='?' (DbType = DateTime2), @p3='?' (Size = 4000), @p4='?' (Size = 4000), @p5='?' (Size = 10), @p6='?' (Size = 10)], CommandType='"Text"', CommandTimeout='30']
SET NOCOUNT ON;
INSERT INTO [WmsWebApiPURCHASEDTO] ([Id], [BUDAT], [DYSJ], [ITYPE], [JSON], [MBLNR], [MJAHR])
VALUES (@p0, @p1, @p2, @p3, @p4, @p5, @p6);
2022-02-24 18:27:16.574 +08:00 [DBG] Added 0 entity changes to the current audit log
2022-02-24 18:27:16.574 +08:00 [DBG] Added 0 entity changes to the current audit log
2022-02-24 18:27:16.819 +08:00 [INF] Executing ObjectResult, writing value of type 'WmsWebApi.PPlan.ReturnResult'.
2022-02-24 18:27:16.848 +08:00 [INF] Executed action WmsWebApi.PPlan.PurchaseService.AddAsync (WmsWebApi.Application) in 10474.2908ms
2022-02-24 18:27:16.850 +08:00 [INF] Executed endpoint 'WmsWebApi.PPlan.PurchaseService.AddAsync (WmsWebApi.Application)'
2022-02-24 18:27:17.672 +08:00 [INF] Entity Framework Core 5.0.14 initialized 'AbpAuditLoggingDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: QuerySplittingBehavior=SplitQuery
2022-02-24 18:27:18.075 +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-02-24 18:27:18.079 +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-02-24 18:27:18.116 +08:00 [DBG] Added 0 entity changes to the current audit log
2022-02-24 18:27:18.116 +08:00 [DBG] Added 0 entity changes to the current audit log
2022-02-24 18:27:18.124 +08:00 [INF] Request finished HTTP/2 POST https://localhost:5000/api/Purchase/add application/json 324 - 200 - application/json;+charset=utf-8 11799.9245ms
2022-02-24 18:28:01.635 +08:00 [INF] Request starting HTTP/2 POST https://localhost:5000/api/Purchase/add application/json 323
2022-02-24 18:28:01.641 +08:00 [INF] CORS policy execution failed.
2022-02-24 18:28:01.641 +08:00 [INF] Request origin https://localhost:5000 does not have permission to access the resource.
2022-02-24 18:28:01.651 +08:00 [INF] Executing endpoint 'WmsWebApi.PPlan.PurchaseService.AddAsync (WmsWebApi.Application)'
2022-02-24 18:28:01.652 +08:00 [INF] Route matched with {action = "Add", controller = "Purchase", area = "", page = ""}. Executing controller action with signature System.Threading.Tasks.Task`1[WmsWebApi.PPlan.ReturnResult] AddAsync(System.Object) on controller WmsWebApi.PPlan.PurchaseService (WmsWebApi.Application).
2022-02-24 18:28:01.843 +08:00 [INF] Executing action method WmsWebApi.PPlan.PurchaseService.AddAsync (WmsWebApi.Application) - Validation state: "Valid"
2022-02-24 18:28:02.007 +08:00 [INF] Entity Framework Core 5.0.14 initialized 'WmsWebApiDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: QuerySplittingBehavior=SplitQuery
2022-02-24 18:28:02.184 +08:00 [INF] Executed DbCommand (12ms) [Parameters=[@___purchaseDto_MBLNR_0='?' (Size = 4000)], 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].[SourceBillNum2] = @___purchaseDto_MBLNR_0
2022-02-24 18:28:02.197 +08:00 [INF] Executed DbCommand (11ms) [Parameters=[@__item_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] = @__item_MATNR_0
2022-02-24 18:28:02.208 +08:00 [INF] Executed DbCommand (5ms) [Parameters=[@___barcode_0='?' (Size = 50), @__part_DefaultReceiveLocCode_1='?' (Size = 50)], CommandType='"Text"', CommandTimeout='30']
SELECT TOP(1) [t].[BarCode], [t].[LocCode], [t].[State], [t].[Amount], [t].[AreaCode], [t].[Batch], [t].[EqptCode], [t].[UID], [t].[OverdueDate], [t].[PartCode], [t].[PlanOrderId], [t].[ProduceDate], [t].[Qty], [t].[ReceiveDate], [t].[Remark], [t].[TracebackCode], [t].[UpdateQty], [t].[UpdateTime], [t].[VendBatch], [t].[VendId], [t].[Version], [t].[VinState]
FROM [TS_STOCK_DETAIL] AS [t]
WHERE (([t].[BarCode] = @___barcode_0) AND ([t].[LocCode] = @__part_DefaultReceiveLocCode_1)) AND ([t].[State] = 2)
2022-02-24 18:28:02.829 +08:00 [INF] Executed action method WmsWebApi.PPlan.PurchaseService.AddAsync (WmsWebApi.Application), returned result Microsoft.AspNetCore.Mvc.ObjectResult in 985.3648ms.
2022-02-24 18:28:02.931 +08:00 [INF] Executed DbCommand (16ms) [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='?' (DbType = Int32), @p20='?' (Size = 50), @p21='?' (Size = 50), @p22='?' (Size = 50), @p23='?' (Size = 50), @p24='?' (Size = 50), @p25='?' (Size = 4000), @p26='?' (Size = 4000), @p27='?' (Size = 4000), @p28='?' (Size = 4000), @p29='?' (Precision = 18) (Scale = 6) (DbType = Decimal), @p30='?' (Precision = 18) (Scale = 6) (DbType = Decimal), @p31='?' (Size = 4000), @p32='?' (Size = 50), @p33='?' (Size = 50), @p34='?' (DbType = DateTime2), @p35='?' (Precision = 18) (Scale = 6) (DbType = Decimal), @p36='?' (DbType = DateTime2), @p37='?' (Size = 4000), @p38='?' (Precision = 18) (Scale = 6) (DbType = Decimal), @p39='?' (Size = 4000), @p40='?' (DbType = Int32), @p41='?' (Size = 4000), @p42='?' (Size = 4000), @p43='?' (Size = 4000), @p44='?' (Size = 4000), @p45='?' (Size = 4000), @p46='?' (Size = 4000), @p47='?' (Size = 50), @p48='?' (DbType = Int32), @p49='?' (Size = 4000), @p50='?' (Size = 4000), @p51='?' (DbType = DateTime2), @p52='?' (Size = 80), @p53='?' (Size = 4000), @p54='?' (Precision = 18) (Scale = 6) (DbType = Decimal), @p55='?' (Size = 500), @p56='?' (DbType = Int32), @p57='?' (DbType = Int32), @p58='?' (DbType = Int32), @p59='?' (Size = 4000), @p60='?' (DbType = Guid), @p61='?' (Size = 4000), @p62='?' (DbType = DateTime2), @p63='?' (Size = 4000), @p64='?' (Size = 4000), @p65='?' (Size = 10), @p66='?' (Size = 10)], 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], [State], [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, @p22);
SELECT [UID]
FROM [TB_BILL]
WHERE @@ROWCOUNT = 1 AND [UID] = scope_identity();
INSERT INTO [TB_PRODUCT_RECEIVE] ([BarCode], [BillNum], [Batch], [CellCode], [EqptCode], [FromLocCode], [GoodQty], [InvalidQty], [LineId], [PartCode], [PpBillNum], [ProduceDate], [Qty], [ReceiveDate], [Remark], [ScrapQty], [ShiftName], [State], [TeamName], [ToLocCode], [TraceBackCode], [Unit])
VALUES (@p23, @p24, @p25, @p26, @p27, @p28, @p29, @p30, @p31, @p32, @p33, @p34, @p35, @p36, @p37, @p38, @p39, @p40, @p41, @p42, @p43, @p44);
SELECT [UID]
FROM [TB_PRODUCT_RECEIVE]
WHERE @@ROWCOUNT = 1 AND [BarCode] = @p23 AND [BillNum] = @p24;
INSERT INTO [TL_TRANSACTION] ([BarCode], [Batch], [BillNum], [BillType], [EqptCode], [LocCode], [LogTime], [OperName], [PartCode], [Qty], [Remark], [State], [SubBillType], [TransType], [VendId])
VALUES (@p45, @p46, @p47, @p48, @p49, @p50, @p51, @p52, @p53, @p54, @p55, @p56, @p57, @p58, @p59);
SELECT [UID]
FROM [TL_TRANSACTION]
WHERE @@ROWCOUNT = 1 AND [UID] = scope_identity();
INSERT INTO [WmsWebApiPURCHASEDTO] ([Id], [BUDAT], [DYSJ], [ITYPE], [JSON], [MBLNR], [MJAHR])
VALUES (@p60, @p61, @p62, @p63, @p64, @p65, @p66);
2022-02-24 18:28:03.034 +08:00 [DBG] Added 0 entity changes to the current audit log
2022-02-24 18:28:03.034 +08:00 [DBG] Added 0 entity changes to the current audit log
2022-02-24 18:28:03.196 +08:00 [INF] Executing ObjectResult, writing value of type 'WmsWebApi.PPlan.ReturnResult'.
2022-02-24 18:28:03.197 +08:00 [INF] Executed action WmsWebApi.PPlan.PurchaseService.AddAsync (WmsWebApi.Application) in 1545.0423ms
2022-02-24 18:28:03.197 +08:00 [INF] Executed endpoint 'WmsWebApi.PPlan.PurchaseService.AddAsync (WmsWebApi.Application)'
2022-02-24 18:28:03.201 +08:00 [INF] Entity Framework Core 5.0.14 initialized 'AbpAuditLoggingDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: QuerySplittingBehavior=SplitQuery
2022-02-24 18:28:03.217 +08:00 [INF] Executed DbCommand (4ms) [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-24 18:28:03.220 +08:00 [INF] Executed DbCommand (2ms) [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-24 18:28:03.317 +08:00 [DBG] Added 0 entity changes to the current audit log
2022-02-24 18:28:03.317 +08:00 [DBG] Added 0 entity changes to the current audit log
2022-02-24 18:28:03.319 +08:00 [INF] Request finished HTTP/2 POST https://localhost:5000/api/Purchase/add application/json 323 - 200 - application/json;+charset=utf-8 1683.3905ms
2022-02-24 18:28:56.018 +08:00 [INF] Request starting HTTP/2 POST https://localhost:5000/api/Purchase/add application/json 323
2022-02-24 18:28:56.019 +08:00 [INF] CORS policy execution failed.
2022-02-24 18:28:56.019 +08:00 [INF] Request origin https://localhost:5000 does not have permission to access the resource.
2022-02-24 18:28:56.040 +08:00 [INF] Executing endpoint 'WmsWebApi.PPlan.PurchaseService.AddAsync (WmsWebApi.Application)'
2022-02-24 18:28:56.040 +08:00 [INF] Route matched with {action = "Add", controller = "Purchase", area = "", page = ""}. Executing controller action with signature System.Threading.Tasks.Task`1[WmsWebApi.PPlan.ReturnResult] AddAsync(System.Object) on controller WmsWebApi.PPlan.PurchaseService (WmsWebApi.Application).
2022-02-24 18:28:56.200 +08:00 [INF] Executing action method WmsWebApi.PPlan.PurchaseService.AddAsync (WmsWebApi.Application) - Validation state: "Valid"
2022-02-24 18:28:56.203 +08:00 [INF] Entity Framework Core 5.0.14 initialized 'WmsWebApiDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: QuerySplittingBehavior=SplitQuery
2022-02-24 18:28:56.256 +08:00 [INF] Executed DbCommand (30ms) [Parameters=[@___purchaseDto_MBLNR_0='?' (Size = 4000)], 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].[SourceBillNum2] = @___purchaseDto_MBLNR_0
2022-02-24 18:28:56.265 +08:00 [INF] Executed DbCommand (4ms) [Parameters=[@__item_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] = @__item_MATNR_0
2022-02-24 18:28:56.271 +08:00 [INF] Executed DbCommand (3ms) [Parameters=[@___barcode_0='?' (Size = 50), @__part_DefaultReceiveLocCode_1='?' (Size = 50)], CommandType='"Text"', CommandTimeout='30']
SELECT TOP(1) [t].[BarCode], [t].[LocCode], [t].[State], [t].[Amount], [t].[AreaCode], [t].[Batch], [t].[EqptCode], [t].[UID], [t].[OverdueDate], [t].[PartCode], [t].[PlanOrderId], [t].[ProduceDate], [t].[Qty], [t].[ReceiveDate], [t].[Remark], [t].[TracebackCode], [t].[UpdateQty], [t].[UpdateTime], [t].[VendBatch], [t].[VendId], [t].[Version], [t].[VinState]
FROM [TS_STOCK_DETAIL] AS [t]
WHERE (([t].[BarCode] = @___barcode_0) AND ([t].[LocCode] = @__part_DefaultReceiveLocCode_1)) AND ([t].[State] = 2)
2022-02-24 18:30:46.910 +08:00 [INF] Executed action method WmsWebApi.PPlan.PurchaseService.AddAsync (WmsWebApi.Application), returned result Microsoft.AspNetCore.Mvc.ObjectResult in 110709.3942ms.
2022-02-24 18:30:46.985 +08:00 [INF] Executed DbCommand (4ms) [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='?' (DbType = Int32), @p20='?' (Size = 50), @p21='?' (Size = 50), @p22='?' (Size = 50), @p23='?' (Size = 50), @p24='?' (Size = 50), @p25='?' (Size = 4000), @p26='?' (Size = 4000), @p27='?' (Size = 4000), @p28='?' (Size = 4000), @p29='?' (Precision = 18) (Scale = 6) (DbType = Decimal), @p30='?' (Precision = 18) (Scale = 6) (DbType = Decimal), @p31='?' (Size = 4000), @p32='?' (Size = 50), @p33='?' (Size = 50), @p34='?' (DbType = DateTime2), @p35='?' (Precision = 18) (Scale = 6) (DbType = Decimal), @p36='?' (DbType = DateTime2), @p37='?' (Size = 4000), @p38='?' (Precision = 18) (Scale = 6) (DbType = Decimal), @p39='?' (Size = 4000), @p40='?' (DbType = Int32), @p41='?' (Size = 4000), @p42='?' (Size = 4000), @p43='?' (Size = 4000), @p44='?' (Size = 4000), @p45='?' (Size = 4000), @p46='?' (Size = 4000), @p47='?' (Size = 50), @p48='?' (DbType = Int32), @p49='?' (Size = 4000), @p50='?' (Size = 4000), @p51='?' (DbType = DateTime2), @p52='?' (Size = 80), @p53='?' (Size = 4000), @p54='?' (Precision = 18) (Scale = 6) (DbType = Decimal), @p55='?' (Size = 500), @p56='?' (DbType = Int32), @p57='?' (DbType = Int32), @p58='?' (DbType = Int32), @p59='?' (Size = 4000), @p60='?' (DbType = Guid), @p61='?' (Size = 4000), @p62='?' (DbType = DateTime2), @p63='?' (Size = 4000), @p64='?' (Size = 4000), @p65='?' (Size = 10), @p66='?' (Size = 10)], 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], [State], [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, @p22);
SELECT [UID]
FROM [TB_BILL]
WHERE @@ROWCOUNT = 1 AND [UID] = scope_identity();
INSERT INTO [TB_PRODUCT_RECEIVE] ([BarCode], [BillNum], [Batch], [CellCode], [EqptCode], [FromLocCode], [GoodQty], [InvalidQty], [LineId], [PartCode], [PpBillNum], [ProduceDate], [Qty], [ReceiveDate], [Remark], [ScrapQty], [ShiftName], [State], [TeamName], [ToLocCode], [TraceBackCode], [Unit])
VALUES (@p23, @p24, @p25, @p26, @p27, @p28, @p29, @p30, @p31, @p32, @p33, @p34, @p35, @p36, @p37, @p38, @p39, @p40, @p41, @p42, @p43, @p44);
SELECT [UID]
FROM [TB_PRODUCT_RECEIVE]
WHERE @@ROWCOUNT = 1 AND [BarCode] = @p23 AND [BillNum] = @p24;
INSERT INTO [TL_TRANSACTION] ([BarCode], [Batch], [BillNum], [BillType], [EqptCode], [LocCode], [LogTime], [OperName], [PartCode], [Qty], [Remark], [State], [SubBillType], [TransType], [VendId])
VALUES (@p45, @p46, @p47, @p48, @p49, @p50, @p51, @p52, @p53, @p54, @p55, @p56, @p57, @p58, @p59);
SELECT [UID]
FROM [TL_TRANSACTION]
WHERE @@ROWCOUNT = 1 AND [UID] = scope_identity();
INSERT INTO [WmsWebApiPURCHASEDTO] ([Id], [BUDAT], [DYSJ], [ITYPE], [JSON], [MBLNR], [MJAHR])
VALUES (@p60, @p61, @p62, @p63, @p64, @p65, @p66);
2022-02-24 18:30:46.989 +08:00 [DBG] Added 0 entity changes to the current audit log
2022-02-24 18:30:46.989 +08:00 [DBG] Added 0 entity changes to the current audit log
2022-02-24 18:30:47.119 +08:00 [INF] Executing ObjectResult, writing value of type 'WmsWebApi.PPlan.ReturnResult'.
2022-02-24 18:30:47.120 +08:00 [INF] Executed action WmsWebApi.PPlan.PurchaseService.AddAsync (WmsWebApi.Application) in 111079.1373ms
2022-02-24 18:30:47.120 +08:00 [INF] Executed endpoint 'WmsWebApi.PPlan.PurchaseService.AddAsync (WmsWebApi.Application)'
2022-02-24 18:30:47.121 +08:00 [INF] Entity Framework Core 5.0.14 initialized 'AbpAuditLoggingDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: QuerySplittingBehavior=SplitQuery
2022-02-24 18:30:47.131 +08:00 [INF] Executed DbCommand (2ms) [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-24 18:30:47.142 +08:00 [INF] Executed DbCommand (10ms) [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-24 18:30:47.156 +08:00 [DBG] Added 0 entity changes to the current audit log
2022-02-24 18:30:47.156 +08:00 [DBG] Added 0 entity changes to the current audit log
2022-02-24 18:30:47.157 +08:00 [INF] Request finished HTTP/2 POST https://localhost:5000/api/Purchase/add application/json 323 - 200 - application/json;+charset=utf-8 111139.0726ms
2022-02-24 18:31:20.731 +08:00 [INF] Starting web host.
2022-02-24 18:31:35.605 +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-24 18:31:36.060 +08:00 [INF] Loaded ABP modules:
2022-02-24 18:31:36.060 +08:00 [INF] - WmsWebApi.WmsWebApiHttpApiHostModule
2022-02-24 18:31:36.060 +08:00 [INF] - WmsWebApi.WmsWebApiApplicationModule
2022-02-24 18:31:36.060 +08:00 [INF] - WmsWebApi.WmsWebApiDomainModule
2022-02-24 18:31:36.060 +08:00 [INF] - Volo.Abp.Domain.AbpDddDomainModule
2022-02-24 18:31:36.060 +08:00 [INF] - Volo.Abp.Auditing.AbpAuditingModule
2022-02-24 18:31:36.061 +08:00 [INF] - Volo.Abp.Data.AbpDataModule
2022-02-24 18:31:36.061 +08:00 [INF] - Volo.Abp.ObjectExtending.AbpObjectExtendingModule
2022-02-24 18:31:36.061 +08:00 [INF] - Volo.Abp.Localization.AbpLocalizationAbstractionsModule
2022-02-24 18:31:36.061 +08:00 [INF] - Volo.Abp.Validation.AbpValidationAbstractionsModule
2022-02-24 18:31:36.061 +08:00 [INF] - Volo.Abp.Uow.AbpUnitOfWorkModule
2022-02-24 18:31:36.061 +08:00 [INF] - Volo.Abp.EventBus.Abstractions.AbpEventBusAbstractionsModule
2022-02-24 18:31:36.061 +08:00 [INF] - Volo.Abp.Json.AbpJsonModule
2022-02-24 18:31:36.061 +08:00 [INF] - Volo.Abp.Timing.AbpTimingModule
2022-02-24 18:31:36.061 +08:00 [INF] - Volo.Abp.Localization.AbpLocalizationModule
2022-02-24 18:31:36.061 +08:00 [INF] - Volo.Abp.VirtualFileSystem.AbpVirtualFileSystemModule
2022-02-24 18:31:36.061 +08:00 [INF] - Volo.Abp.Settings.AbpSettingsModule
2022-02-24 18:31:36.061 +08:00 [INF] - Volo.Abp.Security.AbpSecurityModule
2022-02-24 18:31:36.061 +08:00 [INF] - Volo.Abp.MultiTenancy.AbpMultiTenancyModule
2022-02-24 18:31:36.061 +08:00 [INF] - Volo.Abp.Threading.AbpThreadingModule
2022-02-24 18:31:36.061 +08:00 [INF] - Volo.Abp.EventBus.AbpEventBusModule
2022-02-24 18:31:36.061 +08:00 [INF] - Volo.Abp.Guids.AbpGuidsModule
2022-02-24 18:31:36.061 +08:00 [INF] - Volo.Abp.ObjectMapping.AbpObjectMappingModule
2022-02-24 18:31:36.061 +08:00 [INF] - Volo.Abp.ExceptionHandling.AbpExceptionHandlingModule
2022-02-24 18:31:36.061 +08:00 [INF] - Volo.Abp.Specifications.AbpSpecificationsModule
2022-02-24 18:31:36.061 +08:00 [INF] - WmsWebApi.WmsWebApiDomainSharedModule
2022-02-24 18:31:36.061 +08:00 [INF] - Volo.Abp.Validation.AbpValidationModule
2022-02-24 18:31:36.061 +08:00 [INF] - WmsWebApi.WmsWebApiApplicationContractsModule
2022-02-24 18:31:36.061 +08:00 [INF] - Volo.Abp.Application.AbpDddApplicationContractsModule
2022-02-24 18:31:36.061 +08:00 [INF] - Volo.Abp.Authorization.AbpAuthorizationModule
2022-02-24 18:31:36.061 +08:00 [INF] - Volo.Abp.Authorization.AbpAuthorizationAbstractionsModule
2022-02-24 18:31:36.061 +08:00 [INF] - Volo.Abp.Application.AbpDddApplicationModule
2022-02-24 18:31:36.061 +08:00 [INF] - Volo.Abp.Http.AbpHttpAbstractionsModule
2022-02-24 18:31:36.061 +08:00 [INF] - Volo.Abp.Features.AbpFeaturesModule
2022-02-24 18:31:36.062 +08:00 [INF] - Volo.Abp.GlobalFeatures.AbpGlobalFeaturesModule
2022-02-24 18:31:36.062 +08:00 [INF] - Volo.Abp.AutoMapper.AbpAutoMapperModule
2022-02-24 18:31:36.062 +08:00 [INF] - WmsWebApi.EntityFrameworkCore.WmsWebApiEntityFrameworkCoreModule
2022-02-24 18:31:36.062 +08:00 [INF] - Volo.Abp.EntityFrameworkCore.AbpEntityFrameworkCoreModule
2022-02-24 18:31:36.062 +08:00 [INF] - Volo.Abp.Dapper.AbpDapperModule
2022-02-24 18:31:36.062 +08:00 [INF] - WmsWebApi.WmsWebApiHttpApiModule
2022-02-24 18:31:36.062 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.AbpAspNetCoreMvcModule
2022-02-24 18:31:36.062 +08:00 [INF] - Volo.Abp.AspNetCore.AbpAspNetCoreModule
2022-02-24 18:31:36.062 +08:00 [INF] - Volo.Abp.Http.AbpHttpModule
2022-02-24 18:31:36.062 +08:00 [INF] - Volo.Abp.Minify.AbpMinifyModule
2022-02-24 18:31:36.062 +08:00 [INF] - Volo.Abp.ApiVersioning.AbpApiVersioningAbstractionsModule
2022-02-24 18:31:36.062 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.AbpAspNetCoreMvcContractsModule
2022-02-24 18:31:36.062 +08:00 [INF] - Volo.Abp.UI.Navigation.AbpUiNavigationModule
2022-02-24 18:31:36.062 +08:00 [INF] - Volo.Abp.UI.AbpUiModule
2022-02-24 18:31:36.062 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.MultiTenancy.AbpAspNetCoreMvcUiMultiTenancyModule
2022-02-24 18:31:36.062 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Theme.Shared.AbpAspNetCoreMvcUiThemeSharedModule
2022-02-24 18:31:36.062 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.AbpAspNetCoreMvcUiBootstrapModule
2022-02-24 18:31:36.062 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.AbpAspNetCoreMvcUiModule
2022-02-24 18:31:36.062 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Packages.AbpAspNetCoreMvcUiPackagesModule
2022-02-24 18:31:36.062 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Bundling.AbpAspNetCoreMvcUiBundlingAbstractionsModule
2022-02-24 18:31:36.062 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Widgets.AbpAspNetCoreMvcUiWidgetsModule
2022-02-24 18:31:36.062 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Bundling.AbpAspNetCoreMvcUiBundlingModule
2022-02-24 18:31:36.062 +08:00 [INF] - Volo.Abp.AspNetCore.MultiTenancy.AbpAspNetCoreMultiTenancyModule
2022-02-24 18:31:36.062 +08:00 [INF] - Volo.Abp.Autofac.AbpAutofacModule
2022-02-24 18:31:36.062 +08:00 [INF] - Volo.Abp.Castle.AbpCastleCoreModule
2022-02-24 18:31:36.062 +08:00 [INF] - Volo.Abp.Caching.StackExchangeRedis.AbpCachingStackExchangeRedisModule
2022-02-24 18:31:36.062 +08:00 [INF] - Volo.Abp.Caching.AbpCachingModule
2022-02-24 18:31:36.062 +08:00 [INF] - Volo.Abp.Serialization.AbpSerializationModule
2022-02-24 18:31:36.062 +08:00 [INF] - Volo.Abp.EntityFrameworkCore.SqlServer.AbpEntityFrameworkCoreSqlServerModule
2022-02-24 18:31:36.062 +08:00 [INF] - Volo.Abp.AuditLogging.EntityFrameworkCore.AbpAuditLoggingEntityFrameworkCoreModule
2022-02-24 18:31:36.062 +08:00 [INF] - Volo.Abp.AuditLogging.AbpAuditLoggingDomainModule
2022-02-24 18:31:36.062 +08:00 [INF] - Volo.Abp.AuditLogging.AbpAuditLoggingDomainSharedModule
2022-02-24 18:31:36.062 +08:00 [INF] - Volo.Abp.PermissionManagement.EntityFrameworkCore.AbpPermissionManagementEntityFrameworkCoreModule
2022-02-24 18:31:36.062 +08:00 [INF] - Volo.Abp.PermissionManagement.AbpPermissionManagementDomainModule
2022-02-24 18:31:36.062 +08:00 [INF] - Volo.Abp.PermissionManagement.AbpPermissionManagementDomainSharedModule
2022-02-24 18:31:36.062 +08:00 [INF] - Volo.Abp.SettingManagement.EntityFrameworkCore.AbpSettingManagementEntityFrameworkCoreModule
2022-02-24 18:31:36.062 +08:00 [INF] - Volo.Abp.SettingManagement.AbpSettingManagementDomainModule
2022-02-24 18:31:36.062 +08:00 [INF] - Volo.Abp.SettingManagement.AbpSettingManagementDomainSharedModule
2022-02-24 18:31:36.062 +08:00 [INF] - Volo.Abp.AspNetCore.Serilog.AbpAspNetCoreSerilogModule
2022-02-24 18:31:36.062 +08:00 [INF] - Volo.Abp.Swashbuckle.AbpSwashbuckleModule
2022-02-24 18:31:38.324 +08:00 [INF] Initialized all ABP modules.
2022-02-24 18:31:39.560 +08:00 [INF] Now listening on: https://localhost:5000
2022-02-24 18:31:39.561 +08:00 [INF] Application started. Press Ctrl+C to shut down.
2022-02-24 18:31:39.561 +08:00 [INF] Hosting environment: Development
2022-02-24 18:31:39.561 +08:00 [INF] Content root path: D:\工作\派格\接口程序\WmsWebApi\host\WmsWebApi.HttpApi.Host
2022-02-24 18:31:50.912 +08:00 [INF] Request starting HTTP/2 GET https://localhost:5000/ - -
2022-02-24 18:31:59.579 +08:00 [INF] Executing endpoint 'WmsWebApi.Controllers.HomeController.Index (WmsWebApi.HttpApi.Host)'
2022-02-24 18:31:59.834 +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-24 18:32:00.533 +08:00 [INF] Executing action method WmsWebApi.Controllers.HomeController.Index (WmsWebApi.HttpApi.Host) - Validation state: "Valid"
2022-02-24 18:32:00.550 +08:00 [INF] Executed action method WmsWebApi.Controllers.HomeController.Index (WmsWebApi.HttpApi.Host), returned result Microsoft.AspNetCore.Mvc.RedirectResult in 0.843ms.
2022-02-24 18:32:00.565 +08:00 [INF] Executing RedirectResult, redirecting to /swagger.
2022-02-24 18:32:00.585 +08:00 [INF] Executed action WmsWebApi.Controllers.HomeController.Index (WmsWebApi.HttpApi.Host) in 732.5098ms
2022-02-24 18:32:00.585 +08:00 [INF] Executed endpoint 'WmsWebApi.Controllers.HomeController.Index (WmsWebApi.HttpApi.Host)'
2022-02-24 18:32:00.681 +08:00 [INF] Request starting HTTP/2 GET https://localhost:5000/swagger/index.html - -
2022-02-24 18:32:00.689 +08:00 [INF] Request finished HTTP/2 GET https://localhost:5000/ - - - 302 0 - 9780.6910ms
2022-02-24 18:32:01.252 +08:00 [INF] Request finished HTTP/2 GET https://localhost:5000/swagger/index.html - - - 200 - text/html;charset=utf-8 570.5569ms
2022-02-24 18:32:01.919 +08:00 [INF] Request starting HTTP/2 GET https://localhost:5000/_framework/aspnetcore-browser-refresh.js - -
2022-02-24 18:32:01.929 +08:00 [INF] Request finished HTTP/2 GET https://localhost:5000/_framework/aspnetcore-browser-refresh.js - - - 200 11956 application/javascript;+charset=utf-8 8.8194ms
2022-02-24 18:32:02.689 +08:00 [INF] Request starting HTTP/2 GET https://localhost:5000/swagger/v1/swagger.json - -
2022-02-24 18:32:03.347 +08:00 [INF] Request finished HTTP/2 GET https://localhost:5000/swagger/v1/swagger.json - - - 200 - application/json;charset=utf-8 657.6269ms
2022-02-24 18:39:52.124 +08:00 [INF] Request starting HTTP/2 GET https://localhost:5000/abp/Swashbuckle/SetCsrfCookie application/json -
2022-02-24 18:39:52.152 +08:00 [INF] Executing endpoint 'Volo.Abp.Swashbuckle.AbpSwashbuckleController.SetCsrfCookie (Volo.Abp.Swashbuckle)'
2022-02-24 18:39:52.159 +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-24 18:39:52.387 +08:00 [INF] Executing action method Volo.Abp.Swashbuckle.AbpSwashbuckleController.SetCsrfCookie (Volo.Abp.Swashbuckle) - Validation state: "Valid"
2022-02-24 18:39:52.423 +08:00 [INF] Executed action method Volo.Abp.Swashbuckle.AbpSwashbuckleController.SetCsrfCookie (Volo.Abp.Swashbuckle), returned result Microsoft.AspNetCore.Mvc.EmptyResult in 35.7465ms.
2022-02-24 18:39:52.425 +08:00 [INF] Executed action Volo.Abp.Swashbuckle.AbpSwashbuckleController.SetCsrfCookie (Volo.Abp.Swashbuckle) in 265.6131ms
2022-02-24 18:39:52.425 +08:00 [INF] Executed endpoint 'Volo.Abp.Swashbuckle.AbpSwashbuckleController.SetCsrfCookie (Volo.Abp.Swashbuckle)'
2022-02-24 18:39:52.426 +08:00 [INF] Request finished HTTP/2 GET https://localhost:5000/abp/Swashbuckle/SetCsrfCookie application/json - - 204 - - 304.2413ms
2022-02-24 18:39:52.651 +08:00 [INF] Request starting HTTP/2 POST https://localhost:5000/api/Purchase/add application/json 323
2022-02-24 18:39:52.767 +08:00 [INF] CORS policy execution failed.
2022-02-24 18:39:52.768 +08:00 [INF] Request origin https://localhost:5000 does not have permission to access the resource.
2022-02-24 18:39:52.776 +08:00 [INF] Executing endpoint 'WmsWebApi.PPlan.PurchaseService.AddAsync (WmsWebApi.Application)'
2022-02-24 18:39:52.849 +08:00 [INF] Route matched with {action = "Add", controller = "Purchase", area = "", page = ""}. Executing controller action with signature System.Threading.Tasks.Task`1[WmsWebApi.PPlan.ReturnResult] AddAsync(System.Object) on controller WmsWebApi.PPlan.PurchaseService (WmsWebApi.Application).
2022-02-24 18:39:56.457 +08:00 [INF] Executing action method WmsWebApi.PPlan.PurchaseService.AddAsync (WmsWebApi.Application) - Validation state: "Valid"
2022-02-24 18:39:59.495 +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-24 18:39:59.496 +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-02-24 18:39:59.496 +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-02-24 18:39:59.496 +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-24 18:39:59.496 +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-24 18:39:59.496 +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-24 18:39:59.496 +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-24 18:39:59.497 +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-24 18:39:59.497 +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-24 18:39:59.497 +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-24 18:39:59.497 +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-24 18:39:59.497 +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-24 18:39:59.497 +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-24 18:39:59.497 +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-24 18:39:59.497 +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-24 18:39:59.498 +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-24 18:39:59.498 +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-24 18:39:59.498 +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-24 18:39:59.498 +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-24 18:39:59.498 +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-24 18:39:59.498 +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-24 18:40:00.170 +08:00 [INF] Entity Framework Core 5.0.14 initialized 'WmsWebApiDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: QuerySplittingBehavior=SplitQuery
2022-02-24 18:40:03.870 +08:00 [INF] Executed DbCommand (220ms) [Parameters=[@___purchaseDto_MBLNR_0='?' (Size = 4000)], 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].[SourceBillNum2] = @___purchaseDto_MBLNR_0
2022-02-24 18:40:04.126 +08:00 [INF] Executed DbCommand (10ms) [Parameters=[@__item_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] = @__item_MATNR_0
2022-02-24 18:40:04.769 +08:00 [INF] Executed DbCommand (5ms) [Parameters=[@___barcode_0='?' (Size = 50), @__part_DefaultReceiveLocCode_1='?' (Size = 50)], CommandType='"Text"', CommandTimeout='30']
SELECT TOP(1) [t].[BarCode], [t].[LocCode], [t].[State], [t].[Amount], [t].[AreaCode], [t].[Batch], [t].[EqptCode], [t].[UID], [t].[OverdueDate], [t].[PartCode], [t].[PlanOrderId], [t].[ProduceDate], [t].[Qty], [t].[ReceiveDate], [t].[Remark], [t].[TracebackCode], [t].[UpdateQty], [t].[UpdateTime], [t].[VendBatch], [t].[VendId], [t].[Version], [t].[VinState]
FROM [TS_STOCK_DETAIL] AS [t]
WHERE (([t].[BarCode] = @___barcode_0) AND ([t].[LocCode] = @__part_DefaultReceiveLocCode_1)) AND ([t].[State] = 2)
2022-02-24 18:40:52.462 +08:00 [INF] Executed action method WmsWebApi.PPlan.PurchaseService.AddAsync (WmsWebApi.Application), returned result Microsoft.AspNetCore.Mvc.ObjectResult in 56005.0989ms.
2022-02-24 18:40:53.408 +08:00 [INF] Executed DbCommand (40ms) [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='?' (DbType = Int32), @p20='?' (Size = 50), @p21='?' (Size = 50), @p22='?' (Size = 50), @p23='?' (Size = 50), @p24='?' (Size = 50), @p25='?' (Size = 4000), @p26='?' (Size = 4000), @p27='?' (Size = 4000), @p28='?' (Size = 4000), @p29='?' (Precision = 18) (Scale = 6) (DbType = Decimal), @p30='?' (Precision = 18) (Scale = 6) (DbType = Decimal), @p31='?' (Size = 4000), @p32='?' (Size = 50), @p33='?' (Size = 50), @p34='?' (DbType = DateTime2), @p35='?' (Precision = 18) (Scale = 6) (DbType = Decimal), @p36='?' (DbType = DateTime2), @p37='?' (Size = 4000), @p38='?' (Precision = 18) (Scale = 6) (DbType = Decimal), @p39='?' (Size = 4000), @p40='?' (DbType = Int32), @p41='?' (Size = 4000), @p42='?' (Size = 4000), @p43='?' (Size = 4000), @p44='?' (Size = 4000), @p45='?' (Size = 4000), @p46='?' (Size = 4000), @p47='?' (Size = 50), @p48='?' (DbType = Int32), @p49='?' (Size = 4000), @p50='?' (Size = 4000), @p51='?' (DbType = DateTime2), @p52='?' (Size = 80), @p53='?' (Size = 4000), @p54='?' (Precision = 18) (Scale = 6) (DbType = Decimal), @p55='?' (Size = 500), @p56='?' (DbType = Int32), @p57='?' (DbType = Int32), @p58='?' (DbType = Int32), @p59='?' (Size = 4000), @p60='?' (DbType = Guid), @p61='?' (Size = 4000), @p62='?' (DbType = DateTime2), @p63='?' (Size = 4000), @p64='?' (Size = 4000), @p65='?' (Size = 10), @p66='?' (Size = 10)], 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], [State], [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, @p22);
SELECT [UID]
FROM [TB_BILL]
WHERE @@ROWCOUNT = 1 AND [UID] = scope_identity();
INSERT INTO [TB_PRODUCT_RECEIVE] ([BarCode], [BillNum], [Batch], [CellCode], [EqptCode], [FromLocCode], [GoodQty], [InvalidQty], [LineId], [PartCode], [PpBillNum], [ProduceDate], [Qty], [ReceiveDate], [Remark], [ScrapQty], [ShiftName], [State], [TeamName], [ToLocCode], [TraceBackCode], [Unit])
VALUES (@p23, @p24, @p25, @p26, @p27, @p28, @p29, @p30, @p31, @p32, @p33, @p34, @p35, @p36, @p37, @p38, @p39, @p40, @p41, @p42, @p43, @p44);
SELECT [UID]
FROM [TB_PRODUCT_RECEIVE]
WHERE @@ROWCOUNT = 1 AND [BarCode] = @p23 AND [BillNum] = @p24;
INSERT INTO [TL_TRANSACTION] ([BarCode], [Batch], [BillNum], [BillType], [EqptCode], [LocCode], [LogTime], [OperName], [PartCode], [Qty], [Remark], [State], [SubBillType], [TransType], [VendId])
VALUES (@p45, @p46, @p47, @p48, @p49, @p50, @p51, @p52, @p53, @p54, @p55, @p56, @p57, @p58, @p59);
SELECT [UID]
FROM [TL_TRANSACTION]
WHERE @@ROWCOUNT = 1 AND [UID] = scope_identity();
INSERT INTO [WmsWebApiPURCHASEDTO] ([Id], [BUDAT], [DYSJ], [ITYPE], [JSON], [MBLNR], [MJAHR])
VALUES (@p60, @p61, @p62, @p63, @p64, @p65, @p66);
2022-02-24 18:40:53.883 +08:00 [DBG] Added 0 entity changes to the current audit log
2022-02-24 18:40:53.884 +08:00 [DBG] Added 0 entity changes to the current audit log
2022-02-24 18:40:54.114 +08:00 [INF] Executing ObjectResult, writing value of type 'WmsWebApi.PPlan.ReturnResult'.
2022-02-24 18:40:54.178 +08:00 [INF] Executed action WmsWebApi.PPlan.PurchaseService.AddAsync (WmsWebApi.Application) in 61329.3123ms
2022-02-24 18:40:54.180 +08:00 [INF] Executed endpoint 'WmsWebApi.PPlan.PurchaseService.AddAsync (WmsWebApi.Application)'
2022-02-24 18:40:55.294 +08:00 [INF] Entity Framework Core 5.0.14 initialized 'AbpAuditLoggingDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: QuerySplittingBehavior=SplitQuery
2022-02-24 18:40:55.683 +08:00 [INF] Executed DbCommand (6ms) [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-24 18:40:55.689 +08:00 [INF] Executed DbCommand (4ms) [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-24 18:40:55.717 +08:00 [DBG] Added 0 entity changes to the current audit log
2022-02-24 18:40:55.717 +08:00 [DBG] Added 0 entity changes to the current audit log
2022-02-24 18:40:55.727 +08:00 [INF] Request finished HTTP/2 POST https://localhost:5000/api/Purchase/add application/json 323 - 200 - application/json;+charset=utf-8 63076.2363ms
2022-02-24 18:42:42.978 +08:00 [INF] Request starting HTTP/2 POST https://localhost:5000/api/bom/add application/json 712
2022-02-24 18:42:42.982 +08:00 [INF] CORS policy execution failed.
2022-02-24 18:42:42.983 +08:00 [INF] Request origin https://localhost:5000 does not have permission to access the resource.
2022-02-24 18:42:42.991 +08:00 [INF] Executing endpoint 'WmsWebApi.Boms.BomService.AddAsync (WmsWebApi.Application)'
2022-02-24 18:42:43.002 +08:00 [INF] Route matched with {action = "Add", controller = "Bom", area = "", page = ""}. Executing controller action with signature System.Threading.Tasks.Task`1[WmsWebApi.Boms.ReturnResult] AddAsync(System.Object) on controller WmsWebApi.Boms.BomService (WmsWebApi.Application).
2022-02-24 18:42:46.186 +08:00 [INF] Executing action method WmsWebApi.Boms.BomService.AddAsync (WmsWebApi.Application) - Validation state: "Valid"
2022-02-24 18:42:46.437 +08:00 [INF] Entity Framework Core 5.0.14 initialized 'WmsWebApiDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: QuerySplittingBehavior=SplitQuery
2022-02-24 18:42:46.553 +08:00 [INF] Executed DbCommand (9ms) [Parameters=[@___bom_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] = @___bom_MATNR_0
2022-02-24 18:42:46.662 +08:00 [INF] Executed DbCommand (4ms) [Parameters=[@__p_0='?' (Size = 50)], CommandType='"Text"', CommandTimeout='30']
SELECT CASE
WHEN EXISTS (
SELECT 1
FROM [TM_PG_PARTGROUP] AS [t]
WHERE ([t].[IsBom] = CAST(1 AS bit)) AND ([t].[PARTGROUP] = @__p_0)) THEN CAST(1 AS bit)
ELSE CAST(0 AS bit)
END
2022-02-24 18:42:50.567 +08:00 [INF] Executed action method WmsWebApi.Boms.BomService.AddAsync (WmsWebApi.Application), returned result Microsoft.AspNetCore.Mvc.ObjectResult in 4380.8638ms.
2022-02-24 18:42:50.668 +08:00 [INF] Executed DbCommand (19ms) [Parameters=[@p0='?' (DbType = Guid), @p1='?' (Precision = 18) (Scale = 2) (DbType = Decimal), @p2='?' (Size = 4000), @p3='?' (DbType = DateTime2), @p4='?' (Size = 4000), @p5='?' (Size = 4000), @p6='?' (Size = 4000), @p7='?' (Size = 50), @p8='?' (Size = 20), @p9='?' (Size = 4000), @p10='?' (Size = 4000), @p11='?' (Size = 4000), @p12='?' (Size = 4000), @p13='?' (DbType = Guid), @p14='?' (Precision = 18) (Scale = 2) (DbType = Decimal), @p15='?' (Size = 4000), @p16='?' (DbType = Boolean), @p17='?' (DbType = Boolean), @p18='?' (Size = 4000), @p19='?' (Size = 50), @p20='?' (Size = 20), @p21='?' (Size = 4000), @p22='?' (Size = 4000), @p23='?' (Size = 4000), @p24='?' (Size = 4000), @p25='?' (DbType = Guid), @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='?' (Size = 4000), @p36='?' (Precision = 18) (Scale = 2) (DbType = Decimal), @p37='?' (DbType = Guid), @p38='?' (Size = 10), @p39='?' (Size = 4000), @p40='?' (Size = 4000), @p41='?' (Size = 4000), @p42='?' (Size = 4000), @p43='?' (DbType = Guid), @p44='?' (Size = 4000), @p45='?' (Size = 4000), @p46='?' (Size = 4000), @p47='?' (Size = 4000), @p48='?' (Size = 4000), @p49='?' (Size = 4000), @p50='?' (Size = 4000), @p51='?' (Size = 4000), @p52='?' (Size = 4000), @p53='?' (Size = 4000), @p54='?' (Precision = 18) (Scale = 2) (DbType = Decimal), @p55='?' (DbType = Guid), @p56='?' (Size = 10), @p57='?' (Size = 4000), @p58='?' (Size = 4000), @p59='?' (Size = 4000), @p60='?' (Size = 4000)], CommandType='"Text"', CommandTimeout='30']
SET NOCOUNT ON;
INSERT INTO [WmsWebApiBOMDTO] ([Id], [BMENG], [DATUV], [DYSJ], [ITYPE], [JSON], [LOEKZ], [MAKTX], [MATNR], [STLAL], [STLAN], [STLST], [WERKS])
VALUES (@p0, @p1, @p2, @p3, @p4, @p5, @p6, @p7, @p8, @p9, @p10, @p11, @p12);
INSERT INTO [WmsWebApiBom] ([Id], [BMENG], [DATUV], [IsDelete], [IsFisRead], [LOEKZ], [MAKTX], [MATNR], [STLAL], [STLAN], [STLST], [WERKS])
VALUES (@p13, @p14, @p15, @p16, @p17, @p18, @p19, @p20, @p21, @p22, @p23, @p24);
INSERT INTO [WmsWebApiBomDetail] ([Id], [ALPGR], [ALPRF], [ALPST], [DUMPS], [EWAHR], [IDNRK], [ITSOB], [LGORT], [MAKTX_1], [MEINS], [MENGE], [PId], [POSNR], [POSTP], [SANFE], [SANKA], [SORTF])
VALUES (@p25, @p26, @p27, @p28, @p29, @p30, @p31, @p32, @p33, @p34, @p35, @p36, @p37, @p38, @p39, @p40, @p41, @p42),
(@p43, @p44, @p45, @p46, @p47, @p48, @p49, @p50, @p51, @p52, @p53, @p54, @p55, @p56, @p57, @p58, @p59, @p60);
2022-02-24 18:42:50.690 +08:00 [DBG] Added 0 entity changes to the current audit log
2022-02-24 18:42:50.691 +08:00 [DBG] Added 0 entity changes to the current audit log
2022-02-24 18:42:50.720 +08:00 [INF] Executing ObjectResult, writing value of type 'WmsWebApi.Boms.ReturnResult'.
2022-02-24 18:42:50.726 +08:00 [INF] Executed action WmsWebApi.Boms.BomService.AddAsync (WmsWebApi.Application) in 7724.0352ms
2022-02-24 18:42:50.726 +08:00 [INF] Executed endpoint 'WmsWebApi.Boms.BomService.AddAsync (WmsWebApi.Application)'
2022-02-24 18:42:50.729 +08:00 [INF] Entity Framework Core 5.0.14 initialized 'AbpAuditLoggingDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: QuerySplittingBehavior=SplitQuery
2022-02-24 18:42:50.743 +08:00 [INF] Executed DbCommand (4ms) [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-24 18:42:50.746 +08:00 [INF] Executed DbCommand (2ms) [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-24 18:42:50.767 +08:00 [DBG] Added 0 entity changes to the current audit log
2022-02-24 18:42:50.767 +08:00 [DBG] Added 0 entity changes to the current audit log
2022-02-24 18:42:50.769 +08:00 [INF] Request finished HTTP/2 POST https://localhost:5000/api/bom/add application/json 712 - 200 - application/json;+charset=utf-8 7790.9714ms
2022-02-24 18:44:38.894 +08:00 [INF] Request starting HTTP/2 POST https://localhost:5000/api/part/add application/json 1919
2022-02-24 18:44:38.897 +08:00 [INF] CORS policy execution failed.
2022-02-24 18:44:38.898 +08:00 [INF] Request origin https://localhost:5000 does not have permission to access the resource.
2022-02-24 18:44:38.905 +08:00 [INF] Executing endpoint 'WmsWebApi.Parts.PartService.AddAsync (WmsWebApi.Application)'
2022-02-24 18:44:38.916 +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-02-24 18:44:40.346 +08:00 [INF] Executing action method WmsWebApi.Parts.PartService.AddAsync (WmsWebApi.Application) - Validation state: "Valid"
2022-02-24 18:44:40.583 +08:00 [INF] Entity Framework Core 5.0.14 initialized 'WmsWebApiDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: QuerySplittingBehavior=SplitQuery
2022-02-24 18:44:40.646 +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-02-24 18:44:40.736 +08:00 [INF] Executed DbCommand (4ms) [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-02-24 18:44:46.228 +08:00 [INF] Executed action method WmsWebApi.Parts.PartService.AddAsync (WmsWebApi.Application), returned result Microsoft.AspNetCore.Mvc.ObjectResult in 5882.3701ms.
2022-02-24 18:44:46.234 +08:00 [DBG] Added 0 entity changes to the current audit log
2022-02-24 18:44:46.238 +08:00 [INF] Executing ObjectResult, writing value of type 'WmsWebApi.Parts.ReturnResult'.
2022-02-24 18:44:46.244 +08:00 [INF] Executed action WmsWebApi.Parts.PartService.AddAsync (WmsWebApi.Application) in 7327.9374ms
2022-02-24 18:44:46.244 +08:00 [INF] Executed endpoint 'WmsWebApi.Parts.PartService.AddAsync (WmsWebApi.Application)'
2022-02-24 18:44:46.247 +08:00 [INF] Entity Framework Core 5.0.14 initialized 'AbpAuditLoggingDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: QuerySplittingBehavior=SplitQuery
2022-02-24 18:44:46.287 +08:00 [INF] Executed DbCommand (30ms) [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-24 18:44:46.291 +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-02-24 18:44:46.457 +08:00 [DBG] Added 0 entity changes to the current audit log
2022-02-24 18:44:46.457 +08:00 [DBG] Added 0 entity changes to the current audit log
2022-02-24 18:44:46.458 +08:00 [INF] Request finished HTTP/2 POST https://localhost:5000/api/part/add application/json 1919 - 200 - application/json;+charset=utf-8 7564.5441ms
2022-02-24 18:46:31.519 +08:00 [INF] Request starting HTTP/2 POST https://localhost:5000/api/part/add application/json 1919
2022-02-24 18:46:31.519 +08:00 [INF] CORS policy execution failed.
2022-02-24 18:46:31.530 +08:00 [INF] Request origin https://localhost:5000 does not have permission to access the resource.
2022-02-24 18:46:31.533 +08:00 [INF] Executing endpoint 'WmsWebApi.Parts.PartService.AddAsync (WmsWebApi.Application)'
2022-02-24 18:46:31.534 +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-02-24 18:46:31.600 +08:00 [INF] Executing action method WmsWebApi.Parts.PartService.AddAsync (WmsWebApi.Application) - Validation state: "Valid"
2022-02-24 18:46:31.601 +08:00 [INF] Entity Framework Core 5.0.14 initialized 'WmsWebApiDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: QuerySplittingBehavior=SplitQuery
2022-02-24 18:46:31.614 +08:00 [INF] Executed DbCommand (6ms) [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-02-24 18:46:31.618 +08:00 [INF] Executed DbCommand (3ms) [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-02-24 18:47:26.348 +08:00 [INF] Executed action method WmsWebApi.Parts.PartService.AddAsync (WmsWebApi.Application), returned result Microsoft.AspNetCore.Mvc.ObjectResult in 54748.7099ms.
2022-02-24 18:47:26.433 +08:00 [DBG] Added 0 entity changes to the current audit log
2022-02-24 18:47:26.436 +08:00 [INF] Executing ObjectResult, writing value of type 'WmsWebApi.Parts.ReturnResult'.
2022-02-24 18:47:26.436 +08:00 [INF] Executed action WmsWebApi.Parts.PartService.AddAsync (WmsWebApi.Application) in 54902.8081ms
2022-02-24 18:47:26.437 +08:00 [INF] Executed endpoint 'WmsWebApi.Parts.PartService.AddAsync (WmsWebApi.Application)'
2022-02-24 18:47:26.438 +08:00 [INF] Entity Framework Core 5.0.14 initialized 'AbpAuditLoggingDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: QuerySplittingBehavior=SplitQuery
2022-02-24 18:47:26.452 +08:00 [INF] Executed DbCommand (5ms) [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-24 18:47:26.455 +08:00 [INF] Executed DbCommand (2ms) [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-24 18:47:26.474 +08:00 [DBG] Added 0 entity changes to the current audit log
2022-02-24 18:47:26.474 +08:00 [DBG] Added 0 entity changes to the current audit log
2022-02-24 18:47:26.475 +08:00 [INF] Request finished HTTP/2 POST https://localhost:5000/api/part/add application/json 1919 - 200 - application/json;+charset=utf-8 54957.7883ms
2022-02-24 18:47:35.625 +08:00 [INF] Request starting HTTP/2 POST https://localhost:5000/api/part/add application/json 1919
2022-02-24 18:47:35.625 +08:00 [INF] CORS policy execution failed.
2022-02-24 18:47:35.625 +08:00 [INF] Request origin https://localhost:5000 does not have permission to access the resource.
2022-02-24 18:47:35.628 +08:00 [INF] Executing endpoint 'WmsWebApi.Parts.PartService.AddAsync (WmsWebApi.Application)'
2022-02-24 18:47:35.628 +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-02-24 18:47:35.683 +08:00 [INF] Executing action method WmsWebApi.Parts.PartService.AddAsync (WmsWebApi.Application) - Validation state: "Valid"
2022-02-24 18:47:35.685 +08:00 [INF] Entity Framework Core 5.0.14 initialized 'WmsWebApiDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: QuerySplittingBehavior=SplitQuery
2022-02-24 18:47:35.691 +08:00 [INF] Executed DbCommand (3ms) [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-02-24 18:47:35.697 +08:00 [INF] Executed DbCommand (3ms) [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-02-24 19:29:40.117 +08:00 [INF] Starting web host.
2022-02-24 19:29:52.121 +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-24 19:29:52.580 +08:00 [INF] Loaded ABP modules:
2022-02-24 19:29:52.580 +08:00 [INF] - WmsWebApi.WmsWebApiHttpApiHostModule
2022-02-24 19:29:52.580 +08:00 [INF] - WmsWebApi.WmsWebApiApplicationModule
2022-02-24 19:29:52.580 +08:00 [INF] - WmsWebApi.WmsWebApiDomainModule
2022-02-24 19:29:52.580 +08:00 [INF] - Volo.Abp.Domain.AbpDddDomainModule
2022-02-24 19:29:52.580 +08:00 [INF] - Volo.Abp.Auditing.AbpAuditingModule
2022-02-24 19:29:52.580 +08:00 [INF] - Volo.Abp.Data.AbpDataModule
2022-02-24 19:29:52.580 +08:00 [INF] - Volo.Abp.ObjectExtending.AbpObjectExtendingModule
2022-02-24 19:29:52.580 +08:00 [INF] - Volo.Abp.Localization.AbpLocalizationAbstractionsModule
2022-02-24 19:29:52.580 +08:00 [INF] - Volo.Abp.Validation.AbpValidationAbstractionsModule
2022-02-24 19:29:52.580 +08:00 [INF] - Volo.Abp.Uow.AbpUnitOfWorkModule
2022-02-24 19:29:52.580 +08:00 [INF] - Volo.Abp.EventBus.Abstractions.AbpEventBusAbstractionsModule
2022-02-24 19:29:52.580 +08:00 [INF] - Volo.Abp.Json.AbpJsonModule
2022-02-24 19:29:52.580 +08:00 [INF] - Volo.Abp.Timing.AbpTimingModule
2022-02-24 19:29:52.580 +08:00 [INF] - Volo.Abp.Localization.AbpLocalizationModule
2022-02-24 19:29:52.580 +08:00 [INF] - Volo.Abp.VirtualFileSystem.AbpVirtualFileSystemModule
2022-02-24 19:29:52.580 +08:00 [INF] - Volo.Abp.Settings.AbpSettingsModule
2022-02-24 19:29:52.580 +08:00 [INF] - Volo.Abp.Security.AbpSecurityModule
2022-02-24 19:29:52.580 +08:00 [INF] - Volo.Abp.MultiTenancy.AbpMultiTenancyModule
2022-02-24 19:29:52.580 +08:00 [INF] - Volo.Abp.Threading.AbpThreadingModule
2022-02-24 19:29:52.580 +08:00 [INF] - Volo.Abp.EventBus.AbpEventBusModule
2022-02-24 19:29:52.580 +08:00 [INF] - Volo.Abp.Guids.AbpGuidsModule
2022-02-24 19:29:52.580 +08:00 [INF] - Volo.Abp.ObjectMapping.AbpObjectMappingModule
2022-02-24 19:29:52.580 +08:00 [INF] - Volo.Abp.ExceptionHandling.AbpExceptionHandlingModule
2022-02-24 19:29:52.580 +08:00 [INF] - Volo.Abp.Specifications.AbpSpecificationsModule
2022-02-24 19:29:52.580 +08:00 [INF] - WmsWebApi.WmsWebApiDomainSharedModule
2022-02-24 19:29:52.580 +08:00 [INF] - Volo.Abp.Validation.AbpValidationModule
2022-02-24 19:29:52.580 +08:00 [INF] - WmsWebApi.WmsWebApiApplicationContractsModule
2022-02-24 19:29:52.580 +08:00 [INF] - Volo.Abp.Application.AbpDddApplicationContractsModule
2022-02-24 19:29:52.580 +08:00 [INF] - Volo.Abp.Authorization.AbpAuthorizationModule
2022-02-24 19:29:52.580 +08:00 [INF] - Volo.Abp.Authorization.AbpAuthorizationAbstractionsModule
2022-02-24 19:29:52.580 +08:00 [INF] - Volo.Abp.Application.AbpDddApplicationModule
2022-02-24 19:29:52.580 +08:00 [INF] - Volo.Abp.Http.AbpHttpAbstractionsModule
2022-02-24 19:29:52.580 +08:00 [INF] - Volo.Abp.Features.AbpFeaturesModule
2022-02-24 19:29:52.580 +08:00 [INF] - Volo.Abp.GlobalFeatures.AbpGlobalFeaturesModule
2022-02-24 19:29:52.580 +08:00 [INF] - Volo.Abp.AutoMapper.AbpAutoMapperModule
2022-02-24 19:29:52.581 +08:00 [INF] - WmsWebApi.EntityFrameworkCore.WmsWebApiEntityFrameworkCoreModule
2022-02-24 19:29:52.581 +08:00 [INF] - Volo.Abp.EntityFrameworkCore.AbpEntityFrameworkCoreModule
2022-02-24 19:29:52.581 +08:00 [INF] - Volo.Abp.Dapper.AbpDapperModule
2022-02-24 19:29:52.581 +08:00 [INF] - WmsWebApi.WmsWebApiHttpApiModule
2022-02-24 19:29:52.581 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.AbpAspNetCoreMvcModule
2022-02-24 19:29:52.581 +08:00 [INF] - Volo.Abp.AspNetCore.AbpAspNetCoreModule
2022-02-24 19:29:52.581 +08:00 [INF] - Volo.Abp.Http.AbpHttpModule
2022-02-24 19:29:52.581 +08:00 [INF] - Volo.Abp.Minify.AbpMinifyModule
2022-02-24 19:29:52.581 +08:00 [INF] - Volo.Abp.ApiVersioning.AbpApiVersioningAbstractionsModule
2022-02-24 19:29:52.581 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.AbpAspNetCoreMvcContractsModule
2022-02-24 19:29:52.581 +08:00 [INF] - Volo.Abp.UI.Navigation.AbpUiNavigationModule
2022-02-24 19:29:52.581 +08:00 [INF] - Volo.Abp.UI.AbpUiModule
2022-02-24 19:29:52.581 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.MultiTenancy.AbpAspNetCoreMvcUiMultiTenancyModule
2022-02-24 19:29:52.581 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Theme.Shared.AbpAspNetCoreMvcUiThemeSharedModule
2022-02-24 19:29:52.581 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.AbpAspNetCoreMvcUiBootstrapModule
2022-02-24 19:29:52.581 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.AbpAspNetCoreMvcUiModule
2022-02-24 19:29:52.581 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Packages.AbpAspNetCoreMvcUiPackagesModule
2022-02-24 19:29:52.581 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Bundling.AbpAspNetCoreMvcUiBundlingAbstractionsModule
2022-02-24 19:29:52.581 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Widgets.AbpAspNetCoreMvcUiWidgetsModule
2022-02-24 19:29:52.581 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Bundling.AbpAspNetCoreMvcUiBundlingModule
2022-02-24 19:29:52.581 +08:00 [INF] - Volo.Abp.AspNetCore.MultiTenancy.AbpAspNetCoreMultiTenancyModule
2022-02-24 19:29:52.581 +08:00 [INF] - Volo.Abp.Autofac.AbpAutofacModule
2022-02-24 19:29:52.581 +08:00 [INF] - Volo.Abp.Castle.AbpCastleCoreModule
2022-02-24 19:29:52.581 +08:00 [INF] - Volo.Abp.Caching.StackExchangeRedis.AbpCachingStackExchangeRedisModule
2022-02-24 19:29:52.581 +08:00 [INF] - Volo.Abp.Caching.AbpCachingModule
2022-02-24 19:29:52.581 +08:00 [INF] - Volo.Abp.Serialization.AbpSerializationModule
2022-02-24 19:29:52.581 +08:00 [INF] - Volo.Abp.EntityFrameworkCore.SqlServer.AbpEntityFrameworkCoreSqlServerModule
2022-02-24 19:29:52.581 +08:00 [INF] - Volo.Abp.AuditLogging.EntityFrameworkCore.AbpAuditLoggingEntityFrameworkCoreModule
2022-02-24 19:29:52.581 +08:00 [INF] - Volo.Abp.AuditLogging.AbpAuditLoggingDomainModule
2022-02-24 19:29:52.581 +08:00 [INF] - Volo.Abp.AuditLogging.AbpAuditLoggingDomainSharedModule
2022-02-24 19:29:52.581 +08:00 [INF] - Volo.Abp.PermissionManagement.EntityFrameworkCore.AbpPermissionManagementEntityFrameworkCoreModule
2022-02-24 19:29:52.581 +08:00 [INF] - Volo.Abp.PermissionManagement.AbpPermissionManagementDomainModule
2022-02-24 19:29:52.581 +08:00 [INF] - Volo.Abp.PermissionManagement.AbpPermissionManagementDomainSharedModule
2022-02-24 19:29:52.581 +08:00 [INF] - Volo.Abp.SettingManagement.EntityFrameworkCore.AbpSettingManagementEntityFrameworkCoreModule
2022-02-24 19:29:52.581 +08:00 [INF] - Volo.Abp.SettingManagement.AbpSettingManagementDomainModule
2022-02-24 19:29:52.581 +08:00 [INF] - Volo.Abp.SettingManagement.AbpSettingManagementDomainSharedModule
2022-02-24 19:29:52.581 +08:00 [INF] - Volo.Abp.AspNetCore.Serilog.AbpAspNetCoreSerilogModule
2022-02-24 19:29:52.581 +08:00 [INF] - Volo.Abp.Swashbuckle.AbpSwashbuckleModule
2022-02-24 19:29:54.247 +08:00 [INF] Initialized all ABP modules.
2022-02-24 19:29:54.998 +08:00 [INF] Now listening on: https://localhost:5000
2022-02-24 19:29:54.999 +08:00 [INF] Application started. Press Ctrl+C to shut down.
2022-02-24 19:29:54.999 +08:00 [INF] Hosting environment: Development
2022-02-24 19:29:54.999 +08:00 [INF] Content root path: D:\工作\派格\接口程序\WmsWebApi\host\WmsWebApi.HttpApi.Host
2022-02-24 19:29:59.187 +08:00 [INF] Request starting HTTP/2 GET https://localhost:5000/ - -
2022-02-24 19:30:05.733 +08:00 [INF] Entity Framework Core 5.0.14 initialized 'SettingManagementDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: QuerySplittingBehavior=SplitQuery
2022-02-24 19:30:07.539 +08:00 [INF] Executed DbCommand (136ms) [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-24 19:30:08.415 +08:00 [INF] Entity Framework Core 5.0.14 initialized 'SettingManagementDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: QuerySplittingBehavior=SplitQuery
2022-02-24 19:30:08.470 +08:00 [INF] Executed DbCommand (9ms) [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-24 19:30:08.711 +08:00 [INF] Executing endpoint 'WmsWebApi.Controllers.HomeController.Index (WmsWebApi.HttpApi.Host)'
2022-02-24 19:30:08.893 +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-24 19:30:09.331 +08:00 [INF] Executing action method WmsWebApi.Controllers.HomeController.Index (WmsWebApi.HttpApi.Host) - Validation state: "Valid"
2022-02-24 19:30:09.345 +08:00 [INF] Executed action method WmsWebApi.Controllers.HomeController.Index (WmsWebApi.HttpApi.Host), returned result Microsoft.AspNetCore.Mvc.RedirectResult in 0.7892ms.
2022-02-24 19:30:09.356 +08:00 [INF] Executing RedirectResult, redirecting to /swagger.
2022-02-24 19:30:09.371 +08:00 [INF] Executed action WmsWebApi.Controllers.HomeController.Index (WmsWebApi.HttpApi.Host) in 465.52ms
2022-02-24 19:30:09.371 +08:00 [INF] Executed endpoint 'WmsWebApi.Controllers.HomeController.Index (WmsWebApi.HttpApi.Host)'
2022-02-24 19:30:09.453 +08:00 [INF] Request starting HTTP/2 GET https://localhost:5000/swagger/index.html - -
2022-02-24 19:30:09.455 +08:00 [INF] Request finished HTTP/2 GET https://localhost:5000/ - - - 302 0 - 10269.6550ms
2022-02-24 19:30:10.054 +08:00 [INF] Request finished HTTP/2 GET https://localhost:5000/swagger/index.html - - - 200 - text/html;charset=utf-8 600.8907ms
2022-02-24 19:30:10.621 +08:00 [INF] Request starting HTTP/2 GET https://localhost:5000/_framework/aspnetcore-browser-refresh.js - -
2022-02-24 19:30:10.632 +08:00 [INF] Request finished HTTP/2 GET https://localhost:5000/_framework/aspnetcore-browser-refresh.js - - - 200 11956 application/javascript;+charset=utf-8 11.8309ms
2022-02-24 19:30:11.221 +08:00 [INF] Request starting HTTP/2 GET https://localhost:5000/swagger/v1/swagger.json - -
2022-02-24 19:30:11.711 +08:00 [INF] Request finished HTTP/2 GET https://localhost:5000/swagger/v1/swagger.json - - - 200 - application/json;charset=utf-8 489.6060ms
2022-02-24 19:31:12.752 +08:00 [INF] Request starting HTTP/2 GET https://localhost:5000/abp/Swashbuckle/SetCsrfCookie application/json -
2022-02-24 19:31:12.773 +08:00 [INF] Executing endpoint 'Volo.Abp.Swashbuckle.AbpSwashbuckleController.SetCsrfCookie (Volo.Abp.Swashbuckle)'
2022-02-24 19:31:12.775 +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-24 19:31:12.850 +08:00 [INF] Executing action method Volo.Abp.Swashbuckle.AbpSwashbuckleController.SetCsrfCookie (Volo.Abp.Swashbuckle) - Validation state: "Valid"
2022-02-24 19:31:12.869 +08:00 [INF] Executed action method Volo.Abp.Swashbuckle.AbpSwashbuckleController.SetCsrfCookie (Volo.Abp.Swashbuckle), returned result Microsoft.AspNetCore.Mvc.EmptyResult in 18.389ms.
2022-02-24 19:31:12.869 +08:00 [INF] Executed action Volo.Abp.Swashbuckle.AbpSwashbuckleController.SetCsrfCookie (Volo.Abp.Swashbuckle) in 94.6143ms
2022-02-24 19:31:12.869 +08:00 [INF] Executed endpoint 'Volo.Abp.Swashbuckle.AbpSwashbuckleController.SetCsrfCookie (Volo.Abp.Swashbuckle)'
2022-02-24 19:31:12.870 +08:00 [INF] Request finished HTTP/2 GET https://localhost:5000/abp/Swashbuckle/SetCsrfCookie application/json - - 204 - - 118.6204ms
2022-02-24 19:31:12.931 +08:00 [INF] Request starting HTTP/2 POST https://localhost:5000/api/part/add application/json 1920
2022-02-24 19:31:12.939 +08:00 [INF] CORS policy execution failed.
2022-02-24 19:31:12.939 +08:00 [INF] Request origin https://localhost:5000 does not have permission to access the resource.
2022-02-24 19:31:12.943 +08:00 [INF] Executing endpoint 'WmsWebApi.Parts.PartService.AddAsync (WmsWebApi.Application)'
2022-02-24 19:31:12.956 +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-02-24 19:31:13.887 +08:00 [INF] Executing action method WmsWebApi.Parts.PartService.AddAsync (WmsWebApi.Application) - Validation state: "Valid"
2022-02-24 19:31:14.209 +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-24 19:31:14.209 +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-02-24 19:31:14.209 +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-02-24 19:31:14.209 +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-24 19:31:14.209 +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-24 19:31:14.209 +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-24 19:31:14.209 +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-24 19:31:14.209 +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-24 19:31:14.209 +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-24 19:31:14.209 +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-24 19:31:14.210 +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-24 19:31:14.210 +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-24 19:31:14.210 +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-24 19:31:14.210 +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-24 19:31:14.210 +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-24 19:31:14.210 +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-24 19:31:14.210 +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-24 19:31:14.210 +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-24 19:31:14.210 +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-24 19:31:14.210 +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-24 19:31:14.210 +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-24 19:31:14.246 +08:00 [INF] Entity Framework Core 5.0.14 initialized 'WmsWebApiDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: QuerySplittingBehavior=SplitQuery
2022-02-24 19:31:14.324 +08:00 [INF] Executed DbCommand (2ms) [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-02-24 19:31:14.348 +08:00 [INF] Executed DbCommand (3ms) [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-02-24 19:31:26.266 +08:00 [INF] Executed DbCommand (3ms) [Parameters=[@__custpart_CustId_0='?' (Size = 50), @__custpart_CustPartCode_1='?' (Size = 50)], CommandType='"Text"', CommandTimeout='30']
SELECT TOP(1) [t].[CustId], [t].[CustPartCode], [t].[CustPackQty], [t].[CustPalletCapacity], [t].[CustPalletQty], [t].[CustPalletSize], [t].[CustPartName], [t].[UID], [t].[PartCode], [t].[Remark], [t].[State]
FROM [TA_CUST_PART] AS [t]
WHERE ([t].[CustId] = @__custpart_CustId_0) AND ([t].[CustPartCode] = @__custpart_CustPartCode_1)
2022-02-24 19:31:26.361 +08:00 [INF] Executed action method WmsWebApi.Parts.PartService.AddAsync (WmsWebApi.Application), returned result Microsoft.AspNetCore.Mvc.ObjectResult in 12474.4948ms.
2022-02-24 19:31:26.472 +08:00 [INF] Executed DbCommand (4ms) [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-02-24 19:31:26.495 +08:00 [DBG] Added 0 entity changes to the current audit log
2022-02-24 19:31:26.495 +08:00 [DBG] Added 0 entity changes to the current audit log
2022-02-24 19:31:26.591 +08:00 [INF] Executing ObjectResult, writing value of type 'WmsWebApi.Parts.ReturnResult'.
2022-02-24 19:31:26.599 +08:00 [INF] Executed action WmsWebApi.Parts.PartService.AddAsync (WmsWebApi.Application) in 13643.0397ms
2022-02-24 19:31:26.600 +08:00 [INF] Executed endpoint 'WmsWebApi.Parts.PartService.AddAsync (WmsWebApi.Application)'
2022-02-24 19:31:26.770 +08:00 [INF] Entity Framework Core 5.0.14 initialized 'AbpAuditLoggingDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: QuerySplittingBehavior=SplitQuery
2022-02-24 19:31:26.861 +08:00 [INF] Executed DbCommand (2ms) [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-24 19:31:26.863 +08:00 [INF] Executed DbCommand (2ms) [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-24 19:31:26.880 +08:00 [DBG] Added 0 entity changes to the current audit log
2022-02-24 19:31:26.880 +08:00 [DBG] Added 0 entity changes to the current audit log
2022-02-24 19:31:26.882 +08:00 [INF] Request finished HTTP/2 POST https://localhost:5000/api/part/add application/json 1920 - 200 - application/json;+charset=utf-8 13951.1366ms
2022-02-24 19:33:44.998 +08:00 [INF] Request starting HTTP/2 POST https://localhost:5000/api/PPlan/add application/json 375
2022-02-24 19:33:45.001 +08:00 [INF] CORS policy execution failed.
2022-02-24 19:33:45.001 +08:00 [INF] Request origin https://localhost:5000 does not have permission to access the resource.
2022-02-24 19:33:45.005 +08:00 [INF] Executing endpoint 'WmsWebApi.PPlan.PPlanService.AddAsync (WmsWebApi.Application)'
2022-02-24 19:33:45.010 +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-24 19:33:45.518 +08:00 [INF] Executing action method WmsWebApi.PPlan.PPlanService.AddAsync (WmsWebApi.Application) - Validation state: "Valid"
2022-02-24 19:33:45.541 +08:00 [INF] Entity Framework Core 5.0.14 initialized 'WmsWebApiDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: QuerySplittingBehavior=SplitQuery
2022-02-24 19:33:45.583 +08:00 [INF] Executed DbCommand (3ms) [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-24 19:33:45.600 +08:00 [INF] Executed DbCommand (3ms) [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-24 19:33:45.655 +08:00 [INF] Executed DbCommand (2ms) [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-24 19:33:45.731 +08:00 [INF] Executed action method WmsWebApi.PPlan.PPlanService.AddAsync (WmsWebApi.Application), returned result Microsoft.AspNetCore.Mvc.ObjectResult in 212.6395ms.
2022-02-24 19:33:45.757 +08:00 [INF] Executed DbCommand (5ms) [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-24 19:33:45.758 +08:00 [DBG] Added 0 entity changes to the current audit log
2022-02-24 19:33:45.758 +08:00 [DBG] Added 0 entity changes to the current audit log
2022-02-24 19:33:45.782 +08:00 [INF] Executing ObjectResult, writing value of type 'WmsWebApi.PPlan.ReturnResult'.
2022-02-24 19:33:45.784 +08:00 [INF] Executed action WmsWebApi.PPlan.PPlanService.AddAsync (WmsWebApi.Application) in 773.427ms
2022-02-24 19:33:45.784 +08:00 [INF] Executed endpoint 'WmsWebApi.PPlan.PPlanService.AddAsync (WmsWebApi.Application)'
2022-02-24 19:33:45.785 +08:00 [INF] Entity Framework Core 5.0.14 initialized 'AbpAuditLoggingDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: QuerySplittingBehavior=SplitQuery
2022-02-24 19:33:45.792 +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-02-24 19:33:45.795 +08:00 [INF] Executed DbCommand (2ms) [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-24 19:33:45.898 +08:00 [DBG] Added 0 entity changes to the current audit log
2022-02-24 19:33:45.898 +08:00 [DBG] Added 0 entity changes to the current audit log
2022-02-24 19:33:45.898 +08:00 [INF] Request finished HTTP/2 POST https://localhost:5000/api/PPlan/add application/json 375 - 200 - application/json;+charset=utf-8 900.3393ms
2022-02-24 19:37:39.503 +08:00 [INF] Request starting HTTP/2 POST https://localhost:5000/api/zlldcj/addObj application/json 1037
2022-02-24 19:37:39.532 +08:00 [INF] CORS policy execution failed.
2022-02-24 19:37:39.532 +08:00 [INF] Request origin https://localhost:5000 does not have permission to access the resource.
2022-02-24 19:37:39.534 +08:00 [INF] Executing endpoint 'WmsWebApi.ZlldcjLogs.ZlldcjLogAppService.AddAsync (WmsWebApi.Application)'
2022-02-24 19:37:39.537 +08:00 [INF] Route matched with {action = "Add", controller = "ZlldcjLog", area = "", page = ""}. Executing controller action with signature System.Threading.Tasks.Task`1[WmsWebApi.ZlldcjLogs.ReturnResult] AddAsync(System.Object) on controller WmsWebApi.ZlldcjLogs.ZlldcjLogAppService (WmsWebApi.Application).
2022-02-24 19:37:40.230 +08:00 [INF] Executing action method WmsWebApi.ZlldcjLogs.ZlldcjLogAppService.AddAsync (WmsWebApi.Application) - Validation state: "Valid"
2022-02-24 19:37:40.439 +08:00 [INF] Entity Framework Core 5.0.14 initialized 'WmsWebApiDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: QuerySplittingBehavior=SplitQuery
2022-02-24 19:37:40.467 +08:00 [INF] Executed DbCommand (12ms) [Parameters=[@__get_Item_ZLLDJ_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] = @__get_Item_ZLLDJ_0
2022-02-24 19:37:40.610 +08:00 [INF] Executed action method WmsWebApi.ZlldcjLogs.ZlldcjLogAppService.AddAsync (WmsWebApi.Application), returned result Microsoft.AspNetCore.Mvc.ObjectResult in 380.3743ms.
2022-02-24 19:37:40.612 +08:00 [DBG] Added 0 entity changes to the current audit log
2022-02-24 19:37:40.614 +08:00 [INF] Executing ObjectResult, writing value of type 'WmsWebApi.ZlldcjLogs.ReturnResult'.
2022-02-24 19:37:40.615 +08:00 [INF] Executed action WmsWebApi.ZlldcjLogs.ZlldcjLogAppService.AddAsync (WmsWebApi.Application) in 1078.3937ms
2022-02-24 19:37:40.615 +08:00 [INF] Executed endpoint 'WmsWebApi.ZlldcjLogs.ZlldcjLogAppService.AddAsync (WmsWebApi.Application)'
2022-02-24 19:37:40.616 +08:00 [INF] Entity Framework Core 5.0.14 initialized 'AbpAuditLoggingDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: QuerySplittingBehavior=SplitQuery
2022-02-24 19:37:40.661 +08:00 [INF] Executed DbCommand (42ms) [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-24 19:37:40.663 +08:00 [INF] Executed DbCommand (2ms) [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-24 19:37:40.683 +08:00 [DBG] Added 0 entity changes to the current audit log
2022-02-24 19:37:40.683 +08:00 [DBG] Added 0 entity changes to the current audit log
2022-02-24 19:37:40.684 +08:00 [INF] Request finished HTTP/2 POST https://localhost:5000/api/zlldcj/addObj application/json 1037 - 200 - application/json;+charset=utf-8 1180.4785ms
2022-02-24 19:38:10.235 +08:00 [INF] Request starting HTTP/2 POST https://localhost:5000/api/zlldcj/addObj application/json 1037
2022-02-24 19:38:10.236 +08:00 [INF] CORS policy execution failed.
2022-02-24 19:38:10.236 +08:00 [INF] Request origin https://localhost:5000 does not have permission to access the resource.
2022-02-24 19:38:10.238 +08:00 [INF] Executing endpoint 'WmsWebApi.ZlldcjLogs.ZlldcjLogAppService.AddAsync (WmsWebApi.Application)'
2022-02-24 19:38:10.239 +08:00 [INF] Route matched with {action = "Add", controller = "ZlldcjLog", area = "", page = ""}. Executing controller action with signature System.Threading.Tasks.Task`1[WmsWebApi.ZlldcjLogs.ReturnResult] AddAsync(System.Object) on controller WmsWebApi.ZlldcjLogs.ZlldcjLogAppService (WmsWebApi.Application).
2022-02-24 19:38:10.277 +08:00 [INF] Executing action method WmsWebApi.ZlldcjLogs.ZlldcjLogAppService.AddAsync (WmsWebApi.Application) - Validation state: "Valid"
2022-02-24 19:38:10.278 +08:00 [INF] Entity Framework Core 5.0.14 initialized 'WmsWebApiDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: QuerySplittingBehavior=SplitQuery
2022-02-24 19:38:10.283 +08:00 [INF] Executed DbCommand (3ms) [Parameters=[@__get_Item_ZLLDJ_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] = @__get_Item_ZLLDJ_0
2022-02-24 19:38:10.302 +08:00 [INF] Executed DbCommand (8ms) [Parameters=[@__get_Item_ZDJLX_0='?' (Size = 10), @__get_Item_ZLTLX_1='?' (Size = 10), @__get_Item_BWART_2='?' (Size = 20)], CommandType='"Text"', CommandTimeout='30']
SELECT TOP(1) [t].[UID], [t].[GetOrBack], [t].[MoveReason], [t].[MoveType], [t].[Remark], [t].[SAPBillDesc], [t].[SAPBillType], [t].[SubBillType]
FROM [TM_PG_SAPMOVETYPE] AS [t]
WHERE (([t].[SAPBillType] = @__get_Item_ZDJLX_0) AND ([t].[GetOrBack] = @__get_Item_ZLTLX_1)) AND ([t].[MoveType] = @__get_Item_BWART_2)
2022-02-24 19:38:10.443 +08:00 [INF] Executed action method WmsWebApi.ZlldcjLogs.ZlldcjLogAppService.AddAsync (WmsWebApi.Application), returned result Microsoft.AspNetCore.Mvc.ObjectResult in 166.399ms.
2022-02-24 19:38:10.493 +08:00 [INF] Executed DbCommand (9ms) [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), @p22='?' (Size = 50), @p23='?' (Size = 50), @p24='?' (Size = 50), @p25='?' (Size = 50), @p26='?' (Size = 50), @p27='?' (Size = 50), @p28='?' (Size = 50), @p29='?' (Size = 50), @p30='?' (Size = 50), @p31='?' (Size = 50), @p32='?' (Size = 50), @p33='?' (Size = 50), @p34='?' (Size = 50), @p35='?' (DbType = Boolean), @p36='?' (Size = 50), @p37='?' (Size = 50), @p38='?' (Size = 50), @p39='?' (Size = 50), @p40='?' (Size = 50), @p41='?' (Size = 50), @p42='?' (Precision = 18) (Scale = 6) (DbType = Decimal), @p43='?' (Precision = 18) (Scale = 6) (DbType = Decimal), @p44='?' (Size = 50), @p45='?' (DbType = Decimal), @p46='?' (Size = 200), @p47='?' (Size = 50), @p48='?' (Size = 50), @p49='?' (Size = 50), @p50='?' (Size = 50), @p51='?' (Size = 50), @p52='?' (Size = 50), @p53='?' (Size = 50), @p54='?' (Size = 50), @p55='?' (Size = 50), @p56='?' (Size = 50), @p57='?' (Size = 50), @p58='?' (Size = 50), @p59='?' (Size = 50), @p60='?' (Size = 50), @p61='?' (Size = 50), @p62='?' (DbType = Boolean), @p63='?' (Size = 50), @p64='?' (Size = 50), @p65='?' (Size = 50), @p66='?' (Size = 50), @p67='?' (Size = 50), @p68='?' (Size = 50), @p69='?' (Precision = 18) (Scale = 6) (DbType = Decimal), @p70='?' (Precision = 18) (Scale = 6) (DbType = Decimal), @p71='?' (Size = 50), @p72='?' (DbType = Decimal), @p73='?' (Size = 200), @p74='?' (Size = 50), @p75='?' (Size = 50), @p76='?' (DbType = Guid), @p77='?' (DbType = DateTime2), @p78='?' (Size = 4000), @p79='?' (Size = 4000), @p80='?' (Size = 4000), @p81='?' (Size = 20), @p82='?' (Size = 4000), @p83='?' (DbType = Guid), @p84='?' (Size = 4000), @p85='?' (Size = 64), @p86='?' (Size = 4000), @p87='?' (Size = 64), @p88='?' (Size = 64), @p89='?' (Precision = 18) (Scale = 6) (DbType = Decimal), @p90='?' (Precision = 18) (Scale = 6) (DbType = Decimal), @p91='?' (Size = 64), @p92='?' (Size = 40), @p93='?' (DbType = DateTime2), @p94='?' (DbType = Guid), @p95='?' (Precision = 18) (Scale = 6) (DbType = Decimal), @p96='?' (Size = 4000), @p97='?' (Size = 64), @p98='?' (Size = 4000), @p99='?' (Size = 4000), @p100='?' (Size = 4000), @p101='?' (Size = 4000), @p102='?' (Size = 64), @p103='?' (Size = 64), @p104='?' (Size = 64), @p105='?' (Size = 64), @p106='?' (Size = 64), @p107='?' (Size = 64), @p108='?' (Size = 4000), @p109='?' (Size = 4000), @p110='?' (Size = 4000), @p111='?' (Size = 4000), @p112='?' (Size = 64), @p113='?' (Size = 64), @p114='?' (Size = 64), @p115='?' (Size = 64), @p116='?' (Size = 4000), @p117='?' (DbType = Int32), @p118='?' (Size = 64), @p119='?' (Size = 64), @p120='?' (DbType = Guid), @p121='?' (Size = 4000), @p122='?' (Size = 64), @p123='?' (Size = 4000), @p124='?' (Size = 64), @p125='?' (Size = 64), @p126='?' (Precision = 18) (Scale = 6) (DbType = Decimal), @p127='?' (Precision = 18) (Scale = 6) (DbType = Decimal), @p128='?' (Size = 64), @p129='?' (Size = 40), @p130='?' (DbType = DateTime2), @p131='?' (DbType = Guid), @p132='?' (Precision = 18) (Scale = 6) (DbType = Decimal), @p133='?' (Size = 4000), @p134='?' (Size = 64), @p135='?' (Size = 4000), @p136='?' (Size = 4000), @p137='?' (Size = 4000), @p138='?' (Size = 4000), @p139='?' (Size = 64), @p140='?' (Size = 64), @p141='?' (Size = 64), @p142='?' (Size = 64), @p143='?' (Size = 64), @p144='?' (Size = 64), @p145='?' (Size = 4000), @p146='?' (Size = 4000), @p147='?' (Size = 4000), @p148='?' (Size = 4000), @p149='?' (Size = 64), @p150='?' (Size = 64), @p151='?' (Size = 64), @p152='?' (Size = 64), @p153='?' (Size = 4000), @p154='?' (DbType = Int32), @p155='?' (Si
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();
DECLARE @inserted1 TABLE ([BillLineID] nvarchar(50), [BillNum] nvarchar(50), [_Position] [int]);
MERGE [TM_PG_OTHER_INOUT_ASK] USING (
VALUES (@p22, @p23, @p24, @p25, @p26, @p27, @p28, @p29, @p30, @p31, @p32, @p33, @p34, @p35, @p36, @p37, @p38, @p39, @p40, @p41, @p42, @p43, @p44, @p45, @p46, @p47, @p48, 0),
(@p49, @p50, @p51, @p52, @p53, @p54, @p55, @p56, @p57, @p58, @p59, @p60, @p61, @p62, @p63, @p64, @p65, @p66, @p67, @p68, @p69, @p70, @p71, @p72, @p73, @p74, @p75, 1)) AS i ([BillLineID], [BillNum], [BUn], [BarCode], [BaseOrder], [BaseOrderDesc], [BillType], [BillTypeDesc], [ClaimLocation], [CostCenter], [CreatDate], [Creator], [GetOrBack], [IsClosed], [MoveReason], [MoveType], [OrderReason], [PartCode], [PickLocation], [PickPerson], [PickedQty], [Qty], [RejecteLocation], [RejecteQty], [Remark], [ToBarCode], [ToPartCode], _Position) ON 1=0
WHEN NOT MATCHED THEN
INSERT ([BillLineID], [BillNum], [BUn], [BarCode], [BaseOrder], [BaseOrderDesc], [BillType], [BillTypeDesc], [ClaimLocation], [CostCenter], [CreatDate], [Creator], [GetOrBack], [IsClosed], [MoveReason], [MoveType], [OrderReason], [PartCode], [PickLocation], [PickPerson], [PickedQty], [Qty], [RejecteLocation], [RejecteQty], [Remark], [ToBarCode], [ToPartCode])
VALUES (i.[BillLineID], i.[BillNum], i.[BUn], i.[BarCode], i.[BaseOrder], i.[BaseOrderDesc], i.[BillType], i.[BillTypeDesc], i.[ClaimLocation], i.[CostCenter], i.[CreatDate], i.[Creator], i.[GetOrBack], i.[IsClosed], i.[MoveReason], i.[MoveType], i.[OrderReason], i.[PartCode], i.[PickLocation], i.[PickPerson], i.[PickedQty], i.[Qty], i.[RejecteLocation], i.[RejecteQty], i.[Remark], i.[ToBarCode], i.[ToPartCode])
OUTPUT INSERTED.[BillLineID], INSERTED.[BillNum], i._Position
INTO @inserted1;
SELECT [t].[UID] FROM [TM_PG_OTHER_INOUT_ASK] t
INNER JOIN @inserted1 i ON ([t].[BillLineID] = [i].[BillLineID]) AND ([t].[BillNum] = [i].[BillNum])
ORDER BY [i].[_Position];
INSERT INTO [WmsWebApiZLLDCJDTO] ([Id], [DYSJ], [ITYPE], [JSON], [ZDJLX], [ZLLDJ], [ZLTLX])
VALUES (@p76, @p77, @p78, @p79, @p80, @p81, @p82);
INSERT INTO [WmsWebApiZLLDCJ_LOGDTO] ([Id], [AEDAT], [AENAM], [AEZET], [ANLN1], [AUFNR], [BDMNG], [BKNUM], [BWART], [ConcurrencyStamp], [CreationTime], [CreatorId], [ENMNG], [ERDAT], [ERNAM], [ERZET], [ExtraProperties], [GRUND], [IType], [KOSTL], [KZEAR], [LGORT1], [LGORT2], [LGORT3], [MATNR], [MEINS], [POSNR], [RSNUM], [RSPOS], [VBELN], [WERKS], [ZBZSM], [ZDJLX], [ZLLDJ], [ZLLITEM], [ZLLR], [ZLTLX])
VALUES (@p83, @p84, @p85, @p86, @p87, @p88, @p89, @p90, @p91, @p92, @p93, @p94, @p95, @p96, @p97, @p98, @p99, @p100, @p101, @p102, @p103, @p104, @p105, @p106, @p107, @p108, @p109, @p110, @p111, @p112, @p113, @p114, @p115, @p116, @p117, @p118, @p119),
(@p120, @p121, @p122, @p123, @p124, @p125, @p126, @p127, @p128, @p129, @p130, @p131, @p132, @p133, @p134, @p135, @p136, @p137, @p138, @p139, @p140, @p141, @p142, @p143, @p144, @p145, @p146, @p147, @p148, @p149, @p150, @p151, @p152, @p153, @p154, @p155, @p156);
2022-02-24 19:38:10.610 +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_TM_PG_OTHER_INOUT_ASK”。不能在对象“dbo.TM_PG_OTHER_INOUT_ASK”中插入重复键。重复键值为 (4000022250, 1)。
at Microsoft.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
at Microsoft.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
at Microsoft.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
at Microsoft.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady)
at Microsoft.Data.SqlClient.SqlDataReader.TryHasMoreRows(Boolean& moreRows)
at Microsoft.Data.SqlClient.SqlDataReader.TryHasMoreResults(Boolean& moreResults)
at Microsoft.Data.SqlClient.SqlDataReader.TryNextResult(Boolean& more)
at Microsoft.Data.SqlClient.SqlDataReader.NextResultAsyncExecute(Task task, Object state)
at Microsoft.Data.SqlClient.SqlDataReader.InvokeAsyncCall[T](AAsyncCallContext`1 context)
--- End of stack trace from previous location ---
at Microsoft.EntityFrameworkCore.Update.AffectedCountModificationCommandBatch.ConsumeAsync(RelationalDataReader reader, CancellationToken cancellationToken)
ClientConnectionId:23a14261-6ac8-4ab8-ac25-240aea136d8b
Error Number:2627,State:1,Class:14
--- End of inner exception stack trace ---
at Microsoft.EntityFrameworkCore.Update.AffectedCountModificationCommandBatch.ConsumeAsync(RelationalDataReader reader, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.ExecuteAsync(IRelationalConnection connection, CancellationToken cancellationToken)
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_TM_PG_OTHER_INOUT_ASK”。不能在对象“dbo.TM_PG_OTHER_INOUT_ASK”中插入重复键。重复键值为 (4000022250, 1)。
at Microsoft.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
at Microsoft.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
at Microsoft.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
at Microsoft.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady)
at Microsoft.Data.SqlClient.SqlDataReader.TryHasMoreRows(Boolean& moreRows)
at Microsoft.Data.SqlClient.SqlDataReader.TryHasMoreResults(Boolean& moreResults)
at Microsoft.Data.SqlClient.SqlDataReader.TryNextResult(Boolean& more)
at Microsoft.Data.SqlClient.SqlDataReader.NextResultAsyncExecute(Task task, Object state)
at Microsoft.Data.SqlClient.SqlDataReader.InvokeAsyncCall[T](AAsyncCallContext`1 context)
--- End of stack trace from previous location ---
at Microsoft.EntityFrameworkCore.Update.AffectedCountModificationCommandBatch.ConsumeAsync(RelationalDataReader reader, CancellationToken cancellationToken)
ClientConnectionId:23a14261-6ac8-4ab8-ac25-240aea136d8b
Error Number:2627,State:1,Class:14
--- End of inner exception stack trace ---
at Microsoft.EntityFrameworkCore.Update.AffectedCountModificationCommandBatch.ConsumeAsync(RelationalDataReader reader, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.ExecuteAsync(IRelationalConnection connection, CancellationToken cancellationToken)
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)
2022-02-24 19:38:10.661 +08:00 [ERR] ---------- RemoteServiceErrorInfo ----------
{
"code": null,
"message": "An internal error occurred during your request!",
"details": null,
"data": {},
"validationErrors": null
}
2022-02-24 19:38:10.661 +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_TM_PG_OTHER_INOUT_ASK”。不能在对象“dbo.TM_PG_OTHER_INOUT_ASK”中插入重复键。重复键值为 (4000022250, 1)。
at Microsoft.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
at Microsoft.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
at Microsoft.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
at Microsoft.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady)
at Microsoft.Data.SqlClient.SqlDataReader.TryHasMoreRows(Boolean& moreRows)
at Microsoft.Data.SqlClient.SqlDataReader.TryHasMoreResults(Boolean& moreResults)
at Microsoft.Data.SqlClient.SqlDataReader.TryNextResult(Boolean& more)
at Microsoft.Data.SqlClient.SqlDataReader.NextResultAsyncExecute(Task task, Object state)
at Microsoft.Data.SqlClient.SqlDataReader.InvokeAsyncCall[T](AAsyncCallContext`1 context)
--- End of stack trace from previous location ---
at Microsoft.EntityFrameworkCore.Update.AffectedCountModificationCommandBatch.ConsumeAsync(RelationalDataReader reader, CancellationToken cancellationToken)
ClientConnectionId:23a14261-6ac8-4ab8-ac25-240aea136d8b
Error Number:2627,State:1,Class:14
--- End of inner exception stack trace ---
at Microsoft.EntityFrameworkCore.Update.AffectedCountModificationCommandBatch.ConsumeAsync(RelationalDataReader reader, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.ExecuteAsync(IRelationalConnection connection, CancellationToken cancellationToken)
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-02-24 19:38:10.668 +08:00 [INF] Executing ObjectResult, writing value of type 'Volo.Abp.Http.RemoteServiceErrorResponse'.
2022-02-24 19:38:10.670 +08:00 [INF] Executed action WmsWebApi.ZlldcjLogs.ZlldcjLogAppService.AddAsync (WmsWebApi.Application) in 431.3855ms
2022-02-24 19:38:10.670 +08:00 [INF] Executed endpoint 'WmsWebApi.ZlldcjLogs.ZlldcjLogAppService.AddAsync (WmsWebApi.Application)'
2022-02-24 19:38:10.679 +08:00 [INF] Entity Framework Core 5.0.14 initialized 'AbpAuditLoggingDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: QuerySplittingBehavior=SplitQuery
2022-02-24 19:38:10.690 +08:00 [ERR] Failed executing DbCommand (5ms) [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-24 19:38:10.696 +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.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:a4df0858-81c0-4eec-b961-566b048135af
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.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:a4df0858-81c0-4eec-b961-566b048135af
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-24 19:38:10.702 +08:00 [WRN] Could not save the audit log object:
AUDIT LOG: [500: POST ] /api/zlldcj/addObj
- UserName - UserId : -
- ClientIpAddress : ::1
- ExecutionDuration : 432
- Actions:
- WmsWebApi.ZlldcjLogs.ZlldcjLogAppService.AddAsync (374 ms.)
{"content":{"valueKind":2}}
- 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_TM_PG_OTHER_INOUT_ASK”。不能在对象“dbo.TM_PG_OTHER_INOUT_ASK”中插入重复键。重复键值为 (4000022250, 1)。
at Microsoft.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
at Microsoft.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
at Microsoft.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
at Microsoft.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady)
at Microsoft.Data.SqlClient.SqlDataReader.TryHasMoreRows(Boolean& moreRows)
at Microsoft.Data.SqlClient.SqlDataReader.TryHasMoreResults(Boolean& moreResults)
at Microsoft.Data.SqlClient.SqlDataReader.TryNextResult(Boolean& more)
at Microsoft.Data.SqlClient.SqlDataReader.NextResultAsyncExecute(Task task, Object state)
at Microsoft.Data.SqlClient.SqlDataReader.InvokeAsyncCall[T](AAsyncCallContext`1 context)
--- End of stack trace from previous location ---
at Microsoft.EntityFrameworkCore.Update.AffectedCountModificationCommandBatch.ConsumeAsync(RelationalDataReader reader, CancellationToken cancellationToken)
ClientConnectionId:23a14261-6ac8-4ab8-ac25-240aea136d8b
Error Number:2627,State:1,Class:14
--- End of inner exception stack trace ---
at Microsoft.EntityFrameworkCore.Update.AffectedCountModificationCommandBatch.ConsumeAsync(RelationalDataReader reader, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.ExecuteAsync(IRelationalConnection connection, CancellationToken cancellationToken)
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-02-24 19:38:10.702 +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.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:a4df0858-81c0-4eec-b961-566b048135af
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-24 19:38:10.703 +08:00 [INF] Request finished HTTP/2 POST https://localhost:5000/api/zlldcj/addObj application/json 1037 - 500 - application/json;+charset=utf-8 468.1582ms
2022-02-24 19:40:14.357 +08:00 [INF] Request starting HTTP/2 POST https://localhost:5000/api/zlldcj/addObj application/json 1037
2022-02-24 19:40:14.357 +08:00 [INF] CORS policy execution failed.
2022-02-24 19:40:14.358 +08:00 [INF] Request origin https://localhost:5000 does not have permission to access the resource.
2022-02-24 19:40:14.377 +08:00 [INF] Executing endpoint 'WmsWebApi.ZlldcjLogs.ZlldcjLogAppService.AddAsync (WmsWebApi.Application)'
2022-02-24 19:40:14.377 +08:00 [INF] Route matched with {action = "Add", controller = "ZlldcjLog", area = "", page = ""}. Executing controller action with signature System.Threading.Tasks.Task`1[WmsWebApi.ZlldcjLogs.ReturnResult] AddAsync(System.Object) on controller WmsWebApi.ZlldcjLogs.ZlldcjLogAppService (WmsWebApi.Application).
2022-02-24 19:40:14.416 +08:00 [INF] Executing action method WmsWebApi.ZlldcjLogs.ZlldcjLogAppService.AddAsync (WmsWebApi.Application) - Validation state: "Valid"
2022-02-24 19:40:14.417 +08:00 [INF] Entity Framework Core 5.0.14 initialized 'WmsWebApiDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: QuerySplittingBehavior=SplitQuery
2022-02-24 19:40:14.423 +08:00 [INF] Executed DbCommand (3ms) [Parameters=[@__get_Item_ZLLDJ_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] = @__get_Item_ZLLDJ_0
2022-02-24 19:40:14.572 +08:00 [INF] Executed DbCommand (139ms) [Parameters=[@__get_Item_ZDJLX_0='?' (Size = 10), @__get_Item_ZLTLX_1='?' (Size = 10), @__get_Item_BWART_2='?' (Size = 20)], CommandType='"Text"', CommandTimeout='30']
SELECT TOP(1) [t].[UID], [t].[GetOrBack], [t].[MoveReason], [t].[MoveType], [t].[Remark], [t].[SAPBillDesc], [t].[SAPBillType], [t].[SubBillType]
FROM [TM_PG_SAPMOVETYPE] AS [t]
WHERE (([t].[SAPBillType] = @__get_Item_ZDJLX_0) AND ([t].[GetOrBack] = @__get_Item_ZLTLX_1)) AND ([t].[MoveType] = @__get_Item_BWART_2)
2022-02-24 19:40:14.574 +08:00 [INF] Executed action method WmsWebApi.ZlldcjLogs.ZlldcjLogAppService.AddAsync (WmsWebApi.Application), returned result Microsoft.AspNetCore.Mvc.ObjectResult in 158.0065ms.
2022-02-24 19:40:14.635 +08:00 [INF] Executed DbCommand (8ms) [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), @p22='?' (Size = 50), @p23='?' (Size = 50), @p24='?' (Size = 50), @p25='?' (Size = 50), @p26='?' (Size = 50), @p27='?' (Size = 50), @p28='?' (Size = 50), @p29='?' (Size = 50), @p30='?' (Size = 50), @p31='?' (Size = 50), @p32='?' (Size = 50), @p33='?' (Size = 50), @p34='?' (Size = 50), @p35='?' (DbType = Boolean), @p36='?' (Size = 50), @p37='?' (Size = 50), @p38='?' (Size = 50), @p39='?' (Size = 50), @p40='?' (Size = 50), @p41='?' (Size = 50), @p42='?' (Precision = 18) (Scale = 6) (DbType = Decimal), @p43='?' (Precision = 18) (Scale = 6) (DbType = Decimal), @p44='?' (Size = 50), @p45='?' (DbType = Decimal), @p46='?' (Size = 200), @p47='?' (Size = 50), @p48='?' (Size = 50), @p49='?' (Size = 50), @p50='?' (Size = 50), @p51='?' (Size = 50), @p52='?' (Size = 50), @p53='?' (Size = 50), @p54='?' (Size = 50), @p55='?' (Size = 50), @p56='?' (Size = 50), @p57='?' (Size = 50), @p58='?' (Size = 50), @p59='?' (Size = 50), @p60='?' (Size = 50), @p61='?' (Size = 50), @p62='?' (DbType = Boolean), @p63='?' (Size = 50), @p64='?' (Size = 50), @p65='?' (Size = 50), @p66='?' (Size = 50), @p67='?' (Size = 50), @p68='?' (Size = 50), @p69='?' (Precision = 18) (Scale = 6) (DbType = Decimal), @p70='?' (Precision = 18) (Scale = 6) (DbType = Decimal), @p71='?' (Size = 50), @p72='?' (DbType = Decimal), @p73='?' (Size = 200), @p74='?' (Size = 50), @p75='?' (Size = 50), @p76='?' (DbType = Guid), @p77='?' (DbType = DateTime2), @p78='?' (Size = 4000), @p79='?' (Size = 4000), @p80='?' (Size = 4000), @p81='?' (Size = 20), @p82='?' (Size = 4000), @p83='?' (DbType = Guid), @p84='?' (Size = 4000), @p85='?' (Size = 64), @p86='?' (Size = 4000), @p87='?' (Size = 64), @p88='?' (Size = 64), @p89='?' (Precision = 18) (Scale = 6) (DbType = Decimal), @p90='?' (Precision = 18) (Scale = 6) (DbType = Decimal), @p91='?' (Size = 64), @p92='?' (Size = 40), @p93='?' (DbType = DateTime2), @p94='?' (DbType = Guid), @p95='?' (Precision = 18) (Scale = 6) (DbType = Decimal), @p96='?' (Size = 4000), @p97='?' (Size = 64), @p98='?' (Size = 4000), @p99='?' (Size = 4000), @p100='?' (Size = 4000), @p101='?' (Size = 4000), @p102='?' (Size = 64), @p103='?' (Size = 64), @p104='?' (Size = 64), @p105='?' (Size = 64), @p106='?' (Size = 64), @p107='?' (Size = 64), @p108='?' (Size = 4000), @p109='?' (Size = 4000), @p110='?' (Size = 4000), @p111='?' (Size = 4000), @p112='?' (Size = 64), @p113='?' (Size = 64), @p114='?' (Size = 64), @p115='?' (Size = 64), @p116='?' (Size = 4000), @p117='?' (DbType = Int32), @p118='?' (Size = 64), @p119='?' (Size = 64), @p120='?' (DbType = Guid), @p121='?' (Size = 4000), @p122='?' (Size = 64), @p123='?' (Size = 4000), @p124='?' (Size = 64), @p125='?' (Size = 64), @p126='?' (Precision = 18) (Scale = 6) (DbType = Decimal), @p127='?' (Precision = 18) (Scale = 6) (DbType = Decimal), @p128='?' (Size = 64), @p129='?' (Size = 40), @p130='?' (DbType = DateTime2), @p131='?' (DbType = Guid), @p132='?' (Precision = 18) (Scale = 6) (DbType = Decimal), @p133='?' (Size = 4000), @p134='?' (Size = 64), @p135='?' (Size = 4000), @p136='?' (Size = 4000), @p137='?' (Size = 4000), @p138='?' (Size = 4000), @p139='?' (Size = 64), @p140='?' (Size = 64), @p141='?' (Size = 64), @p142='?' (Size = 64), @p143='?' (Size = 64), @p144='?' (Size = 64), @p145='?' (Size = 4000), @p146='?' (Size = 4000), @p147='?' (Size = 4000), @p148='?' (Size = 4000), @p149='?' (Size = 64), @p150='?' (Size = 64), @p151='?' (Size = 64), @p152='?' (Size = 64), @p153='?' (Size = 4000), @p154='?' (DbType = Int32), @p155='?' (Si
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();
DECLARE @inserted1 TABLE ([BillLineID] nvarchar(50), [BillNum] nvarchar(50), [_Position] [int]);
MERGE [TM_PG_OTHER_INOUT_ASK] USING (
VALUES (@p22, @p23, @p24, @p25, @p26, @p27, @p28, @p29, @p30, @p31, @p32, @p33, @p34, @p35, @p36, @p37, @p38, @p39, @p40, @p41, @p42, @p43, @p44, @p45, @p46, @p47, @p48, 0),
(@p49, @p50, @p51, @p52, @p53, @p54, @p55, @p56, @p57, @p58, @p59, @p60, @p61, @p62, @p63, @p64, @p65, @p66, @p67, @p68, @p69, @p70, @p71, @p72, @p73, @p74, @p75, 1)) AS i ([BillLineID], [BillNum], [BUn], [BarCode], [BaseOrder], [BaseOrderDesc], [BillType], [BillTypeDesc], [ClaimLocation], [CostCenter], [CreatDate], [Creator], [GetOrBack], [IsClosed], [MoveReason], [MoveType], [OrderReason], [PartCode], [PickLocation], [PickPerson], [PickedQty], [Qty], [RejecteLocation], [RejecteQty], [Remark], [ToBarCode], [ToPartCode], _Position) ON 1=0
WHEN NOT MATCHED THEN
INSERT ([BillLineID], [BillNum], [BUn], [BarCode], [BaseOrder], [BaseOrderDesc], [BillType], [BillTypeDesc], [ClaimLocation], [CostCenter], [CreatDate], [Creator], [GetOrBack], [IsClosed], [MoveReason], [MoveType], [OrderReason], [PartCode], [PickLocation], [PickPerson], [PickedQty], [Qty], [RejecteLocation], [RejecteQty], [Remark], [ToBarCode], [ToPartCode])
VALUES (i.[BillLineID], i.[BillNum], i.[BUn], i.[BarCode], i.[BaseOrder], i.[BaseOrderDesc], i.[BillType], i.[BillTypeDesc], i.[ClaimLocation], i.[CostCenter], i.[CreatDate], i.[Creator], i.[GetOrBack], i.[IsClosed], i.[MoveReason], i.[MoveType], i.[OrderReason], i.[PartCode], i.[PickLocation], i.[PickPerson], i.[PickedQty], i.[Qty], i.[RejecteLocation], i.[RejecteQty], i.[Remark], i.[ToBarCode], i.[ToPartCode])
OUTPUT INSERTED.[BillLineID], INSERTED.[BillNum], i._Position
INTO @inserted1;
SELECT [t].[UID] FROM [TM_PG_OTHER_INOUT_ASK] t
INNER JOIN @inserted1 i ON ([t].[BillLineID] = [i].[BillLineID]) AND ([t].[BillNum] = [i].[BillNum])
ORDER BY [i].[_Position];
INSERT INTO [WmsWebApiZLLDCJDTO] ([Id], [DYSJ], [ITYPE], [JSON], [ZDJLX], [ZLLDJ], [ZLTLX])
VALUES (@p76, @p77, @p78, @p79, @p80, @p81, @p82);
INSERT INTO [WmsWebApiZLLDCJ_LOGDTO] ([Id], [AEDAT], [AENAM], [AEZET], [ANLN1], [AUFNR], [BDMNG], [BKNUM], [BWART], [ConcurrencyStamp], [CreationTime], [CreatorId], [ENMNG], [ERDAT], [ERNAM], [ERZET], [ExtraProperties], [GRUND], [IType], [KOSTL], [KZEAR], [LGORT1], [LGORT2], [LGORT3], [MATNR], [MEINS], [POSNR], [RSNUM], [RSPOS], [VBELN], [WERKS], [ZBZSM], [ZDJLX], [ZLLDJ], [ZLLITEM], [ZLLR], [ZLTLX])
VALUES (@p83, @p84, @p85, @p86, @p87, @p88, @p89, @p90, @p91, @p92, @p93, @p94, @p95, @p96, @p97, @p98, @p99, @p100, @p101, @p102, @p103, @p104, @p105, @p106, @p107, @p108, @p109, @p110, @p111, @p112, @p113, @p114, @p115, @p116, @p117, @p118, @p119),
(@p120, @p121, @p122, @p123, @p124, @p125, @p126, @p127, @p128, @p129, @p130, @p131, @p132, @p133, @p134, @p135, @p136, @p137, @p138, @p139, @p140, @p141, @p142, @p143, @p144, @p145, @p146, @p147, @p148, @p149, @p150, @p151, @p152, @p153, @p154, @p155, @p156);
2022-02-24 19:40:14.646 +08:00 [DBG] Added 0 entity changes to the current audit log
2022-02-24 19:40:14.646 +08:00 [DBG] Added 0 entity changes to the current audit log
2022-02-24 19:40:14.695 +08:00 [INF] Executing ObjectResult, writing value of type 'WmsWebApi.ZlldcjLogs.ReturnResult'.
2022-02-24 19:40:14.695 +08:00 [INF] Executed action WmsWebApi.ZlldcjLogs.ZlldcjLogAppService.AddAsync (WmsWebApi.Application) in 317.4896ms
2022-02-24 19:40:14.695 +08:00 [INF] Executed endpoint 'WmsWebApi.ZlldcjLogs.ZlldcjLogAppService.AddAsync (WmsWebApi.Application)'
2022-02-24 19:40:14.695 +08:00 [INF] Entity Framework Core 5.0.14 initialized 'AbpAuditLoggingDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: QuerySplittingBehavior=SplitQuery
2022-02-24 19:40:14.701 +08:00 [INF] Executed DbCommand (2ms) [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-24 19:40:14.703 +08:00 [INF] Executed DbCommand (1ms) [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-24 19:40:14.753 +08:00 [DBG] Added 0 entity changes to the current audit log
2022-02-24 19:40:14.753 +08:00 [DBG] Added 0 entity changes to the current audit log
2022-02-24 19:40:14.753 +08:00 [INF] Request finished HTTP/2 POST https://localhost:5000/api/zlldcj/addObj application/json 1037 - 200 - application/json;+charset=utf-8 396.9836ms
2022-02-24 19:42:09.021 +08:00 [INF] Request starting HTTP/2 POST https://localhost:5000/api/zlldcj/close application/json 489
2022-02-24 19:42:09.022 +08:00 [INF] CORS policy execution failed.
2022-02-24 19:42:09.023 +08:00 [INF] Request origin https://localhost:5000 does not have permission to access the resource.
2022-02-24 19:42:09.032 +08:00 [INF] Executing endpoint 'WmsWebApi.ZlldcjLogs.ZlldcjLogAppService.CloseAsync (WmsWebApi.Application)'
2022-02-24 19:42:09.051 +08:00 [INF] Route matched with {action = "Close", controller = "ZlldcjLog", area = "", page = ""}. Executing controller action with signature System.Threading.Tasks.Task`1[WmsWebApi.ZlldcjLogs.ReturnResult] CloseAsync(System.Object) on controller WmsWebApi.ZlldcjLogs.ZlldcjLogAppService (WmsWebApi.Application).
2022-02-24 19:42:09.099 +08:00 [INF] Executing action method WmsWebApi.ZlldcjLogs.ZlldcjLogAppService.CloseAsync (WmsWebApi.Application) - Validation state: "Valid"
2022-02-24 19:42:26.242 +08:00 [INF] Entity Framework Core 5.0.14 initialized 'WmsWebApiDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: QuerySplittingBehavior=SplitQuery
2022-02-24 19:42:26.249 +08:00 [INF] Executed DbCommand (2ms) [Parameters=[@__get_Item_ZLLDJ_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] = @__get_Item_ZLLDJ_0
2022-02-24 19:45:34.600 +08:00 [INF] Executed DbCommand (2ms) [Parameters=[@__get_Item_ZLLDJ_0='?' (Size = 50)], CommandType='"Text"', CommandTimeout='30']
SELECT [t].[BillNum], [t].[BillLineID], [t].[BUn], [t].[BarCode], [t].[BaseOrder], [t].[BaseOrderDesc], [t].[BillType], [t].[BillTypeDesc], [t].[ClaimLocation], [t].[CostCenter], [t].[CreatDate], [t].[Creator], [t].[GetOrBack], [t].[UID], [t].[IsClosed], [t].[MoveReason], [t].[MoveType], [t].[OrderReason], [t].[PartCode], [t].[PickLocation], [t].[PickPerson], [t].[PickedQty], [t].[Qty], [t].[RejecteLocation], [t].[RejecteQty], [t].[Remark], [t].[ToBarCode], [t].[ToPartCode]
FROM [TM_PG_OTHER_INOUT_ASK] AS [t]
WHERE [t].[BillNum] = @__get_Item_ZLLDJ_0
2022-02-24 19:45:34.682 +08:00 [INF] Executed action method WmsWebApi.ZlldcjLogs.ZlldcjLogAppService.CloseAsync (WmsWebApi.Application), returned result Microsoft.AspNetCore.Mvc.ObjectResult in 205582.9979ms.
2022-02-24 19:45:34.727 +08:00 [INF] Executed DbCommand (2ms) [Parameters=[@p1='?' (Size = 50), @p2='?' (Size = 50), @p0='?' (DbType = Boolean)], CommandType='"Text"', CommandTimeout='30']
SET NOCOUNT ON;
UPDATE [TM_PG_OTHER_INOUT_ASK] SET [IsClosed] = @p0
WHERE [BillLineID] = @p1 AND [BillNum] = @p2;
SELECT @@ROWCOUNT;
2022-02-24 19:45:34.731 +08:00 [DBG] Added 0 entity changes to the current audit log
2022-02-24 19:45:34.731 +08:00 [DBG] Added 0 entity changes to the current audit log
2022-02-24 19:45:34.758 +08:00 [INF] Executing ObjectResult, writing value of type 'WmsWebApi.ZlldcjLogs.ReturnResult'.
2022-02-24 19:45:34.758 +08:00 [INF] Executed action WmsWebApi.ZlldcjLogs.ZlldcjLogAppService.CloseAsync (WmsWebApi.Application) in 205707.093ms
2022-02-24 19:45:34.758 +08:00 [INF] Executed endpoint 'WmsWebApi.ZlldcjLogs.ZlldcjLogAppService.CloseAsync (WmsWebApi.Application)'
2022-02-24 19:45:34.759 +08:00 [INF] Entity Framework Core 5.0.14 initialized 'AbpAuditLoggingDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: QuerySplittingBehavior=SplitQuery
2022-02-24 19:45:34.765 +08:00 [INF] Executed DbCommand (2ms) [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-24 19:45:34.837 +08:00 [INF] Executed DbCommand (71ms) [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-24 19:45:34.852 +08:00 [DBG] Added 0 entity changes to the current audit log
2022-02-24 19:45:34.852 +08:00 [DBG] Added 0 entity changes to the current audit log
2022-02-24 19:45:34.852 +08:00 [INF] Request finished HTTP/2 POST https://localhost:5000/api/zlldcj/close application/json 489 - 200 - application/json;+charset=utf-8 205831.8233ms
2022-02-24 19:45:52.820 +08:00 [INF] Request starting HTTP/2 POST https://localhost:5000/api/zlldcj/close application/json 489
2022-02-24 19:45:52.820 +08:00 [INF] CORS policy execution failed.
2022-02-24 19:45:52.820 +08:00 [INF] Request origin https://localhost:5000 does not have permission to access the resource.
2022-02-24 19:45:52.823 +08:00 [INF] Executing endpoint 'WmsWebApi.ZlldcjLogs.ZlldcjLogAppService.CloseAsync (WmsWebApi.Application)'
2022-02-24 19:45:52.824 +08:00 [INF] Route matched with {action = "Close", controller = "ZlldcjLog", area = "", page = ""}. Executing controller action with signature System.Threading.Tasks.Task`1[WmsWebApi.ZlldcjLogs.ReturnResult] CloseAsync(System.Object) on controller WmsWebApi.ZlldcjLogs.ZlldcjLogAppService (WmsWebApi.Application).
2022-02-24 19:45:52.863 +08:00 [INF] Executing action method WmsWebApi.ZlldcjLogs.ZlldcjLogAppService.CloseAsync (WmsWebApi.Application) - Validation state: "Valid"
2022-02-24 19:46:07.217 +08:00 [INF] Entity Framework Core 5.0.14 initialized 'WmsWebApiDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: QuerySplittingBehavior=SplitQuery
2022-02-24 19:46:07.231 +08:00 [INF] Executed DbCommand (2ms) [Parameters=[@__get_Item_ZLLDJ_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] = @__get_Item_ZLLDJ_0
2022-02-24 19:46:13.719 +08:00 [INF] Executed DbCommand (2ms) [Parameters=[@__get_Item_ZLLDJ_0='?' (Size = 50)], CommandType='"Text"', CommandTimeout='30']
SELECT [t].[BillNum], [t].[BillLineID], [t].[BUn], [t].[BarCode], [t].[BaseOrder], [t].[BaseOrderDesc], [t].[BillType], [t].[BillTypeDesc], [t].[ClaimLocation], [t].[CostCenter], [t].[CreatDate], [t].[Creator], [t].[GetOrBack], [t].[UID], [t].[IsClosed], [t].[MoveReason], [t].[MoveType], [t].[OrderReason], [t].[PartCode], [t].[PickLocation], [t].[PickPerson], [t].[PickedQty], [t].[Qty], [t].[RejecteLocation], [t].[RejecteQty], [t].[Remark], [t].[ToBarCode], [t].[ToPartCode]
FROM [TM_PG_OTHER_INOUT_ASK] AS [t]
WHERE [t].[BillNum] = @__get_Item_ZLLDJ_0
2022-02-24 19:49:22.189 +08:00 [INF] Starting web host.
2022-02-24 19:49:30.447 +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-24 19:49:30.575 +08:00 [INF] Loaded ABP modules:
2022-02-24 19:49:30.575 +08:00 [INF] - WmsWebApi.WmsWebApiHttpApiHostModule
2022-02-24 19:49:30.575 +08:00 [INF] - WmsWebApi.WmsWebApiApplicationModule
2022-02-24 19:49:30.575 +08:00 [INF] - WmsWebApi.WmsWebApiDomainModule
2022-02-24 19:49:30.575 +08:00 [INF] - Volo.Abp.Domain.AbpDddDomainModule
2022-02-24 19:49:30.575 +08:00 [INF] - Volo.Abp.Auditing.AbpAuditingModule
2022-02-24 19:49:30.575 +08:00 [INF] - Volo.Abp.Data.AbpDataModule
2022-02-24 19:49:30.575 +08:00 [INF] - Volo.Abp.ObjectExtending.AbpObjectExtendingModule
2022-02-24 19:49:30.575 +08:00 [INF] - Volo.Abp.Localization.AbpLocalizationAbstractionsModule
2022-02-24 19:49:30.575 +08:00 [INF] - Volo.Abp.Validation.AbpValidationAbstractionsModule
2022-02-24 19:49:30.575 +08:00 [INF] - Volo.Abp.Uow.AbpUnitOfWorkModule
2022-02-24 19:49:30.575 +08:00 [INF] - Volo.Abp.EventBus.Abstractions.AbpEventBusAbstractionsModule
2022-02-24 19:49:30.575 +08:00 [INF] - Volo.Abp.Json.AbpJsonModule
2022-02-24 19:49:30.575 +08:00 [INF] - Volo.Abp.Timing.AbpTimingModule
2022-02-24 19:49:30.575 +08:00 [INF] - Volo.Abp.Localization.AbpLocalizationModule
2022-02-24 19:49:30.575 +08:00 [INF] - Volo.Abp.VirtualFileSystem.AbpVirtualFileSystemModule
2022-02-24 19:49:30.575 +08:00 [INF] - Volo.Abp.Settings.AbpSettingsModule
2022-02-24 19:49:30.575 +08:00 [INF] - Volo.Abp.Security.AbpSecurityModule
2022-02-24 19:49:30.575 +08:00 [INF] - Volo.Abp.MultiTenancy.AbpMultiTenancyModule
2022-02-24 19:49:30.575 +08:00 [INF] - Volo.Abp.Threading.AbpThreadingModule
2022-02-24 19:49:30.575 +08:00 [INF] - Volo.Abp.EventBus.AbpEventBusModule
2022-02-24 19:49:30.575 +08:00 [INF] - Volo.Abp.Guids.AbpGuidsModule
2022-02-24 19:49:30.575 +08:00 [INF] - Volo.Abp.ObjectMapping.AbpObjectMappingModule
2022-02-24 19:49:30.575 +08:00 [INF] - Volo.Abp.ExceptionHandling.AbpExceptionHandlingModule
2022-02-24 19:49:30.575 +08:00 [INF] - Volo.Abp.Specifications.AbpSpecificationsModule
2022-02-24 19:49:30.575 +08:00 [INF] - WmsWebApi.WmsWebApiDomainSharedModule
2022-02-24 19:49:30.575 +08:00 [INF] - Volo.Abp.Validation.AbpValidationModule
2022-02-24 19:49:30.575 +08:00 [INF] - WmsWebApi.WmsWebApiApplicationContractsModule
2022-02-24 19:49:30.575 +08:00 [INF] - Volo.Abp.Application.AbpDddApplicationContractsModule
2022-02-24 19:49:30.575 +08:00 [INF] - Volo.Abp.Authorization.AbpAuthorizationModule
2022-02-24 19:49:30.575 +08:00 [INF] - Volo.Abp.Authorization.AbpAuthorizationAbstractionsModule
2022-02-24 19:49:30.575 +08:00 [INF] - Volo.Abp.Application.AbpDddApplicationModule
2022-02-24 19:49:30.575 +08:00 [INF] - Volo.Abp.Http.AbpHttpAbstractionsModule
2022-02-24 19:49:30.575 +08:00 [INF] - Volo.Abp.Features.AbpFeaturesModule
2022-02-24 19:49:30.575 +08:00 [INF] - Volo.Abp.GlobalFeatures.AbpGlobalFeaturesModule
2022-02-24 19:49:30.575 +08:00 [INF] - Volo.Abp.AutoMapper.AbpAutoMapperModule
2022-02-24 19:49:30.575 +08:00 [INF] - WmsWebApi.EntityFrameworkCore.WmsWebApiEntityFrameworkCoreModule
2022-02-24 19:49:30.575 +08:00 [INF] - Volo.Abp.EntityFrameworkCore.AbpEntityFrameworkCoreModule
2022-02-24 19:49:30.575 +08:00 [INF] - Volo.Abp.Dapper.AbpDapperModule
2022-02-24 19:49:30.575 +08:00 [INF] - WmsWebApi.WmsWebApiHttpApiModule
2022-02-24 19:49:30.575 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.AbpAspNetCoreMvcModule
2022-02-24 19:49:30.575 +08:00 [INF] - Volo.Abp.AspNetCore.AbpAspNetCoreModule
2022-02-24 19:49:30.575 +08:00 [INF] - Volo.Abp.Http.AbpHttpModule
2022-02-24 19:49:30.575 +08:00 [INF] - Volo.Abp.Minify.AbpMinifyModule
2022-02-24 19:49:30.575 +08:00 [INF] - Volo.Abp.ApiVersioning.AbpApiVersioningAbstractionsModule
2022-02-24 19:49:30.575 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.AbpAspNetCoreMvcContractsModule
2022-02-24 19:49:30.575 +08:00 [INF] - Volo.Abp.UI.Navigation.AbpUiNavigationModule
2022-02-24 19:49:30.575 +08:00 [INF] - Volo.Abp.UI.AbpUiModule
2022-02-24 19:49:30.575 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.MultiTenancy.AbpAspNetCoreMvcUiMultiTenancyModule
2022-02-24 19:49:30.575 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Theme.Shared.AbpAspNetCoreMvcUiThemeSharedModule
2022-02-24 19:49:30.575 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.AbpAspNetCoreMvcUiBootstrapModule
2022-02-24 19:49:30.575 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.AbpAspNetCoreMvcUiModule
2022-02-24 19:49:30.575 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Packages.AbpAspNetCoreMvcUiPackagesModule
2022-02-24 19:49:30.575 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Bundling.AbpAspNetCoreMvcUiBundlingAbstractionsModule
2022-02-24 19:49:30.575 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Widgets.AbpAspNetCoreMvcUiWidgetsModule
2022-02-24 19:49:30.575 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Bundling.AbpAspNetCoreMvcUiBundlingModule
2022-02-24 19:49:30.575 +08:00 [INF] - Volo.Abp.AspNetCore.MultiTenancy.AbpAspNetCoreMultiTenancyModule
2022-02-24 19:49:30.575 +08:00 [INF] - Volo.Abp.Autofac.AbpAutofacModule
2022-02-24 19:49:30.575 +08:00 [INF] - Volo.Abp.Castle.AbpCastleCoreModule
2022-02-24 19:49:30.575 +08:00 [INF] - Volo.Abp.Caching.StackExchangeRedis.AbpCachingStackExchangeRedisModule
2022-02-24 19:49:30.575 +08:00 [INF] - Volo.Abp.Caching.AbpCachingModule
2022-02-24 19:49:30.575 +08:00 [INF] - Volo.Abp.Serialization.AbpSerializationModule
2022-02-24 19:49:30.575 +08:00 [INF] - Volo.Abp.EntityFrameworkCore.SqlServer.AbpEntityFrameworkCoreSqlServerModule
2022-02-24 19:49:30.575 +08:00 [INF] - Volo.Abp.AuditLogging.EntityFrameworkCore.AbpAuditLoggingEntityFrameworkCoreModule
2022-02-24 19:49:30.575 +08:00 [INF] - Volo.Abp.AuditLogging.AbpAuditLoggingDomainModule
2022-02-24 19:49:30.575 +08:00 [INF] - Volo.Abp.AuditLogging.AbpAuditLoggingDomainSharedModule
2022-02-24 19:49:30.575 +08:00 [INF] - Volo.Abp.PermissionManagement.EntityFrameworkCore.AbpPermissionManagementEntityFrameworkCoreModule
2022-02-24 19:49:30.575 +08:00 [INF] - Volo.Abp.PermissionManagement.AbpPermissionManagementDomainModule
2022-02-24 19:49:30.575 +08:00 [INF] - Volo.Abp.PermissionManagement.AbpPermissionManagementDomainSharedModule
2022-02-24 19:49:30.575 +08:00 [INF] - Volo.Abp.SettingManagement.EntityFrameworkCore.AbpSettingManagementEntityFrameworkCoreModule
2022-02-24 19:49:30.575 +08:00 [INF] - Volo.Abp.SettingManagement.AbpSettingManagementDomainModule
2022-02-24 19:49:30.575 +08:00 [INF] - Volo.Abp.SettingManagement.AbpSettingManagementDomainSharedModule
2022-02-24 19:49:30.575 +08:00 [INF] - Volo.Abp.AspNetCore.Serilog.AbpAspNetCoreSerilogModule
2022-02-24 19:49:30.575 +08:00 [INF] - Volo.Abp.Swashbuckle.AbpSwashbuckleModule
2022-02-24 19:49:31.150 +08:00 [INF] Initialized all ABP modules.
2022-02-24 19:49:31.502 +08:00 [INF] Now listening on: https://localhost:5000
2022-02-24 19:49:31.502 +08:00 [INF] Application started. Press Ctrl+C to shut down.
2022-02-24 19:49:31.502 +08:00 [INF] Hosting environment: Development
2022-02-24 19:49:31.502 +08:00 [INF] Content root path: D:\工作\派格\接口程序\WmsWebApi\host\WmsWebApi.HttpApi.Host
2022-02-24 19:49:34.995 +08:00 [INF] Request starting HTTP/2 GET https://localhost:5000/ - -
2022-02-24 19:49:37.638 +08:00 [INF] Executing endpoint 'WmsWebApi.Controllers.HomeController.Index (WmsWebApi.HttpApi.Host)'
2022-02-24 19:49:37.836 +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-24 19:49:38.312 +08:00 [INF] Executing action method WmsWebApi.Controllers.HomeController.Index (WmsWebApi.HttpApi.Host) - Validation state: "Valid"
2022-02-24 19:49:38.319 +08:00 [INF] Executed action method WmsWebApi.Controllers.HomeController.Index (WmsWebApi.HttpApi.Host), returned result Microsoft.AspNetCore.Mvc.RedirectResult in 0.3882ms.
2022-02-24 19:49:38.325 +08:00 [INF] Executing RedirectResult, redirecting to /swagger.
2022-02-24 19:49:38.330 +08:00 [INF] Executed action WmsWebApi.Controllers.HomeController.Index (WmsWebApi.HttpApi.Host) in 488.9055ms
2022-02-24 19:49:38.330 +08:00 [INF] Executed endpoint 'WmsWebApi.Controllers.HomeController.Index (WmsWebApi.HttpApi.Host)'
2022-02-24 19:49:38.362 +08:00 [INF] Request finished HTTP/2 GET https://localhost:5000/ - - - 302 0 - 3369.7170ms
2022-02-24 19:49:38.374 +08:00 [INF] Request starting HTTP/2 GET https://localhost:5000/swagger/index.html - -
2022-02-24 19:49:38.529 +08:00 [INF] Request finished HTTP/2 GET https://localhost:5000/swagger/index.html - - - 200 - text/html;charset=utf-8 154.4405ms
2022-02-24 19:49:38.726 +08:00 [INF] Request starting HTTP/2 GET https://localhost:5000/_framework/aspnetcore-browser-refresh.js - -
2022-02-24 19:49:38.729 +08:00 [INF] Request finished HTTP/2 GET https://localhost:5000/_framework/aspnetcore-browser-refresh.js - - - 200 11956 application/javascript;+charset=utf-8 2.9763ms
2022-02-24 19:49:38.926 +08:00 [INF] Request starting HTTP/2 GET https://localhost:5000/swagger/v1/swagger.json - -
2022-02-24 19:49:39.117 +08:00 [INF] Request finished HTTP/2 GET https://localhost:5000/swagger/v1/swagger.json - - - 200 - application/json;charset=utf-8 191.5932ms
2022-02-24 19:50:56.233 +08:00 [INF] Request starting HTTP/2 GET https://localhost:5000/abp/Swashbuckle/SetCsrfCookie application/json -
2022-02-24 19:50:56.253 +08:00 [INF] Executing endpoint 'Volo.Abp.Swashbuckle.AbpSwashbuckleController.SetCsrfCookie (Volo.Abp.Swashbuckle)'
2022-02-24 19:50:56.254 +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-24 19:50:56.316 +08:00 [INF] Executing action method Volo.Abp.Swashbuckle.AbpSwashbuckleController.SetCsrfCookie (Volo.Abp.Swashbuckle) - Validation state: "Valid"
2022-02-24 19:50:56.328 +08:00 [INF] Executed action method Volo.Abp.Swashbuckle.AbpSwashbuckleController.SetCsrfCookie (Volo.Abp.Swashbuckle), returned result Microsoft.AspNetCore.Mvc.EmptyResult in 11.3793ms.
2022-02-24 19:50:56.328 +08:00 [INF] Executed action Volo.Abp.Swashbuckle.AbpSwashbuckleController.SetCsrfCookie (Volo.Abp.Swashbuckle) in 74.1848ms
2022-02-24 19:50:56.328 +08:00 [INF] Executed endpoint 'Volo.Abp.Swashbuckle.AbpSwashbuckleController.SetCsrfCookie (Volo.Abp.Swashbuckle)'
2022-02-24 19:50:56.329 +08:00 [INF] Request finished HTTP/2 GET https://localhost:5000/abp/Swashbuckle/SetCsrfCookie application/json - - 204 - - 96.0671ms
2022-02-24 19:50:56.387 +08:00 [INF] Request starting HTTP/2 POST https://localhost:5000/api/zlldcj/close application/json 489
2022-02-24 19:50:56.402 +08:00 [INF] CORS policy execution failed.
2022-02-24 19:50:56.402 +08:00 [INF] Request origin https://localhost:5000 does not have permission to access the resource.
2022-02-24 19:50:56.404 +08:00 [INF] Executing endpoint 'WmsWebApi.ZlldcjLogs.ZlldcjLogAppService.CloseAsync (WmsWebApi.Application)'
2022-02-24 19:50:56.422 +08:00 [INF] Route matched with {action = "Close", controller = "ZlldcjLog", area = "", page = ""}. Executing controller action with signature System.Threading.Tasks.Task`1[WmsWebApi.ZlldcjLogs.ReturnResult] CloseAsync(System.Object) on controller WmsWebApi.ZlldcjLogs.ZlldcjLogAppService (WmsWebApi.Application).
2022-02-24 19:50:57.381 +08:00 [INF] Executing action method WmsWebApi.ZlldcjLogs.ZlldcjLogAppService.CloseAsync (WmsWebApi.Application) - Validation state: "Valid"
2022-02-24 19:51:10.173 +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-24 19:51:10.173 +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-02-24 19:51:10.174 +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-02-24 19:51:10.174 +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-24 19:51:10.174 +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-24 19:51:10.174 +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-24 19:51:10.174 +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-24 19:51:10.174 +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-24 19:51:10.174 +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-24 19:51:10.174 +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-24 19:51:10.174 +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-24 19:51:10.174 +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-24 19:51:10.174 +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-24 19:51:10.174 +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-24 19:51:10.174 +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-24 19:51:10.174 +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-24 19:51:10.174 +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-24 19:51:10.174 +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-24 19:51:10.174 +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-24 19:51:10.174 +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-24 19:51:10.174 +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-24 19:51:10.430 +08:00 [INF] Entity Framework Core 5.0.14 initialized 'WmsWebApiDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: QuerySplittingBehavior=SplitQuery
2022-02-24 19:51:11.270 +08:00 [INF] Executed DbCommand (102ms) [Parameters=[@__get_Item_ZLLDJ_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] = @__get_Item_ZLLDJ_0
2022-02-24 19:51:25.131 +08:00 [INF] Executed DbCommand (23ms) [Parameters=[@__get_Item_ZLLDJ_0='?' (Size = 50)], CommandType='"Text"', CommandTimeout='30']
SELECT [t].[BillNum], [t].[BillLineID], [t].[BUn], [t].[BarCode], [t].[BaseOrder], [t].[BaseOrderDesc], [t].[BillType], [t].[BillTypeDesc], [t].[ClaimLocation], [t].[CostCenter], [t].[CreatDate], [t].[Creator], [t].[GetOrBack], [t].[UID], [t].[IsClosed], [t].[MoveReason], [t].[MoveType], [t].[OrderReason], [t].[PartCode], [t].[PickLocation], [t].[PickPerson], [t].[PickedQty], [t].[Qty], [t].[RejecteLocation], [t].[RejecteQty], [t].[Remark], [t].[ToBarCode], [t].[ToPartCode]
FROM [TM_PG_OTHER_INOUT_ASK] AS [t]
WHERE [t].[BillNum] = @__get_Item_ZLLDJ_0
2022-02-24 19:51:50.777 +08:00 [INF] Executed action method WmsWebApi.ZlldcjLogs.ZlldcjLogAppService.CloseAsync (WmsWebApi.Application), returned result Microsoft.AspNetCore.Mvc.ObjectResult in 53396.7322ms.
2022-02-24 19:51:51.102 +08:00 [INF] Executed DbCommand (57ms) [Parameters=[@p0='?' (DbType = Guid), @p1='?' (DbType = DateTime2), @p2='?' (Size = 4000), @p3='?' (Size = 4000), @p4='?' (Size = 4000), @p5='?' (Size = 20), @p6='?' (Size = 4000)], CommandType='"Text"', CommandTimeout='30']
SET NOCOUNT ON;
INSERT INTO [WmsWebApiZLLDCJDTO] ([Id], [DYSJ], [ITYPE], [JSON], [ZDJLX], [ZLLDJ], [ZLTLX])
VALUES (@p0, @p1, @p2, @p3, @p4, @p5, @p6);
2022-02-24 19:51:51.170 +08:00 [INF] Executed DbCommand (54ms) [Parameters=[@p0='?' (DbType = Guid), @p1='?' (Size = 4000), @p2='?' (Size = 64), @p3='?' (Size = 4000), @p4='?' (Size = 64), @p5='?' (Size = 64), @p6='?' (Precision = 18) (Scale = 6) (DbType = Decimal), @p7='?' (Precision = 18) (Scale = 6) (DbType = Decimal), @p8='?' (Size = 64), @p9='?' (Size = 40), @p10='?' (DbType = DateTime2), @p11='?' (DbType = Guid), @p12='?' (Precision = 18) (Scale = 6) (DbType = Decimal), @p13='?' (Size = 4000), @p14='?' (Size = 64), @p15='?' (Size = 4000), @p16='?' (Size = 4000), @p17='?' (Size = 4000), @p18='?' (Size = 4000), @p19='?' (Size = 64), @p20='?' (Size = 64), @p21='?' (Size = 64), @p22='?' (Size = 64), @p23='?' (Size = 64), @p24='?' (Size = 64), @p25='?' (Size = 4000), @p26='?' (Size = 4000), @p27='?' (Size = 4000), @p28='?' (Size = 4000), @p29='?' (Size = 64), @p30='?' (Size = 64), @p31='?' (Size = 64), @p32='?' (Size = 64), @p33='?' (Size = 4000), @p34='?' (DbType = Int32), @p35='?' (Size = 64), @p36='?' (Size = 64)], CommandType='"Text"', CommandTimeout='30']
SET NOCOUNT ON;
INSERT INTO [WmsWebApiZLLDCJ_LOGDTO] ([Id], [AEDAT], [AENAM], [AEZET], [ANLN1], [AUFNR], [BDMNG], [BKNUM], [BWART], [ConcurrencyStamp], [CreationTime], [CreatorId], [ENMNG], [ERDAT], [ERNAM], [ERZET], [ExtraProperties], [GRUND], [IType], [KOSTL], [KZEAR], [LGORT1], [LGORT2], [LGORT3], [MATNR], [MEINS], [POSNR], [RSNUM], [RSPOS], [VBELN], [WERKS], [ZBZSM], [ZDJLX], [ZLLDJ], [ZLLITEM], [ZLLR], [ZLTLX])
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);
2022-02-24 19:51:51.265 +08:00 [DBG] Added 0 entity changes to the current audit log
2022-02-24 19:51:51.265 +08:00 [DBG] Added 0 entity changes to the current audit log
2022-02-24 19:51:52.241 +08:00 [INF] Executing ObjectResult, writing value of type 'WmsWebApi.ZlldcjLogs.ReturnResult'.
2022-02-24 19:51:52.250 +08:00 [INF] Executed action WmsWebApi.ZlldcjLogs.ZlldcjLogAppService.CloseAsync (WmsWebApi.Application) in 55827.6934ms
2022-02-24 19:51:52.250 +08:00 [INF] Executed endpoint 'WmsWebApi.ZlldcjLogs.ZlldcjLogAppService.CloseAsync (WmsWebApi.Application)'
2022-02-24 19:51:52.435 +08:00 [INF] Entity Framework Core 5.0.14 initialized 'AbpAuditLoggingDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: QuerySplittingBehavior=SplitQuery
2022-02-24 19:51:52.552 +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-02-24 19:51:52.590 +08:00 [INF] Executed DbCommand (37ms) [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-24 19:51:52.659 +08:00 [DBG] Added 0 entity changes to the current audit log
2022-02-24 19:51:52.659 +08:00 [DBG] Added 0 entity changes to the current audit log
2022-02-24 19:51:52.661 +08:00 [INF] Request finished HTTP/2 POST https://localhost:5000/api/zlldcj/close application/json 489 - 200 - application/json;+charset=utf-8 56273.9916ms
2022-02-24 19:52:19.909 +08:00 [INF] Request starting HTTP/2 POST https://localhost:5000/api/zlldcj/close application/json 489
2022-02-24 19:52:19.912 +08:00 [INF] CORS policy execution failed.
2022-02-24 19:52:19.912 +08:00 [INF] Request origin https://localhost:5000 does not have permission to access the resource.
2022-02-24 19:52:19.915 +08:00 [INF] Executing endpoint 'WmsWebApi.ZlldcjLogs.ZlldcjLogAppService.CloseAsync (WmsWebApi.Application)'
2022-02-24 19:52:19.916 +08:00 [INF] Route matched with {action = "Close", controller = "ZlldcjLog", area = "", page = ""}. Executing controller action with signature System.Threading.Tasks.Task`1[WmsWebApi.ZlldcjLogs.ReturnResult] CloseAsync(System.Object) on controller WmsWebApi.ZlldcjLogs.ZlldcjLogAppService (WmsWebApi.Application).
2022-02-24 19:52:19.955 +08:00 [INF] Executing action method WmsWebApi.ZlldcjLogs.ZlldcjLogAppService.CloseAsync (WmsWebApi.Application) - Validation state: "Valid"
2022-02-24 19:52:22.115 +08:00 [INF] Entity Framework Core 5.0.14 initialized 'WmsWebApiDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: QuerySplittingBehavior=SplitQuery
2022-02-24 19:52:22.162 +08:00 [INF] Executed DbCommand (5ms) [Parameters=[@__get_Item_ZLLDJ_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] = @__get_Item_ZLLDJ_0
2022-02-24 19:52:22.173 +08:00 [INF] Executed DbCommand (2ms) [Parameters=[@__get_Item_ZLLDJ_0='?' (Size = 50)], CommandType='"Text"', CommandTimeout='30']
SELECT [t].[BillNum], [t].[BillLineID], [t].[BUn], [t].[BarCode], [t].[BaseOrder], [t].[BaseOrderDesc], [t].[BillType], [t].[BillTypeDesc], [t].[ClaimLocation], [t].[CostCenter], [t].[CreatDate], [t].[Creator], [t].[GetOrBack], [t].[UID], [t].[IsClosed], [t].[MoveReason], [t].[MoveType], [t].[OrderReason], [t].[PartCode], [t].[PickLocation], [t].[PickPerson], [t].[PickedQty], [t].[Qty], [t].[RejecteLocation], [t].[RejecteQty], [t].[Remark], [t].[ToBarCode], [t].[ToPartCode]
FROM [TM_PG_OTHER_INOUT_ASK] AS [t]
WHERE [t].[BillNum] = @__get_Item_ZLLDJ_0
2022-02-24 19:52:22.184 +08:00 [INF] Executed action method WmsWebApi.ZlldcjLogs.ZlldcjLogAppService.CloseAsync (WmsWebApi.Application), returned result Microsoft.AspNetCore.Mvc.ObjectResult in 2228.5624ms.
2022-02-24 19:52:22.218 +08:00 [INF] Executed DbCommand (6ms) [Parameters=[@p1='?' (DbType = Int32), @p0='?' (DbType = Int32), @p3='?' (Size = 50), @p4='?' (Size = 50), @p2='?' (DbType = Boolean), @p5='?' (DbType = Guid), @p6='?' (DbType = DateTime2), @p7='?' (Size = 4000), @p8='?' (Size = 4000), @p9='?' (Size = 4000), @p10='?' (Size = 20), @p11='?' (Size = 4000), @p12='?' (DbType = Guid), @p13='?' (Size = 4000), @p14='?' (Size = 64), @p15='?' (Size = 4000), @p16='?' (Size = 64), @p17='?' (Size = 64), @p18='?' (Precision = 18) (Scale = 6) (DbType = Decimal), @p19='?' (Precision = 18) (Scale = 6) (DbType = Decimal), @p20='?' (Size = 64), @p21='?' (Size = 40), @p22='?' (DbType = DateTime2), @p23='?' (DbType = Guid), @p24='?' (Precision = 18) (Scale = 6) (DbType = Decimal), @p25='?' (Size = 4000), @p26='?' (Size = 64), @p27='?' (Size = 4000), @p28='?' (Size = 4000), @p29='?' (Size = 4000), @p30='?' (Size = 4000), @p31='?' (Size = 64), @p32='?' (Size = 64), @p33='?' (Size = 64), @p34='?' (Size = 64), @p35='?' (Size = 64), @p36='?' (Size = 64), @p37='?' (Size = 4000), @p38='?' (Size = 4000), @p39='?' (Size = 4000), @p40='?' (Size = 4000), @p41='?' (Size = 64), @p42='?' (Size = 64), @p43='?' (Size = 64), @p44='?' (Size = 64), @p45='?' (Size = 4000), @p46='?' (DbType = Int32), @p47='?' (Size = 64), @p48='?' (Size = 64)], CommandType='"Text"', CommandTimeout='30']
SET NOCOUNT ON;
UPDATE [TB_BILL] SET [State] = @p0
WHERE [UID] = @p1;
SELECT @@ROWCOUNT;
UPDATE [TM_PG_OTHER_INOUT_ASK] SET [IsClosed] = @p2
WHERE [BillLineID] = @p3 AND [BillNum] = @p4;
SELECT @@ROWCOUNT;
INSERT INTO [WmsWebApiZLLDCJDTO] ([Id], [DYSJ], [ITYPE], [JSON], [ZDJLX], [ZLLDJ], [ZLTLX])
VALUES (@p5, @p6, @p7, @p8, @p9, @p10, @p11);
INSERT INTO [WmsWebApiZLLDCJ_LOGDTO] ([Id], [AEDAT], [AENAM], [AEZET], [ANLN1], [AUFNR], [BDMNG], [BKNUM], [BWART], [ConcurrencyStamp], [CreationTime], [CreatorId], [ENMNG], [ERDAT], [ERNAM], [ERZET], [ExtraProperties], [GRUND], [IType], [KOSTL], [KZEAR], [LGORT1], [LGORT2], [LGORT3], [MATNR], [MEINS], [POSNR], [RSNUM], [RSPOS], [VBELN], [WERKS], [ZBZSM], [ZDJLX], [ZLLDJ], [ZLLITEM], [ZLLR], [ZLTLX])
VALUES (@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, @p44, @p45, @p46, @p47, @p48);
2022-02-24 19:52:22.230 +08:00 [DBG] Added 0 entity changes to the current audit log
2022-02-24 19:52:22.230 +08:00 [DBG] Added 0 entity changes to the current audit log
2022-02-24 19:52:22.251 +08:00 [INF] Executing ObjectResult, writing value of type 'WmsWebApi.ZlldcjLogs.ReturnResult'.
2022-02-24 19:52:22.251 +08:00 [INF] Executed action WmsWebApi.ZlldcjLogs.ZlldcjLogAppService.CloseAsync (WmsWebApi.Application) in 2335.2208ms
2022-02-24 19:52:22.251 +08:00 [INF] Executed endpoint 'WmsWebApi.ZlldcjLogs.ZlldcjLogAppService.CloseAsync (WmsWebApi.Application)'
2022-02-24 19:52:22.253 +08:00 [INF] Entity Framework Core 5.0.14 initialized 'AbpAuditLoggingDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: QuerySplittingBehavior=SplitQuery
2022-02-24 19:52:22.265 +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-02-24 19:52:22.268 +08:00 [INF] Executed DbCommand (2ms) [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-24 19:52:22.285 +08:00 [DBG] Added 0 entity changes to the current audit log
2022-02-24 19:52:22.285 +08:00 [DBG] Added 0 entity changes to the current audit log
2022-02-24 19:52:22.286 +08:00 [INF] Request finished HTTP/2 POST https://localhost:5000/api/zlldcj/close application/json 489 - 200 - application/json;+charset=utf-8 2376.1714ms