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.
2247 lines
332 KiB
2247 lines
332 KiB
2022-02-23 15:09:49.476 +08:00 [INF] Starting web host.
|
|
2022-02-23 15:10:13.025 +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-23 15:10:13.589 +08:00 [INF] Loaded ABP modules:
|
|
2022-02-23 15:10:13.589 +08:00 [INF] - WmsWebApi.WmsWebApiHttpApiHostModule
|
|
2022-02-23 15:10:13.589 +08:00 [INF] - WmsWebApi.WmsWebApiApplicationModule
|
|
2022-02-23 15:10:13.589 +08:00 [INF] - WmsWebApi.WmsWebApiDomainModule
|
|
2022-02-23 15:10:13.589 +08:00 [INF] - Volo.Abp.Domain.AbpDddDomainModule
|
|
2022-02-23 15:10:13.589 +08:00 [INF] - Volo.Abp.Auditing.AbpAuditingModule
|
|
2022-02-23 15:10:13.589 +08:00 [INF] - Volo.Abp.Data.AbpDataModule
|
|
2022-02-23 15:10:13.589 +08:00 [INF] - Volo.Abp.ObjectExtending.AbpObjectExtendingModule
|
|
2022-02-23 15:10:13.589 +08:00 [INF] - Volo.Abp.Localization.AbpLocalizationAbstractionsModule
|
|
2022-02-23 15:10:13.589 +08:00 [INF] - Volo.Abp.Validation.AbpValidationAbstractionsModule
|
|
2022-02-23 15:10:13.590 +08:00 [INF] - Volo.Abp.Uow.AbpUnitOfWorkModule
|
|
2022-02-23 15:10:13.590 +08:00 [INF] - Volo.Abp.EventBus.Abstractions.AbpEventBusAbstractionsModule
|
|
2022-02-23 15:10:13.590 +08:00 [INF] - Volo.Abp.Json.AbpJsonModule
|
|
2022-02-23 15:10:13.590 +08:00 [INF] - Volo.Abp.Timing.AbpTimingModule
|
|
2022-02-23 15:10:13.590 +08:00 [INF] - Volo.Abp.Localization.AbpLocalizationModule
|
|
2022-02-23 15:10:13.590 +08:00 [INF] - Volo.Abp.VirtualFileSystem.AbpVirtualFileSystemModule
|
|
2022-02-23 15:10:13.590 +08:00 [INF] - Volo.Abp.Settings.AbpSettingsModule
|
|
2022-02-23 15:10:13.590 +08:00 [INF] - Volo.Abp.Security.AbpSecurityModule
|
|
2022-02-23 15:10:13.590 +08:00 [INF] - Volo.Abp.MultiTenancy.AbpMultiTenancyModule
|
|
2022-02-23 15:10:13.590 +08:00 [INF] - Volo.Abp.Threading.AbpThreadingModule
|
|
2022-02-23 15:10:13.590 +08:00 [INF] - Volo.Abp.EventBus.AbpEventBusModule
|
|
2022-02-23 15:10:13.590 +08:00 [INF] - Volo.Abp.Guids.AbpGuidsModule
|
|
2022-02-23 15:10:13.590 +08:00 [INF] - Volo.Abp.ObjectMapping.AbpObjectMappingModule
|
|
2022-02-23 15:10:13.590 +08:00 [INF] - Volo.Abp.ExceptionHandling.AbpExceptionHandlingModule
|
|
2022-02-23 15:10:13.590 +08:00 [INF] - Volo.Abp.Specifications.AbpSpecificationsModule
|
|
2022-02-23 15:10:13.590 +08:00 [INF] - WmsWebApi.WmsWebApiDomainSharedModule
|
|
2022-02-23 15:10:13.590 +08:00 [INF] - Volo.Abp.Validation.AbpValidationModule
|
|
2022-02-23 15:10:13.590 +08:00 [INF] - WmsWebApi.WmsWebApiApplicationContractsModule
|
|
2022-02-23 15:10:13.590 +08:00 [INF] - Volo.Abp.Application.AbpDddApplicationContractsModule
|
|
2022-02-23 15:10:13.590 +08:00 [INF] - Volo.Abp.Authorization.AbpAuthorizationModule
|
|
2022-02-23 15:10:13.590 +08:00 [INF] - Volo.Abp.Authorization.AbpAuthorizationAbstractionsModule
|
|
2022-02-23 15:10:13.590 +08:00 [INF] - Volo.Abp.Application.AbpDddApplicationModule
|
|
2022-02-23 15:10:13.590 +08:00 [INF] - Volo.Abp.Http.AbpHttpAbstractionsModule
|
|
2022-02-23 15:10:13.590 +08:00 [INF] - Volo.Abp.Features.AbpFeaturesModule
|
|
2022-02-23 15:10:13.590 +08:00 [INF] - Volo.Abp.GlobalFeatures.AbpGlobalFeaturesModule
|
|
2022-02-23 15:10:13.590 +08:00 [INF] - Volo.Abp.AutoMapper.AbpAutoMapperModule
|
|
2022-02-23 15:10:13.590 +08:00 [INF] - WmsWebApi.EntityFrameworkCore.WmsWebApiEntityFrameworkCoreModule
|
|
2022-02-23 15:10:13.590 +08:00 [INF] - Volo.Abp.EntityFrameworkCore.AbpEntityFrameworkCoreModule
|
|
2022-02-23 15:10:13.590 +08:00 [INF] - Volo.Abp.Dapper.AbpDapperModule
|
|
2022-02-23 15:10:13.590 +08:00 [INF] - WmsWebApi.WmsWebApiHttpApiModule
|
|
2022-02-23 15:10:13.590 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.AbpAspNetCoreMvcModule
|
|
2022-02-23 15:10:13.590 +08:00 [INF] - Volo.Abp.AspNetCore.AbpAspNetCoreModule
|
|
2022-02-23 15:10:13.590 +08:00 [INF] - Volo.Abp.Http.AbpHttpModule
|
|
2022-02-23 15:10:13.590 +08:00 [INF] - Volo.Abp.Minify.AbpMinifyModule
|
|
2022-02-23 15:10:13.590 +08:00 [INF] - Volo.Abp.ApiVersioning.AbpApiVersioningAbstractionsModule
|
|
2022-02-23 15:10:13.591 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.AbpAspNetCoreMvcContractsModule
|
|
2022-02-23 15:10:13.591 +08:00 [INF] - Volo.Abp.UI.Navigation.AbpUiNavigationModule
|
|
2022-02-23 15:10:13.591 +08:00 [INF] - Volo.Abp.UI.AbpUiModule
|
|
2022-02-23 15:10:13.591 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.MultiTenancy.AbpAspNetCoreMvcUiMultiTenancyModule
|
|
2022-02-23 15:10:13.591 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Theme.Shared.AbpAspNetCoreMvcUiThemeSharedModule
|
|
2022-02-23 15:10:13.591 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.AbpAspNetCoreMvcUiBootstrapModule
|
|
2022-02-23 15:10:13.591 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.AbpAspNetCoreMvcUiModule
|
|
2022-02-23 15:10:13.591 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Packages.AbpAspNetCoreMvcUiPackagesModule
|
|
2022-02-23 15:10:13.591 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Bundling.AbpAspNetCoreMvcUiBundlingAbstractionsModule
|
|
2022-02-23 15:10:13.591 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Widgets.AbpAspNetCoreMvcUiWidgetsModule
|
|
2022-02-23 15:10:13.591 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Bundling.AbpAspNetCoreMvcUiBundlingModule
|
|
2022-02-23 15:10:13.591 +08:00 [INF] - Volo.Abp.AspNetCore.MultiTenancy.AbpAspNetCoreMultiTenancyModule
|
|
2022-02-23 15:10:13.591 +08:00 [INF] - Volo.Abp.Autofac.AbpAutofacModule
|
|
2022-02-23 15:10:13.591 +08:00 [INF] - Volo.Abp.Castle.AbpCastleCoreModule
|
|
2022-02-23 15:10:13.591 +08:00 [INF] - Volo.Abp.Caching.StackExchangeRedis.AbpCachingStackExchangeRedisModule
|
|
2022-02-23 15:10:13.591 +08:00 [INF] - Volo.Abp.Caching.AbpCachingModule
|
|
2022-02-23 15:10:13.591 +08:00 [INF] - Volo.Abp.Serialization.AbpSerializationModule
|
|
2022-02-23 15:10:13.591 +08:00 [INF] - Volo.Abp.EntityFrameworkCore.SqlServer.AbpEntityFrameworkCoreSqlServerModule
|
|
2022-02-23 15:10:13.591 +08:00 [INF] - Volo.Abp.AuditLogging.EntityFrameworkCore.AbpAuditLoggingEntityFrameworkCoreModule
|
|
2022-02-23 15:10:13.591 +08:00 [INF] - Volo.Abp.AuditLogging.AbpAuditLoggingDomainModule
|
|
2022-02-23 15:10:13.591 +08:00 [INF] - Volo.Abp.AuditLogging.AbpAuditLoggingDomainSharedModule
|
|
2022-02-23 15:10:13.591 +08:00 [INF] - Volo.Abp.PermissionManagement.EntityFrameworkCore.AbpPermissionManagementEntityFrameworkCoreModule
|
|
2022-02-23 15:10:13.591 +08:00 [INF] - Volo.Abp.PermissionManagement.AbpPermissionManagementDomainModule
|
|
2022-02-23 15:10:13.591 +08:00 [INF] - Volo.Abp.PermissionManagement.AbpPermissionManagementDomainSharedModule
|
|
2022-02-23 15:10:13.591 +08:00 [INF] - Volo.Abp.SettingManagement.EntityFrameworkCore.AbpSettingManagementEntityFrameworkCoreModule
|
|
2022-02-23 15:10:13.591 +08:00 [INF] - Volo.Abp.SettingManagement.AbpSettingManagementDomainModule
|
|
2022-02-23 15:10:13.591 +08:00 [INF] - Volo.Abp.SettingManagement.AbpSettingManagementDomainSharedModule
|
|
2022-02-23 15:10:13.591 +08:00 [INF] - Volo.Abp.AspNetCore.Serilog.AbpAspNetCoreSerilogModule
|
|
2022-02-23 15:10:13.591 +08:00 [INF] - Volo.Abp.Swashbuckle.AbpSwashbuckleModule
|
|
2022-02-23 15:10:16.376 +08:00 [INF] Initialized all ABP modules.
|
|
2022-02-23 15:10:17.784 +08:00 [INF] Now listening on: https://localhost:5000
|
|
2022-02-23 15:10:17.785 +08:00 [INF] Application started. Press Ctrl+C to shut down.
|
|
2022-02-23 15:10:17.785 +08:00 [INF] Hosting environment: Development
|
|
2022-02-23 15:10:17.785 +08:00 [INF] Content root path: D:\工作\派格\接口程序\WmsWebApi\host\WmsWebApi.HttpApi.Host
|
|
2022-02-23 15:10:29.119 +08:00 [INF] Request starting HTTP/2 GET https://localhost:5000/ - -
|
|
2022-02-23 15:10:40.502 +08:00 [INF] Entity Framework Core 5.0.14 initialized 'SettingManagementDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: QuerySplittingBehavior=SplitQuery
|
|
2022-02-23 15:10:43.923 +08:00 [INF] Executed DbCommand (285ms) [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-23 15:10:45.975 +08:00 [INF] Entity Framework Core 5.0.14 initialized 'SettingManagementDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: QuerySplittingBehavior=SplitQuery
|
|
2022-02-23 15:10:46.119 +08:00 [INF] Executed DbCommand (129ms) [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-23 15:10:46.609 +08:00 [INF] Executing endpoint 'WmsWebApi.Controllers.HomeController.Index (WmsWebApi.HttpApi.Host)'
|
|
2022-02-23 15:10:47.028 +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-23 15:10:47.931 +08:00 [INF] Executing action method WmsWebApi.Controllers.HomeController.Index (WmsWebApi.HttpApi.Host) - Validation state: "Valid"
|
|
2022-02-23 15:10:47.953 +08:00 [INF] Executed action method WmsWebApi.Controllers.HomeController.Index (WmsWebApi.HttpApi.Host), returned result Microsoft.AspNetCore.Mvc.RedirectResult in 1.0391ms.
|
|
2022-02-23 15:10:47.988 +08:00 [INF] Executing RedirectResult, redirecting to /swagger.
|
|
2022-02-23 15:10:48.044 +08:00 [INF] Executed action WmsWebApi.Controllers.HomeController.Index (WmsWebApi.HttpApi.Host) in 962.2662ms
|
|
2022-02-23 15:10:48.044 +08:00 [INF] Executed endpoint 'WmsWebApi.Controllers.HomeController.Index (WmsWebApi.HttpApi.Host)'
|
|
2022-02-23 15:10:48.235 +08:00 [INF] Request starting HTTP/2 GET https://localhost:5000/swagger/index.html - -
|
|
2022-02-23 15:10:48.245 +08:00 [INF] Request finished HTTP/2 GET https://localhost:5000/ - - - 302 0 - 19129.0935ms
|
|
2022-02-23 15:10:49.114 +08:00 [INF] Request finished HTTP/2 GET https://localhost:5000/swagger/index.html - - - 200 - text/html;charset=utf-8 878.4100ms
|
|
2022-02-23 15:10:50.194 +08:00 [INF] Request starting HTTP/2 GET https://localhost:5000/_framework/aspnetcore-browser-refresh.js - -
|
|
2022-02-23 15:10:50.206 +08:00 [INF] Request finished HTTP/2 GET https://localhost:5000/_framework/aspnetcore-browser-refresh.js - - - 200 11956 application/javascript;+charset=utf-8 12.6518ms
|
|
2022-02-23 15:10:51.139 +08:00 [INF] Request starting HTTP/2 GET https://localhost:5000/swagger/v1/swagger.json - -
|
|
2022-02-23 15:10:51.959 +08:00 [INF] Request finished HTTP/2 GET https://localhost:5000/swagger/v1/swagger.json - - - 200 - application/json;charset=utf-8 819.5101ms
|
|
2022-02-23 15:16:33.373 +08:00 [INF] Request starting HTTP/2 GET https://localhost:5000/abp/Swashbuckle/SetCsrfCookie application/json -
|
|
2022-02-23 15:16:33.426 +08:00 [INF] Executing endpoint 'Volo.Abp.Swashbuckle.AbpSwashbuckleController.SetCsrfCookie (Volo.Abp.Swashbuckle)'
|
|
2022-02-23 15:16:33.431 +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-23 15:16:33.713 +08:00 [INF] Executing action method Volo.Abp.Swashbuckle.AbpSwashbuckleController.SetCsrfCookie (Volo.Abp.Swashbuckle) - Validation state: "Valid"
|
|
2022-02-23 15:16:33.766 +08:00 [INF] Executed action method Volo.Abp.Swashbuckle.AbpSwashbuckleController.SetCsrfCookie (Volo.Abp.Swashbuckle), returned result Microsoft.AspNetCore.Mvc.EmptyResult in 52.3547ms.
|
|
2022-02-23 15:16:33.767 +08:00 [INF] Executed action Volo.Abp.Swashbuckle.AbpSwashbuckleController.SetCsrfCookie (Volo.Abp.Swashbuckle) in 335.4127ms
|
|
2022-02-23 15:16:33.767 +08:00 [INF] Executed endpoint 'Volo.Abp.Swashbuckle.AbpSwashbuckleController.SetCsrfCookie (Volo.Abp.Swashbuckle)'
|
|
2022-02-23 15:16:33.770 +08:00 [INF] Request finished HTTP/2 GET https://localhost:5000/abp/Swashbuckle/SetCsrfCookie application/json - - 204 - - 397.0040ms
|
|
2022-02-23 15:16:34.183 +08:00 [INF] Request starting HTTP/2 POST https://localhost:5000/api/Purchase/add application/json 528
|
|
2022-02-23 15:16:34.201 +08:00 [INF] CORS policy execution failed.
|
|
2022-02-23 15:16:34.202 +08:00 [INF] Request origin https://localhost:5000 does not have permission to access the resource.
|
|
2022-02-23 15:16:34.209 +08:00 [INF] Executing endpoint 'WmsWebApi.PPlan.PurchaseService.AddAsync (WmsWebApi.Application)'
|
|
2022-02-23 15:16:34.253 +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-23 15:16:38.233 +08:00 [INF] Executing action method WmsWebApi.PPlan.PurchaseService.AddAsync (WmsWebApi.Application) - Validation state: "Valid"
|
|
2022-02-23 15:17:30.769 +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-23 15:17:30.769 +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-23 15:17:30.770 +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-23 15:17:30.770 +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-23 15:17:30.770 +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-23 15:17:30.770 +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-23 15:17:30.771 +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-23 15:17:30.771 +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-23 15:17:30.771 +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-23 15:17:30.771 +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-23 15:17:30.771 +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-23 15:17:30.771 +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-23 15:17:30.771 +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-23 15:17:30.771 +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-23 15:17:30.771 +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-23 15:17:30.772 +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-23 15:17:30.772 +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-23 15:17:30.772 +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-23 15:17:30.772 +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-23 15:17:30.772 +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-23 15:17:30.772 +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-23 15:17:31.178 +08:00 [INF] Entity Framework Core 5.0.14 initialized 'WmsWebApiDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: QuerySplittingBehavior=SplitQuery
|
|
2022-02-23 15:17:32.239 +08:00 [INF] Executed DbCommand (16ms) [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-23 15:18:27.965 +08:00 [INF] Executed DbCommand (62ms) [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-23 15:18:28.570 +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-23 15:18:28.943 +08:00 [INF] Executed DbCommand (69ms) [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-23 15:18:29.014 +08:00 [INF] Executed DbCommand (57ms) [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-23 15:19:08.129 +08:00 [INF] Executed action method WmsWebApi.PPlan.PurchaseService.AddAsync (WmsWebApi.Application), returned result Microsoft.AspNetCore.Mvc.ObjectResult in 149895.4588ms.
|
|
2022-02-23 15:19:08.811 +08:00 [INF] Executed DbCommand (51ms) [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='?' (DbType = DateTime2), @p24='?' (Size = 64), @p25='?' (DbType = DateTime2), @p26='?' (DbType = Int32), @p27='?' (Size = 50), @p28='?' (DbType = Int32), @p29='?' (Size = 4000), @p30='?' (Size = 50), @p31='?' (Size = 50), @p32='?' (Size = 50), @p33='?' (DbType = Guid), @p34='?' (Size = 4000), @p35='?' (Size = 50), @p36='?' (Size = 4000), @p37='?' (Size = 4000), @p38='?' (Size = 4000), @p39='?' (Size = 4000), @p40='?' (Size = 50), @p41='?' (DbType = Int32), @p42='?' (DbType = Int32), @p43='?' (Size = 50), @p44='?' (Size = 50), @p45='?' (Size = 50), @p46='?' (Size = 50), @p47='?' (Size = 50), @p48='?' (Size = 4000), @p49='?' (Size = 4000), @p50='?' (Size = 4000), @p51='?' (Size = 4000), @p52='?' (Precision = 18) (Scale = 6) (DbType = Decimal), @p53='?' (Precision = 18) (Scale = 6) (DbType = Decimal), @p54='?' (Size = 4000), @p55='?' (Size = 50), @p56='?' (Size = 50), @p57='?' (DbType = DateTime2), @p58='?' (Precision = 18) (Scale = 6) (DbType = Decimal), @p59='?' (DbType = DateTime2), @p60='?' (Size = 4000), @p61='?' (Precision = 18) (Scale = 6) (DbType = Decimal), @p62='?' (Size = 4000), @p63='?' (DbType = Int32), @p64='?' (Size = 4000), @p65='?' (Size = 4000), @p66='?' (Size = 4000), @p67='?' (Size = 4000), @p68='?' (Size = 50), @p69='?' (Size = 50), @p70='?' (Size = 4000), @p71='?' (Size = 4000), @p72='?' (Size = 4000), @p73='?' (Size = 4000), @p74='?' (Precision = 18) (Scale = 6) (DbType = Decimal), @p75='?' (Precision = 18) (Scale = 6) (DbType = Decimal), @p76='?' (Size = 4000), @p77='?' (Size = 50), @p78='?' (Size = 50), @p79='?' (DbType = DateTime2), @p80='?' (Precision = 18) (Scale = 6) (DbType = Decimal), @p81='?' (DbType = DateTime2), @p82='?' (Size = 4000), @p83='?' (Precision = 18) (Scale = 6) (DbType = Decimal), @p84='?' (Size = 4000), @p85='?' (DbType = Int32), @p86='?' (Size = 4000), @p87='?' (Size = 4000), @p88='?' (Size = 4000), @p89='?' (Size = 4000), @p90='?' (Size = 4000), @p91='?' (Size = 4000), @p92='?' (Size = 50), @p93='?' (DbType = Int32), @p94='?' (Size = 4000), @p95='?' (Size = 4000), @p96='?' (DbType = DateTime2), @p97='?' (Size = 80), @p98='?' (Size = 4000), @p99='?' (Precision = 18) (Scale = 6) (DbType = Decimal), @p100='?' (Size = 500), @p101='?' (DbType = Int32), @p102='?' (DbType = Int32), @p103='?' (DbType = Int32), @p104='?' (Size = 4000), @p105='?' (Size = 4000), @p106='?' (Size = 4000), @p107='?' (Size = 50), @p108='?' (DbType = Int32), @p109='?' (Size = 4000), @p110='?' (Size = 4000), @p111='?' (DbType = DateTime2), @p112='?' (Size = 80), @p113='?' (Size = 4000), @p114='?' (Precision = 18) (Scale = 6) (DbType = Decimal), @p115='?' (Size = 500), @p116='?' (DbType = Int32), @p117='?' (DbType = Int32), @p118='?' (DbType = Int32), @p119='?' (Size = 4000), @p120='?' (DbType = Guid), @p121='?' (Size = 4000), @p122='?' (DbType = DateTime2), @p123='?' (Size = 4000), @p124='?' (Size = 4000), @p125='?' (Size = 4000), @p126='?' (Size = 10)], CommandType='"Text"', CommandTimeout='30']
|
|
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, @p22, 0),
|
|
(@p23, @p24, @p25, @p26, @p27, @p28, @p29, @p30, @p31, @p32, @p33, @p34, @p35, @p36, @p37, @p38, @p39, @p40, @p41, @p42, @p43, @p44, @p45, 1)) AS i ([AccountDate], [BillNum], [BillTime], [BillType], [CustId], [DetailQty], [DockCode], [FinishTime], [GateCode], [GateName], [Guid], [OperName], [ProjectId], [Remark], [SourceBillNum], [SourceBillNum2], [SourceBillNum3], [StartTime], [State], [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], [State], [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.[State], i.[SubBillType], i.[TransportType], i.[TruckNum], i.[VendId])
|
|
OUTPUT INSERTED.[UID], i._Position
|
|
INTO @inserted0;
|
|
|
|
SELECT [t].[UID] FROM [TB_BILL] t
|
|
INNER JOIN @inserted0 i ON ([t].[UID] = [i].[UID])
|
|
ORDER BY [i].[_Position];
|
|
|
|
DECLARE @inserted2 TABLE ([BarCode] nvarchar(50), [BillNum] nvarchar(50), [_Position] [int]);
|
|
MERGE [TB_PRODUCT_RECEIVE] USING (
|
|
VALUES (@p46, @p47, @p48, @p49, @p50, @p51, @p52, @p53, @p54, @p55, @p56, @p57, @p58, @p59, @p60, @p61, @p62, @p63, @p64, @p65, @p66, @p67, 0),
|
|
(@p68, @p69, @p70, @p71, @p72, @p73, @p74, @p75, @p76, @p77, @p78, @p79, @p80, @p81, @p82, @p83, @p84, @p85, @p86, @p87, @p88, @p89, 1)) AS i ([BarCode], [BillNum], [Batch], [CellCode], [EqptCode], [FromLocCode], [GoodQty], [InvalidQty], [LineId], [PartCode], [PpBillNum], [ProduceDate], [Qty], [ReceiveDate], [Remark], [ScrapQty], [ShiftName], [State], [TeamName], [ToLocCode], [TraceBackCode], [Unit], _Position) ON 1=0
|
|
WHEN NOT MATCHED THEN
|
|
INSERT ([BarCode], [BillNum], [Batch], [CellCode], [EqptCode], [FromLocCode], [GoodQty], [InvalidQty], [LineId], [PartCode], [PpBillNum], [ProduceDate], [Qty], [ReceiveDate], [Remark], [ScrapQty], [ShiftName], [State], [TeamName], [ToLocCode], [TraceBackCode], [Unit])
|
|
VALUES (i.[BarCode], i.[BillNum], i.[Batch], i.[CellCode], i.[EqptCode], i.[FromLocCode], i.[GoodQty], i.[InvalidQty], i.[LineId], i.[PartCode], i.[PpBillNum], i.[ProduceDate], i.[Qty], i.[ReceiveDate], i.[Remark], i.[ScrapQty], i.[ShiftName], i.[State], i.[TeamName], i.[ToLocCode], i.[TraceBackCode], i.[Unit])
|
|
OUTPUT INSERTED.[BarCode], INSERTED.[BillNum], i._Position
|
|
INTO @inserted2;
|
|
|
|
SELECT [t].[UID] FROM [TB_PRODUCT_RECEIVE] t
|
|
INNER JOIN @inserted2 i ON ([t].[BarCode] = [i].[BarCode]) AND ([t].[BillNum] = [i].[BillNum])
|
|
ORDER BY [i].[_Position];
|
|
|
|
DECLARE @inserted4 TABLE ([UID] bigint, [_Position] [int]);
|
|
MERGE [TL_TRANSACTION] USING (
|
|
VALUES (@p90, @p91, @p92, @p93, @p94, @p95, @p96, @p97, @p98, @p99, @p100, @p101, @p102, @p103, @p104, 0),
|
|
(@p105, @p106, @p107, @p108, @p109, @p110, @p111, @p112, @p113, @p114, @p115, @p116, @p117, @p118, @p119, 1)) AS i ([BarCode], [Batch], [BillNum], [BillType], [EqptCode], [LocCode], [LogTime], [OperName], [PartCode], [Qty], [Remark], [State], [SubBillType], [TransType], [VendId], _Position) ON 1=0
|
|
WHEN NOT MATCHED THEN
|
|
INSERT ([BarCode], [Batch], [BillNum], [BillType], [EqptCode], [LocCode], [LogTime], [OperName], [PartCode], [Qty], [Remark], [State], [SubBillType], [TransType], [VendId])
|
|
VALUES (i.[BarCode], i.[Batch], i.[BillNum], i.[BillType], i.[EqptCode], i.[LocCode], i.[LogTime], i.[OperName], i.[PartCode], i.[Qty], i.[Remark], i.[State], i.[SubBillType], i.[TransType], i.[VendId])
|
|
OUTPUT INSERTED.[UID], i._Position
|
|
INTO @inserted4;
|
|
|
|
SELECT [t].[UID] FROM [TL_TRANSACTION] t
|
|
INNER JOIN @inserted4 i ON ([t].[UID] = [i].[UID])
|
|
ORDER BY [i].[_Position];
|
|
|
|
INSERT INTO [WmsWebApiPURCHASEDTO] ([Id], [BUDAT], [DYSJ], [ITYPE], [JSON], [MBLNR], [MJAHR])
|
|
VALUES (@p120, @p121, @p122, @p123, @p124, @p125, @p126);
|
|
2022-02-23 15:19:09.444 +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:7831998c-ee93-4c2b-968a-b10a6a7b4755
|
|
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:7831998c-ee93-4c2b-968a-b10a6a7b4755
|
|
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-23 15:19:09.754 +08:00 [ERR] ---------- RemoteServiceErrorInfo ----------
|
|
{
|
|
"code": null,
|
|
"message": "An internal error occurred during your request!",
|
|
"details": null,
|
|
"data": {},
|
|
"validationErrors": null
|
|
}
|
|
|
|
2022-02-23 15:19:09.757 +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:7831998c-ee93-4c2b-968a-b10a6a7b4755
|
|
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-23 15:19:09.799 +08:00 [INF] Executing ObjectResult, writing value of type 'Volo.Abp.Http.RemoteServiceErrorResponse'.
|
|
2022-02-23 15:19:09.864 +08:00 [INF] Executed action WmsWebApi.PPlan.PurchaseService.AddAsync (WmsWebApi.Application) in 155610.4888ms
|
|
2022-02-23 15:19:09.866 +08:00 [INF] Executed endpoint 'WmsWebApi.PPlan.PurchaseService.AddAsync (WmsWebApi.Application)'
|
|
2022-02-23 15:19:10.824 +08:00 [INF] Entity Framework Core 5.0.14 initialized 'AbpAuditLoggingDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: QuerySplittingBehavior=SplitQuery
|
|
2022-02-23 15:19:11.190 +08:00 [ERR] Failed executing DbCommand (41ms) [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-23 15:19:11.209 +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:2bf43e56-6d5b-4a42-a872-d2cd8b5419bf
|
|
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:2bf43e56-6d5b-4a42-a872-d2cd8b5419bf
|
|
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)
|
|
2022-02-23 15:19:11.233 +08:00 [WRN] Could not save the audit log object:
|
|
AUDIT LOG: [500: POST ] /api/Purchase/add
|
|
- UserName - UserId : -
|
|
- ClientIpAddress : ::1
|
|
- ExecutionDuration : 155667
|
|
- Actions:
|
|
- WmsWebApi.PPlan.PurchaseService.AddAsync (151399 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:7831998c-ee93-4c2b-968a-b10a6a7b4755
|
|
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-23 15:19:11.233 +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:2bf43e56-6d5b-4a42-a872-d2cd8b5419bf
|
|
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-23 15:19:11.239 +08:00 [INF] Request finished HTTP/2 POST https://localhost:5000/api/Purchase/add application/json 528 - 500 - application/json;+charset=utf-8 157055.4451ms
|
|
2022-02-23 15:26:55.914 +08:00 [INF] Request starting HTTP/2 POST https://localhost:5000/api/Purchase/add application/json 528
|
|
2022-02-23 15:26:55.957 +08:00 [INF] CORS policy execution failed.
|
|
2022-02-23 15:26:55.957 +08:00 [INF] Request origin https://localhost:5000 does not have permission to access the resource.
|
|
2022-02-23 15:26:55.963 +08:00 [INF] Executing endpoint 'WmsWebApi.PPlan.PurchaseService.AddAsync (WmsWebApi.Application)'
|
|
2022-02-23 15:26:55.964 +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-23 15:26:56.091 +08:00 [INF] Executing action method WmsWebApi.PPlan.PurchaseService.AddAsync (WmsWebApi.Application) - Validation state: "Valid"
|
|
2022-02-23 15:26:58.974 +08:00 [INF] Entity Framework Core 5.0.14 initialized 'WmsWebApiDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: QuerySplittingBehavior=SplitQuery
|
|
2022-02-23 15:26:59.089 +08:00 [INF] Executed DbCommand (14ms) [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-23 15:26:59.099 +08:00 [INF] Executed DbCommand (5ms) [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-23 15:26:59.135 +08:00 [INF] Executed DbCommand (25ms) [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-23 15:26:59.142 +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-23 15:26:59.149 +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-23 15:28:11.798 +08:00 [INF] Executed action method WmsWebApi.PPlan.PurchaseService.AddAsync (WmsWebApi.Application), returned result Microsoft.AspNetCore.Mvc.ObjectResult in 75706.6687ms.
|
|
2022-02-23 15:28:11.889 +08:00 [INF] Executed DbCommand (47ms) [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='?' (DbType = DateTime2), @p24='?' (Size = 64), @p25='?' (DbType = DateTime2), @p26='?' (DbType = Int32), @p27='?' (Size = 50), @p28='?' (DbType = Int32), @p29='?' (Size = 4000), @p30='?' (Size = 50), @p31='?' (Size = 50), @p32='?' (Size = 50), @p33='?' (DbType = Guid), @p34='?' (Size = 4000), @p35='?' (Size = 50), @p36='?' (Size = 4000), @p37='?' (Size = 4000), @p38='?' (Size = 4000), @p39='?' (Size = 4000), @p40='?' (Size = 50), @p41='?' (DbType = Int32), @p42='?' (DbType = Int32), @p43='?' (Size = 50), @p44='?' (Size = 50), @p45='?' (Size = 50), @p46='?' (Size = 50), @p47='?' (Size = 50), @p48='?' (Size = 4000), @p49='?' (Size = 4000), @p50='?' (Size = 4000), @p51='?' (Size = 4000), @p52='?' (Precision = 18) (Scale = 6) (DbType = Decimal), @p53='?' (Precision = 18) (Scale = 6) (DbType = Decimal), @p54='?' (Size = 4000), @p55='?' (Size = 50), @p56='?' (Size = 50), @p57='?' (DbType = DateTime2), @p58='?' (Precision = 18) (Scale = 6) (DbType = Decimal), @p59='?' (DbType = DateTime2), @p60='?' (Size = 4000), @p61='?' (Precision = 18) (Scale = 6) (DbType = Decimal), @p62='?' (Size = 4000), @p63='?' (DbType = Int32), @p64='?' (Size = 4000), @p65='?' (Size = 4000), @p66='?' (Size = 4000), @p67='?' (Size = 4000), @p68='?' (Size = 50), @p69='?' (Size = 50), @p70='?' (Size = 4000), @p71='?' (Size = 4000), @p72='?' (Size = 4000), @p73='?' (Size = 4000), @p74='?' (Precision = 18) (Scale = 6) (DbType = Decimal), @p75='?' (Precision = 18) (Scale = 6) (DbType = Decimal), @p76='?' (Size = 4000), @p77='?' (Size = 50), @p78='?' (Size = 50), @p79='?' (DbType = DateTime2), @p80='?' (Precision = 18) (Scale = 6) (DbType = Decimal), @p81='?' (DbType = DateTime2), @p82='?' (Size = 4000), @p83='?' (Precision = 18) (Scale = 6) (DbType = Decimal), @p84='?' (Size = 4000), @p85='?' (DbType = Int32), @p86='?' (Size = 4000), @p87='?' (Size = 4000), @p88='?' (Size = 4000), @p89='?' (Size = 4000), @p90='?' (Size = 4000), @p91='?' (Size = 4000), @p92='?' (Size = 50), @p93='?' (DbType = Int32), @p94='?' (Size = 4000), @p95='?' (Size = 4000), @p96='?' (DbType = DateTime2), @p97='?' (Size = 80), @p98='?' (Size = 4000), @p99='?' (Precision = 18) (Scale = 6) (DbType = Decimal), @p100='?' (Size = 500), @p101='?' (DbType = Int32), @p102='?' (DbType = Int32), @p103='?' (DbType = Int32), @p104='?' (Size = 4000), @p105='?' (Size = 4000), @p106='?' (Size = 4000), @p107='?' (Size = 50), @p108='?' (DbType = Int32), @p109='?' (Size = 4000), @p110='?' (Size = 4000), @p111='?' (DbType = DateTime2), @p112='?' (Size = 80), @p113='?' (Size = 4000), @p114='?' (Precision = 18) (Scale = 6) (DbType = Decimal), @p115='?' (Size = 500), @p116='?' (DbType = Int32), @p117='?' (DbType = Int32), @p118='?' (DbType = Int32), @p119='?' (Size = 4000), @p120='?' (DbType = Guid), @p121='?' (Size = 4000), @p122='?' (DbType = DateTime2), @p123='?' (Size = 4000), @p124='?' (Size = 4000), @p125='?' (Size = 4000), @p126='?' (Size = 10)], CommandType='"Text"', CommandTimeout='30']
|
|
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, @p22, 0),
|
|
(@p23, @p24, @p25, @p26, @p27, @p28, @p29, @p30, @p31, @p32, @p33, @p34, @p35, @p36, @p37, @p38, @p39, @p40, @p41, @p42, @p43, @p44, @p45, 1)) AS i ([AccountDate], [BillNum], [BillTime], [BillType], [CustId], [DetailQty], [DockCode], [FinishTime], [GateCode], [GateName], [Guid], [OperName], [ProjectId], [Remark], [SourceBillNum], [SourceBillNum2], [SourceBillNum3], [StartTime], [State], [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], [State], [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.[State], i.[SubBillType], i.[TransportType], i.[TruckNum], i.[VendId])
|
|
OUTPUT INSERTED.[UID], i._Position
|
|
INTO @inserted0;
|
|
|
|
SELECT [t].[UID] FROM [TB_BILL] t
|
|
INNER JOIN @inserted0 i ON ([t].[UID] = [i].[UID])
|
|
ORDER BY [i].[_Position];
|
|
|
|
DECLARE @inserted2 TABLE ([BarCode] nvarchar(50), [BillNum] nvarchar(50), [_Position] [int]);
|
|
MERGE [TB_PRODUCT_RECEIVE] USING (
|
|
VALUES (@p46, @p47, @p48, @p49, @p50, @p51, @p52, @p53, @p54, @p55, @p56, @p57, @p58, @p59, @p60, @p61, @p62, @p63, @p64, @p65, @p66, @p67, 0),
|
|
(@p68, @p69, @p70, @p71, @p72, @p73, @p74, @p75, @p76, @p77, @p78, @p79, @p80, @p81, @p82, @p83, @p84, @p85, @p86, @p87, @p88, @p89, 1)) AS i ([BarCode], [BillNum], [Batch], [CellCode], [EqptCode], [FromLocCode], [GoodQty], [InvalidQty], [LineId], [PartCode], [PpBillNum], [ProduceDate], [Qty], [ReceiveDate], [Remark], [ScrapQty], [ShiftName], [State], [TeamName], [ToLocCode], [TraceBackCode], [Unit], _Position) ON 1=0
|
|
WHEN NOT MATCHED THEN
|
|
INSERT ([BarCode], [BillNum], [Batch], [CellCode], [EqptCode], [FromLocCode], [GoodQty], [InvalidQty], [LineId], [PartCode], [PpBillNum], [ProduceDate], [Qty], [ReceiveDate], [Remark], [ScrapQty], [ShiftName], [State], [TeamName], [ToLocCode], [TraceBackCode], [Unit])
|
|
VALUES (i.[BarCode], i.[BillNum], i.[Batch], i.[CellCode], i.[EqptCode], i.[FromLocCode], i.[GoodQty], i.[InvalidQty], i.[LineId], i.[PartCode], i.[PpBillNum], i.[ProduceDate], i.[Qty], i.[ReceiveDate], i.[Remark], i.[ScrapQty], i.[ShiftName], i.[State], i.[TeamName], i.[ToLocCode], i.[TraceBackCode], i.[Unit])
|
|
OUTPUT INSERTED.[BarCode], INSERTED.[BillNum], i._Position
|
|
INTO @inserted2;
|
|
|
|
SELECT [t].[UID] FROM [TB_PRODUCT_RECEIVE] t
|
|
INNER JOIN @inserted2 i ON ([t].[BarCode] = [i].[BarCode]) AND ([t].[BillNum] = [i].[BillNum])
|
|
ORDER BY [i].[_Position];
|
|
|
|
DECLARE @inserted4 TABLE ([UID] bigint, [_Position] [int]);
|
|
MERGE [TL_TRANSACTION] USING (
|
|
VALUES (@p90, @p91, @p92, @p93, @p94, @p95, @p96, @p97, @p98, @p99, @p100, @p101, @p102, @p103, @p104, 0),
|
|
(@p105, @p106, @p107, @p108, @p109, @p110, @p111, @p112, @p113, @p114, @p115, @p116, @p117, @p118, @p119, 1)) AS i ([BarCode], [Batch], [BillNum], [BillType], [EqptCode], [LocCode], [LogTime], [OperName], [PartCode], [Qty], [Remark], [State], [SubBillType], [TransType], [VendId], _Position) ON 1=0
|
|
WHEN NOT MATCHED THEN
|
|
INSERT ([BarCode], [Batch], [BillNum], [BillType], [EqptCode], [LocCode], [LogTime], [OperName], [PartCode], [Qty], [Remark], [State], [SubBillType], [TransType], [VendId])
|
|
VALUES (i.[BarCode], i.[Batch], i.[BillNum], i.[BillType], i.[EqptCode], i.[LocCode], i.[LogTime], i.[OperName], i.[PartCode], i.[Qty], i.[Remark], i.[State], i.[SubBillType], i.[TransType], i.[VendId])
|
|
OUTPUT INSERTED.[UID], i._Position
|
|
INTO @inserted4;
|
|
|
|
SELECT [t].[UID] FROM [TL_TRANSACTION] t
|
|
INNER JOIN @inserted4 i ON ([t].[UID] = [i].[UID])
|
|
ORDER BY [i].[_Position];
|
|
|
|
INSERT INTO [WmsWebApiPURCHASEDTO] ([Id], [BUDAT], [DYSJ], [ITYPE], [JSON], [MBLNR], [MJAHR])
|
|
VALUES (@p120, @p121, @p122, @p123, @p124, @p125, @p126);
|
|
2022-02-23 15:28:11.988 +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:67e07188-e15a-4019-9bd8-44088ee1d2bf
|
|
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:67e07188-e15a-4019-9bd8-44088ee1d2bf
|
|
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)
|
|
2022-02-23 15:28:12.000 +08:00 [ERR] ---------- RemoteServiceErrorInfo ----------
|
|
{
|
|
"code": null,
|
|
"message": "An internal error occurred during your request!",
|
|
"details": null,
|
|
"data": {},
|
|
"validationErrors": null
|
|
}
|
|
|
|
2022-02-23 15:28:12.000 +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:67e07188-e15a-4019-9bd8-44088ee1d2bf
|
|
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-23 15:28:12.001 +08:00 [INF] Executing ObjectResult, writing value of type 'Volo.Abp.Http.RemoteServiceErrorResponse'.
|
|
2022-02-23 15:28:12.003 +08:00 [INF] Executed action WmsWebApi.PPlan.PurchaseService.AddAsync (WmsWebApi.Application) in 76038.7156ms
|
|
2022-02-23 15:28:12.003 +08:00 [INF] Executed endpoint 'WmsWebApi.PPlan.PurchaseService.AddAsync (WmsWebApi.Application)'
|
|
2022-02-23 15:28:12.019 +08:00 [INF] Entity Framework Core 5.0.14 initialized 'AbpAuditLoggingDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: QuerySplittingBehavior=SplitQuery
|
|
2022-02-23 15:28:12.138 +08:00 [ERR] Failed executing DbCommand (45ms) [Parameters=[@p0='?' (DbType = Guid), @p1='?' (Size = 96), @p2='?' (Size = 512), @p3='?' (Size = 64), @p4='?' (Size = 64), @p5='?' (Size = 128), @p6='?' (Size = 256), @p7='?' (Size = 40), @p8='?' (Size = 64), @p9='?' (Size = -1), @p10='?' (DbType = Int32), @p11='?' (DbType = DateTime2), @p12='?' (Size = 4000), @p13='?' (Size = 16), @p14='?' (DbType = Int32), @p15='?' (DbType = Guid), @p16='?' (DbType = Guid), @p17='?' (DbType = Guid), @p18='?' (Size = 4000), @p19='?' (Size = 256), @p20='?' (DbType = Guid), @p21='?' (Size = 256)], CommandType='"Text"', CommandTimeout='30']
|
|
SET NOCOUNT ON;
|
|
INSERT INTO [AbpAuditLogs] ([Id], [ApplicationName], [BrowserInfo], [ClientId], [ClientIpAddress], [ClientName], [Comments], [ConcurrencyStamp], [CorrelationId], [Exceptions], [ExecutionDuration], [ExecutionTime], [ExtraProperties], [HttpMethod], [HttpStatusCode], [ImpersonatorTenantId], [ImpersonatorUserId], [TenantId], [TenantName], [Url], [UserId], [UserName])
|
|
VALUES (@p0, @p1, @p2, @p3, @p4, @p5, @p6, @p7, @p8, @p9, @p10, @p11, @p12, @p13, @p14, @p15, @p16, @p17, @p18, @p19, @p20, @p21);
|
|
2022-02-23 15:28:12.151 +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:c7ac9ec5-a789-466f-9bde-9c1f087ebe4f
|
|
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:c7ac9ec5-a789-466f-9bde-9c1f087ebe4f
|
|
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-23 15:28:12.160 +08:00 [WRN] Could not save the audit log object:
|
|
AUDIT LOG: [500: POST ] /api/Purchase/add
|
|
- UserName - UserId : -
|
|
- ClientIpAddress : ::1
|
|
- ExecutionDuration : 76040
|
|
- Actions:
|
|
- WmsWebApi.PPlan.PurchaseService.AddAsync (76016 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:67e07188-e15a-4019-9bd8-44088ee1d2bf
|
|
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-23 15:28:12.160 +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:c7ac9ec5-a789-466f-9bde-9c1f087ebe4f
|
|
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-23 15:28:12.162 +08:00 [INF] Request finished HTTP/2 POST https://localhost:5000/api/Purchase/add application/json 528 - 500 - application/json;+charset=utf-8 76249.9245ms
|
|
2022-02-23 15:30:14.430 +08:00 [INF] Request starting HTTP/2 POST https://localhost:5000/api/Purchase/add application/json 528
|
|
2022-02-23 15:30:14.439 +08:00 [INF] CORS policy execution failed.
|
|
2022-02-23 15:30:14.439 +08:00 [INF] Request origin https://localhost:5000 does not have permission to access the resource.
|
|
2022-02-23 15:30:14.461 +08:00 [INF] Executing endpoint 'WmsWebApi.PPlan.PurchaseService.AddAsync (WmsWebApi.Application)'
|
|
2022-02-23 15:30:14.461 +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-23 15:30:14.729 +08:00 [INF] Executing action method WmsWebApi.PPlan.PurchaseService.AddAsync (WmsWebApi.Application) - Validation state: "Valid"
|
|
2022-02-23 15:30:18.489 +08:00 [INF] Entity Framework Core 5.0.14 initialized 'WmsWebApiDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: QuerySplittingBehavior=SplitQuery
|
|
2022-02-23 15:30:18.517 +08:00 [INF] Executed DbCommand (7ms) [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-23 15:30:18.567 +08:00 [INF] Executed DbCommand (8ms) [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-23 15:30:18.583 +08:00 [INF] Executed DbCommand (4ms) [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-23 15:30:18.599 +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-23 15:30:18.608 +08:00 [INF] Executed DbCommand (7ms) [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-23 15:36:39.895 +08:00 [INF] Starting web host.
|
|
2022-02-23 15:36:58.077 +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-23 15:36:58.637 +08:00 [INF] Loaded ABP modules:
|
|
2022-02-23 15:36:58.638 +08:00 [INF] - WmsWebApi.WmsWebApiHttpApiHostModule
|
|
2022-02-23 15:36:58.638 +08:00 [INF] - WmsWebApi.WmsWebApiApplicationModule
|
|
2022-02-23 15:36:58.638 +08:00 [INF] - WmsWebApi.WmsWebApiDomainModule
|
|
2022-02-23 15:36:58.638 +08:00 [INF] - Volo.Abp.Domain.AbpDddDomainModule
|
|
2022-02-23 15:36:58.638 +08:00 [INF] - Volo.Abp.Auditing.AbpAuditingModule
|
|
2022-02-23 15:36:58.638 +08:00 [INF] - Volo.Abp.Data.AbpDataModule
|
|
2022-02-23 15:36:58.638 +08:00 [INF] - Volo.Abp.ObjectExtending.AbpObjectExtendingModule
|
|
2022-02-23 15:36:58.638 +08:00 [INF] - Volo.Abp.Localization.AbpLocalizationAbstractionsModule
|
|
2022-02-23 15:36:58.638 +08:00 [INF] - Volo.Abp.Validation.AbpValidationAbstractionsModule
|
|
2022-02-23 15:36:58.638 +08:00 [INF] - Volo.Abp.Uow.AbpUnitOfWorkModule
|
|
2022-02-23 15:36:58.638 +08:00 [INF] - Volo.Abp.EventBus.Abstractions.AbpEventBusAbstractionsModule
|
|
2022-02-23 15:36:58.638 +08:00 [INF] - Volo.Abp.Json.AbpJsonModule
|
|
2022-02-23 15:36:58.638 +08:00 [INF] - Volo.Abp.Timing.AbpTimingModule
|
|
2022-02-23 15:36:58.638 +08:00 [INF] - Volo.Abp.Localization.AbpLocalizationModule
|
|
2022-02-23 15:36:58.638 +08:00 [INF] - Volo.Abp.VirtualFileSystem.AbpVirtualFileSystemModule
|
|
2022-02-23 15:36:58.638 +08:00 [INF] - Volo.Abp.Settings.AbpSettingsModule
|
|
2022-02-23 15:36:58.638 +08:00 [INF] - Volo.Abp.Security.AbpSecurityModule
|
|
2022-02-23 15:36:58.638 +08:00 [INF] - Volo.Abp.MultiTenancy.AbpMultiTenancyModule
|
|
2022-02-23 15:36:58.638 +08:00 [INF] - Volo.Abp.Threading.AbpThreadingModule
|
|
2022-02-23 15:36:58.638 +08:00 [INF] - Volo.Abp.EventBus.AbpEventBusModule
|
|
2022-02-23 15:36:58.638 +08:00 [INF] - Volo.Abp.Guids.AbpGuidsModule
|
|
2022-02-23 15:36:58.638 +08:00 [INF] - Volo.Abp.ObjectMapping.AbpObjectMappingModule
|
|
2022-02-23 15:36:58.638 +08:00 [INF] - Volo.Abp.ExceptionHandling.AbpExceptionHandlingModule
|
|
2022-02-23 15:36:58.638 +08:00 [INF] - Volo.Abp.Specifications.AbpSpecificationsModule
|
|
2022-02-23 15:36:58.638 +08:00 [INF] - WmsWebApi.WmsWebApiDomainSharedModule
|
|
2022-02-23 15:36:58.638 +08:00 [INF] - Volo.Abp.Validation.AbpValidationModule
|
|
2022-02-23 15:36:58.638 +08:00 [INF] - WmsWebApi.WmsWebApiApplicationContractsModule
|
|
2022-02-23 15:36:58.638 +08:00 [INF] - Volo.Abp.Application.AbpDddApplicationContractsModule
|
|
2022-02-23 15:36:58.638 +08:00 [INF] - Volo.Abp.Authorization.AbpAuthorizationModule
|
|
2022-02-23 15:36:58.638 +08:00 [INF] - Volo.Abp.Authorization.AbpAuthorizationAbstractionsModule
|
|
2022-02-23 15:36:58.638 +08:00 [INF] - Volo.Abp.Application.AbpDddApplicationModule
|
|
2022-02-23 15:36:58.638 +08:00 [INF] - Volo.Abp.Http.AbpHttpAbstractionsModule
|
|
2022-02-23 15:36:58.638 +08:00 [INF] - Volo.Abp.Features.AbpFeaturesModule
|
|
2022-02-23 15:36:58.638 +08:00 [INF] - Volo.Abp.GlobalFeatures.AbpGlobalFeaturesModule
|
|
2022-02-23 15:36:58.638 +08:00 [INF] - Volo.Abp.AutoMapper.AbpAutoMapperModule
|
|
2022-02-23 15:36:58.638 +08:00 [INF] - WmsWebApi.EntityFrameworkCore.WmsWebApiEntityFrameworkCoreModule
|
|
2022-02-23 15:36:58.638 +08:00 [INF] - Volo.Abp.EntityFrameworkCore.AbpEntityFrameworkCoreModule
|
|
2022-02-23 15:36:58.638 +08:00 [INF] - Volo.Abp.Dapper.AbpDapperModule
|
|
2022-02-23 15:36:58.638 +08:00 [INF] - WmsWebApi.WmsWebApiHttpApiModule
|
|
2022-02-23 15:36:58.638 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.AbpAspNetCoreMvcModule
|
|
2022-02-23 15:36:58.638 +08:00 [INF] - Volo.Abp.AspNetCore.AbpAspNetCoreModule
|
|
2022-02-23 15:36:58.638 +08:00 [INF] - Volo.Abp.Http.AbpHttpModule
|
|
2022-02-23 15:36:58.638 +08:00 [INF] - Volo.Abp.Minify.AbpMinifyModule
|
|
2022-02-23 15:36:58.638 +08:00 [INF] - Volo.Abp.ApiVersioning.AbpApiVersioningAbstractionsModule
|
|
2022-02-23 15:36:58.638 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.AbpAspNetCoreMvcContractsModule
|
|
2022-02-23 15:36:58.638 +08:00 [INF] - Volo.Abp.UI.Navigation.AbpUiNavigationModule
|
|
2022-02-23 15:36:58.638 +08:00 [INF] - Volo.Abp.UI.AbpUiModule
|
|
2022-02-23 15:36:58.638 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.MultiTenancy.AbpAspNetCoreMvcUiMultiTenancyModule
|
|
2022-02-23 15:36:58.638 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Theme.Shared.AbpAspNetCoreMvcUiThemeSharedModule
|
|
2022-02-23 15:36:58.638 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.AbpAspNetCoreMvcUiBootstrapModule
|
|
2022-02-23 15:36:58.638 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.AbpAspNetCoreMvcUiModule
|
|
2022-02-23 15:36:58.638 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Packages.AbpAspNetCoreMvcUiPackagesModule
|
|
2022-02-23 15:36:58.639 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Bundling.AbpAspNetCoreMvcUiBundlingAbstractionsModule
|
|
2022-02-23 15:36:58.639 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Widgets.AbpAspNetCoreMvcUiWidgetsModule
|
|
2022-02-23 15:36:58.639 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Bundling.AbpAspNetCoreMvcUiBundlingModule
|
|
2022-02-23 15:36:58.639 +08:00 [INF] - Volo.Abp.AspNetCore.MultiTenancy.AbpAspNetCoreMultiTenancyModule
|
|
2022-02-23 15:36:58.639 +08:00 [INF] - Volo.Abp.Autofac.AbpAutofacModule
|
|
2022-02-23 15:36:58.639 +08:00 [INF] - Volo.Abp.Castle.AbpCastleCoreModule
|
|
2022-02-23 15:36:58.639 +08:00 [INF] - Volo.Abp.Caching.StackExchangeRedis.AbpCachingStackExchangeRedisModule
|
|
2022-02-23 15:36:58.639 +08:00 [INF] - Volo.Abp.Caching.AbpCachingModule
|
|
2022-02-23 15:36:58.639 +08:00 [INF] - Volo.Abp.Serialization.AbpSerializationModule
|
|
2022-02-23 15:36:58.639 +08:00 [INF] - Volo.Abp.EntityFrameworkCore.SqlServer.AbpEntityFrameworkCoreSqlServerModule
|
|
2022-02-23 15:36:58.639 +08:00 [INF] - Volo.Abp.AuditLogging.EntityFrameworkCore.AbpAuditLoggingEntityFrameworkCoreModule
|
|
2022-02-23 15:36:58.639 +08:00 [INF] - Volo.Abp.AuditLogging.AbpAuditLoggingDomainModule
|
|
2022-02-23 15:36:58.639 +08:00 [INF] - Volo.Abp.AuditLogging.AbpAuditLoggingDomainSharedModule
|
|
2022-02-23 15:36:58.639 +08:00 [INF] - Volo.Abp.PermissionManagement.EntityFrameworkCore.AbpPermissionManagementEntityFrameworkCoreModule
|
|
2022-02-23 15:36:58.639 +08:00 [INF] - Volo.Abp.PermissionManagement.AbpPermissionManagementDomainModule
|
|
2022-02-23 15:36:58.639 +08:00 [INF] - Volo.Abp.PermissionManagement.AbpPermissionManagementDomainSharedModule
|
|
2022-02-23 15:36:58.639 +08:00 [INF] - Volo.Abp.SettingManagement.EntityFrameworkCore.AbpSettingManagementEntityFrameworkCoreModule
|
|
2022-02-23 15:36:58.639 +08:00 [INF] - Volo.Abp.SettingManagement.AbpSettingManagementDomainModule
|
|
2022-02-23 15:36:58.639 +08:00 [INF] - Volo.Abp.SettingManagement.AbpSettingManagementDomainSharedModule
|
|
2022-02-23 15:36:58.639 +08:00 [INF] - Volo.Abp.AspNetCore.Serilog.AbpAspNetCoreSerilogModule
|
|
2022-02-23 15:36:58.639 +08:00 [INF] - Volo.Abp.Swashbuckle.AbpSwashbuckleModule
|
|
2022-02-23 15:37:01.422 +08:00 [INF] Initialized all ABP modules.
|
|
2022-02-23 15:37:02.842 +08:00 [INF] Now listening on: https://localhost:5000
|
|
2022-02-23 15:37:02.842 +08:00 [INF] Application started. Press Ctrl+C to shut down.
|
|
2022-02-23 15:37:02.842 +08:00 [INF] Hosting environment: Development
|
|
2022-02-23 15:37:02.842 +08:00 [INF] Content root path: D:\工作\派格\接口程序\WmsWebApi\host\WmsWebApi.HttpApi.Host
|
|
2022-02-23 15:37:13.973 +08:00 [INF] Request starting HTTP/2 GET https://localhost:5000/ - -
|
|
2022-02-23 15:37:24.905 +08:00 [INF] Entity Framework Core 5.0.14 initialized 'SettingManagementDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: QuerySplittingBehavior=SplitQuery
|
|
2022-02-23 15:37:27.898 +08:00 [INF] Executed DbCommand (268ms) [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-23 15:37:29.197 +08:00 [INF] Entity Framework Core 5.0.14 initialized 'SettingManagementDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: QuerySplittingBehavior=SplitQuery
|
|
2022-02-23 15:37:29.228 +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-23 15:37:29.652 +08:00 [INF] Executing endpoint 'WmsWebApi.Controllers.HomeController.Index (WmsWebApi.HttpApi.Host)'
|
|
2022-02-23 15:37:29.937 +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-23 15:37:30.594 +08:00 [INF] Executing action method WmsWebApi.Controllers.HomeController.Index (WmsWebApi.HttpApi.Host) - Validation state: "Valid"
|
|
2022-02-23 15:37:30.623 +08:00 [INF] Executed action method WmsWebApi.Controllers.HomeController.Index (WmsWebApi.HttpApi.Host), returned result Microsoft.AspNetCore.Mvc.RedirectResult in 1.042ms.
|
|
2022-02-23 15:37:30.640 +08:00 [INF] Executing RedirectResult, redirecting to /swagger.
|
|
2022-02-23 15:37:30.663 +08:00 [INF] Executed action WmsWebApi.Controllers.HomeController.Index (WmsWebApi.HttpApi.Host) in 705.3494ms
|
|
2022-02-23 15:37:30.664 +08:00 [INF] Executed endpoint 'WmsWebApi.Controllers.HomeController.Index (WmsWebApi.HttpApi.Host)'
|
|
2022-02-23 15:37:30.785 +08:00 [INF] Request finished HTTP/2 GET https://localhost:5000/ - - - 302 0 - 16814.1990ms
|
|
2022-02-23 15:37:30.903 +08:00 [INF] Request starting HTTP/2 GET https://localhost:5000/swagger/index.html - -
|
|
2022-02-23 15:37:32.006 +08:00 [INF] Request finished HTTP/2 GET https://localhost:5000/swagger/index.html - - - 200 - text/html;charset=utf-8 1103.1009ms
|
|
2022-02-23 15:37:32.795 +08:00 [INF] Request starting HTTP/2 GET https://localhost:5000/_framework/aspnetcore-browser-refresh.js - -
|
|
2022-02-23 15:37:32.806 +08:00 [INF] Request finished HTTP/2 GET https://localhost:5000/_framework/aspnetcore-browser-refresh.js - - - 200 11956 application/javascript;+charset=utf-8 10.8505ms
|
|
2022-02-23 15:37:33.799 +08:00 [INF] Request starting HTTP/2 GET https://localhost:5000/swagger/v1/swagger.json - -
|
|
2022-02-23 15:37:34.582 +08:00 [INF] Request finished HTTP/2 GET https://localhost:5000/swagger/v1/swagger.json - - - 200 - application/json;charset=utf-8 783.3802ms
|
|
2022-02-23 15:41:43.768 +08:00 [INF] Request starting HTTP/2 GET https://localhost:5000/abp/Swashbuckle/SetCsrfCookie application/json -
|
|
2022-02-23 15:41:43.933 +08:00 [INF] Executing endpoint 'Volo.Abp.Swashbuckle.AbpSwashbuckleController.SetCsrfCookie (Volo.Abp.Swashbuckle)'
|
|
2022-02-23 15:41:43.941 +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-23 15:41:44.363 +08:00 [INF] Executing action method Volo.Abp.Swashbuckle.AbpSwashbuckleController.SetCsrfCookie (Volo.Abp.Swashbuckle) - Validation state: "Valid"
|
|
2022-02-23 15:41:44.475 +08:00 [INF] Executed action method Volo.Abp.Swashbuckle.AbpSwashbuckleController.SetCsrfCookie (Volo.Abp.Swashbuckle), returned result Microsoft.AspNetCore.Mvc.EmptyResult in 112.0111ms.
|
|
2022-02-23 15:41:44.480 +08:00 [INF] Executed action Volo.Abp.Swashbuckle.AbpSwashbuckleController.SetCsrfCookie (Volo.Abp.Swashbuckle) in 539.0183ms
|
|
2022-02-23 15:41:44.481 +08:00 [INF] Executed endpoint 'Volo.Abp.Swashbuckle.AbpSwashbuckleController.SetCsrfCookie (Volo.Abp.Swashbuckle)'
|
|
2022-02-23 15:41:44.482 +08:00 [INF] Request finished HTTP/2 GET https://localhost:5000/abp/Swashbuckle/SetCsrfCookie application/json - - 204 - - 713.1093ms
|
|
2022-02-23 15:41:44.765 +08:00 [INF] Request starting HTTP/2 POST https://localhost:5000/api/Purchase/add application/json 524
|
|
2022-02-23 15:41:44.811 +08:00 [INF] CORS policy execution failed.
|
|
2022-02-23 15:41:44.812 +08:00 [INF] Request origin https://localhost:5000 does not have permission to access the resource.
|
|
2022-02-23 15:41:44.820 +08:00 [INF] Executing endpoint 'WmsWebApi.PPlan.PurchaseService.AddAsync (WmsWebApi.Application)'
|
|
2022-02-23 15:41:44.874 +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-23 15:41:48.642 +08:00 [INF] Executing action method WmsWebApi.PPlan.PurchaseService.AddAsync (WmsWebApi.Application) - Validation state: "Valid"
|
|
2022-02-23 15:41:50.221 +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-23 15:41:50.221 +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-23 15:41:50.222 +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-23 15:41:50.222 +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-23 15:41:50.222 +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-23 15:41:50.222 +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-23 15:41:50.222 +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-23 15:41:50.222 +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-23 15:41:50.222 +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-23 15:41:50.222 +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-23 15:41:50.222 +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-23 15:41:50.222 +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-23 15:41:50.222 +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-23 15:41:50.222 +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-23 15:41:50.223 +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-23 15:41:50.223 +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-23 15:41:50.223 +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-23 15:41:50.223 +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-23 15:41:50.223 +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-23 15:41:50.223 +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-23 15:41:50.223 +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-23 15:41:50.468 +08:00 [INF] Entity Framework Core 5.0.14 initialized 'WmsWebApiDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: QuerySplittingBehavior=SplitQuery
|
|
2022-02-23 15:41:50.648 +08:00 [INF] Executed DbCommand (8ms) [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-23 15:41:50.759 +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-23 15:41:51.445 +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-23 15:41:51.748 +08:00 [INF] Executed DbCommand (5ms) [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-23 15:41:51.757 +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-23 15:42:48.958 +08:00 [INF] Executed action method WmsWebApi.PPlan.PurchaseService.AddAsync (WmsWebApi.Application), returned result Microsoft.AspNetCore.Mvc.ObjectResult in 60315.9043ms.
|
|
2022-02-23 15:42:50.134 +08:00 [INF] Executed DbCommand (165ms) [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='?' (DbType = DateTime2), @p24='?' (Size = 64), @p25='?' (DbType = DateTime2), @p26='?' (DbType = Int32), @p27='?' (Size = 50), @p28='?' (DbType = Int32), @p29='?' (Size = 4000), @p30='?' (Size = 50), @p31='?' (Size = 50), @p32='?' (Size = 50), @p33='?' (DbType = Guid), @p34='?' (Size = 4000), @p35='?' (Size = 50), @p36='?' (Size = 4000), @p37='?' (Size = 4000), @p38='?' (Size = 4000), @p39='?' (Size = 4000), @p40='?' (Size = 50), @p41='?' (DbType = Int32), @p42='?' (DbType = Int32), @p43='?' (Size = 50), @p44='?' (Size = 50), @p45='?' (Size = 50), @p46='?' (Size = 50), @p47='?' (Size = 50), @p48='?' (Size = 4000), @p49='?' (Size = 4000), @p50='?' (Size = 4000), @p51='?' (Size = 4000), @p52='?' (Precision = 18) (Scale = 6) (DbType = Decimal), @p53='?' (Precision = 18) (Scale = 6) (DbType = Decimal), @p54='?' (Size = 4000), @p55='?' (Size = 50), @p56='?' (Size = 50), @p57='?' (DbType = DateTime2), @p58='?' (Precision = 18) (Scale = 6) (DbType = Decimal), @p59='?' (DbType = DateTime2), @p60='?' (Size = 4000), @p61='?' (Precision = 18) (Scale = 6) (DbType = Decimal), @p62='?' (Size = 4000), @p63='?' (DbType = Int32), @p64='?' (Size = 4000), @p65='?' (Size = 4000), @p66='?' (Size = 4000), @p67='?' (Size = 4000), @p68='?' (Size = 50), @p69='?' (Size = 50), @p70='?' (Size = 4000), @p71='?' (Size = 4000), @p72='?' (Size = 4000), @p73='?' (Size = 4000), @p74='?' (Precision = 18) (Scale = 6) (DbType = Decimal), @p75='?' (Precision = 18) (Scale = 6) (DbType = Decimal), @p76='?' (Size = 4000), @p77='?' (Size = 50), @p78='?' (Size = 50), @p79='?' (DbType = DateTime2), @p80='?' (Precision = 18) (Scale = 6) (DbType = Decimal), @p81='?' (DbType = DateTime2), @p82='?' (Size = 4000), @p83='?' (Precision = 18) (Scale = 6) (DbType = Decimal), @p84='?' (Size = 4000), @p85='?' (DbType = Int32), @p86='?' (Size = 4000), @p87='?' (Size = 4000), @p88='?' (Size = 4000), @p89='?' (Size = 4000), @p90='?' (Size = 4000), @p91='?' (Size = 4000), @p92='?' (Size = 50), @p93='?' (DbType = Int32), @p94='?' (Size = 4000), @p95='?' (Size = 4000), @p96='?' (DbType = DateTime2), @p97='?' (Size = 80), @p98='?' (Size = 4000), @p99='?' (Precision = 18) (Scale = 6) (DbType = Decimal), @p100='?' (Size = 500), @p101='?' (DbType = Int32), @p102='?' (DbType = Int32), @p103='?' (DbType = Int32), @p104='?' (Size = 4000), @p105='?' (Size = 4000), @p106='?' (Size = 4000), @p107='?' (Size = 50), @p108='?' (DbType = Int32), @p109='?' (Size = 4000), @p110='?' (Size = 4000), @p111='?' (DbType = DateTime2), @p112='?' (Size = 80), @p113='?' (Size = 4000), @p114='?' (Precision = 18) (Scale = 6) (DbType = Decimal), @p115='?' (Size = 500), @p116='?' (DbType = Int32), @p117='?' (DbType = Int32), @p118='?' (DbType = Int32), @p119='?' (Size = 4000), @p120='?' (DbType = Guid), @p121='?' (Size = 4000), @p122='?' (DbType = DateTime2), @p123='?' (Size = 4000), @p124='?' (Size = 4000), @p125='?' (Size = 10), @p126='?' (Size = 10)], CommandType='"Text"', CommandTimeout='30']
|
|
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, @p22, 0),
|
|
(@p23, @p24, @p25, @p26, @p27, @p28, @p29, @p30, @p31, @p32, @p33, @p34, @p35, @p36, @p37, @p38, @p39, @p40, @p41, @p42, @p43, @p44, @p45, 1)) AS i ([AccountDate], [BillNum], [BillTime], [BillType], [CustId], [DetailQty], [DockCode], [FinishTime], [GateCode], [GateName], [Guid], [OperName], [ProjectId], [Remark], [SourceBillNum], [SourceBillNum2], [SourceBillNum3], [StartTime], [State], [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], [State], [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.[State], i.[SubBillType], i.[TransportType], i.[TruckNum], i.[VendId])
|
|
OUTPUT INSERTED.[UID], i._Position
|
|
INTO @inserted0;
|
|
|
|
SELECT [t].[UID] FROM [TB_BILL] t
|
|
INNER JOIN @inserted0 i ON ([t].[UID] = [i].[UID])
|
|
ORDER BY [i].[_Position];
|
|
|
|
DECLARE @inserted2 TABLE ([BarCode] nvarchar(50), [BillNum] nvarchar(50), [_Position] [int]);
|
|
MERGE [TB_PRODUCT_RECEIVE] USING (
|
|
VALUES (@p46, @p47, @p48, @p49, @p50, @p51, @p52, @p53, @p54, @p55, @p56, @p57, @p58, @p59, @p60, @p61, @p62, @p63, @p64, @p65, @p66, @p67, 0),
|
|
(@p68, @p69, @p70, @p71, @p72, @p73, @p74, @p75, @p76, @p77, @p78, @p79, @p80, @p81, @p82, @p83, @p84, @p85, @p86, @p87, @p88, @p89, 1)) AS i ([BarCode], [BillNum], [Batch], [CellCode], [EqptCode], [FromLocCode], [GoodQty], [InvalidQty], [LineId], [PartCode], [PpBillNum], [ProduceDate], [Qty], [ReceiveDate], [Remark], [ScrapQty], [ShiftName], [State], [TeamName], [ToLocCode], [TraceBackCode], [Unit], _Position) ON 1=0
|
|
WHEN NOT MATCHED THEN
|
|
INSERT ([BarCode], [BillNum], [Batch], [CellCode], [EqptCode], [FromLocCode], [GoodQty], [InvalidQty], [LineId], [PartCode], [PpBillNum], [ProduceDate], [Qty], [ReceiveDate], [Remark], [ScrapQty], [ShiftName], [State], [TeamName], [ToLocCode], [TraceBackCode], [Unit])
|
|
VALUES (i.[BarCode], i.[BillNum], i.[Batch], i.[CellCode], i.[EqptCode], i.[FromLocCode], i.[GoodQty], i.[InvalidQty], i.[LineId], i.[PartCode], i.[PpBillNum], i.[ProduceDate], i.[Qty], i.[ReceiveDate], i.[Remark], i.[ScrapQty], i.[ShiftName], i.[State], i.[TeamName], i.[ToLocCode], i.[TraceBackCode], i.[Unit])
|
|
OUTPUT INSERTED.[BarCode], INSERTED.[BillNum], i._Position
|
|
INTO @inserted2;
|
|
|
|
SELECT [t].[UID] FROM [TB_PRODUCT_RECEIVE] t
|
|
INNER JOIN @inserted2 i ON ([t].[BarCode] = [i].[BarCode]) AND ([t].[BillNum] = [i].[BillNum])
|
|
ORDER BY [i].[_Position];
|
|
|
|
DECLARE @inserted4 TABLE ([UID] bigint, [_Position] [int]);
|
|
MERGE [TL_TRANSACTION] USING (
|
|
VALUES (@p90, @p91, @p92, @p93, @p94, @p95, @p96, @p97, @p98, @p99, @p100, @p101, @p102, @p103, @p104, 0),
|
|
(@p105, @p106, @p107, @p108, @p109, @p110, @p111, @p112, @p113, @p114, @p115, @p116, @p117, @p118, @p119, 1)) AS i ([BarCode], [Batch], [BillNum], [BillType], [EqptCode], [LocCode], [LogTime], [OperName], [PartCode], [Qty], [Remark], [State], [SubBillType], [TransType], [VendId], _Position) ON 1=0
|
|
WHEN NOT MATCHED THEN
|
|
INSERT ([BarCode], [Batch], [BillNum], [BillType], [EqptCode], [LocCode], [LogTime], [OperName], [PartCode], [Qty], [Remark], [State], [SubBillType], [TransType], [VendId])
|
|
VALUES (i.[BarCode], i.[Batch], i.[BillNum], i.[BillType], i.[EqptCode], i.[LocCode], i.[LogTime], i.[OperName], i.[PartCode], i.[Qty], i.[Remark], i.[State], i.[SubBillType], i.[TransType], i.[VendId])
|
|
OUTPUT INSERTED.[UID], i._Position
|
|
INTO @inserted4;
|
|
|
|
SELECT [t].[UID] FROM [TL_TRANSACTION] t
|
|
INNER JOIN @inserted4 i ON ([t].[UID] = [i].[UID])
|
|
ORDER BY [i].[_Position];
|
|
|
|
INSERT INTO [WmsWebApiPURCHASEDTO] ([Id], [BUDAT], [DYSJ], [ITYPE], [JSON], [MBLNR], [MJAHR])
|
|
VALUES (@p120, @p121, @p122, @p123, @p124, @p125, @p126);
|
|
2022-02-23 15:42:50.792 +08:00 [DBG] Added 0 entity changes to the current audit log
|
|
2022-02-23 15:42:50.793 +08:00 [DBG] Added 0 entity changes to the current audit log
|
|
2022-02-23 15:42:50.857 +08:00 [INF] Executing ObjectResult, writing value of type 'WmsWebApi.PPlan.ReturnResult'.
|
|
2022-02-23 15:42:50.899 +08:00 [INF] Executed action WmsWebApi.PPlan.PurchaseService.AddAsync (WmsWebApi.Application) in 66024.8113ms
|
|
2022-02-23 15:42:50.902 +08:00 [INF] Executed endpoint 'WmsWebApi.PPlan.PurchaseService.AddAsync (WmsWebApi.Application)'
|
|
2022-02-23 15:42:51.720 +08:00 [INF] Entity Framework Core 5.0.14 initialized 'AbpAuditLoggingDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: QuerySplittingBehavior=SplitQuery
|
|
2022-02-23 15:42:52.063 +08:00 [INF] Executed DbCommand (37ms) [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-23 15:42:52.071 +08:00 [INF] Executed DbCommand (5ms) [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-23 15:42:52.109 +08:00 [DBG] Added 0 entity changes to the current audit log
|
|
2022-02-23 15:42:52.110 +08:00 [DBG] Added 0 entity changes to the current audit log
|
|
2022-02-23 15:42:52.120 +08:00 [INF] Request finished HTTP/2 POST https://localhost:5000/api/Purchase/add application/json 524 - 200 - application/json;+charset=utf-8 67354.8975ms
|
|
2022-02-23 15:49:38.391 +08:00 [INF] Request starting HTTP/2 POST https://localhost:5000/api/Purchase/add application/json 526
|
|
2022-02-23 15:49:38.425 +08:00 [INF] CORS policy execution failed.
|
|
2022-02-23 15:49:38.425 +08:00 [INF] Request origin https://localhost:5000 does not have permission to access the resource.
|
|
2022-02-23 15:49:38.434 +08:00 [INF] Executing endpoint 'WmsWebApi.PPlan.PurchaseService.AddAsync (WmsWebApi.Application)'
|
|
2022-02-23 15:49:38.435 +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-23 15:49:38.600 +08:00 [INF] Executing action method WmsWebApi.PPlan.PurchaseService.AddAsync (WmsWebApi.Application) - Validation state: "Valid"
|
|
2022-02-23 15:49:38.604 +08:00 [INF] Entity Framework Core 5.0.14 initialized 'WmsWebApiDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: QuerySplittingBehavior=SplitQuery
|
|
2022-02-23 15:49:38.676 +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-23 15:49:38.687 +08:00 [INF] Executed DbCommand (5ms) [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-23 15:49:38.769 +08:00 [INF] Executed DbCommand (37ms) [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-23 15:49:38.801 +08:00 [INF] Executed DbCommand (28ms) [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-23 15:49:38.971 +08:00 [INF] Executed DbCommand (152ms) [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-23 15:49:44.053 +08:00 [INF] Executed action method WmsWebApi.PPlan.PurchaseService.AddAsync (WmsWebApi.Application), returned result Microsoft.AspNetCore.Mvc.ObjectResult in 5452.6737ms.
|
|
2022-02-23 15:49:44.116 +08:00 [INF] Executed DbCommand (20ms) [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='?' (DbType = DateTime2), @p24='?' (Size = 64), @p25='?' (DbType = DateTime2), @p26='?' (DbType = Int32), @p27='?' (Size = 50), @p28='?' (DbType = Int32), @p29='?' (Size = 4000), @p30='?' (Size = 50), @p31='?' (Size = 50), @p32='?' (Size = 50), @p33='?' (DbType = Guid), @p34='?' (Size = 4000), @p35='?' (Size = 50), @p36='?' (Size = 4000), @p37='?' (Size = 4000), @p38='?' (Size = 4000), @p39='?' (Size = 4000), @p40='?' (Size = 50), @p41='?' (DbType = Int32), @p42='?' (DbType = Int32), @p43='?' (Size = 50), @p44='?' (Size = 50), @p45='?' (Size = 50), @p46='?' (Size = 50), @p47='?' (Size = 50), @p48='?' (Size = 4000), @p49='?' (Size = 4000), @p50='?' (Size = 4000), @p51='?' (Size = 4000), @p52='?' (Precision = 18) (Scale = 6) (DbType = Decimal), @p53='?' (Precision = 18) (Scale = 6) (DbType = Decimal), @p54='?' (Size = 4000), @p55='?' (Size = 50), @p56='?' (Size = 50), @p57='?' (DbType = DateTime2), @p58='?' (Precision = 18) (Scale = 6) (DbType = Decimal), @p59='?' (DbType = DateTime2), @p60='?' (Size = 4000), @p61='?' (Precision = 18) (Scale = 6) (DbType = Decimal), @p62='?' (Size = 4000), @p63='?' (DbType = Int32), @p64='?' (Size = 4000), @p65='?' (Size = 4000), @p66='?' (Size = 4000), @p67='?' (Size = 4000), @p68='?' (Size = 50), @p69='?' (Size = 50), @p70='?' (Size = 4000), @p71='?' (Size = 4000), @p72='?' (Size = 4000), @p73='?' (Size = 4000), @p74='?' (Precision = 18) (Scale = 6) (DbType = Decimal), @p75='?' (Precision = 18) (Scale = 6) (DbType = Decimal), @p76='?' (Size = 4000), @p77='?' (Size = 50), @p78='?' (Size = 50), @p79='?' (DbType = DateTime2), @p80='?' (Precision = 18) (Scale = 6) (DbType = Decimal), @p81='?' (DbType = DateTime2), @p82='?' (Size = 4000), @p83='?' (Precision = 18) (Scale = 6) (DbType = Decimal), @p84='?' (Size = 4000), @p85='?' (DbType = Int32), @p86='?' (Size = 4000), @p87='?' (Size = 4000), @p88='?' (Size = 4000), @p89='?' (Size = 4000), @p90='?' (Size = 4000), @p91='?' (Size = 4000), @p92='?' (Size = 50), @p93='?' (DbType = Int32), @p94='?' (Size = 4000), @p95='?' (Size = 4000), @p96='?' (DbType = DateTime2), @p97='?' (Size = 80), @p98='?' (Size = 4000), @p99='?' (Precision = 18) (Scale = 6) (DbType = Decimal), @p100='?' (Size = 500), @p101='?' (DbType = Int32), @p102='?' (DbType = Int32), @p103='?' (DbType = Int32), @p104='?' (Size = 4000), @p105='?' (Size = 4000), @p106='?' (Size = 4000), @p107='?' (Size = 50), @p108='?' (DbType = Int32), @p109='?' (Size = 4000), @p110='?' (Size = 4000), @p111='?' (DbType = DateTime2), @p112='?' (Size = 80), @p113='?' (Size = 4000), @p114='?' (Precision = 18) (Scale = 6) (DbType = Decimal), @p115='?' (Size = 500), @p116='?' (DbType = Int32), @p117='?' (DbType = Int32), @p118='?' (DbType = Int32), @p119='?' (Size = 4000), @p120='?' (DbType = Guid), @p121='?' (Size = 4000), @p122='?' (DbType = DateTime2), @p123='?' (Size = 4000), @p124='?' (Size = 4000), @p125='?' (Size = 10), @p126='?' (Size = 10)], CommandType='"Text"', CommandTimeout='30']
|
|
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, @p22, 0),
|
|
(@p23, @p24, @p25, @p26, @p27, @p28, @p29, @p30, @p31, @p32, @p33, @p34, @p35, @p36, @p37, @p38, @p39, @p40, @p41, @p42, @p43, @p44, @p45, 1)) AS i ([AccountDate], [BillNum], [BillTime], [BillType], [CustId], [DetailQty], [DockCode], [FinishTime], [GateCode], [GateName], [Guid], [OperName], [ProjectId], [Remark], [SourceBillNum], [SourceBillNum2], [SourceBillNum3], [StartTime], [State], [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], [State], [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.[State], i.[SubBillType], i.[TransportType], i.[TruckNum], i.[VendId])
|
|
OUTPUT INSERTED.[UID], i._Position
|
|
INTO @inserted0;
|
|
|
|
SELECT [t].[UID] FROM [TB_BILL] t
|
|
INNER JOIN @inserted0 i ON ([t].[UID] = [i].[UID])
|
|
ORDER BY [i].[_Position];
|
|
|
|
DECLARE @inserted2 TABLE ([BarCode] nvarchar(50), [BillNum] nvarchar(50), [_Position] [int]);
|
|
MERGE [TB_PRODUCT_RECEIVE] USING (
|
|
VALUES (@p46, @p47, @p48, @p49, @p50, @p51, @p52, @p53, @p54, @p55, @p56, @p57, @p58, @p59, @p60, @p61, @p62, @p63, @p64, @p65, @p66, @p67, 0),
|
|
(@p68, @p69, @p70, @p71, @p72, @p73, @p74, @p75, @p76, @p77, @p78, @p79, @p80, @p81, @p82, @p83, @p84, @p85, @p86, @p87, @p88, @p89, 1)) AS i ([BarCode], [BillNum], [Batch], [CellCode], [EqptCode], [FromLocCode], [GoodQty], [InvalidQty], [LineId], [PartCode], [PpBillNum], [ProduceDate], [Qty], [ReceiveDate], [Remark], [ScrapQty], [ShiftName], [State], [TeamName], [ToLocCode], [TraceBackCode], [Unit], _Position) ON 1=0
|
|
WHEN NOT MATCHED THEN
|
|
INSERT ([BarCode], [BillNum], [Batch], [CellCode], [EqptCode], [FromLocCode], [GoodQty], [InvalidQty], [LineId], [PartCode], [PpBillNum], [ProduceDate], [Qty], [ReceiveDate], [Remark], [ScrapQty], [ShiftName], [State], [TeamName], [ToLocCode], [TraceBackCode], [Unit])
|
|
VALUES (i.[BarCode], i.[BillNum], i.[Batch], i.[CellCode], i.[EqptCode], i.[FromLocCode], i.[GoodQty], i.[InvalidQty], i.[LineId], i.[PartCode], i.[PpBillNum], i.[ProduceDate], i.[Qty], i.[ReceiveDate], i.[Remark], i.[ScrapQty], i.[ShiftName], i.[State], i.[TeamName], i.[ToLocCode], i.[TraceBackCode], i.[Unit])
|
|
OUTPUT INSERTED.[BarCode], INSERTED.[BillNum], i._Position
|
|
INTO @inserted2;
|
|
|
|
SELECT [t].[UID] FROM [TB_PRODUCT_RECEIVE] t
|
|
INNER JOIN @inserted2 i ON ([t].[BarCode] = [i].[BarCode]) AND ([t].[BillNum] = [i].[BillNum])
|
|
ORDER BY [i].[_Position];
|
|
|
|
DECLARE @inserted4 TABLE ([UID] bigint, [_Position] [int]);
|
|
MERGE [TL_TRANSACTION] USING (
|
|
VALUES (@p90, @p91, @p92, @p93, @p94, @p95, @p96, @p97, @p98, @p99, @p100, @p101, @p102, @p103, @p104, 0),
|
|
(@p105, @p106, @p107, @p108, @p109, @p110, @p111, @p112, @p113, @p114, @p115, @p116, @p117, @p118, @p119, 1)) AS i ([BarCode], [Batch], [BillNum], [BillType], [EqptCode], [LocCode], [LogTime], [OperName], [PartCode], [Qty], [Remark], [State], [SubBillType], [TransType], [VendId], _Position) ON 1=0
|
|
WHEN NOT MATCHED THEN
|
|
INSERT ([BarCode], [Batch], [BillNum], [BillType], [EqptCode], [LocCode], [LogTime], [OperName], [PartCode], [Qty], [Remark], [State], [SubBillType], [TransType], [VendId])
|
|
VALUES (i.[BarCode], i.[Batch], i.[BillNum], i.[BillType], i.[EqptCode], i.[LocCode], i.[LogTime], i.[OperName], i.[PartCode], i.[Qty], i.[Remark], i.[State], i.[SubBillType], i.[TransType], i.[VendId])
|
|
OUTPUT INSERTED.[UID], i._Position
|
|
INTO @inserted4;
|
|
|
|
SELECT [t].[UID] FROM [TL_TRANSACTION] t
|
|
INNER JOIN @inserted4 i ON ([t].[UID] = [i].[UID])
|
|
ORDER BY [i].[_Position];
|
|
|
|
INSERT INTO [WmsWebApiPURCHASEDTO] ([Id], [BUDAT], [DYSJ], [ITYPE], [JSON], [MBLNR], [MJAHR])
|
|
VALUES (@p120, @p121, @p122, @p123, @p124, @p125, @p126);
|
|
2022-02-23 15:49:44.222 +08:00 [DBG] Added 0 entity changes to the current audit log
|
|
2022-02-23 15:49:44.222 +08:00 [DBG] Added 0 entity changes to the current audit log
|
|
2022-02-23 15:49:44.225 +08:00 [INF] Executing ObjectResult, writing value of type 'WmsWebApi.PPlan.ReturnResult'.
|
|
2022-02-23 15:49:44.227 +08:00 [INF] Executed action WmsWebApi.PPlan.PurchaseService.AddAsync (WmsWebApi.Application) in 5792.2218ms
|
|
2022-02-23 15:49:44.228 +08:00 [INF] Executed endpoint 'WmsWebApi.PPlan.PurchaseService.AddAsync (WmsWebApi.Application)'
|
|
2022-02-23 15:49:44.231 +08:00 [INF] Entity Framework Core 5.0.14 initialized 'AbpAuditLoggingDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: QuerySplittingBehavior=SplitQuery
|
|
2022-02-23 15:49:44.486 +08:00 [INF] Executed DbCommand (70ms) [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-23 15:49:44.494 +08:00 [INF] Executed DbCommand (7ms) [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-23 15:49:44.564 +08:00 [DBG] Added 0 entity changes to the current audit log
|
|
2022-02-23 15:49:44.564 +08:00 [DBG] Added 0 entity changes to the current audit log
|
|
2022-02-23 15:49:44.566 +08:00 [INF] Request finished HTTP/2 POST https://localhost:5000/api/Purchase/add application/json 526 - 200 - application/json;+charset=utf-8 6174.6342ms
|
|
2022-02-23 15:49:56.046 +08:00 [INF] Request starting HTTP/2 POST https://localhost:5000/api/Purchase/add application/json 527
|
|
2022-02-23 15:49:56.047 +08:00 [INF] CORS policy execution failed.
|
|
2022-02-23 15:49:56.047 +08:00 [INF] Request origin https://localhost:5000 does not have permission to access the resource.
|
|
2022-02-23 15:49:56.054 +08:00 [INF] Executing endpoint 'WmsWebApi.PPlan.PurchaseService.AddAsync (WmsWebApi.Application)'
|
|
2022-02-23 15:49:56.055 +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-23 15:49:56.245 +08:00 [INF] Executing action method WmsWebApi.PPlan.PurchaseService.AddAsync (WmsWebApi.Application) - Validation state: "Valid"
|
|
2022-02-23 15:49:56.247 +08:00 [INF] Entity Framework Core 5.0.14 initialized 'WmsWebApiDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: QuerySplittingBehavior=SplitQuery
|
|
2022-02-23 15:49:56.264 +08:00 [INF] Executed DbCommand (15ms) [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-23 15:49:56.277 +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-23 15:49:56.284 +08:00 [INF] Executed DbCommand (4ms) [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-23 15:49:56.294 +08:00 [INF] Executed DbCommand (8ms) [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-23 15:49:56.301 +08:00 [INF] Executed DbCommand (4ms) [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-23 15:49:59.407 +08:00 [INF] Executed action method WmsWebApi.PPlan.PurchaseService.AddAsync (WmsWebApi.Application), returned result Microsoft.AspNetCore.Mvc.ObjectResult in 3162.1836ms.
|
|
2022-02-23 15:49:59.440 +08:00 [INF] Executed DbCommand (17ms) [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='?' (DbType = DateTime2), @p24='?' (Size = 64), @p25='?' (DbType = DateTime2), @p26='?' (DbType = Int32), @p27='?' (Size = 50), @p28='?' (DbType = Int32), @p29='?' (Size = 4000), @p30='?' (Size = 50), @p31='?' (Size = 50), @p32='?' (Size = 50), @p33='?' (DbType = Guid), @p34='?' (Size = 4000), @p35='?' (Size = 50), @p36='?' (Size = 4000), @p37='?' (Size = 4000), @p38='?' (Size = 4000), @p39='?' (Size = 4000), @p40='?' (Size = 50), @p41='?' (DbType = Int32), @p42='?' (DbType = Int32), @p43='?' (Size = 50), @p44='?' (Size = 50), @p45='?' (Size = 50), @p46='?' (Size = 50), @p47='?' (Size = 50), @p48='?' (Size = 4000), @p49='?' (Size = 4000), @p50='?' (Size = 4000), @p51='?' (Size = 4000), @p52='?' (Precision = 18) (Scale = 6) (DbType = Decimal), @p53='?' (Precision = 18) (Scale = 6) (DbType = Decimal), @p54='?' (Size = 4000), @p55='?' (Size = 50), @p56='?' (Size = 50), @p57='?' (DbType = DateTime2), @p58='?' (Precision = 18) (Scale = 6) (DbType = Decimal), @p59='?' (DbType = DateTime2), @p60='?' (Size = 4000), @p61='?' (Precision = 18) (Scale = 6) (DbType = Decimal), @p62='?' (Size = 4000), @p63='?' (DbType = Int32), @p64='?' (Size = 4000), @p65='?' (Size = 4000), @p66='?' (Size = 4000), @p67='?' (Size = 4000), @p68='?' (Size = 50), @p69='?' (Size = 50), @p70='?' (Size = 4000), @p71='?' (Size = 4000), @p72='?' (Size = 4000), @p73='?' (Size = 4000), @p74='?' (Precision = 18) (Scale = 6) (DbType = Decimal), @p75='?' (Precision = 18) (Scale = 6) (DbType = Decimal), @p76='?' (Size = 4000), @p77='?' (Size = 50), @p78='?' (Size = 50), @p79='?' (DbType = DateTime2), @p80='?' (Precision = 18) (Scale = 6) (DbType = Decimal), @p81='?' (DbType = DateTime2), @p82='?' (Size = 4000), @p83='?' (Precision = 18) (Scale = 6) (DbType = Decimal), @p84='?' (Size = 4000), @p85='?' (DbType = Int32), @p86='?' (Size = 4000), @p87='?' (Size = 4000), @p88='?' (Size = 4000), @p89='?' (Size = 4000), @p90='?' (Size = 4000), @p91='?' (Size = 4000), @p92='?' (Size = 50), @p93='?' (DbType = Int32), @p94='?' (Size = 4000), @p95='?' (Size = 4000), @p96='?' (DbType = DateTime2), @p97='?' (Size = 80), @p98='?' (Size = 4000), @p99='?' (Precision = 18) (Scale = 6) (DbType = Decimal), @p100='?' (Size = 500), @p101='?' (DbType = Int32), @p102='?' (DbType = Int32), @p103='?' (DbType = Int32), @p104='?' (Size = 4000), @p105='?' (Size = 4000), @p106='?' (Size = 4000), @p107='?' (Size = 50), @p108='?' (DbType = Int32), @p109='?' (Size = 4000), @p110='?' (Size = 4000), @p111='?' (DbType = DateTime2), @p112='?' (Size = 80), @p113='?' (Size = 4000), @p114='?' (Precision = 18) (Scale = 6) (DbType = Decimal), @p115='?' (Size = 500), @p116='?' (DbType = Int32), @p117='?' (DbType = Int32), @p118='?' (DbType = Int32), @p119='?' (Size = 4000), @p120='?' (DbType = Guid), @p121='?' (Size = 4000), @p122='?' (DbType = DateTime2), @p123='?' (Size = 4000), @p124='?' (Size = 4000), @p125='?' (Size = 10), @p126='?' (Size = 10)], CommandType='"Text"', CommandTimeout='30']
|
|
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, @p22, 0),
|
|
(@p23, @p24, @p25, @p26, @p27, @p28, @p29, @p30, @p31, @p32, @p33, @p34, @p35, @p36, @p37, @p38, @p39, @p40, @p41, @p42, @p43, @p44, @p45, 1)) AS i ([AccountDate], [BillNum], [BillTime], [BillType], [CustId], [DetailQty], [DockCode], [FinishTime], [GateCode], [GateName], [Guid], [OperName], [ProjectId], [Remark], [SourceBillNum], [SourceBillNum2], [SourceBillNum3], [StartTime], [State], [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], [State], [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.[State], i.[SubBillType], i.[TransportType], i.[TruckNum], i.[VendId])
|
|
OUTPUT INSERTED.[UID], i._Position
|
|
INTO @inserted0;
|
|
|
|
SELECT [t].[UID] FROM [TB_BILL] t
|
|
INNER JOIN @inserted0 i ON ([t].[UID] = [i].[UID])
|
|
ORDER BY [i].[_Position];
|
|
|
|
DECLARE @inserted2 TABLE ([BarCode] nvarchar(50), [BillNum] nvarchar(50), [_Position] [int]);
|
|
MERGE [TB_PRODUCT_RECEIVE] USING (
|
|
VALUES (@p46, @p47, @p48, @p49, @p50, @p51, @p52, @p53, @p54, @p55, @p56, @p57, @p58, @p59, @p60, @p61, @p62, @p63, @p64, @p65, @p66, @p67, 0),
|
|
(@p68, @p69, @p70, @p71, @p72, @p73, @p74, @p75, @p76, @p77, @p78, @p79, @p80, @p81, @p82, @p83, @p84, @p85, @p86, @p87, @p88, @p89, 1)) AS i ([BarCode], [BillNum], [Batch], [CellCode], [EqptCode], [FromLocCode], [GoodQty], [InvalidQty], [LineId], [PartCode], [PpBillNum], [ProduceDate], [Qty], [ReceiveDate], [Remark], [ScrapQty], [ShiftName], [State], [TeamName], [ToLocCode], [TraceBackCode], [Unit], _Position) ON 1=0
|
|
WHEN NOT MATCHED THEN
|
|
INSERT ([BarCode], [BillNum], [Batch], [CellCode], [EqptCode], [FromLocCode], [GoodQty], [InvalidQty], [LineId], [PartCode], [PpBillNum], [ProduceDate], [Qty], [ReceiveDate], [Remark], [ScrapQty], [ShiftName], [State], [TeamName], [ToLocCode], [TraceBackCode], [Unit])
|
|
VALUES (i.[BarCode], i.[BillNum], i.[Batch], i.[CellCode], i.[EqptCode], i.[FromLocCode], i.[GoodQty], i.[InvalidQty], i.[LineId], i.[PartCode], i.[PpBillNum], i.[ProduceDate], i.[Qty], i.[ReceiveDate], i.[Remark], i.[ScrapQty], i.[ShiftName], i.[State], i.[TeamName], i.[ToLocCode], i.[TraceBackCode], i.[Unit])
|
|
OUTPUT INSERTED.[BarCode], INSERTED.[BillNum], i._Position
|
|
INTO @inserted2;
|
|
|
|
SELECT [t].[UID] FROM [TB_PRODUCT_RECEIVE] t
|
|
INNER JOIN @inserted2 i ON ([t].[BarCode] = [i].[BarCode]) AND ([t].[BillNum] = [i].[BillNum])
|
|
ORDER BY [i].[_Position];
|
|
|
|
DECLARE @inserted4 TABLE ([UID] bigint, [_Position] [int]);
|
|
MERGE [TL_TRANSACTION] USING (
|
|
VALUES (@p90, @p91, @p92, @p93, @p94, @p95, @p96, @p97, @p98, @p99, @p100, @p101, @p102, @p103, @p104, 0),
|
|
(@p105, @p106, @p107, @p108, @p109, @p110, @p111, @p112, @p113, @p114, @p115, @p116, @p117, @p118, @p119, 1)) AS i ([BarCode], [Batch], [BillNum], [BillType], [EqptCode], [LocCode], [LogTime], [OperName], [PartCode], [Qty], [Remark], [State], [SubBillType], [TransType], [VendId], _Position) ON 1=0
|
|
WHEN NOT MATCHED THEN
|
|
INSERT ([BarCode], [Batch], [BillNum], [BillType], [EqptCode], [LocCode], [LogTime], [OperName], [PartCode], [Qty], [Remark], [State], [SubBillType], [TransType], [VendId])
|
|
VALUES (i.[BarCode], i.[Batch], i.[BillNum], i.[BillType], i.[EqptCode], i.[LocCode], i.[LogTime], i.[OperName], i.[PartCode], i.[Qty], i.[Remark], i.[State], i.[SubBillType], i.[TransType], i.[VendId])
|
|
OUTPUT INSERTED.[UID], i._Position
|
|
INTO @inserted4;
|
|
|
|
SELECT [t].[UID] FROM [TL_TRANSACTION] t
|
|
INNER JOIN @inserted4 i ON ([t].[UID] = [i].[UID])
|
|
ORDER BY [i].[_Position];
|
|
|
|
INSERT INTO [WmsWebApiPURCHASEDTO] ([Id], [BUDAT], [DYSJ], [ITYPE], [JSON], [MBLNR], [MJAHR])
|
|
VALUES (@p120, @p121, @p122, @p123, @p124, @p125, @p126);
|
|
2022-02-23 15:49:59.487 +08:00 [DBG] Added 0 entity changes to the current audit log
|
|
2022-02-23 15:49:59.487 +08:00 [DBG] Added 0 entity changes to the current audit log
|
|
2022-02-23 15:49:59.490 +08:00 [INF] Executing ObjectResult, writing value of type 'WmsWebApi.PPlan.ReturnResult'.
|
|
2022-02-23 15:49:59.491 +08:00 [INF] Executed action WmsWebApi.PPlan.PurchaseService.AddAsync (WmsWebApi.Application) in 3436.1649ms
|
|
2022-02-23 15:49:59.491 +08:00 [INF] Executed endpoint 'WmsWebApi.PPlan.PurchaseService.AddAsync (WmsWebApi.Application)'
|
|
2022-02-23 15:49:59.493 +08:00 [INF] Entity Framework Core 5.0.14 initialized 'AbpAuditLoggingDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: QuerySplittingBehavior=SplitQuery
|
|
2022-02-23 15:49:59.511 +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-23 15:49:59.516 +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-23 15:49:59.574 +08:00 [DBG] Added 0 entity changes to the current audit log
|
|
2022-02-23 15:49:59.574 +08:00 [DBG] Added 0 entity changes to the current audit log
|
|
2022-02-23 15:49:59.575 +08:00 [INF] Request finished HTTP/2 POST https://localhost:5000/api/Purchase/add application/json 527 - 200 - application/json;+charset=utf-8 3529.5015ms
|
|
2022-02-23 15:50:21.212 +08:00 [INF] Request starting HTTP/2 POST https://localhost:5000/api/Purchase/add application/json 532
|
|
2022-02-23 15:50:21.215 +08:00 [INF] CORS policy execution failed.
|
|
2022-02-23 15:50:21.215 +08:00 [INF] Request origin https://localhost:5000 does not have permission to access the resource.
|
|
2022-02-23 15:50:21.221 +08:00 [INF] Executing endpoint 'WmsWebApi.PPlan.PurchaseService.AddAsync (WmsWebApi.Application)'
|
|
2022-02-23 15:50:21.221 +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-23 15:50:21.381 +08:00 [INF] Executing action method WmsWebApi.PPlan.PurchaseService.AddAsync (WmsWebApi.Application) - Validation state: "Valid"
|
|
2022-02-23 15:50:21.383 +08:00 [INF] Entity Framework Core 5.0.14 initialized 'WmsWebApiDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: QuerySplittingBehavior=SplitQuery
|
|
2022-02-23 15:50:21.393 +08:00 [INF] Executed DbCommand (8ms) [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-23 15:50:21.436 +08:00 [INF] Executed DbCommand (29ms) [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-23 15:50:21.471 +08:00 [INF] Executed DbCommand (29ms) [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-23 15:50:21.504 +08:00 [INF] Executed DbCommand (30ms) [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-23 15:50:21.538 +08:00 [INF] Executed DbCommand (2ms) [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-23 15:50:26.184 +08:00 [INF] Executed action method WmsWebApi.PPlan.PurchaseService.AddAsync (WmsWebApi.Application), returned result Microsoft.AspNetCore.Mvc.ObjectResult in 4803.0397ms.
|
|
2022-02-23 15:50:26.222 +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='?' (DbType = DateTime2), @p24='?' (Size = 64), @p25='?' (DbType = DateTime2), @p26='?' (DbType = Int32), @p27='?' (Size = 50), @p28='?' (DbType = Int32), @p29='?' (Size = 4000), @p30='?' (Size = 50), @p31='?' (Size = 50), @p32='?' (Size = 50), @p33='?' (DbType = Guid), @p34='?' (Size = 4000), @p35='?' (Size = 50), @p36='?' (Size = 4000), @p37='?' (Size = 4000), @p38='?' (Size = 4000), @p39='?' (Size = 4000), @p40='?' (Size = 50), @p41='?' (DbType = Int32), @p42='?' (DbType = Int32), @p43='?' (Size = 50), @p44='?' (Size = 50), @p45='?' (Size = 50), @p46='?' (Size = 50), @p47='?' (Size = 50), @p48='?' (Size = 4000), @p49='?' (Size = 4000), @p50='?' (Size = 4000), @p51='?' (Size = 4000), @p52='?' (Precision = 18) (Scale = 6) (DbType = Decimal), @p53='?' (Precision = 18) (Scale = 6) (DbType = Decimal), @p54='?' (Size = 4000), @p55='?' (Size = 50), @p56='?' (Size = 50), @p57='?' (DbType = DateTime2), @p58='?' (Precision = 18) (Scale = 6) (DbType = Decimal), @p59='?' (DbType = DateTime2), @p60='?' (Size = 4000), @p61='?' (Precision = 18) (Scale = 6) (DbType = Decimal), @p62='?' (Size = 4000), @p63='?' (DbType = Int32), @p64='?' (Size = 4000), @p65='?' (Size = 4000), @p66='?' (Size = 4000), @p67='?' (Size = 4000), @p68='?' (Size = 50), @p69='?' (Size = 50), @p70='?' (Size = 4000), @p71='?' (Size = 4000), @p72='?' (Size = 4000), @p73='?' (Size = 4000), @p74='?' (Precision = 18) (Scale = 6) (DbType = Decimal), @p75='?' (Precision = 18) (Scale = 6) (DbType = Decimal), @p76='?' (Size = 4000), @p77='?' (Size = 50), @p78='?' (Size = 50), @p79='?' (DbType = DateTime2), @p80='?' (Precision = 18) (Scale = 6) (DbType = Decimal), @p81='?' (DbType = DateTime2), @p82='?' (Size = 4000), @p83='?' (Precision = 18) (Scale = 6) (DbType = Decimal), @p84='?' (Size = 4000), @p85='?' (DbType = Int32), @p86='?' (Size = 4000), @p87='?' (Size = 4000), @p88='?' (Size = 4000), @p89='?' (Size = 4000), @p90='?' (Size = 4000), @p91='?' (Size = 4000), @p92='?' (Size = 50), @p93='?' (DbType = Int32), @p94='?' (Size = 4000), @p95='?' (Size = 4000), @p96='?' (DbType = DateTime2), @p97='?' (Size = 80), @p98='?' (Size = 4000), @p99='?' (Precision = 18) (Scale = 6) (DbType = Decimal), @p100='?' (Size = 500), @p101='?' (DbType = Int32), @p102='?' (DbType = Int32), @p103='?' (DbType = Int32), @p104='?' (Size = 4000), @p105='?' (Size = 4000), @p106='?' (Size = 4000), @p107='?' (Size = 50), @p108='?' (DbType = Int32), @p109='?' (Size = 4000), @p110='?' (Size = 4000), @p111='?' (DbType = DateTime2), @p112='?' (Size = 80), @p113='?' (Size = 4000), @p114='?' (Precision = 18) (Scale = 6) (DbType = Decimal), @p115='?' (Size = 500), @p116='?' (DbType = Int32), @p117='?' (DbType = Int32), @p118='?' (DbType = Int32), @p119='?' (Size = 4000), @p120='?' (DbType = Guid), @p121='?' (Size = 4000), @p122='?' (DbType = DateTime2), @p123='?' (Size = 4000), @p124='?' (Size = 4000), @p125='?' (Size = 4000), @p126='?' (Size = 10)], CommandType='"Text"', CommandTimeout='30']
|
|
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, @p22, 0),
|
|
(@p23, @p24, @p25, @p26, @p27, @p28, @p29, @p30, @p31, @p32, @p33, @p34, @p35, @p36, @p37, @p38, @p39, @p40, @p41, @p42, @p43, @p44, @p45, 1)) AS i ([AccountDate], [BillNum], [BillTime], [BillType], [CustId], [DetailQty], [DockCode], [FinishTime], [GateCode], [GateName], [Guid], [OperName], [ProjectId], [Remark], [SourceBillNum], [SourceBillNum2], [SourceBillNum3], [StartTime], [State], [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], [State], [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.[State], i.[SubBillType], i.[TransportType], i.[TruckNum], i.[VendId])
|
|
OUTPUT INSERTED.[UID], i._Position
|
|
INTO @inserted0;
|
|
|
|
SELECT [t].[UID] FROM [TB_BILL] t
|
|
INNER JOIN @inserted0 i ON ([t].[UID] = [i].[UID])
|
|
ORDER BY [i].[_Position];
|
|
|
|
DECLARE @inserted2 TABLE ([BarCode] nvarchar(50), [BillNum] nvarchar(50), [_Position] [int]);
|
|
MERGE [TB_PRODUCT_RECEIVE] USING (
|
|
VALUES (@p46, @p47, @p48, @p49, @p50, @p51, @p52, @p53, @p54, @p55, @p56, @p57, @p58, @p59, @p60, @p61, @p62, @p63, @p64, @p65, @p66, @p67, 0),
|
|
(@p68, @p69, @p70, @p71, @p72, @p73, @p74, @p75, @p76, @p77, @p78, @p79, @p80, @p81, @p82, @p83, @p84, @p85, @p86, @p87, @p88, @p89, 1)) AS i ([BarCode], [BillNum], [Batch], [CellCode], [EqptCode], [FromLocCode], [GoodQty], [InvalidQty], [LineId], [PartCode], [PpBillNum], [ProduceDate], [Qty], [ReceiveDate], [Remark], [ScrapQty], [ShiftName], [State], [TeamName], [ToLocCode], [TraceBackCode], [Unit], _Position) ON 1=0
|
|
WHEN NOT MATCHED THEN
|
|
INSERT ([BarCode], [BillNum], [Batch], [CellCode], [EqptCode], [FromLocCode], [GoodQty], [InvalidQty], [LineId], [PartCode], [PpBillNum], [ProduceDate], [Qty], [ReceiveDate], [Remark], [ScrapQty], [ShiftName], [State], [TeamName], [ToLocCode], [TraceBackCode], [Unit])
|
|
VALUES (i.[BarCode], i.[BillNum], i.[Batch], i.[CellCode], i.[EqptCode], i.[FromLocCode], i.[GoodQty], i.[InvalidQty], i.[LineId], i.[PartCode], i.[PpBillNum], i.[ProduceDate], i.[Qty], i.[ReceiveDate], i.[Remark], i.[ScrapQty], i.[ShiftName], i.[State], i.[TeamName], i.[ToLocCode], i.[TraceBackCode], i.[Unit])
|
|
OUTPUT INSERTED.[BarCode], INSERTED.[BillNum], i._Position
|
|
INTO @inserted2;
|
|
|
|
SELECT [t].[UID] FROM [TB_PRODUCT_RECEIVE] t
|
|
INNER JOIN @inserted2 i ON ([t].[BarCode] = [i].[BarCode]) AND ([t].[BillNum] = [i].[BillNum])
|
|
ORDER BY [i].[_Position];
|
|
|
|
DECLARE @inserted4 TABLE ([UID] bigint, [_Position] [int]);
|
|
MERGE [TL_TRANSACTION] USING (
|
|
VALUES (@p90, @p91, @p92, @p93, @p94, @p95, @p96, @p97, @p98, @p99, @p100, @p101, @p102, @p103, @p104, 0),
|
|
(@p105, @p106, @p107, @p108, @p109, @p110, @p111, @p112, @p113, @p114, @p115, @p116, @p117, @p118, @p119, 1)) AS i ([BarCode], [Batch], [BillNum], [BillType], [EqptCode], [LocCode], [LogTime], [OperName], [PartCode], [Qty], [Remark], [State], [SubBillType], [TransType], [VendId], _Position) ON 1=0
|
|
WHEN NOT MATCHED THEN
|
|
INSERT ([BarCode], [Batch], [BillNum], [BillType], [EqptCode], [LocCode], [LogTime], [OperName], [PartCode], [Qty], [Remark], [State], [SubBillType], [TransType], [VendId])
|
|
VALUES (i.[BarCode], i.[Batch], i.[BillNum], i.[BillType], i.[EqptCode], i.[LocCode], i.[LogTime], i.[OperName], i.[PartCode], i.[Qty], i.[Remark], i.[State], i.[SubBillType], i.[TransType], i.[VendId])
|
|
OUTPUT INSERTED.[UID], i._Position
|
|
INTO @inserted4;
|
|
|
|
SELECT [t].[UID] FROM [TL_TRANSACTION] t
|
|
INNER JOIN @inserted4 i ON ([t].[UID] = [i].[UID])
|
|
ORDER BY [i].[_Position];
|
|
|
|
INSERT INTO [WmsWebApiPURCHASEDTO] ([Id], [BUDAT], [DYSJ], [ITYPE], [JSON], [MBLNR], [MJAHR])
|
|
VALUES (@p120, @p121, @p122, @p123, @p124, @p125, @p126);
|
|
2022-02-23 15:50:26.453 +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:cc7b87cc-4295-4601-ac0a-e023a38bc936
|
|
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:cc7b87cc-4295-4601-ac0a-e023a38bc936
|
|
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)
|
|
2022-02-23 15:50:26.623 +08:00 [ERR] ---------- RemoteServiceErrorInfo ----------
|
|
{
|
|
"code": null,
|
|
"message": "An internal error occurred during your request!",
|
|
"details": null,
|
|
"data": {},
|
|
"validationErrors": null
|
|
}
|
|
|
|
2022-02-23 15:50:26.624 +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:cc7b87cc-4295-4601-ac0a-e023a38bc936
|
|
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-23 15:50:26.646 +08:00 [INF] Executing ObjectResult, writing value of type 'Volo.Abp.Http.RemoteServiceErrorResponse'.
|
|
2022-02-23 15:50:26.653 +08:00 [INF] Executed action WmsWebApi.PPlan.PurchaseService.AddAsync (WmsWebApi.Application) in 5431.5375ms
|
|
2022-02-23 15:50:26.653 +08:00 [INF] Executed endpoint 'WmsWebApi.PPlan.PurchaseService.AddAsync (WmsWebApi.Application)'
|
|
2022-02-23 15:50:26.690 +08:00 [INF] Entity Framework Core 5.0.14 initialized 'AbpAuditLoggingDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: QuerySplittingBehavior=SplitQuery
|
|
2022-02-23 15:50:26.719 +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-23 15:50:26.746 +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:f4eed0fa-0a49-4e90-ad5e-65660b977d32
|
|
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:f4eed0fa-0a49-4e90-ad5e-65660b977d32
|
|
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-23 15:50:26.764 +08:00 [WRN] Could not save the audit log object:
|
|
AUDIT LOG: [500: POST ] /api/Purchase/add
|
|
- UserName - UserId : -
|
|
- ClientIpAddress : ::1
|
|
- ExecutionDuration : 5432
|
|
- Actions:
|
|
- WmsWebApi.PPlan.PurchaseService.AddAsync (5231 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:cc7b87cc-4295-4601-ac0a-e023a38bc936
|
|
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-23 15:50:26.764 +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:f4eed0fa-0a49-4e90-ad5e-65660b977d32
|
|
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-23 15:50:26.765 +08:00 [INF] Request finished HTTP/2 POST https://localhost:5000/api/Purchase/add application/json 532 - 500 - application/json;+charset=utf-8 5552.6736ms
|
|
2022-02-23 15:51:29.562 +08:00 [INF] Request starting HTTP/2 POST https://localhost:5000/api/Purchase/add application/json 528
|
|
2022-02-23 15:51:29.564 +08:00 [INF] CORS policy execution failed.
|
|
2022-02-23 15:51:29.567 +08:00 [INF] Request origin https://localhost:5000 does not have permission to access the resource.
|
|
2022-02-23 15:51:29.642 +08:00 [INF] Executing endpoint 'WmsWebApi.PPlan.PurchaseService.AddAsync (WmsWebApi.Application)'
|
|
2022-02-23 15:51:29.643 +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-23 15:51:29.783 +08:00 [INF] Executing action method WmsWebApi.PPlan.PurchaseService.AddAsync (WmsWebApi.Application) - Validation state: "Valid"
|
|
2022-02-23 15:51:29.785 +08:00 [INF] Entity Framework Core 5.0.14 initialized 'WmsWebApiDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: QuerySplittingBehavior=SplitQuery
|
|
2022-02-23 15:51:29.801 +08:00 [INF] Executed DbCommand (14ms) [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-23 15:51:29.887 +08:00 [INF] Executed DbCommand (57ms) [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-23 15:51:29.929 +08:00 [INF] Executed DbCommand (41ms) [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-23 15:51:29.936 +08:00 [INF] Executed DbCommand (6ms) [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-23 15:51:29.947 +08:00 [INF] Executed DbCommand (2ms) [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-23 15:51:35.066 +08:00 [INF] Executed action method WmsWebApi.PPlan.PurchaseService.AddAsync (WmsWebApi.Application), returned result Microsoft.AspNetCore.Mvc.ObjectResult in 5283.1437ms.
|
|
2022-02-23 15:51:35.099 +08:00 [INF] Executed DbCommand (12ms) [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='?' (DbType = DateTime2), @p24='?' (Size = 64), @p25='?' (DbType = DateTime2), @p26='?' (DbType = Int32), @p27='?' (Size = 50), @p28='?' (DbType = Int32), @p29='?' (Size = 4000), @p30='?' (Size = 50), @p31='?' (Size = 50), @p32='?' (Size = 50), @p33='?' (DbType = Guid), @p34='?' (Size = 4000), @p35='?' (Size = 50), @p36='?' (Size = 4000), @p37='?' (Size = 4000), @p38='?' (Size = 4000), @p39='?' (Size = 4000), @p40='?' (Size = 50), @p41='?' (DbType = Int32), @p42='?' (DbType = Int32), @p43='?' (Size = 50), @p44='?' (Size = 50), @p45='?' (Size = 50), @p46='?' (Size = 50), @p47='?' (Size = 50), @p48='?' (Size = 4000), @p49='?' (Size = 4000), @p50='?' (Size = 4000), @p51='?' (Size = 4000), @p52='?' (Precision = 18) (Scale = 6) (DbType = Decimal), @p53='?' (Precision = 18) (Scale = 6) (DbType = Decimal), @p54='?' (Size = 4000), @p55='?' (Size = 50), @p56='?' (Size = 50), @p57='?' (DbType = DateTime2), @p58='?' (Precision = 18) (Scale = 6) (DbType = Decimal), @p59='?' (DbType = DateTime2), @p60='?' (Size = 4000), @p61='?' (Precision = 18) (Scale = 6) (DbType = Decimal), @p62='?' (Size = 4000), @p63='?' (DbType = Int32), @p64='?' (Size = 4000), @p65='?' (Size = 4000), @p66='?' (Size = 4000), @p67='?' (Size = 4000), @p68='?' (Size = 50), @p69='?' (Size = 50), @p70='?' (Size = 4000), @p71='?' (Size = 4000), @p72='?' (Size = 4000), @p73='?' (Size = 4000), @p74='?' (Precision = 18) (Scale = 6) (DbType = Decimal), @p75='?' (Precision = 18) (Scale = 6) (DbType = Decimal), @p76='?' (Size = 4000), @p77='?' (Size = 50), @p78='?' (Size = 50), @p79='?' (DbType = DateTime2), @p80='?' (Precision = 18) (Scale = 6) (DbType = Decimal), @p81='?' (DbType = DateTime2), @p82='?' (Size = 4000), @p83='?' (Precision = 18) (Scale = 6) (DbType = Decimal), @p84='?' (Size = 4000), @p85='?' (DbType = Int32), @p86='?' (Size = 4000), @p87='?' (Size = 4000), @p88='?' (Size = 4000), @p89='?' (Size = 4000), @p90='?' (Size = 4000), @p91='?' (Size = 4000), @p92='?' (Size = 50), @p93='?' (DbType = Int32), @p94='?' (Size = 4000), @p95='?' (Size = 4000), @p96='?' (DbType = DateTime2), @p97='?' (Size = 80), @p98='?' (Size = 4000), @p99='?' (Precision = 18) (Scale = 6) (DbType = Decimal), @p100='?' (Size = 500), @p101='?' (DbType = Int32), @p102='?' (DbType = Int32), @p103='?' (DbType = Int32), @p104='?' (Size = 4000), @p105='?' (Size = 4000), @p106='?' (Size = 4000), @p107='?' (Size = 50), @p108='?' (DbType = Int32), @p109='?' (Size = 4000), @p110='?' (Size = 4000), @p111='?' (DbType = DateTime2), @p112='?' (Size = 80), @p113='?' (Size = 4000), @p114='?' (Precision = 18) (Scale = 6) (DbType = Decimal), @p115='?' (Size = 500), @p116='?' (DbType = Int32), @p117='?' (DbType = Int32), @p118='?' (DbType = Int32), @p119='?' (Size = 4000), @p120='?' (DbType = Guid), @p121='?' (Size = 4000), @p122='?' (DbType = DateTime2), @p123='?' (Size = 4000), @p124='?' (Size = 4000), @p125='?' (Size = 4000), @p126='?' (Size = 10)], CommandType='"Text"', CommandTimeout='30']
|
|
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, @p22, 0),
|
|
(@p23, @p24, @p25, @p26, @p27, @p28, @p29, @p30, @p31, @p32, @p33, @p34, @p35, @p36, @p37, @p38, @p39, @p40, @p41, @p42, @p43, @p44, @p45, 1)) AS i ([AccountDate], [BillNum], [BillTime], [BillType], [CustId], [DetailQty], [DockCode], [FinishTime], [GateCode], [GateName], [Guid], [OperName], [ProjectId], [Remark], [SourceBillNum], [SourceBillNum2], [SourceBillNum3], [StartTime], [State], [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], [State], [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.[State], i.[SubBillType], i.[TransportType], i.[TruckNum], i.[VendId])
|
|
OUTPUT INSERTED.[UID], i._Position
|
|
INTO @inserted0;
|
|
|
|
SELECT [t].[UID] FROM [TB_BILL] t
|
|
INNER JOIN @inserted0 i ON ([t].[UID] = [i].[UID])
|
|
ORDER BY [i].[_Position];
|
|
|
|
DECLARE @inserted2 TABLE ([BarCode] nvarchar(50), [BillNum] nvarchar(50), [_Position] [int]);
|
|
MERGE [TB_PRODUCT_RECEIVE] USING (
|
|
VALUES (@p46, @p47, @p48, @p49, @p50, @p51, @p52, @p53, @p54, @p55, @p56, @p57, @p58, @p59, @p60, @p61, @p62, @p63, @p64, @p65, @p66, @p67, 0),
|
|
(@p68, @p69, @p70, @p71, @p72, @p73, @p74, @p75, @p76, @p77, @p78, @p79, @p80, @p81, @p82, @p83, @p84, @p85, @p86, @p87, @p88, @p89, 1)) AS i ([BarCode], [BillNum], [Batch], [CellCode], [EqptCode], [FromLocCode], [GoodQty], [InvalidQty], [LineId], [PartCode], [PpBillNum], [ProduceDate], [Qty], [ReceiveDate], [Remark], [ScrapQty], [ShiftName], [State], [TeamName], [ToLocCode], [TraceBackCode], [Unit], _Position) ON 1=0
|
|
WHEN NOT MATCHED THEN
|
|
INSERT ([BarCode], [BillNum], [Batch], [CellCode], [EqptCode], [FromLocCode], [GoodQty], [InvalidQty], [LineId], [PartCode], [PpBillNum], [ProduceDate], [Qty], [ReceiveDate], [Remark], [ScrapQty], [ShiftName], [State], [TeamName], [ToLocCode], [TraceBackCode], [Unit])
|
|
VALUES (i.[BarCode], i.[BillNum], i.[Batch], i.[CellCode], i.[EqptCode], i.[FromLocCode], i.[GoodQty], i.[InvalidQty], i.[LineId], i.[PartCode], i.[PpBillNum], i.[ProduceDate], i.[Qty], i.[ReceiveDate], i.[Remark], i.[ScrapQty], i.[ShiftName], i.[State], i.[TeamName], i.[ToLocCode], i.[TraceBackCode], i.[Unit])
|
|
OUTPUT INSERTED.[BarCode], INSERTED.[BillNum], i._Position
|
|
INTO @inserted2;
|
|
|
|
SELECT [t].[UID] FROM [TB_PRODUCT_RECEIVE] t
|
|
INNER JOIN @inserted2 i ON ([t].[BarCode] = [i].[BarCode]) AND ([t].[BillNum] = [i].[BillNum])
|
|
ORDER BY [i].[_Position];
|
|
|
|
DECLARE @inserted4 TABLE ([UID] bigint, [_Position] [int]);
|
|
MERGE [TL_TRANSACTION] USING (
|
|
VALUES (@p90, @p91, @p92, @p93, @p94, @p95, @p96, @p97, @p98, @p99, @p100, @p101, @p102, @p103, @p104, 0),
|
|
(@p105, @p106, @p107, @p108, @p109, @p110, @p111, @p112, @p113, @p114, @p115, @p116, @p117, @p118, @p119, 1)) AS i ([BarCode], [Batch], [BillNum], [BillType], [EqptCode], [LocCode], [LogTime], [OperName], [PartCode], [Qty], [Remark], [State], [SubBillType], [TransType], [VendId], _Position) ON 1=0
|
|
WHEN NOT MATCHED THEN
|
|
INSERT ([BarCode], [Batch], [BillNum], [BillType], [EqptCode], [LocCode], [LogTime], [OperName], [PartCode], [Qty], [Remark], [State], [SubBillType], [TransType], [VendId])
|
|
VALUES (i.[BarCode], i.[Batch], i.[BillNum], i.[BillType], i.[EqptCode], i.[LocCode], i.[LogTime], i.[OperName], i.[PartCode], i.[Qty], i.[Remark], i.[State], i.[SubBillType], i.[TransType], i.[VendId])
|
|
OUTPUT INSERTED.[UID], i._Position
|
|
INTO @inserted4;
|
|
|
|
SELECT [t].[UID] FROM [TL_TRANSACTION] t
|
|
INNER JOIN @inserted4 i ON ([t].[UID] = [i].[UID])
|
|
ORDER BY [i].[_Position];
|
|
|
|
INSERT INTO [WmsWebApiPURCHASEDTO] ([Id], [BUDAT], [DYSJ], [ITYPE], [JSON], [MBLNR], [MJAHR])
|
|
VALUES (@p120, @p121, @p122, @p123, @p124, @p125, @p126);
|
|
2022-02-23 15:51:35.115 +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:cc7b87cc-4295-4601-ac0a-e023a38bc936
|
|
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:cc7b87cc-4295-4601-ac0a-e023a38bc936
|
|
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)
|
|
2022-02-23 15:51:35.126 +08:00 [ERR] ---------- RemoteServiceErrorInfo ----------
|
|
{
|
|
"code": null,
|
|
"message": "An internal error occurred during your request!",
|
|
"details": null,
|
|
"data": {},
|
|
"validationErrors": null
|
|
}
|
|
|
|
2022-02-23 15:51:35.127 +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:cc7b87cc-4295-4601-ac0a-e023a38bc936
|
|
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-23 15:51:35.127 +08:00 [INF] Executing ObjectResult, writing value of type 'Volo.Abp.Http.RemoteServiceErrorResponse'.
|
|
2022-02-23 15:51:35.127 +08:00 [INF] Executed action WmsWebApi.PPlan.PurchaseService.AddAsync (WmsWebApi.Application) in 5484.753ms
|
|
2022-02-23 15:51:35.128 +08:00 [INF] Executed endpoint 'WmsWebApi.PPlan.PurchaseService.AddAsync (WmsWebApi.Application)'
|
|
2022-02-23 15:51:35.142 +08:00 [INF] Entity Framework Core 5.0.14 initialized 'AbpAuditLoggingDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: QuerySplittingBehavior=SplitQuery
|
|
2022-02-23 15:51:35.164 +08:00 [ERR] Failed executing DbCommand (13ms) [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-23 15:51:35.177 +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:f4eed0fa-0a49-4e90-ad5e-65660b977d32
|
|
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:f4eed0fa-0a49-4e90-ad5e-65660b977d32
|
|
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-23 15:51:35.185 +08:00 [WRN] Could not save the audit log object:
|
|
AUDIT LOG: [500: POST ] /api/Purchase/add
|
|
- UserName - UserId : -
|
|
- ClientIpAddress : ::1
|
|
- ExecutionDuration : 5486
|
|
- Actions:
|
|
- WmsWebApi.PPlan.PurchaseService.AddAsync (5470 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:cc7b87cc-4295-4601-ac0a-e023a38bc936
|
|
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-23 15:51:35.185 +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:f4eed0fa-0a49-4e90-ad5e-65660b977d32
|
|
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-23 15:51:35.186 +08:00 [INF] Request finished HTTP/2 POST https://localhost:5000/api/Purchase/add application/json 528 - 500 - application/json;+charset=utf-8 5623.7578ms
|
|
2022-02-23 15:51:51.953 +08:00 [INF] Request starting HTTP/2 POST https://localhost:5000/api/Purchase/add application/json 527
|
|
2022-02-23 15:51:51.954 +08:00 [INF] CORS policy execution failed.
|
|
2022-02-23 15:51:51.954 +08:00 [INF] Request origin https://localhost:5000 does not have permission to access the resource.
|
|
2022-02-23 15:51:51.961 +08:00 [INF] Executing endpoint 'WmsWebApi.PPlan.PurchaseService.AddAsync (WmsWebApi.Application)'
|
|
2022-02-23 15:51:51.962 +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-23 15:51:52.145 +08:00 [INF] Executing action method WmsWebApi.PPlan.PurchaseService.AddAsync (WmsWebApi.Application) - Validation state: "Valid"
|
|
2022-02-23 15:51:52.146 +08:00 [INF] Entity Framework Core 5.0.14 initialized 'WmsWebApiDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: QuerySplittingBehavior=SplitQuery
|
|
2022-02-23 15:51:52.156 +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-23 15:51:52.171 +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-23 15:51:52.174 +08:00 [INF] Executed DbCommand (2ms) [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-23 15:51:52.178 +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-23 15:51:52.185 +08:00 [INF] Executed DbCommand (4ms) [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-23 15:51:52.269 +08:00 [INF] Executed action method WmsWebApi.PPlan.PurchaseService.AddAsync (WmsWebApi.Application), returned result Microsoft.AspNetCore.Mvc.ObjectResult in 124.1989ms.
|
|
2022-02-23 15:51:52.304 +08:00 [INF] Executed DbCommand (11ms) [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='?' (DbType = DateTime2), @p24='?' (Size = 64), @p25='?' (DbType = DateTime2), @p26='?' (DbType = Int32), @p27='?' (Size = 50), @p28='?' (DbType = Int32), @p29='?' (Size = 4000), @p30='?' (Size = 50), @p31='?' (Size = 50), @p32='?' (Size = 50), @p33='?' (DbType = Guid), @p34='?' (Size = 4000), @p35='?' (Size = 50), @p36='?' (Size = 4000), @p37='?' (Size = 4000), @p38='?' (Size = 4000), @p39='?' (Size = 4000), @p40='?' (Size = 50), @p41='?' (DbType = Int32), @p42='?' (DbType = Int32), @p43='?' (Size = 50), @p44='?' (Size = 50), @p45='?' (Size = 50), @p46='?' (Size = 50), @p47='?' (Size = 50), @p48='?' (Size = 4000), @p49='?' (Size = 4000), @p50='?' (Size = 4000), @p51='?' (Size = 4000), @p52='?' (Precision = 18) (Scale = 6) (DbType = Decimal), @p53='?' (Precision = 18) (Scale = 6) (DbType = Decimal), @p54='?' (Size = 4000), @p55='?' (Size = 50), @p56='?' (Size = 50), @p57='?' (DbType = DateTime2), @p58='?' (Precision = 18) (Scale = 6) (DbType = Decimal), @p59='?' (DbType = DateTime2), @p60='?' (Size = 4000), @p61='?' (Precision = 18) (Scale = 6) (DbType = Decimal), @p62='?' (Size = 4000), @p63='?' (DbType = Int32), @p64='?' (Size = 4000), @p65='?' (Size = 4000), @p66='?' (Size = 4000), @p67='?' (Size = 4000), @p68='?' (Size = 50), @p69='?' (Size = 50), @p70='?' (Size = 4000), @p71='?' (Size = 4000), @p72='?' (Size = 4000), @p73='?' (Size = 4000), @p74='?' (Precision = 18) (Scale = 6) (DbType = Decimal), @p75='?' (Precision = 18) (Scale = 6) (DbType = Decimal), @p76='?' (Size = 4000), @p77='?' (Size = 50), @p78='?' (Size = 50), @p79='?' (DbType = DateTime2), @p80='?' (Precision = 18) (Scale = 6) (DbType = Decimal), @p81='?' (DbType = DateTime2), @p82='?' (Size = 4000), @p83='?' (Precision = 18) (Scale = 6) (DbType = Decimal), @p84='?' (Size = 4000), @p85='?' (DbType = Int32), @p86='?' (Size = 4000), @p87='?' (Size = 4000), @p88='?' (Size = 4000), @p89='?' (Size = 4000), @p90='?' (Size = 4000), @p91='?' (Size = 4000), @p92='?' (Size = 50), @p93='?' (DbType = Int32), @p94='?' (Size = 4000), @p95='?' (Size = 4000), @p96='?' (DbType = DateTime2), @p97='?' (Size = 80), @p98='?' (Size = 4000), @p99='?' (Precision = 18) (Scale = 6) (DbType = Decimal), @p100='?' (Size = 500), @p101='?' (DbType = Int32), @p102='?' (DbType = Int32), @p103='?' (DbType = Int32), @p104='?' (Size = 4000), @p105='?' (Size = 4000), @p106='?' (Size = 4000), @p107='?' (Size = 50), @p108='?' (DbType = Int32), @p109='?' (Size = 4000), @p110='?' (Size = 4000), @p111='?' (DbType = DateTime2), @p112='?' (Size = 80), @p113='?' (Size = 4000), @p114='?' (Precision = 18) (Scale = 6) (DbType = Decimal), @p115='?' (Size = 500), @p116='?' (DbType = Int32), @p117='?' (DbType = Int32), @p118='?' (DbType = Int32), @p119='?' (Size = 4000), @p120='?' (DbType = Guid), @p121='?' (Size = 4000), @p122='?' (DbType = DateTime2), @p123='?' (Size = 4000), @p124='?' (Size = 4000), @p125='?' (Size = 10), @p126='?' (Size = 10)], CommandType='"Text"', CommandTimeout='30']
|
|
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, @p22, 0),
|
|
(@p23, @p24, @p25, @p26, @p27, @p28, @p29, @p30, @p31, @p32, @p33, @p34, @p35, @p36, @p37, @p38, @p39, @p40, @p41, @p42, @p43, @p44, @p45, 1)) AS i ([AccountDate], [BillNum], [BillTime], [BillType], [CustId], [DetailQty], [DockCode], [FinishTime], [GateCode], [GateName], [Guid], [OperName], [ProjectId], [Remark], [SourceBillNum], [SourceBillNum2], [SourceBillNum3], [StartTime], [State], [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], [State], [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.[State], i.[SubBillType], i.[TransportType], i.[TruckNum], i.[VendId])
|
|
OUTPUT INSERTED.[UID], i._Position
|
|
INTO @inserted0;
|
|
|
|
SELECT [t].[UID] FROM [TB_BILL] t
|
|
INNER JOIN @inserted0 i ON ([t].[UID] = [i].[UID])
|
|
ORDER BY [i].[_Position];
|
|
|
|
DECLARE @inserted2 TABLE ([BarCode] nvarchar(50), [BillNum] nvarchar(50), [_Position] [int]);
|
|
MERGE [TB_PRODUCT_RECEIVE] USING (
|
|
VALUES (@p46, @p47, @p48, @p49, @p50, @p51, @p52, @p53, @p54, @p55, @p56, @p57, @p58, @p59, @p60, @p61, @p62, @p63, @p64, @p65, @p66, @p67, 0),
|
|
(@p68, @p69, @p70, @p71, @p72, @p73, @p74, @p75, @p76, @p77, @p78, @p79, @p80, @p81, @p82, @p83, @p84, @p85, @p86, @p87, @p88, @p89, 1)) AS i ([BarCode], [BillNum], [Batch], [CellCode], [EqptCode], [FromLocCode], [GoodQty], [InvalidQty], [LineId], [PartCode], [PpBillNum], [ProduceDate], [Qty], [ReceiveDate], [Remark], [ScrapQty], [ShiftName], [State], [TeamName], [ToLocCode], [TraceBackCode], [Unit], _Position) ON 1=0
|
|
WHEN NOT MATCHED THEN
|
|
INSERT ([BarCode], [BillNum], [Batch], [CellCode], [EqptCode], [FromLocCode], [GoodQty], [InvalidQty], [LineId], [PartCode], [PpBillNum], [ProduceDate], [Qty], [ReceiveDate], [Remark], [ScrapQty], [ShiftName], [State], [TeamName], [ToLocCode], [TraceBackCode], [Unit])
|
|
VALUES (i.[BarCode], i.[BillNum], i.[Batch], i.[CellCode], i.[EqptCode], i.[FromLocCode], i.[GoodQty], i.[InvalidQty], i.[LineId], i.[PartCode], i.[PpBillNum], i.[ProduceDate], i.[Qty], i.[ReceiveDate], i.[Remark], i.[ScrapQty], i.[ShiftName], i.[State], i.[TeamName], i.[ToLocCode], i.[TraceBackCode], i.[Unit])
|
|
OUTPUT INSERTED.[BarCode], INSERTED.[BillNum], i._Position
|
|
INTO @inserted2;
|
|
|
|
SELECT [t].[UID] FROM [TB_PRODUCT_RECEIVE] t
|
|
INNER JOIN @inserted2 i ON ([t].[BarCode] = [i].[BarCode]) AND ([t].[BillNum] = [i].[BillNum])
|
|
ORDER BY [i].[_Position];
|
|
|
|
DECLARE @inserted4 TABLE ([UID] bigint, [_Position] [int]);
|
|
MERGE [TL_TRANSACTION] USING (
|
|
VALUES (@p90, @p91, @p92, @p93, @p94, @p95, @p96, @p97, @p98, @p99, @p100, @p101, @p102, @p103, @p104, 0),
|
|
(@p105, @p106, @p107, @p108, @p109, @p110, @p111, @p112, @p113, @p114, @p115, @p116, @p117, @p118, @p119, 1)) AS i ([BarCode], [Batch], [BillNum], [BillType], [EqptCode], [LocCode], [LogTime], [OperName], [PartCode], [Qty], [Remark], [State], [SubBillType], [TransType], [VendId], _Position) ON 1=0
|
|
WHEN NOT MATCHED THEN
|
|
INSERT ([BarCode], [Batch], [BillNum], [BillType], [EqptCode], [LocCode], [LogTime], [OperName], [PartCode], [Qty], [Remark], [State], [SubBillType], [TransType], [VendId])
|
|
VALUES (i.[BarCode], i.[Batch], i.[BillNum], i.[BillType], i.[EqptCode], i.[LocCode], i.[LogTime], i.[OperName], i.[PartCode], i.[Qty], i.[Remark], i.[State], i.[SubBillType], i.[TransType], i.[VendId])
|
|
OUTPUT INSERTED.[UID], i._Position
|
|
INTO @inserted4;
|
|
|
|
SELECT [t].[UID] FROM [TL_TRANSACTION] t
|
|
INNER JOIN @inserted4 i ON ([t].[UID] = [i].[UID])
|
|
ORDER BY [i].[_Position];
|
|
|
|
INSERT INTO [WmsWebApiPURCHASEDTO] ([Id], [BUDAT], [DYSJ], [ITYPE], [JSON], [MBLNR], [MJAHR])
|
|
VALUES (@p120, @p121, @p122, @p123, @p124, @p125, @p126);
|
|
2022-02-23 15:51:52.380 +08:00 [DBG] Added 0 entity changes to the current audit log
|
|
2022-02-23 15:51:52.380 +08:00 [DBG] Added 0 entity changes to the current audit log
|
|
2022-02-23 15:51:52.381 +08:00 [INF] Executing ObjectResult, writing value of type 'WmsWebApi.PPlan.ReturnResult'.
|
|
2022-02-23 15:51:52.382 +08:00 [INF] Executed action WmsWebApi.PPlan.PurchaseService.AddAsync (WmsWebApi.Application) in 419.6067ms
|
|
2022-02-23 15:51:52.382 +08:00 [INF] Executed endpoint 'WmsWebApi.PPlan.PurchaseService.AddAsync (WmsWebApi.Application)'
|
|
2022-02-23 15:51:52.385 +08:00 [INF] Entity Framework Core 5.0.14 initialized 'AbpAuditLoggingDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: QuerySplittingBehavior=SplitQuery
|
|
2022-02-23 15:51:52.410 +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-23 15:51:52.414 +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-23 15:51:52.455 +08:00 [DBG] Added 0 entity changes to the current audit log
|
|
2022-02-23 15:51:52.455 +08:00 [DBG] Added 0 entity changes to the current audit log
|
|
2022-02-23 15:51:52.456 +08:00 [INF] Request finished HTTP/2 POST https://localhost:5000/api/Purchase/add application/json 527 - 200 - application/json;+charset=utf-8 504.1826ms
|
|
2022-02-23 19:45:00.353 +08:00 [INF] Starting web host.
|
|
2022-02-23 19:45:39.084 +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-23 19:45:40.149 +08:00 [INF] Loaded ABP modules:
|
|
2022-02-23 19:45:40.149 +08:00 [INF] - WmsWebApi.WmsWebApiHttpApiHostModule
|
|
2022-02-23 19:45:40.149 +08:00 [INF] - WmsWebApi.WmsWebApiApplicationModule
|
|
2022-02-23 19:45:40.149 +08:00 [INF] - WmsWebApi.WmsWebApiDomainModule
|
|
2022-02-23 19:45:40.149 +08:00 [INF] - Volo.Abp.Domain.AbpDddDomainModule
|
|
2022-02-23 19:45:40.149 +08:00 [INF] - Volo.Abp.Auditing.AbpAuditingModule
|
|
2022-02-23 19:45:40.149 +08:00 [INF] - Volo.Abp.Data.AbpDataModule
|
|
2022-02-23 19:45:40.149 +08:00 [INF] - Volo.Abp.ObjectExtending.AbpObjectExtendingModule
|
|
2022-02-23 19:45:40.149 +08:00 [INF] - Volo.Abp.Localization.AbpLocalizationAbstractionsModule
|
|
2022-02-23 19:45:40.149 +08:00 [INF] - Volo.Abp.Validation.AbpValidationAbstractionsModule
|
|
2022-02-23 19:45:40.149 +08:00 [INF] - Volo.Abp.Uow.AbpUnitOfWorkModule
|
|
2022-02-23 19:45:40.149 +08:00 [INF] - Volo.Abp.EventBus.Abstractions.AbpEventBusAbstractionsModule
|
|
2022-02-23 19:45:40.149 +08:00 [INF] - Volo.Abp.Json.AbpJsonModule
|
|
2022-02-23 19:45:40.149 +08:00 [INF] - Volo.Abp.Timing.AbpTimingModule
|
|
2022-02-23 19:45:40.149 +08:00 [INF] - Volo.Abp.Localization.AbpLocalizationModule
|
|
2022-02-23 19:45:40.149 +08:00 [INF] - Volo.Abp.VirtualFileSystem.AbpVirtualFileSystemModule
|
|
2022-02-23 19:45:40.149 +08:00 [INF] - Volo.Abp.Settings.AbpSettingsModule
|
|
2022-02-23 19:45:40.149 +08:00 [INF] - Volo.Abp.Security.AbpSecurityModule
|
|
2022-02-23 19:45:40.149 +08:00 [INF] - Volo.Abp.MultiTenancy.AbpMultiTenancyModule
|
|
2022-02-23 19:45:40.149 +08:00 [INF] - Volo.Abp.Threading.AbpThreadingModule
|
|
2022-02-23 19:45:40.149 +08:00 [INF] - Volo.Abp.EventBus.AbpEventBusModule
|
|
2022-02-23 19:45:40.149 +08:00 [INF] - Volo.Abp.Guids.AbpGuidsModule
|
|
2022-02-23 19:45:40.149 +08:00 [INF] - Volo.Abp.ObjectMapping.AbpObjectMappingModule
|
|
2022-02-23 19:45:40.149 +08:00 [INF] - Volo.Abp.ExceptionHandling.AbpExceptionHandlingModule
|
|
2022-02-23 19:45:40.149 +08:00 [INF] - Volo.Abp.Specifications.AbpSpecificationsModule
|
|
2022-02-23 19:45:40.149 +08:00 [INF] - WmsWebApi.WmsWebApiDomainSharedModule
|
|
2022-02-23 19:45:40.149 +08:00 [INF] - Volo.Abp.Validation.AbpValidationModule
|
|
2022-02-23 19:45:40.149 +08:00 [INF] - WmsWebApi.WmsWebApiApplicationContractsModule
|
|
2022-02-23 19:45:40.149 +08:00 [INF] - Volo.Abp.Application.AbpDddApplicationContractsModule
|
|
2022-02-23 19:45:40.149 +08:00 [INF] - Volo.Abp.Authorization.AbpAuthorizationModule
|
|
2022-02-23 19:45:40.149 +08:00 [INF] - Volo.Abp.Authorization.AbpAuthorizationAbstractionsModule
|
|
2022-02-23 19:45:40.149 +08:00 [INF] - Volo.Abp.Application.AbpDddApplicationModule
|
|
2022-02-23 19:45:40.149 +08:00 [INF] - Volo.Abp.Http.AbpHttpAbstractionsModule
|
|
2022-02-23 19:45:40.149 +08:00 [INF] - Volo.Abp.Features.AbpFeaturesModule
|
|
2022-02-23 19:45:40.149 +08:00 [INF] - Volo.Abp.GlobalFeatures.AbpGlobalFeaturesModule
|
|
2022-02-23 19:45:40.149 +08:00 [INF] - Volo.Abp.AutoMapper.AbpAutoMapperModule
|
|
2022-02-23 19:45:40.149 +08:00 [INF] - WmsWebApi.EntityFrameworkCore.WmsWebApiEntityFrameworkCoreModule
|
|
2022-02-23 19:45:40.149 +08:00 [INF] - Volo.Abp.EntityFrameworkCore.AbpEntityFrameworkCoreModule
|
|
2022-02-23 19:45:40.149 +08:00 [INF] - Volo.Abp.Dapper.AbpDapperModule
|
|
2022-02-23 19:45:40.149 +08:00 [INF] - WmsWebApi.WmsWebApiHttpApiModule
|
|
2022-02-23 19:45:40.149 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.AbpAspNetCoreMvcModule
|
|
2022-02-23 19:45:40.149 +08:00 [INF] - Volo.Abp.AspNetCore.AbpAspNetCoreModule
|
|
2022-02-23 19:45:40.149 +08:00 [INF] - Volo.Abp.Http.AbpHttpModule
|
|
2022-02-23 19:45:40.149 +08:00 [INF] - Volo.Abp.Minify.AbpMinifyModule
|
|
2022-02-23 19:45:40.149 +08:00 [INF] - Volo.Abp.ApiVersioning.AbpApiVersioningAbstractionsModule
|
|
2022-02-23 19:45:40.149 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.AbpAspNetCoreMvcContractsModule
|
|
2022-02-23 19:45:40.149 +08:00 [INF] - Volo.Abp.UI.Navigation.AbpUiNavigationModule
|
|
2022-02-23 19:45:40.149 +08:00 [INF] - Volo.Abp.UI.AbpUiModule
|
|
2022-02-23 19:45:40.149 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.MultiTenancy.AbpAspNetCoreMvcUiMultiTenancyModule
|
|
2022-02-23 19:45:40.149 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Theme.Shared.AbpAspNetCoreMvcUiThemeSharedModule
|
|
2022-02-23 19:45:40.149 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.AbpAspNetCoreMvcUiBootstrapModule
|
|
2022-02-23 19:45:40.149 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.AbpAspNetCoreMvcUiModule
|
|
2022-02-23 19:45:40.149 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Packages.AbpAspNetCoreMvcUiPackagesModule
|
|
2022-02-23 19:45:40.149 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Bundling.AbpAspNetCoreMvcUiBundlingAbstractionsModule
|
|
2022-02-23 19:45:40.149 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Widgets.AbpAspNetCoreMvcUiWidgetsModule
|
|
2022-02-23 19:45:40.149 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Bundling.AbpAspNetCoreMvcUiBundlingModule
|
|
2022-02-23 19:45:40.149 +08:00 [INF] - Volo.Abp.AspNetCore.MultiTenancy.AbpAspNetCoreMultiTenancyModule
|
|
2022-02-23 19:45:40.149 +08:00 [INF] - Volo.Abp.Autofac.AbpAutofacModule
|
|
2022-02-23 19:45:40.149 +08:00 [INF] - Volo.Abp.Castle.AbpCastleCoreModule
|
|
2022-02-23 19:45:40.149 +08:00 [INF] - Volo.Abp.Caching.StackExchangeRedis.AbpCachingStackExchangeRedisModule
|
|
2022-02-23 19:45:40.149 +08:00 [INF] - Volo.Abp.Caching.AbpCachingModule
|
|
2022-02-23 19:45:40.149 +08:00 [INF] - Volo.Abp.Serialization.AbpSerializationModule
|
|
2022-02-23 19:45:40.149 +08:00 [INF] - Volo.Abp.EntityFrameworkCore.SqlServer.AbpEntityFrameworkCoreSqlServerModule
|
|
2022-02-23 19:45:40.149 +08:00 [INF] - Volo.Abp.AuditLogging.EntityFrameworkCore.AbpAuditLoggingEntityFrameworkCoreModule
|
|
2022-02-23 19:45:40.149 +08:00 [INF] - Volo.Abp.AuditLogging.AbpAuditLoggingDomainModule
|
|
2022-02-23 19:45:40.149 +08:00 [INF] - Volo.Abp.AuditLogging.AbpAuditLoggingDomainSharedModule
|
|
2022-02-23 19:45:40.149 +08:00 [INF] - Volo.Abp.PermissionManagement.EntityFrameworkCore.AbpPermissionManagementEntityFrameworkCoreModule
|
|
2022-02-23 19:45:40.149 +08:00 [INF] - Volo.Abp.PermissionManagement.AbpPermissionManagementDomainModule
|
|
2022-02-23 19:45:40.149 +08:00 [INF] - Volo.Abp.PermissionManagement.AbpPermissionManagementDomainSharedModule
|
|
2022-02-23 19:45:40.149 +08:00 [INF] - Volo.Abp.SettingManagement.EntityFrameworkCore.AbpSettingManagementEntityFrameworkCoreModule
|
|
2022-02-23 19:45:40.149 +08:00 [INF] - Volo.Abp.SettingManagement.AbpSettingManagementDomainModule
|
|
2022-02-23 19:45:40.149 +08:00 [INF] - Volo.Abp.SettingManagement.AbpSettingManagementDomainSharedModule
|
|
2022-02-23 19:45:40.149 +08:00 [INF] - Volo.Abp.AspNetCore.Serilog.AbpAspNetCoreSerilogModule
|
|
2022-02-23 19:45:40.149 +08:00 [INF] - Volo.Abp.Swashbuckle.AbpSwashbuckleModule
|
|
2022-02-23 19:45:44.053 +08:00 [INF] Initialized all ABP modules.
|
|
2022-02-23 19:45:46.611 +08:00 [INF] Now listening on: https://localhost:5000
|
|
2022-02-23 19:45:46.611 +08:00 [INF] Application started. Press Ctrl+C to shut down.
|
|
2022-02-23 19:45:46.611 +08:00 [INF] Hosting environment: Development
|
|
2022-02-23 19:45:46.611 +08:00 [INF] Content root path: D:\工作\派格\接口程序\WmsWebApi\host\WmsWebApi.HttpApi.Host
|
|
2022-02-23 19:46:16.331 +08:00 [INF] Request starting HTTP/2 GET https://localhost:5000/ - -
|
|
2022-02-23 19:46:39.699 +08:00 [INF] Entity Framework Core 5.0.14 initialized 'SettingManagementDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: QuerySplittingBehavior=SplitQuery
|
|
2022-02-23 19:46:46.582 +08:00 [INF] Executed DbCommand (438ms) [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-23 19:46:50.026 +08:00 [INF] Entity Framework Core 5.0.14 initialized 'SettingManagementDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: QuerySplittingBehavior=SplitQuery
|
|
2022-02-23 19:46:50.127 +08:00 [INF] Executed DbCommand (84ms) [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-23 19:46:50.536 +08:00 [INF] Executing endpoint 'WmsWebApi.Controllers.HomeController.Index (WmsWebApi.HttpApi.Host)'
|
|
2022-02-23 19:46:50.942 +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-23 19:46:51.811 +08:00 [INF] Executing action method WmsWebApi.Controllers.HomeController.Index (WmsWebApi.HttpApi.Host) - Validation state: "Valid"
|
|
2022-02-23 19:46:51.829 +08:00 [INF] Executed action method WmsWebApi.Controllers.HomeController.Index (WmsWebApi.HttpApi.Host), returned result Microsoft.AspNetCore.Mvc.RedirectResult in 0.874ms.
|
|
2022-02-23 19:46:51.859 +08:00 [INF] Executing RedirectResult, redirecting to /swagger.
|
|
2022-02-23 19:46:51.887 +08:00 [INF] Executed action WmsWebApi.Controllers.HomeController.Index (WmsWebApi.HttpApi.Host) in 917.2342ms
|
|
2022-02-23 19:46:51.887 +08:00 [INF] Executed endpoint 'WmsWebApi.Controllers.HomeController.Index (WmsWebApi.HttpApi.Host)'
|
|
2022-02-23 19:46:51.983 +08:00 [INF] Request finished HTTP/2 GET https://localhost:5000/ - - - 302 0 - 35655.3763ms
|
|
2022-02-23 19:46:52.050 +08:00 [INF] Request starting HTTP/2 GET https://localhost:5000/swagger/index.html - -
|
|
2022-02-23 19:46:53.344 +08:00 [INF] Request finished HTTP/2 GET https://localhost:5000/swagger/index.html - - - 200 - text/html;charset=utf-8 1293.3840ms
|
|
2022-02-23 19:46:54.890 +08:00 [INF] Request starting HTTP/2 GET https://localhost:5000/_framework/aspnetcore-browser-refresh.js - -
|
|
2022-02-23 19:46:54.899 +08:00 [INF] Request finished HTTP/2 GET https://localhost:5000/_framework/aspnetcore-browser-refresh.js - - - 200 11956 application/javascript;+charset=utf-8 8.6303ms
|
|
2022-02-23 19:46:56.498 +08:00 [INF] Request starting HTTP/2 GET https://localhost:5000/swagger/v1/swagger.json - -
|
|
2022-02-23 19:46:58.247 +08:00 [INF] Request finished HTTP/2 GET https://localhost:5000/swagger/v1/swagger.json - - - 200 - application/json;charset=utf-8 1748.5944ms
|
|
2022-02-23 19:48:02.183 +08:00 [INF] Request starting HTTP/2 GET https://localhost:5000/abp/Swashbuckle/SetCsrfCookie application/json -
|
|
2022-02-23 19:48:02.207 +08:00 [INF] Executing endpoint 'Volo.Abp.Swashbuckle.AbpSwashbuckleController.SetCsrfCookie (Volo.Abp.Swashbuckle)'
|
|
2022-02-23 19:48:02.214 +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-23 19:48:02.579 +08:00 [INF] Executing action method Volo.Abp.Swashbuckle.AbpSwashbuckleController.SetCsrfCookie (Volo.Abp.Swashbuckle) - Validation state: "Valid"
|
|
2022-02-23 19:48:02.645 +08:00 [INF] Executed action method Volo.Abp.Swashbuckle.AbpSwashbuckleController.SetCsrfCookie (Volo.Abp.Swashbuckle), returned result Microsoft.AspNetCore.Mvc.EmptyResult in 65.4172ms.
|
|
2022-02-23 19:48:02.646 +08:00 [INF] Executed action Volo.Abp.Swashbuckle.AbpSwashbuckleController.SetCsrfCookie (Volo.Abp.Swashbuckle) in 431.3095ms
|
|
2022-02-23 19:48:02.646 +08:00 [INF] Executed endpoint 'Volo.Abp.Swashbuckle.AbpSwashbuckleController.SetCsrfCookie (Volo.Abp.Swashbuckle)'
|
|
2022-02-23 19:48:02.647 +08:00 [INF] Request finished HTTP/2 GET https://localhost:5000/abp/Swashbuckle/SetCsrfCookie application/json - - 204 - - 464.9985ms
|
|
2022-02-23 19:48:03.138 +08:00 [INF] Request starting HTTP/2 POST https://localhost:5000/api/PPlan/add application/json 357
|
|
2022-02-23 19:48:03.158 +08:00 [INF] CORS policy execution failed.
|
|
2022-02-23 19:48:03.159 +08:00 [INF] Request origin https://localhost:5000 does not have permission to access the resource.
|
|
2022-02-23 19:48:03.166 +08:00 [INF] Executing endpoint 'WmsWebApi.PPlan.PPlanService.AddAsync (WmsWebApi.Application)'
|
|
2022-02-23 19:48:03.219 +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-23 19:48:07.646 +08:00 [INF] Executing action method WmsWebApi.PPlan.PPlanService.AddAsync (WmsWebApi.Application) - Validation state: "Valid"
|
|
2022-02-23 19:48:20.515 +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-23 19:48:20.516 +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-23 19:48:20.516 +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-23 19:48:20.516 +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-23 19:48:20.516 +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-23 19:48:20.516 +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-23 19:48:20.516 +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-23 19:48:20.516 +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-23 19:48:20.516 +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-23 19:48:20.516 +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-23 19:48:20.516 +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-23 19:48:20.516 +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-23 19:48:20.516 +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-23 19:48:20.516 +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-23 19:48:20.516 +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-23 19:48:20.517 +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-23 19:48:20.517 +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-23 19:48:20.517 +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-23 19:48:20.517 +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-23 19:48:20.517 +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-23 19:48:20.517 +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-23 19:48:20.725 +08:00 [INF] Entity Framework Core 5.0.14 initialized 'WmsWebApiDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: QuerySplittingBehavior=SplitQuery
|
|
2022-02-23 19:48:20.935 +08:00 [INF] Executed DbCommand (11ms) [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-23 19:48:39.961 +08:00 [INF] Executed DbCommand (198ms) [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-23 19:49:06.649 +08:00 [INF] Executed DbCommand (4ms) [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-23 19:53:36.650 +08:00 [INF] Starting web host.
|
|
2022-02-23 19:54:07.815 +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-23 19:54:08.503 +08:00 [INF] Loaded ABP modules:
|
|
2022-02-23 19:54:08.504 +08:00 [INF] - WmsWebApi.WmsWebApiHttpApiHostModule
|
|
2022-02-23 19:54:08.504 +08:00 [INF] - WmsWebApi.WmsWebApiApplicationModule
|
|
2022-02-23 19:54:08.504 +08:00 [INF] - WmsWebApi.WmsWebApiDomainModule
|
|
2022-02-23 19:54:08.504 +08:00 [INF] - Volo.Abp.Domain.AbpDddDomainModule
|
|
2022-02-23 19:54:08.504 +08:00 [INF] - Volo.Abp.Auditing.AbpAuditingModule
|
|
2022-02-23 19:54:08.504 +08:00 [INF] - Volo.Abp.Data.AbpDataModule
|
|
2022-02-23 19:54:08.504 +08:00 [INF] - Volo.Abp.ObjectExtending.AbpObjectExtendingModule
|
|
2022-02-23 19:54:08.504 +08:00 [INF] - Volo.Abp.Localization.AbpLocalizationAbstractionsModule
|
|
2022-02-23 19:54:08.504 +08:00 [INF] - Volo.Abp.Validation.AbpValidationAbstractionsModule
|
|
2022-02-23 19:54:08.504 +08:00 [INF] - Volo.Abp.Uow.AbpUnitOfWorkModule
|
|
2022-02-23 19:54:08.504 +08:00 [INF] - Volo.Abp.EventBus.Abstractions.AbpEventBusAbstractionsModule
|
|
2022-02-23 19:54:08.504 +08:00 [INF] - Volo.Abp.Json.AbpJsonModule
|
|
2022-02-23 19:54:08.504 +08:00 [INF] - Volo.Abp.Timing.AbpTimingModule
|
|
2022-02-23 19:54:08.504 +08:00 [INF] - Volo.Abp.Localization.AbpLocalizationModule
|
|
2022-02-23 19:54:08.504 +08:00 [INF] - Volo.Abp.VirtualFileSystem.AbpVirtualFileSystemModule
|
|
2022-02-23 19:54:08.504 +08:00 [INF] - Volo.Abp.Settings.AbpSettingsModule
|
|
2022-02-23 19:54:08.504 +08:00 [INF] - Volo.Abp.Security.AbpSecurityModule
|
|
2022-02-23 19:54:08.505 +08:00 [INF] - Volo.Abp.MultiTenancy.AbpMultiTenancyModule
|
|
2022-02-23 19:54:08.505 +08:00 [INF] - Volo.Abp.Threading.AbpThreadingModule
|
|
2022-02-23 19:54:08.505 +08:00 [INF] - Volo.Abp.EventBus.AbpEventBusModule
|
|
2022-02-23 19:54:08.505 +08:00 [INF] - Volo.Abp.Guids.AbpGuidsModule
|
|
2022-02-23 19:54:08.505 +08:00 [INF] - Volo.Abp.ObjectMapping.AbpObjectMappingModule
|
|
2022-02-23 19:54:08.505 +08:00 [INF] - Volo.Abp.ExceptionHandling.AbpExceptionHandlingModule
|
|
2022-02-23 19:54:08.505 +08:00 [INF] - Volo.Abp.Specifications.AbpSpecificationsModule
|
|
2022-02-23 19:54:08.505 +08:00 [INF] - WmsWebApi.WmsWebApiDomainSharedModule
|
|
2022-02-23 19:54:08.505 +08:00 [INF] - Volo.Abp.Validation.AbpValidationModule
|
|
2022-02-23 19:54:08.505 +08:00 [INF] - WmsWebApi.WmsWebApiApplicationContractsModule
|
|
2022-02-23 19:54:08.505 +08:00 [INF] - Volo.Abp.Application.AbpDddApplicationContractsModule
|
|
2022-02-23 19:54:08.505 +08:00 [INF] - Volo.Abp.Authorization.AbpAuthorizationModule
|
|
2022-02-23 19:54:08.505 +08:00 [INF] - Volo.Abp.Authorization.AbpAuthorizationAbstractionsModule
|
|
2022-02-23 19:54:08.505 +08:00 [INF] - Volo.Abp.Application.AbpDddApplicationModule
|
|
2022-02-23 19:54:08.505 +08:00 [INF] - Volo.Abp.Http.AbpHttpAbstractionsModule
|
|
2022-02-23 19:54:08.505 +08:00 [INF] - Volo.Abp.Features.AbpFeaturesModule
|
|
2022-02-23 19:54:08.505 +08:00 [INF] - Volo.Abp.GlobalFeatures.AbpGlobalFeaturesModule
|
|
2022-02-23 19:54:08.505 +08:00 [INF] - Volo.Abp.AutoMapper.AbpAutoMapperModule
|
|
2022-02-23 19:54:08.505 +08:00 [INF] - WmsWebApi.EntityFrameworkCore.WmsWebApiEntityFrameworkCoreModule
|
|
2022-02-23 19:54:08.505 +08:00 [INF] - Volo.Abp.EntityFrameworkCore.AbpEntityFrameworkCoreModule
|
|
2022-02-23 19:54:08.505 +08:00 [INF] - Volo.Abp.Dapper.AbpDapperModule
|
|
2022-02-23 19:54:08.505 +08:00 [INF] - WmsWebApi.WmsWebApiHttpApiModule
|
|
2022-02-23 19:54:08.505 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.AbpAspNetCoreMvcModule
|
|
2022-02-23 19:54:08.505 +08:00 [INF] - Volo.Abp.AspNetCore.AbpAspNetCoreModule
|
|
2022-02-23 19:54:08.505 +08:00 [INF] - Volo.Abp.Http.AbpHttpModule
|
|
2022-02-23 19:54:08.505 +08:00 [INF] - Volo.Abp.Minify.AbpMinifyModule
|
|
2022-02-23 19:54:08.505 +08:00 [INF] - Volo.Abp.ApiVersioning.AbpApiVersioningAbstractionsModule
|
|
2022-02-23 19:54:08.505 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.AbpAspNetCoreMvcContractsModule
|
|
2022-02-23 19:54:08.505 +08:00 [INF] - Volo.Abp.UI.Navigation.AbpUiNavigationModule
|
|
2022-02-23 19:54:08.505 +08:00 [INF] - Volo.Abp.UI.AbpUiModule
|
|
2022-02-23 19:54:08.505 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.MultiTenancy.AbpAspNetCoreMvcUiMultiTenancyModule
|
|
2022-02-23 19:54:08.505 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Theme.Shared.AbpAspNetCoreMvcUiThemeSharedModule
|
|
2022-02-23 19:54:08.505 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.AbpAspNetCoreMvcUiBootstrapModule
|
|
2022-02-23 19:54:08.505 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.AbpAspNetCoreMvcUiModule
|
|
2022-02-23 19:54:08.505 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Packages.AbpAspNetCoreMvcUiPackagesModule
|
|
2022-02-23 19:54:08.505 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Bundling.AbpAspNetCoreMvcUiBundlingAbstractionsModule
|
|
2022-02-23 19:54:08.505 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Widgets.AbpAspNetCoreMvcUiWidgetsModule
|
|
2022-02-23 19:54:08.506 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Bundling.AbpAspNetCoreMvcUiBundlingModule
|
|
2022-02-23 19:54:08.506 +08:00 [INF] - Volo.Abp.AspNetCore.MultiTenancy.AbpAspNetCoreMultiTenancyModule
|
|
2022-02-23 19:54:08.506 +08:00 [INF] - Volo.Abp.Autofac.AbpAutofacModule
|
|
2022-02-23 19:54:08.506 +08:00 [INF] - Volo.Abp.Castle.AbpCastleCoreModule
|
|
2022-02-23 19:54:08.506 +08:00 [INF] - Volo.Abp.Caching.StackExchangeRedis.AbpCachingStackExchangeRedisModule
|
|
2022-02-23 19:54:08.506 +08:00 [INF] - Volo.Abp.Caching.AbpCachingModule
|
|
2022-02-23 19:54:08.506 +08:00 [INF] - Volo.Abp.Serialization.AbpSerializationModule
|
|
2022-02-23 19:54:08.506 +08:00 [INF] - Volo.Abp.EntityFrameworkCore.SqlServer.AbpEntityFrameworkCoreSqlServerModule
|
|
2022-02-23 19:54:08.506 +08:00 [INF] - Volo.Abp.AuditLogging.EntityFrameworkCore.AbpAuditLoggingEntityFrameworkCoreModule
|
|
2022-02-23 19:54:08.506 +08:00 [INF] - Volo.Abp.AuditLogging.AbpAuditLoggingDomainModule
|
|
2022-02-23 19:54:08.506 +08:00 [INF] - Volo.Abp.AuditLogging.AbpAuditLoggingDomainSharedModule
|
|
2022-02-23 19:54:08.506 +08:00 [INF] - Volo.Abp.PermissionManagement.EntityFrameworkCore.AbpPermissionManagementEntityFrameworkCoreModule
|
|
2022-02-23 19:54:08.506 +08:00 [INF] - Volo.Abp.PermissionManagement.AbpPermissionManagementDomainModule
|
|
2022-02-23 19:54:08.506 +08:00 [INF] - Volo.Abp.PermissionManagement.AbpPermissionManagementDomainSharedModule
|
|
2022-02-23 19:54:08.506 +08:00 [INF] - Volo.Abp.SettingManagement.EntityFrameworkCore.AbpSettingManagementEntityFrameworkCoreModule
|
|
2022-02-23 19:54:08.506 +08:00 [INF] - Volo.Abp.SettingManagement.AbpSettingManagementDomainModule
|
|
2022-02-23 19:54:08.506 +08:00 [INF] - Volo.Abp.SettingManagement.AbpSettingManagementDomainSharedModule
|
|
2022-02-23 19:54:08.506 +08:00 [INF] - Volo.Abp.AspNetCore.Serilog.AbpAspNetCoreSerilogModule
|
|
2022-02-23 19:54:08.506 +08:00 [INF] - Volo.Abp.Swashbuckle.AbpSwashbuckleModule
|
|
2022-02-23 19:54:11.815 +08:00 [INF] Initialized all ABP modules.
|
|
2022-02-23 19:54:14.264 +08:00 [INF] Now listening on: https://localhost:5000
|
|
2022-02-23 19:54:14.264 +08:00 [INF] Application started. Press Ctrl+C to shut down.
|
|
2022-02-23 19:54:14.264 +08:00 [INF] Hosting environment: Development
|
|
2022-02-23 19:54:14.264 +08:00 [INF] Content root path: D:\工作\派格\接口程序\WmsWebApi\host\WmsWebApi.HttpApi.Host
|
|
2022-02-23 19:54:30.531 +08:00 [INF] Request starting HTTP/2 GET https://localhost:5000/ - -
|
|
2022-02-23 19:54:54.285 +08:00 [INF] Executing endpoint 'WmsWebApi.Controllers.HomeController.Index (WmsWebApi.HttpApi.Host)'
|
|
2022-02-23 19:54:55.541 +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-23 19:54:56.924 +08:00 [INF] Executing action method WmsWebApi.Controllers.HomeController.Index (WmsWebApi.HttpApi.Host) - Validation state: "Valid"
|
|
2022-02-23 19:54:56.945 +08:00 [INF] Executed action method WmsWebApi.Controllers.HomeController.Index (WmsWebApi.HttpApi.Host), returned result Microsoft.AspNetCore.Mvc.RedirectResult in 0.738ms.
|
|
2022-02-23 19:54:56.964 +08:00 [INF] Executing RedirectResult, redirecting to /swagger.
|
|
2022-02-23 19:54:56.986 +08:00 [INF] Executed action WmsWebApi.Controllers.HomeController.Index (WmsWebApi.HttpApi.Host) in 1424.7693ms
|
|
2022-02-23 19:54:56.986 +08:00 [INF] Executed endpoint 'WmsWebApi.Controllers.HomeController.Index (WmsWebApi.HttpApi.Host)'
|
|
2022-02-23 19:54:57.143 +08:00 [INF] Request finished HTTP/2 GET https://localhost:5000/ - - - 302 0 - 26605.6571ms
|
|
2022-02-23 19:54:57.383 +08:00 [INF] Request starting HTTP/2 GET https://localhost:5000/swagger/index.html - -
|
|
2022-02-23 19:54:59.882 +08:00 [INF] Request finished HTTP/2 GET https://localhost:5000/swagger/index.html - - - 200 - text/html;charset=utf-8 2498.8757ms
|
|
2022-02-23 19:55:01.867 +08:00 [INF] Request starting HTTP/2 GET https://localhost:5000/_framework/aspnetcore-browser-refresh.js - -
|
|
2022-02-23 19:55:01.879 +08:00 [INF] Request finished HTTP/2 GET https://localhost:5000/_framework/aspnetcore-browser-refresh.js - - - 200 11956 application/javascript;+charset=utf-8 12.1836ms
|
|
2022-02-23 19:55:02.836 +08:00 [INF] Request starting HTTP/2 GET https://localhost:5000/swagger/v1/swagger.json - -
|
|
2022-02-23 19:55:03.685 +08:00 [INF] Request finished HTTP/2 GET https://localhost:5000/swagger/v1/swagger.json - - - 200 - application/json;charset=utf-8 848.9480ms
|
|
2022-02-23 19:56:40.513 +08:00 [INF] Request starting HTTP/2 GET https://localhost:5000/abp/Swashbuckle/SetCsrfCookie application/json -
|
|
2022-02-23 19:56:40.529 +08:00 [INF] Executing endpoint 'Volo.Abp.Swashbuckle.AbpSwashbuckleController.SetCsrfCookie (Volo.Abp.Swashbuckle)'
|
|
2022-02-23 19:56:40.566 +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-23 19:56:40.858 +08:00 [INF] Executing action method Volo.Abp.Swashbuckle.AbpSwashbuckleController.SetCsrfCookie (Volo.Abp.Swashbuckle) - Validation state: "Valid"
|
|
2022-02-23 19:56:40.917 +08:00 [INF] Executed action method Volo.Abp.Swashbuckle.AbpSwashbuckleController.SetCsrfCookie (Volo.Abp.Swashbuckle), returned result Microsoft.AspNetCore.Mvc.EmptyResult in 58.2473ms.
|
|
2022-02-23 19:56:40.918 +08:00 [INF] Executed action Volo.Abp.Swashbuckle.AbpSwashbuckleController.SetCsrfCookie (Volo.Abp.Swashbuckle) in 352.544ms
|
|
2022-02-23 19:56:40.918 +08:00 [INF] Executed endpoint 'Volo.Abp.Swashbuckle.AbpSwashbuckleController.SetCsrfCookie (Volo.Abp.Swashbuckle)'
|
|
2022-02-23 19:56:40.922 +08:00 [INF] Request finished HTTP/2 GET https://localhost:5000/abp/Swashbuckle/SetCsrfCookie application/json - - 204 - - 411.5923ms
|
|
2022-02-23 19:56:41.370 +08:00 [INF] Request starting HTTP/2 POST https://localhost:5000/api/PPlan/add application/json 357
|
|
2022-02-23 19:56:41.475 +08:00 [INF] CORS policy execution failed.
|
|
2022-02-23 19:56:41.475 +08:00 [INF] Request origin https://localhost:5000 does not have permission to access the resource.
|
|
2022-02-23 19:56:41.487 +08:00 [INF] Executing endpoint 'WmsWebApi.PPlan.PPlanService.AddAsync (WmsWebApi.Application)'
|
|
2022-02-23 19:56:41.574 +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-23 19:56:45.470 +08:00 [INF] Executing action method WmsWebApi.PPlan.PPlanService.AddAsync (WmsWebApi.Application) - Validation state: "Valid"
|
|
2022-02-23 19:56:54.877 +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-23 19:56:54.877 +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-23 19:56:54.877 +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-23 19:56:54.877 +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-23 19:56:54.877 +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-23 19:56:54.877 +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-23 19:56:54.877 +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-23 19:56:54.877 +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-23 19:56:54.878 +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-23 19:56:54.878 +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-23 19:56:54.878 +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-23 19:56:54.878 +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-23 19:56:54.878 +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-23 19:56:54.878 +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-23 19:56:54.878 +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-23 19:56:54.878 +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-23 19:56:54.878 +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-23 19:56:54.878 +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-23 19:56:54.878 +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-23 19:56:54.878 +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-23 19:56:54.878 +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-23 19:56:55.657 +08:00 [INF] Entity Framework Core 5.0.14 initialized 'WmsWebApiDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: QuerySplittingBehavior=SplitQuery
|
|
2022-02-23 19:57:00.482 +08:00 [INF] Executed DbCommand (257ms) [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-23 19:57:01.991 +08:00 [INF] Executed DbCommand (225ms) [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-23 19:57:02.805 +08:00 [INF] Executed DbCommand (65ms) [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-23 20:17:27.923 +08:00 [INF] Executed action method WmsWebApi.PPlan.PPlanService.AddAsync (WmsWebApi.Application), returned result Microsoft.AspNetCore.Mvc.ObjectResult in 1242452.8949ms.
|
|
2022-02-23 20:17:29.168 +08:00 [INF] Executed DbCommand (46ms) [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-23 20:17:29.703 +08:00 [DBG] Added 0 entity changes to the current audit log
|
|
2022-02-23 20:17:29.705 +08:00 [DBG] Added 0 entity changes to the current audit log
|
|
2022-02-23 20:17:29.795 +08:00 [INF] Executing ObjectResult, writing value of type 'WmsWebApi.PPlan.ReturnResult'.
|
|
2022-02-23 20:17:29.840 +08:00 [INF] Executed action WmsWebApi.PPlan.PPlanService.AddAsync (WmsWebApi.Application) in 1248266.6581ms
|
|
2022-02-23 20:17:29.842 +08:00 [INF] Executed endpoint 'WmsWebApi.PPlan.PPlanService.AddAsync (WmsWebApi.Application)'
|
|
2022-02-23 20:17:30.822 +08:00 [INF] Entity Framework Core 5.0.14 initialized 'AbpAuditLoggingDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: QuerySplittingBehavior=SplitQuery
|
|
2022-02-23 20:17:31.650 +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-23 20:17:31.661 +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-23 20:17:31.702 +08:00 [DBG] Added 0 entity changes to the current audit log
|
|
2022-02-23 20:17:31.702 +08:00 [DBG] Added 0 entity changes to the current audit log
|
|
2022-02-23 20:17:31.713 +08:00 [INF] Request finished HTTP/2 POST https://localhost:5000/api/PPlan/add application/json 357 - 200 - application/json;+charset=utf-8 1250343.6673ms
|
|
|