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.
 
 
 
 

2214 lines
346 KiB

2022-02-20 20:59:35.132 +08:00 [INF] Starting web host.
2022-02-20 20:59:48.124 +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-20 20:59:48.528 +08:00 [INF] Loaded ABP modules:
2022-02-20 20:59:48.528 +08:00 [INF] - WmsWebApi.WmsWebApiHttpApiHostModule
2022-02-20 20:59:48.528 +08:00 [INF] - WmsWebApi.WmsWebApiApplicationModule
2022-02-20 20:59:48.528 +08:00 [INF] - WmsWebApi.WmsWebApiDomainModule
2022-02-20 20:59:48.528 +08:00 [INF] - Volo.Abp.Domain.AbpDddDomainModule
2022-02-20 20:59:48.528 +08:00 [INF] - Volo.Abp.Auditing.AbpAuditingModule
2022-02-20 20:59:48.528 +08:00 [INF] - Volo.Abp.Data.AbpDataModule
2022-02-20 20:59:48.528 +08:00 [INF] - Volo.Abp.ObjectExtending.AbpObjectExtendingModule
2022-02-20 20:59:48.528 +08:00 [INF] - Volo.Abp.Localization.AbpLocalizationAbstractionsModule
2022-02-20 20:59:48.528 +08:00 [INF] - Volo.Abp.Validation.AbpValidationAbstractionsModule
2022-02-20 20:59:48.528 +08:00 [INF] - Volo.Abp.Uow.AbpUnitOfWorkModule
2022-02-20 20:59:48.528 +08:00 [INF] - Volo.Abp.EventBus.Abstractions.AbpEventBusAbstractionsModule
2022-02-20 20:59:48.528 +08:00 [INF] - Volo.Abp.Json.AbpJsonModule
2022-02-20 20:59:48.528 +08:00 [INF] - Volo.Abp.Timing.AbpTimingModule
2022-02-20 20:59:48.528 +08:00 [INF] - Volo.Abp.Localization.AbpLocalizationModule
2022-02-20 20:59:48.528 +08:00 [INF] - Volo.Abp.VirtualFileSystem.AbpVirtualFileSystemModule
2022-02-20 20:59:48.528 +08:00 [INF] - Volo.Abp.Settings.AbpSettingsModule
2022-02-20 20:59:48.528 +08:00 [INF] - Volo.Abp.Security.AbpSecurityModule
2022-02-20 20:59:48.528 +08:00 [INF] - Volo.Abp.MultiTenancy.AbpMultiTenancyModule
2022-02-20 20:59:48.528 +08:00 [INF] - Volo.Abp.Threading.AbpThreadingModule
2022-02-20 20:59:48.528 +08:00 [INF] - Volo.Abp.EventBus.AbpEventBusModule
2022-02-20 20:59:48.528 +08:00 [INF] - Volo.Abp.Guids.AbpGuidsModule
2022-02-20 20:59:48.528 +08:00 [INF] - Volo.Abp.ObjectMapping.AbpObjectMappingModule
2022-02-20 20:59:48.528 +08:00 [INF] - Volo.Abp.ExceptionHandling.AbpExceptionHandlingModule
2022-02-20 20:59:48.528 +08:00 [INF] - Volo.Abp.Specifications.AbpSpecificationsModule
2022-02-20 20:59:48.528 +08:00 [INF] - WmsWebApi.WmsWebApiDomainSharedModule
2022-02-20 20:59:48.528 +08:00 [INF] - Volo.Abp.Validation.AbpValidationModule
2022-02-20 20:59:48.528 +08:00 [INF] - WmsWebApi.WmsWebApiApplicationContractsModule
2022-02-20 20:59:48.528 +08:00 [INF] - Volo.Abp.Application.AbpDddApplicationContractsModule
2022-02-20 20:59:48.528 +08:00 [INF] - Volo.Abp.Authorization.AbpAuthorizationModule
2022-02-20 20:59:48.528 +08:00 [INF] - Volo.Abp.Authorization.AbpAuthorizationAbstractionsModule
2022-02-20 20:59:48.528 +08:00 [INF] - Volo.Abp.Application.AbpDddApplicationModule
2022-02-20 20:59:48.528 +08:00 [INF] - Volo.Abp.Http.AbpHttpAbstractionsModule
2022-02-20 20:59:48.528 +08:00 [INF] - Volo.Abp.Features.AbpFeaturesModule
2022-02-20 20:59:48.528 +08:00 [INF] - Volo.Abp.GlobalFeatures.AbpGlobalFeaturesModule
2022-02-20 20:59:48.528 +08:00 [INF] - Volo.Abp.AutoMapper.AbpAutoMapperModule
2022-02-20 20:59:48.528 +08:00 [INF] - WmsWebApi.EntityFrameworkCore.WmsWebApiEntityFrameworkCoreModule
2022-02-20 20:59:48.528 +08:00 [INF] - Volo.Abp.EntityFrameworkCore.AbpEntityFrameworkCoreModule
2022-02-20 20:59:48.528 +08:00 [INF] - Volo.Abp.Dapper.AbpDapperModule
2022-02-20 20:59:48.528 +08:00 [INF] - WmsWebApi.WmsWebApiHttpApiModule
2022-02-20 20:59:48.528 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.AbpAspNetCoreMvcModule
2022-02-20 20:59:48.528 +08:00 [INF] - Volo.Abp.AspNetCore.AbpAspNetCoreModule
2022-02-20 20:59:48.528 +08:00 [INF] - Volo.Abp.Http.AbpHttpModule
2022-02-20 20:59:48.528 +08:00 [INF] - Volo.Abp.Minify.AbpMinifyModule
2022-02-20 20:59:48.528 +08:00 [INF] - Volo.Abp.ApiVersioning.AbpApiVersioningAbstractionsModule
2022-02-20 20:59:48.528 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.AbpAspNetCoreMvcContractsModule
2022-02-20 20:59:48.528 +08:00 [INF] - Volo.Abp.UI.Navigation.AbpUiNavigationModule
2022-02-20 20:59:48.528 +08:00 [INF] - Volo.Abp.UI.AbpUiModule
2022-02-20 20:59:48.528 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.MultiTenancy.AbpAspNetCoreMvcUiMultiTenancyModule
2022-02-20 20:59:48.528 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Theme.Shared.AbpAspNetCoreMvcUiThemeSharedModule
2022-02-20 20:59:48.529 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.AbpAspNetCoreMvcUiBootstrapModule
2022-02-20 20:59:48.529 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.AbpAspNetCoreMvcUiModule
2022-02-20 20:59:48.529 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Packages.AbpAspNetCoreMvcUiPackagesModule
2022-02-20 20:59:48.529 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Bundling.AbpAspNetCoreMvcUiBundlingAbstractionsModule
2022-02-20 20:59:48.529 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Widgets.AbpAspNetCoreMvcUiWidgetsModule
2022-02-20 20:59:48.529 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Bundling.AbpAspNetCoreMvcUiBundlingModule
2022-02-20 20:59:48.529 +08:00 [INF] - Volo.Abp.AspNetCore.MultiTenancy.AbpAspNetCoreMultiTenancyModule
2022-02-20 20:59:48.529 +08:00 [INF] - Volo.Abp.Autofac.AbpAutofacModule
2022-02-20 20:59:48.529 +08:00 [INF] - Volo.Abp.Castle.AbpCastleCoreModule
2022-02-20 20:59:48.529 +08:00 [INF] - Volo.Abp.Caching.StackExchangeRedis.AbpCachingStackExchangeRedisModule
2022-02-20 20:59:48.529 +08:00 [INF] - Volo.Abp.Caching.AbpCachingModule
2022-02-20 20:59:48.529 +08:00 [INF] - Volo.Abp.Serialization.AbpSerializationModule
2022-02-20 20:59:48.529 +08:00 [INF] - Volo.Abp.EntityFrameworkCore.SqlServer.AbpEntityFrameworkCoreSqlServerModule
2022-02-20 20:59:48.529 +08:00 [INF] - Volo.Abp.AuditLogging.EntityFrameworkCore.AbpAuditLoggingEntityFrameworkCoreModule
2022-02-20 20:59:48.529 +08:00 [INF] - Volo.Abp.AuditLogging.AbpAuditLoggingDomainModule
2022-02-20 20:59:48.529 +08:00 [INF] - Volo.Abp.AuditLogging.AbpAuditLoggingDomainSharedModule
2022-02-20 20:59:48.529 +08:00 [INF] - Volo.Abp.PermissionManagement.EntityFrameworkCore.AbpPermissionManagementEntityFrameworkCoreModule
2022-02-20 20:59:48.529 +08:00 [INF] - Volo.Abp.PermissionManagement.AbpPermissionManagementDomainModule
2022-02-20 20:59:48.529 +08:00 [INF] - Volo.Abp.PermissionManagement.AbpPermissionManagementDomainSharedModule
2022-02-20 20:59:48.529 +08:00 [INF] - Volo.Abp.SettingManagement.EntityFrameworkCore.AbpSettingManagementEntityFrameworkCoreModule
2022-02-20 20:59:48.529 +08:00 [INF] - Volo.Abp.SettingManagement.AbpSettingManagementDomainModule
2022-02-20 20:59:48.529 +08:00 [INF] - Volo.Abp.SettingManagement.AbpSettingManagementDomainSharedModule
2022-02-20 20:59:48.529 +08:00 [INF] - Volo.Abp.AspNetCore.Serilog.AbpAspNetCoreSerilogModule
2022-02-20 20:59:48.529 +08:00 [INF] - Volo.Abp.Swashbuckle.AbpSwashbuckleModule
2022-02-20 20:59:49.875 +08:00 [INF] Initialized all ABP modules.
2022-02-20 20:59:50.340 +08:00 [INF] Now listening on: https://localhost:5000
2022-02-20 20:59:50.340 +08:00 [INF] Application started. Press Ctrl+C to shut down.
2022-02-20 20:59:50.340 +08:00 [INF] Hosting environment: Development
2022-02-20 20:59:50.341 +08:00 [INF] Content root path: D:\工作\派格\接口程序\WmsWebApi\host\WmsWebApi.HttpApi.Host
2022-02-20 20:59:57.684 +08:00 [INF] Request starting HTTP/2 GET https://localhost:5000/ - -
2022-02-20 21:00:05.080 +08:00 [INF] Entity Framework Core 5.0.14 initialized 'SettingManagementDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: QuerySplittingBehavior=SplitQuery
2022-02-20 21:00:07.982 +08:00 [INF] Executed DbCommand (275ms) [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-20 21:00:08.433 +08:00 [INF] Entity Framework Core 5.0.14 initialized 'SettingManagementDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: QuerySplittingBehavior=SplitQuery
2022-02-20 21:00:08.540 +08:00 [INF] Executed DbCommand (102ms) [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-20 21:00:08.620 +08:00 [INF] Executing endpoint 'WmsWebApi.Controllers.HomeController.Index (WmsWebApi.HttpApi.Host)'
2022-02-20 21:00:08.756 +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-20 21:00:08.945 +08:00 [INF] Executing action method WmsWebApi.Controllers.HomeController.Index (WmsWebApi.HttpApi.Host) - Validation state: "Valid"
2022-02-20 21:00:08.949 +08:00 [INF] Executed action method WmsWebApi.Controllers.HomeController.Index (WmsWebApi.HttpApi.Host), returned result Microsoft.AspNetCore.Mvc.RedirectResult in 0.2936ms.
2022-02-20 21:00:08.955 +08:00 [INF] Executing RedirectResult, redirecting to /swagger.
2022-02-20 21:00:08.962 +08:00 [INF] Executed action WmsWebApi.Controllers.HomeController.Index (WmsWebApi.HttpApi.Host) in 200.0757ms
2022-02-20 21:00:08.962 +08:00 [INF] Executed endpoint 'WmsWebApi.Controllers.HomeController.Index (WmsWebApi.HttpApi.Host)'
2022-02-20 21:00:09.003 +08:00 [INF] Request starting HTTP/2 GET https://localhost:5000/swagger/index.html - -
2022-02-20 21:00:09.004 +08:00 [INF] Request finished HTTP/2 GET https://localhost:5000/ - - - 302 0 - 11323.5627ms
2022-02-20 21:00:09.398 +08:00 [INF] Request finished HTTP/2 GET https://localhost:5000/swagger/index.html - - - 200 - text/html;charset=utf-8 394.5119ms
2022-02-20 21:00:09.901 +08:00 [INF] Request starting HTTP/2 GET https://localhost:5000/_framework/aspnetcore-browser-refresh.js - -
2022-02-20 21:00:09.908 +08:00 [INF] Request finished HTTP/2 GET https://localhost:5000/_framework/aspnetcore-browser-refresh.js - - - 200 11956 application/javascript;+charset=utf-8 7.2529ms
2022-02-20 21:00:10.371 +08:00 [INF] Request starting HTTP/2 GET https://localhost:5000/swagger/v1/swagger.json - -
2022-02-20 21:00:10.807 +08:00 [INF] Request finished HTTP/2 GET https://localhost:5000/swagger/v1/swagger.json - - - 200 - application/json;charset=utf-8 436.2668ms
2022-02-20 21:03:48.551 +08:00 [INF] Request starting HTTP/2 GET https://localhost:5000/abp/Swashbuckle/SetCsrfCookie application/json -
2022-02-20 21:03:48.611 +08:00 [INF] Executing endpoint 'Volo.Abp.Swashbuckle.AbpSwashbuckleController.SetCsrfCookie (Volo.Abp.Swashbuckle)'
2022-02-20 21:03:48.617 +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-20 21:03:48.818 +08:00 [INF] Executing action method Volo.Abp.Swashbuckle.AbpSwashbuckleController.SetCsrfCookie (Volo.Abp.Swashbuckle) - Validation state: "Valid"
2022-02-20 21:03:48.860 +08:00 [INF] Executed action method Volo.Abp.Swashbuckle.AbpSwashbuckleController.SetCsrfCookie (Volo.Abp.Swashbuckle), returned result Microsoft.AspNetCore.Mvc.EmptyResult in 41.3507ms.
2022-02-20 21:03:48.861 +08:00 [INF] Executed action Volo.Abp.Swashbuckle.AbpSwashbuckleController.SetCsrfCookie (Volo.Abp.Swashbuckle) in 243.4559ms
2022-02-20 21:03:48.861 +08:00 [INF] Executed endpoint 'Volo.Abp.Swashbuckle.AbpSwashbuckleController.SetCsrfCookie (Volo.Abp.Swashbuckle)'
2022-02-20 21:03:48.862 +08:00 [INF] Request finished HTTP/2 GET https://localhost:5000/abp/Swashbuckle/SetCsrfCookie application/json - - 204 - - 314.0045ms
2022-02-20 21:03:48.977 +08:00 [INF] Request starting HTTP/2 POST https://localhost:5000/api/Purchase/add application/json 526
2022-02-20 21:03:48.984 +08:00 [INF] CORS policy execution failed.
2022-02-20 21:03:48.984 +08:00 [INF] Request origin https://localhost:5000 does not have permission to access the resource.
2022-02-20 21:03:48.988 +08:00 [INF] Executing endpoint 'WmsWebApi.PPlan.PurchaseService.AddAsync (WmsWebApi.Application)'
2022-02-20 21:03:49.005 +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-20 21:03:50.232 +08:00 [INF] Executing action method WmsWebApi.PPlan.PurchaseService.AddAsync (WmsWebApi.Application) - Validation state: "Valid"
2022-02-20 21:03:50.909 +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-20 21:03:50.909 +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-20 21:03:50.909 +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-20 21:03:50.909 +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-20 21:03:50.909 +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-20 21:03:50.910 +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-20 21:03:50.910 +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-20 21:03:50.910 +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-20 21:03:50.910 +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-20 21:03:50.910 +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-20 21:03:50.910 +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-20 21:03:50.910 +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-20 21:03:50.910 +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-20 21:03:50.910 +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-20 21:03:50.910 +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-20 21:03:50.910 +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-20 21:03:50.910 +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-20 21:03:50.910 +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-20 21:03:50.910 +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-20 21:03:51.020 +08:00 [INF] Entity Framework Core 5.0.14 initialized 'WmsWebApiDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: QuerySplittingBehavior=SplitQuery
2022-02-20 21:03:51.633 +08:00 [INF] Executed DbCommand (50ms) [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-20 21:03:51.760 +08:00 [INF] Executed DbCommand (68ms) [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-20 21:03:51.948 +08:00 [INF] Executed action method WmsWebApi.PPlan.PurchaseService.AddAsync (WmsWebApi.Application), returned result Microsoft.AspNetCore.Mvc.ObjectResult in 1716.2825ms.
2022-02-20 21:03:52.254 +08:00 [INF] Executed DbCommand (62ms) [Parameters=[@p0='?' (DbType = Guid), @p1='?' (Size = 4000), @p2='?' (DbType = DateTime2), @p3='?' (Size = 4000), @p4='?' (Size = 4000), @p5='?' (Size = 10), @p6='?' (Size = 10)], CommandType='"Text"', CommandTimeout='30']
SET NOCOUNT ON;
INSERT INTO [WmsWebApiPURCHASEDTO] ([Id], [BUDAT], [DYSJ], [ITYPE], [JSON], [MBLNR], [MJAHR])
VALUES (@p0, @p1, @p2, @p3, @p4, @p5, @p6);
2022-02-20 21:03:52.443 +08:00 [DBG] Added 0 entity changes to the current audit log
2022-02-20 21:03:52.443 +08:00 [DBG] Added 0 entity changes to the current audit log
2022-02-20 21:03:52.475 +08:00 [INF] Executing ObjectResult, writing value of type 'WmsWebApi.PPlan.ReturnResult'.
2022-02-20 21:03:52.501 +08:00 [INF] Executed action WmsWebApi.PPlan.PurchaseService.AddAsync (WmsWebApi.Application) in 3495.6889ms
2022-02-20 21:03:52.502 +08:00 [INF] Executed endpoint 'WmsWebApi.PPlan.PurchaseService.AddAsync (WmsWebApi.Application)'
2022-02-20 21:03:52.894 +08:00 [INF] Entity Framework Core 5.0.14 initialized 'AbpAuditLoggingDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: QuerySplittingBehavior=SplitQuery
2022-02-20 21:03:53.301 +08:00 [INF] Executed DbCommand (156ms) [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-20 21:03:53.349 +08:00 [INF] Executed DbCommand (47ms) [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-20 21:03:53.422 +08:00 [DBG] Added 0 entity changes to the current audit log
2022-02-20 21:03:53.422 +08:00 [DBG] Added 0 entity changes to the current audit log
2022-02-20 21:03:53.426 +08:00 [INF] Request finished HTTP/2 POST https://localhost:5000/api/Purchase/add application/json 526 - 200 - application/json;+charset=utf-8 4448.9565ms
2022-02-20 21:12:28.673 +08:00 [INF] Starting web host.
2022-02-20 21:12:39.388 +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-20 21:12:39.533 +08:00 [INF] Loaded ABP modules:
2022-02-20 21:12:39.533 +08:00 [INF] - WmsWebApi.WmsWebApiHttpApiHostModule
2022-02-20 21:12:39.533 +08:00 [INF] - WmsWebApi.WmsWebApiApplicationModule
2022-02-20 21:12:39.533 +08:00 [INF] - WmsWebApi.WmsWebApiDomainModule
2022-02-20 21:12:39.533 +08:00 [INF] - Volo.Abp.Domain.AbpDddDomainModule
2022-02-20 21:12:39.533 +08:00 [INF] - Volo.Abp.Auditing.AbpAuditingModule
2022-02-20 21:12:39.533 +08:00 [INF] - Volo.Abp.Data.AbpDataModule
2022-02-20 21:12:39.533 +08:00 [INF] - Volo.Abp.ObjectExtending.AbpObjectExtendingModule
2022-02-20 21:12:39.533 +08:00 [INF] - Volo.Abp.Localization.AbpLocalizationAbstractionsModule
2022-02-20 21:12:39.533 +08:00 [INF] - Volo.Abp.Validation.AbpValidationAbstractionsModule
2022-02-20 21:12:39.533 +08:00 [INF] - Volo.Abp.Uow.AbpUnitOfWorkModule
2022-02-20 21:12:39.533 +08:00 [INF] - Volo.Abp.EventBus.Abstractions.AbpEventBusAbstractionsModule
2022-02-20 21:12:39.533 +08:00 [INF] - Volo.Abp.Json.AbpJsonModule
2022-02-20 21:12:39.533 +08:00 [INF] - Volo.Abp.Timing.AbpTimingModule
2022-02-20 21:12:39.533 +08:00 [INF] - Volo.Abp.Localization.AbpLocalizationModule
2022-02-20 21:12:39.533 +08:00 [INF] - Volo.Abp.VirtualFileSystem.AbpVirtualFileSystemModule
2022-02-20 21:12:39.533 +08:00 [INF] - Volo.Abp.Settings.AbpSettingsModule
2022-02-20 21:12:39.533 +08:00 [INF] - Volo.Abp.Security.AbpSecurityModule
2022-02-20 21:12:39.533 +08:00 [INF] - Volo.Abp.MultiTenancy.AbpMultiTenancyModule
2022-02-20 21:12:39.533 +08:00 [INF] - Volo.Abp.Threading.AbpThreadingModule
2022-02-20 21:12:39.533 +08:00 [INF] - Volo.Abp.EventBus.AbpEventBusModule
2022-02-20 21:12:39.533 +08:00 [INF] - Volo.Abp.Guids.AbpGuidsModule
2022-02-20 21:12:39.533 +08:00 [INF] - Volo.Abp.ObjectMapping.AbpObjectMappingModule
2022-02-20 21:12:39.533 +08:00 [INF] - Volo.Abp.ExceptionHandling.AbpExceptionHandlingModule
2022-02-20 21:12:39.533 +08:00 [INF] - Volo.Abp.Specifications.AbpSpecificationsModule
2022-02-20 21:12:39.533 +08:00 [INF] - WmsWebApi.WmsWebApiDomainSharedModule
2022-02-20 21:12:39.533 +08:00 [INF] - Volo.Abp.Validation.AbpValidationModule
2022-02-20 21:12:39.533 +08:00 [INF] - WmsWebApi.WmsWebApiApplicationContractsModule
2022-02-20 21:12:39.533 +08:00 [INF] - Volo.Abp.Application.AbpDddApplicationContractsModule
2022-02-20 21:12:39.533 +08:00 [INF] - Volo.Abp.Authorization.AbpAuthorizationModule
2022-02-20 21:12:39.533 +08:00 [INF] - Volo.Abp.Authorization.AbpAuthorizationAbstractionsModule
2022-02-20 21:12:39.533 +08:00 [INF] - Volo.Abp.Application.AbpDddApplicationModule
2022-02-20 21:12:39.533 +08:00 [INF] - Volo.Abp.Http.AbpHttpAbstractionsModule
2022-02-20 21:12:39.533 +08:00 [INF] - Volo.Abp.Features.AbpFeaturesModule
2022-02-20 21:12:39.533 +08:00 [INF] - Volo.Abp.GlobalFeatures.AbpGlobalFeaturesModule
2022-02-20 21:12:39.533 +08:00 [INF] - Volo.Abp.AutoMapper.AbpAutoMapperModule
2022-02-20 21:12:39.533 +08:00 [INF] - WmsWebApi.EntityFrameworkCore.WmsWebApiEntityFrameworkCoreModule
2022-02-20 21:12:39.533 +08:00 [INF] - Volo.Abp.EntityFrameworkCore.AbpEntityFrameworkCoreModule
2022-02-20 21:12:39.533 +08:00 [INF] - Volo.Abp.Dapper.AbpDapperModule
2022-02-20 21:12:39.533 +08:00 [INF] - WmsWebApi.WmsWebApiHttpApiModule
2022-02-20 21:12:39.533 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.AbpAspNetCoreMvcModule
2022-02-20 21:12:39.533 +08:00 [INF] - Volo.Abp.AspNetCore.AbpAspNetCoreModule
2022-02-20 21:12:39.533 +08:00 [INF] - Volo.Abp.Http.AbpHttpModule
2022-02-20 21:12:39.533 +08:00 [INF] - Volo.Abp.Minify.AbpMinifyModule
2022-02-20 21:12:39.533 +08:00 [INF] - Volo.Abp.ApiVersioning.AbpApiVersioningAbstractionsModule
2022-02-20 21:12:39.533 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.AbpAspNetCoreMvcContractsModule
2022-02-20 21:12:39.533 +08:00 [INF] - Volo.Abp.UI.Navigation.AbpUiNavigationModule
2022-02-20 21:12:39.533 +08:00 [INF] - Volo.Abp.UI.AbpUiModule
2022-02-20 21:12:39.533 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.MultiTenancy.AbpAspNetCoreMvcUiMultiTenancyModule
2022-02-20 21:12:39.533 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Theme.Shared.AbpAspNetCoreMvcUiThemeSharedModule
2022-02-20 21:12:39.533 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.AbpAspNetCoreMvcUiBootstrapModule
2022-02-20 21:12:39.533 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.AbpAspNetCoreMvcUiModule
2022-02-20 21:12:39.533 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Packages.AbpAspNetCoreMvcUiPackagesModule
2022-02-20 21:12:39.533 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Bundling.AbpAspNetCoreMvcUiBundlingAbstractionsModule
2022-02-20 21:12:39.533 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Widgets.AbpAspNetCoreMvcUiWidgetsModule
2022-02-20 21:12:39.533 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Bundling.AbpAspNetCoreMvcUiBundlingModule
2022-02-20 21:12:39.533 +08:00 [INF] - Volo.Abp.AspNetCore.MultiTenancy.AbpAspNetCoreMultiTenancyModule
2022-02-20 21:12:39.533 +08:00 [INF] - Volo.Abp.Autofac.AbpAutofacModule
2022-02-20 21:12:39.533 +08:00 [INF] - Volo.Abp.Castle.AbpCastleCoreModule
2022-02-20 21:12:39.533 +08:00 [INF] - Volo.Abp.Caching.StackExchangeRedis.AbpCachingStackExchangeRedisModule
2022-02-20 21:12:39.533 +08:00 [INF] - Volo.Abp.Caching.AbpCachingModule
2022-02-20 21:12:39.533 +08:00 [INF] - Volo.Abp.Serialization.AbpSerializationModule
2022-02-20 21:12:39.533 +08:00 [INF] - Volo.Abp.EntityFrameworkCore.SqlServer.AbpEntityFrameworkCoreSqlServerModule
2022-02-20 21:12:39.533 +08:00 [INF] - Volo.Abp.AuditLogging.EntityFrameworkCore.AbpAuditLoggingEntityFrameworkCoreModule
2022-02-20 21:12:39.533 +08:00 [INF] - Volo.Abp.AuditLogging.AbpAuditLoggingDomainModule
2022-02-20 21:12:39.533 +08:00 [INF] - Volo.Abp.AuditLogging.AbpAuditLoggingDomainSharedModule
2022-02-20 21:12:39.533 +08:00 [INF] - Volo.Abp.PermissionManagement.EntityFrameworkCore.AbpPermissionManagementEntityFrameworkCoreModule
2022-02-20 21:12:39.533 +08:00 [INF] - Volo.Abp.PermissionManagement.AbpPermissionManagementDomainModule
2022-02-20 21:12:39.533 +08:00 [INF] - Volo.Abp.PermissionManagement.AbpPermissionManagementDomainSharedModule
2022-02-20 21:12:39.533 +08:00 [INF] - Volo.Abp.SettingManagement.EntityFrameworkCore.AbpSettingManagementEntityFrameworkCoreModule
2022-02-20 21:12:39.533 +08:00 [INF] - Volo.Abp.SettingManagement.AbpSettingManagementDomainModule
2022-02-20 21:12:39.533 +08:00 [INF] - Volo.Abp.SettingManagement.AbpSettingManagementDomainSharedModule
2022-02-20 21:12:39.533 +08:00 [INF] - Volo.Abp.AspNetCore.Serilog.AbpAspNetCoreSerilogModule
2022-02-20 21:12:39.533 +08:00 [INF] - Volo.Abp.Swashbuckle.AbpSwashbuckleModule
2022-02-20 21:12:40.127 +08:00 [INF] Initialized all ABP modules.
2022-02-20 21:12:40.487 +08:00 [INF] Now listening on: https://localhost:5000
2022-02-20 21:12:40.488 +08:00 [INF] Application started. Press Ctrl+C to shut down.
2022-02-20 21:12:40.488 +08:00 [INF] Hosting environment: Development
2022-02-20 21:12:40.488 +08:00 [INF] Content root path: D:\工作\派格\接口程序\WmsWebApi\host\WmsWebApi.HttpApi.Host
2022-02-20 21:12:47.685 +08:00 [INF] Request starting HTTP/2 GET https://localhost:5000/ - -
2022-02-20 21:12:51.018 +08:00 [INF] Executing endpoint 'WmsWebApi.Controllers.HomeController.Index (WmsWebApi.HttpApi.Host)'
2022-02-20 21:12:51.202 +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-20 21:12:51.807 +08:00 [INF] Executing action method WmsWebApi.Controllers.HomeController.Index (WmsWebApi.HttpApi.Host) - Validation state: "Valid"
2022-02-20 21:12:51.823 +08:00 [INF] Executed action method WmsWebApi.Controllers.HomeController.Index (WmsWebApi.HttpApi.Host), returned result Microsoft.AspNetCore.Mvc.RedirectResult in 0.9764ms.
2022-02-20 21:12:51.835 +08:00 [INF] Executing RedirectResult, redirecting to /swagger.
2022-02-20 21:12:51.851 +08:00 [INF] Executed action WmsWebApi.Controllers.HomeController.Index (WmsWebApi.HttpApi.Host) in 635.1538ms
2022-02-20 21:12:51.851 +08:00 [INF] Executed endpoint 'WmsWebApi.Controllers.HomeController.Index (WmsWebApi.HttpApi.Host)'
2022-02-20 21:12:51.923 +08:00 [INF] Request finished HTTP/2 GET https://localhost:5000/ - - - 302 0 - 4240.5979ms
2022-02-20 21:12:52.148 +08:00 [INF] Request starting HTTP/2 GET https://localhost:5000/swagger/index.html - -
2022-02-20 21:12:52.685 +08:00 [INF] Request finished HTTP/2 GET https://localhost:5000/swagger/index.html - - - 200 - text/html;charset=utf-8 537.3527ms
2022-02-20 21:12:53.379 +08:00 [INF] Request starting HTTP/2 GET https://localhost:5000/_framework/aspnetcore-browser-refresh.js - -
2022-02-20 21:12:53.389 +08:00 [INF] Request finished HTTP/2 GET https://localhost:5000/_framework/aspnetcore-browser-refresh.js - - - 200 11956 application/javascript;+charset=utf-8 9.7450ms
2022-02-20 21:12:54.302 +08:00 [INF] Request starting HTTP/2 GET https://localhost:5000/swagger/v1/swagger.json - -
2022-02-20 21:12:54.492 +08:00 [INF] Request finished HTTP/2 GET https://localhost:5000/swagger/v1/swagger.json - - - 200 - application/json;charset=utf-8 190.5055ms
2022-02-20 21:15:16.833 +08:00 [INF] Request starting HTTP/2 GET https://localhost:5000/abp/Swashbuckle/SetCsrfCookie application/json -
2022-02-20 21:15:16.881 +08:00 [INF] Executing endpoint 'Volo.Abp.Swashbuckle.AbpSwashbuckleController.SetCsrfCookie (Volo.Abp.Swashbuckle)'
2022-02-20 21:15:16.887 +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-20 21:15:17.050 +08:00 [INF] Executing action method Volo.Abp.Swashbuckle.AbpSwashbuckleController.SetCsrfCookie (Volo.Abp.Swashbuckle) - Validation state: "Valid"
2022-02-20 21:15:17.079 +08:00 [INF] Executed action method Volo.Abp.Swashbuckle.AbpSwashbuckleController.SetCsrfCookie (Volo.Abp.Swashbuckle), returned result Microsoft.AspNetCore.Mvc.EmptyResult in 28.7542ms.
2022-02-20 21:15:17.080 +08:00 [INF] Executed action Volo.Abp.Swashbuckle.AbpSwashbuckleController.SetCsrfCookie (Volo.Abp.Swashbuckle) in 192.9205ms
2022-02-20 21:15:17.080 +08:00 [INF] Executed endpoint 'Volo.Abp.Swashbuckle.AbpSwashbuckleController.SetCsrfCookie (Volo.Abp.Swashbuckle)'
2022-02-20 21:15:17.081 +08:00 [INF] Request finished HTTP/2 GET https://localhost:5000/abp/Swashbuckle/SetCsrfCookie application/json - - 204 - - 247.3922ms
2022-02-20 21:15:17.237 +08:00 [INF] Request starting HTTP/2 POST https://localhost:5000/api/Purchase/add application/json 526
2022-02-20 21:15:17.251 +08:00 [INF] CORS policy execution failed.
2022-02-20 21:15:17.252 +08:00 [INF] Request origin https://localhost:5000 does not have permission to access the resource.
2022-02-20 21:15:17.259 +08:00 [INF] Executing endpoint 'WmsWebApi.PPlan.PurchaseService.AddAsync (WmsWebApi.Application)'
2022-02-20 21:15:17.314 +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-20 21:15:19.291 +08:00 [INF] Executing action method WmsWebApi.PPlan.PurchaseService.AddAsync (WmsWebApi.Application) - Validation state: "Valid"
2022-02-20 21:15:20.033 +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-20 21:15:20.033 +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-20 21:15:20.033 +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-20 21:15:20.033 +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-20 21:15:20.033 +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-20 21:15:20.033 +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-20 21:15:20.033 +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-20 21:15:20.033 +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-20 21:15:20.033 +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-20 21:15:20.033 +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-20 21:15:20.033 +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-20 21:15:20.033 +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-20 21:15:20.033 +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-20 21:15:20.033 +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-20 21:15:20.033 +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-20 21:15:20.033 +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-20 21:15:20.033 +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-20 21:15:20.033 +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-20 21:15:20.033 +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-20 21:15:20.139 +08:00 [INF] Entity Framework Core 5.0.14 initialized 'WmsWebApiDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: QuerySplittingBehavior=SplitQuery
2022-02-20 21:15:21.119 +08:00 [INF] Executed DbCommand (133ms) [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-20 21:15:21.316 +08:00 [INF] Executed DbCommand (56ms) [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-20 21:15:21.555 +08:00 [INF] Executed action method WmsWebApi.PPlan.PurchaseService.AddAsync (WmsWebApi.Application), returned result Microsoft.AspNetCore.Mvc.ObjectResult in 2263.9755ms.
2022-02-20 21:15:21.980 +08:00 [INF] Executed DbCommand (61ms) [Parameters=[@p0='?' (DbType = Guid), @p1='?' (Size = 4000), @p2='?' (DbType = DateTime2), @p3='?' (Size = 4000), @p4='?' (Size = 4000), @p5='?' (Size = 10), @p6='?' (Size = 10)], CommandType='"Text"', CommandTimeout='30']
SET NOCOUNT ON;
INSERT INTO [WmsWebApiPURCHASEDTO] ([Id], [BUDAT], [DYSJ], [ITYPE], [JSON], [MBLNR], [MJAHR])
VALUES (@p0, @p1, @p2, @p3, @p4, @p5, @p6);
2022-02-20 21:15:22.284 +08:00 [DBG] Added 0 entity changes to the current audit log
2022-02-20 21:15:22.284 +08:00 [DBG] Added 0 entity changes to the current audit log
2022-02-20 21:15:22.310 +08:00 [INF] Executing ObjectResult, writing value of type 'WmsWebApi.PPlan.ReturnResult'.
2022-02-20 21:15:22.335 +08:00 [INF] Executed action WmsWebApi.PPlan.PurchaseService.AddAsync (WmsWebApi.Application) in 5020.6865ms
2022-02-20 21:15:22.336 +08:00 [INF] Executed endpoint 'WmsWebApi.PPlan.PurchaseService.AddAsync (WmsWebApi.Application)'
2022-02-20 21:15:22.966 +08:00 [INF] Entity Framework Core 5.0.14 initialized 'AbpAuditLoggingDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: QuerySplittingBehavior=SplitQuery
2022-02-20 21:15:23.582 +08:00 [INF] Executed DbCommand (50ms) [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-20 21:15:23.636 +08:00 [INF] Executed DbCommand (52ms) [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-20 21:15:23.720 +08:00 [DBG] Added 0 entity changes to the current audit log
2022-02-20 21:15:23.720 +08:00 [DBG] Added 0 entity changes to the current audit log
2022-02-20 21:15:23.726 +08:00 [INF] Request finished HTTP/2 POST https://localhost:5000/api/Purchase/add application/json 526 - 200 - application/json;+charset=utf-8 6489.8190ms
2022-02-20 21:17:15.955 +08:00 [INF] Request starting HTTP/2 POST https://localhost:5000/api/Purchase/add application/json 526
2022-02-20 21:17:15.967 +08:00 [INF] CORS policy execution failed.
2022-02-20 21:17:15.967 +08:00 [INF] Request origin https://localhost:5000 does not have permission to access the resource.
2022-02-20 21:17:15.969 +08:00 [INF] Executing endpoint 'WmsWebApi.PPlan.PurchaseService.AddAsync (WmsWebApi.Application)'
2022-02-20 21:17:15.970 +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-20 21:17:16.023 +08:00 [INF] Executing action method WmsWebApi.PPlan.PurchaseService.AddAsync (WmsWebApi.Application) - Validation state: "Valid"
2022-02-20 21:17:16.055 +08:00 [INF] Entity Framework Core 5.0.14 initialized 'WmsWebApiDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: QuerySplittingBehavior=SplitQuery
2022-02-20 21:17:16.376 +08:00 [INF] Executed DbCommand (313ms) [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-20 21:17:16.650 +08:00 [INF] Executed DbCommand (248ms) [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-20 21:17:16.888 +08:00 [INF] Executed action method WmsWebApi.PPlan.PurchaseService.AddAsync (WmsWebApi.Application), returned result Microsoft.AspNetCore.Mvc.ObjectResult in 865.2142ms.
2022-02-20 21:17:17.197 +08:00 [INF] Executed DbCommand (147ms) [Parameters=[@p0='?' (DbType = Guid), @p1='?' (Size = 4000), @p2='?' (DbType = DateTime2), @p3='?' (Size = 4000), @p4='?' (Size = 4000), @p5='?' (Size = 10), @p6='?' (Size = 10)], CommandType='"Text"', CommandTimeout='30']
SET NOCOUNT ON;
INSERT INTO [WmsWebApiPURCHASEDTO] ([Id], [BUDAT], [DYSJ], [ITYPE], [JSON], [MBLNR], [MJAHR])
VALUES (@p0, @p1, @p2, @p3, @p4, @p5, @p6);
2022-02-20 21:17:17.390 +08:00 [DBG] Added 0 entity changes to the current audit log
2022-02-20 21:17:17.390 +08:00 [DBG] Added 0 entity changes to the current audit log
2022-02-20 21:17:17.392 +08:00 [INF] Executing ObjectResult, writing value of type 'WmsWebApi.PPlan.ReturnResult'.
2022-02-20 21:17:17.394 +08:00 [INF] Executed action WmsWebApi.PPlan.PurchaseService.AddAsync (WmsWebApi.Application) in 1423.8035ms
2022-02-20 21:17:17.394 +08:00 [INF] Executed endpoint 'WmsWebApi.PPlan.PurchaseService.AddAsync (WmsWebApi.Application)'
2022-02-20 21:17:17.397 +08:00 [INF] Entity Framework Core 5.0.14 initialized 'AbpAuditLoggingDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: QuerySplittingBehavior=SplitQuery
2022-02-20 21:17:17.583 +08:00 [INF] Executed DbCommand (58ms) [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-20 21:17:17.652 +08:00 [INF] Executed DbCommand (67ms) [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-20 21:17:18.075 +08:00 [DBG] Added 0 entity changes to the current audit log
2022-02-20 21:17:18.075 +08:00 [DBG] Added 0 entity changes to the current audit log
2022-02-20 21:17:18.077 +08:00 [INF] Request finished HTTP/2 POST https://localhost:5000/api/Purchase/add application/json 526 - 200 - application/json;+charset=utf-8 2122.6585ms
2022-02-20 21:19:56.528 +08:00 [INF] Request starting HTTP/2 POST https://localhost:5000/api/Purchase/add application/json 526
2022-02-20 21:19:56.530 +08:00 [INF] CORS policy execution failed.
2022-02-20 21:19:56.530 +08:00 [INF] Request origin https://localhost:5000 does not have permission to access the resource.
2022-02-20 21:19:56.551 +08:00 [INF] Executing endpoint 'WmsWebApi.PPlan.PurchaseService.AddAsync (WmsWebApi.Application)'
2022-02-20 21:19:56.551 +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-20 21:19:56.626 +08:00 [INF] Executing action method WmsWebApi.PPlan.PurchaseService.AddAsync (WmsWebApi.Application) - Validation state: "Valid"
2022-02-20 21:19:56.627 +08:00 [INF] Entity Framework Core 5.0.14 initialized 'WmsWebApiDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: QuerySplittingBehavior=SplitQuery
2022-02-20 21:19:56.672 +08:00 [INF] Executed DbCommand (43ms) [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-20 21:19:56.966 +08:00 [INF] Executed DbCommand (293ms) [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-20 21:19:57.029 +08:00 [INF] Executed DbCommand (38ms) [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-20 21:19:57.101 +08:00 [INF] Executed DbCommand (70ms) [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-20 21:19:57.133 +08:00 [INF] Executed DbCommand (31ms) [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-20 21:19:57.182 +08:00 [INF] Executed DbCommand (34ms) [Parameters=[@__tbBill_BillNum_0='?' (Size = 64)], CommandType='"Text"', CommandTimeout='30']
SELECT TOP(1) [t].[UID], [t].[AccountDate], [t].[BillNum], [t].[BillTime], [t].[BillType], [t].[CustId], [t].[DetailQty], [t].[DockCode], [t].[FinishTime], [t].[GateCode], [t].[GateName], [t].[Guid], [t].[OperName], [t].[ProjectId], [t].[Remark], [t].[SourceBillNum], [t].[SourceBillNum2], [t].[SourceBillNum3], [t].[StartTime], [t].[State], [t].[SubBillType], [t].[TransportType], [t].[TruckNum], [t].[VendId]
FROM [TB_BILL] AS [t]
WHERE [t].[BillNum] = @__tbBill_BillNum_0
2022-02-20 21:19:57.991 +08:00 [INF] Executed action method WmsWebApi.PPlan.PurchaseService.AddAsync (WmsWebApi.Application), returned result Microsoft.AspNetCore.Mvc.ObjectResult in 1364.9833ms.
2022-02-20 21:19:58.115 +08:00 [INF] Executed DbCommand (40ms) [Parameters=[@p0='?' (DbType = DateTime2), @p1='?' (Size = 64), @p2='?' (DbType = DateTime2), @p3='?' (DbType = Int32), @p4='?' (Size = 50), @p5='?' (DbType = Int32), @p6='?' (Size = 4000), @p7='?' (Size = 50), @p8='?' (Size = 50), @p9='?' (Size = 50), @p10='?' (DbType = Guid), @p11='?' (Size = 4000), @p12='?' (Size = 50), @p13='?' (Size = 4000), @p14='?' (Size = 4000), @p15='?' (Size = 4000), @p16='?' (Size = 4000), @p17='?' (Size = 50), @p18='?' (DbType = Int32), @p19='?' (DbType = Int32), @p20='?' (Size = 50), @p21='?' (Size = 50), @p22='?' (Size = 50)], CommandType='"Text"', CommandTimeout='30']
SET NOCOUNT ON;
INSERT INTO [TB_BILL] ([AccountDate], [BillNum], [BillTime], [BillType], [CustId], [DetailQty], [DockCode], [FinishTime], [GateCode], [GateName], [Guid], [OperName], [ProjectId], [Remark], [SourceBillNum], [SourceBillNum2], [SourceBillNum3], [StartTime], [State], [SubBillType], [TransportType], [TruckNum], [VendId])
VALUES (@p0, @p1, @p2, @p3, @p4, @p5, @p6, @p7, @p8, @p9, @p10, @p11, @p12, @p13, @p14, @p15, @p16, @p17, @p18, @p19, @p20, @p21, @p22);
SELECT [UID]
FROM [TB_BILL]
WHERE @@ROWCOUNT = 1 AND [UID] = scope_identity();
2022-02-20 21:19:58.223 +08:00 [ERR] Failed executing DbCommand (58ms) [Parameters=[@p0='?' (Size = 50), @p1='?' (Size = 50), @p2='?' (Size = 4000), @p3='?' (Size = 4000), @p4='?' (Size = 4000), @p5='?' (Size = 4000), @p6='?' (Precision = 18) (Scale = 6) (DbType = Decimal), @p7='?' (Precision = 18) (Scale = 6) (DbType = Decimal), @p8='?' (Size = 4000), @p9='?' (Size = 50), @p10='?' (Size = 50), @p11='?' (DbType = DateTime2), @p12='?' (Precision = 18) (Scale = 6) (DbType = Decimal), @p13='?' (DbType = DateTime2), @p14='?' (Size = 4000), @p15='?' (Precision = 18) (Scale = 6) (DbType = Decimal), @p16='?' (Size = 4000), @p17='?' (DbType = Int32), @p18='?' (Size = 4000), @p19='?' (Size = 4000), @p20='?' (Size = 4000), @p21='?' (Size = 4000)], CommandType='"Text"', CommandTimeout='30']
SET NOCOUNT ON;
INSERT INTO [TB_PRODUCT_RECEIVE] ([BarCode], [BillNum], [Batch], [CellCode], [EqptCode], [FromLocCode], [GoodQty], [InvalidQty], [LineId], [PartCode], [PpBillNum], [ProduceDate], [Qty], [ReceiveDate], [Remark], [ScrapQty], [ShiftName], [State], [TeamName], [ToLocCode], [TraceBackCode], [Unit])
VALUES (@p0, @p1, @p2, @p3, @p4, @p5, @p6, @p7, @p8, @p9, @p10, @p11, @p12, @p13, @p14, @p15, @p16, @p17, @p18, @p19, @p20, @p21);
SELECT [UID]
FROM [TB_PRODUCT_RECEIVE]
WHERE @@ROWCOUNT = 1 AND [BarCode] = @p0 AND [BillNum] IS NULL;
2022-02-20 21:19:58.462 +08:00 [ERR] An exception occurred in the database while saving changes for context type 'WmsWebApi.EntityFrameworkCore.WmsWebApiDbContext'.
Microsoft.EntityFrameworkCore.DbUpdateException: An error occurred while updating the entries. See the inner exception for details.
---> Microsoft.Data.SqlClient.SqlException (0x80131904): 不能将值 NULL 插入列 'BillNum',表 'CPAT_WMS_TEST.dbo.TB_PRODUCT_RECEIVE';列不允许有 Null 值。INSERT 失败。
语句已终止。
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:b5fd27fb-3fe5-4d93-910e-541957b539a5
Error Number:515,State:2,Class:16
--- End of inner exception stack trace ---
at Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.ExecuteAsync(IRelationalConnection connection, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChangesAsync(IList`1 entriesToSave, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChangesAsync(DbContext _, Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.SqlServer.Storage.Internal.SqlServerExecutionStrategy.ExecuteAsync[TState,TResult](TState state, Func`4 operation, Func`4 verifySucceeded, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.DbContext.SaveChangesAsync(Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken)
Microsoft.EntityFrameworkCore.DbUpdateException: An error occurred while updating the entries. See the inner exception for details.
---> Microsoft.Data.SqlClient.SqlException (0x80131904): 不能将值 NULL 插入列 'BillNum',表 'CPAT_WMS_TEST.dbo.TB_PRODUCT_RECEIVE';列不允许有 Null 值。INSERT 失败。
语句已终止。
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:b5fd27fb-3fe5-4d93-910e-541957b539a5
Error Number:515,State:2,Class:16
--- End of inner exception stack trace ---
at Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.ExecuteAsync(IRelationalConnection connection, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChangesAsync(IList`1 entriesToSave, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChangesAsync(DbContext _, Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.SqlServer.Storage.Internal.SqlServerExecutionStrategy.ExecuteAsync[TState,TResult](TState state, Func`4 operation, Func`4 verifySucceeded, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.DbContext.SaveChangesAsync(Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.DbContext.SaveChangesAsync(Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken)
at Volo.Abp.EntityFrameworkCore.AbpDbContext`1.SaveChangesAsync(Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken)
at Volo.Abp.Uow.UnitOfWork.SaveChangesAsync(CancellationToken cancellationToken)
at Volo.Abp.Uow.UnitOfWork.CompleteAsync(CancellationToken cancellationToken)
at Volo.Abp.AspNetCore.Mvc.Uow.AbpUowActionFilter.OnActionExecutionAsync(ActionExecutingContext context, ActionExecutionDelegate next)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<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-20 21:19:58.591 +08:00 [ERR] ---------- RemoteServiceErrorInfo ----------
{
"code": null,
"message": "An internal error occurred during your request!",
"details": null,
"data": {},
"validationErrors": null
}
2022-02-20 21:19:58.593 +08:00 [ERR] An error occurred while updating the entries. See the inner exception for details.
Microsoft.EntityFrameworkCore.DbUpdateException: An error occurred while updating the entries. See the inner exception for details.
---> Microsoft.Data.SqlClient.SqlException (0x80131904): 不能将值 NULL 插入列 'BillNum',表 'CPAT_WMS_TEST.dbo.TB_PRODUCT_RECEIVE';列不允许有 Null 值。INSERT 失败。
语句已终止。
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:b5fd27fb-3fe5-4d93-910e-541957b539a5
Error Number:515,State:2,Class:16
--- End of inner exception stack trace ---
at Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.ExecuteAsync(IRelationalConnection connection, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChangesAsync(IList`1 entriesToSave, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChangesAsync(DbContext _, Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.SqlServer.Storage.Internal.SqlServerExecutionStrategy.ExecuteAsync[TState,TResult](TState state, Func`4 operation, Func`4 verifySucceeded, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.DbContext.SaveChangesAsync(Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.DbContext.SaveChangesAsync(Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken)
at Volo.Abp.EntityFrameworkCore.AbpDbContext`1.SaveChangesAsync(Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken)
at Volo.Abp.Uow.UnitOfWork.SaveChangesAsync(CancellationToken cancellationToken)
at Volo.Abp.Uow.UnitOfWork.CompleteAsync(CancellationToken cancellationToken)
at Volo.Abp.AspNetCore.Mvc.Uow.AbpUowActionFilter.OnActionExecutionAsync(ActionExecutingContext context, ActionExecutionDelegate next)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<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-20 21:19:58.610 +08:00 [INF] Executing ObjectResult, writing value of type 'Volo.Abp.Http.RemoteServiceErrorResponse'.
2022-02-20 21:19:58.617 +08:00 [INF] Executed action WmsWebApi.PPlan.PurchaseService.AddAsync (WmsWebApi.Application) in 2065.291ms
2022-02-20 21:19:58.617 +08:00 [INF] Executed endpoint 'WmsWebApi.PPlan.PurchaseService.AddAsync (WmsWebApi.Application)'
2022-02-20 21:19:58.649 +08:00 [INF] Entity Framework Core 5.0.14 initialized 'AbpAuditLoggingDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: QuerySplittingBehavior=SplitQuery
2022-02-20 21:19:58.819 +08:00 [ERR] Failed executing DbCommand (104ms) [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-20 21:19:58.875 +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:690cd902-f877-4208-88a2-f93b30369053
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:690cd902-f877-4208-88a2-f93b30369053
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-20 21:19:58.894 +08:00 [WRN] Could not save the audit log object:
AUDIT LOG: [500: POST ] /api/Purchase/add
- UserName - UserId : -
- ClientIpAddress : ::1
- ExecutionDuration : 2066
- Actions:
- WmsWebApi.PPlan.PurchaseService.AddAsync (1915 ms.)
{"content":{"valueKind":1}}
- Exceptions:
- An error occurred while updating the entries. See the inner exception for details.
Microsoft.EntityFrameworkCore.DbUpdateException: An error occurred while updating the entries. See the inner exception for details.
---> Microsoft.Data.SqlClient.SqlException (0x80131904): 不能将值 NULL 插入列 'BillNum',表 'CPAT_WMS_TEST.dbo.TB_PRODUCT_RECEIVE';列不允许有 Null 值。INSERT 失败。
语句已终止。
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:b5fd27fb-3fe5-4d93-910e-541957b539a5
Error Number:515,State:2,Class:16
--- End of inner exception stack trace ---
at Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.ExecuteAsync(IRelationalConnection connection, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChangesAsync(IList`1 entriesToSave, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChangesAsync(DbContext _, Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.SqlServer.Storage.Internal.SqlServerExecutionStrategy.ExecuteAsync[TState,TResult](TState state, Func`4 operation, Func`4 verifySucceeded, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.DbContext.SaveChangesAsync(Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.DbContext.SaveChangesAsync(Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken)
at Volo.Abp.EntityFrameworkCore.AbpDbContext`1.SaveChangesAsync(Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken)
at Volo.Abp.Uow.UnitOfWork.SaveChangesAsync(CancellationToken cancellationToken)
at Volo.Abp.Uow.UnitOfWork.CompleteAsync(CancellationToken cancellationToken)
at Volo.Abp.AspNetCore.Mvc.Uow.AbpUowActionFilter.OnActionExecutionAsync(ActionExecutingContext context, ActionExecutionDelegate next)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<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-20 21:19:58.894 +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:690cd902-f877-4208-88a2-f93b30369053
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-20 21:19:58.896 +08:00 [INF] Request finished HTTP/2 POST https://localhost:5000/api/Purchase/add application/json 526 - 500 - application/json;+charset=utf-8 2367.9583ms
2022-02-20 21:25:56.364 +08:00 [INF] Starting web host.
2022-02-20 21:26:06.676 +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-20 21:26:06.998 +08:00 [INF] Loaded ABP modules:
2022-02-20 21:26:06.998 +08:00 [INF] - WmsWebApi.WmsWebApiHttpApiHostModule
2022-02-20 21:26:06.998 +08:00 [INF] - WmsWebApi.WmsWebApiApplicationModule
2022-02-20 21:26:06.998 +08:00 [INF] - WmsWebApi.WmsWebApiDomainModule
2022-02-20 21:26:06.998 +08:00 [INF] - Volo.Abp.Domain.AbpDddDomainModule
2022-02-20 21:26:06.998 +08:00 [INF] - Volo.Abp.Auditing.AbpAuditingModule
2022-02-20 21:26:06.998 +08:00 [INF] - Volo.Abp.Data.AbpDataModule
2022-02-20 21:26:06.998 +08:00 [INF] - Volo.Abp.ObjectExtending.AbpObjectExtendingModule
2022-02-20 21:26:06.998 +08:00 [INF] - Volo.Abp.Localization.AbpLocalizationAbstractionsModule
2022-02-20 21:26:06.998 +08:00 [INF] - Volo.Abp.Validation.AbpValidationAbstractionsModule
2022-02-20 21:26:06.998 +08:00 [INF] - Volo.Abp.Uow.AbpUnitOfWorkModule
2022-02-20 21:26:06.998 +08:00 [INF] - Volo.Abp.EventBus.Abstractions.AbpEventBusAbstractionsModule
2022-02-20 21:26:06.998 +08:00 [INF] - Volo.Abp.Json.AbpJsonModule
2022-02-20 21:26:06.998 +08:00 [INF] - Volo.Abp.Timing.AbpTimingModule
2022-02-20 21:26:06.998 +08:00 [INF] - Volo.Abp.Localization.AbpLocalizationModule
2022-02-20 21:26:06.998 +08:00 [INF] - Volo.Abp.VirtualFileSystem.AbpVirtualFileSystemModule
2022-02-20 21:26:06.998 +08:00 [INF] - Volo.Abp.Settings.AbpSettingsModule
2022-02-20 21:26:06.998 +08:00 [INF] - Volo.Abp.Security.AbpSecurityModule
2022-02-20 21:26:06.998 +08:00 [INF] - Volo.Abp.MultiTenancy.AbpMultiTenancyModule
2022-02-20 21:26:06.998 +08:00 [INF] - Volo.Abp.Threading.AbpThreadingModule
2022-02-20 21:26:06.998 +08:00 [INF] - Volo.Abp.EventBus.AbpEventBusModule
2022-02-20 21:26:06.998 +08:00 [INF] - Volo.Abp.Guids.AbpGuidsModule
2022-02-20 21:26:06.998 +08:00 [INF] - Volo.Abp.ObjectMapping.AbpObjectMappingModule
2022-02-20 21:26:06.998 +08:00 [INF] - Volo.Abp.ExceptionHandling.AbpExceptionHandlingModule
2022-02-20 21:26:06.998 +08:00 [INF] - Volo.Abp.Specifications.AbpSpecificationsModule
2022-02-20 21:26:06.998 +08:00 [INF] - WmsWebApi.WmsWebApiDomainSharedModule
2022-02-20 21:26:06.998 +08:00 [INF] - Volo.Abp.Validation.AbpValidationModule
2022-02-20 21:26:06.998 +08:00 [INF] - WmsWebApi.WmsWebApiApplicationContractsModule
2022-02-20 21:26:06.998 +08:00 [INF] - Volo.Abp.Application.AbpDddApplicationContractsModule
2022-02-20 21:26:06.998 +08:00 [INF] - Volo.Abp.Authorization.AbpAuthorizationModule
2022-02-20 21:26:06.998 +08:00 [INF] - Volo.Abp.Authorization.AbpAuthorizationAbstractionsModule
2022-02-20 21:26:06.998 +08:00 [INF] - Volo.Abp.Application.AbpDddApplicationModule
2022-02-20 21:26:06.998 +08:00 [INF] - Volo.Abp.Http.AbpHttpAbstractionsModule
2022-02-20 21:26:06.998 +08:00 [INF] - Volo.Abp.Features.AbpFeaturesModule
2022-02-20 21:26:06.998 +08:00 [INF] - Volo.Abp.GlobalFeatures.AbpGlobalFeaturesModule
2022-02-20 21:26:06.998 +08:00 [INF] - Volo.Abp.AutoMapper.AbpAutoMapperModule
2022-02-20 21:26:06.998 +08:00 [INF] - WmsWebApi.EntityFrameworkCore.WmsWebApiEntityFrameworkCoreModule
2022-02-20 21:26:06.998 +08:00 [INF] - Volo.Abp.EntityFrameworkCore.AbpEntityFrameworkCoreModule
2022-02-20 21:26:06.998 +08:00 [INF] - Volo.Abp.Dapper.AbpDapperModule
2022-02-20 21:26:06.998 +08:00 [INF] - WmsWebApi.WmsWebApiHttpApiModule
2022-02-20 21:26:06.999 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.AbpAspNetCoreMvcModule
2022-02-20 21:26:06.999 +08:00 [INF] - Volo.Abp.AspNetCore.AbpAspNetCoreModule
2022-02-20 21:26:06.999 +08:00 [INF] - Volo.Abp.Http.AbpHttpModule
2022-02-20 21:26:06.999 +08:00 [INF] - Volo.Abp.Minify.AbpMinifyModule
2022-02-20 21:26:06.999 +08:00 [INF] - Volo.Abp.ApiVersioning.AbpApiVersioningAbstractionsModule
2022-02-20 21:26:06.999 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.AbpAspNetCoreMvcContractsModule
2022-02-20 21:26:06.999 +08:00 [INF] - Volo.Abp.UI.Navigation.AbpUiNavigationModule
2022-02-20 21:26:06.999 +08:00 [INF] - Volo.Abp.UI.AbpUiModule
2022-02-20 21:26:06.999 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.MultiTenancy.AbpAspNetCoreMvcUiMultiTenancyModule
2022-02-20 21:26:06.999 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Theme.Shared.AbpAspNetCoreMvcUiThemeSharedModule
2022-02-20 21:26:06.999 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.AbpAspNetCoreMvcUiBootstrapModule
2022-02-20 21:26:06.999 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.AbpAspNetCoreMvcUiModule
2022-02-20 21:26:06.999 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Packages.AbpAspNetCoreMvcUiPackagesModule
2022-02-20 21:26:06.999 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Bundling.AbpAspNetCoreMvcUiBundlingAbstractionsModule
2022-02-20 21:26:06.999 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Widgets.AbpAspNetCoreMvcUiWidgetsModule
2022-02-20 21:26:06.999 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Bundling.AbpAspNetCoreMvcUiBundlingModule
2022-02-20 21:26:06.999 +08:00 [INF] - Volo.Abp.AspNetCore.MultiTenancy.AbpAspNetCoreMultiTenancyModule
2022-02-20 21:26:06.999 +08:00 [INF] - Volo.Abp.Autofac.AbpAutofacModule
2022-02-20 21:26:06.999 +08:00 [INF] - Volo.Abp.Castle.AbpCastleCoreModule
2022-02-20 21:26:06.999 +08:00 [INF] - Volo.Abp.Caching.StackExchangeRedis.AbpCachingStackExchangeRedisModule
2022-02-20 21:26:06.999 +08:00 [INF] - Volo.Abp.Caching.AbpCachingModule
2022-02-20 21:26:06.999 +08:00 [INF] - Volo.Abp.Serialization.AbpSerializationModule
2022-02-20 21:26:06.999 +08:00 [INF] - Volo.Abp.EntityFrameworkCore.SqlServer.AbpEntityFrameworkCoreSqlServerModule
2022-02-20 21:26:06.999 +08:00 [INF] - Volo.Abp.AuditLogging.EntityFrameworkCore.AbpAuditLoggingEntityFrameworkCoreModule
2022-02-20 21:26:06.999 +08:00 [INF] - Volo.Abp.AuditLogging.AbpAuditLoggingDomainModule
2022-02-20 21:26:06.999 +08:00 [INF] - Volo.Abp.AuditLogging.AbpAuditLoggingDomainSharedModule
2022-02-20 21:26:06.999 +08:00 [INF] - Volo.Abp.PermissionManagement.EntityFrameworkCore.AbpPermissionManagementEntityFrameworkCoreModule
2022-02-20 21:26:06.999 +08:00 [INF] - Volo.Abp.PermissionManagement.AbpPermissionManagementDomainModule
2022-02-20 21:26:06.999 +08:00 [INF] - Volo.Abp.PermissionManagement.AbpPermissionManagementDomainSharedModule
2022-02-20 21:26:06.999 +08:00 [INF] - Volo.Abp.SettingManagement.EntityFrameworkCore.AbpSettingManagementEntityFrameworkCoreModule
2022-02-20 21:26:06.999 +08:00 [INF] - Volo.Abp.SettingManagement.AbpSettingManagementDomainModule
2022-02-20 21:26:06.999 +08:00 [INF] - Volo.Abp.SettingManagement.AbpSettingManagementDomainSharedModule
2022-02-20 21:26:06.999 +08:00 [INF] - Volo.Abp.AspNetCore.Serilog.AbpAspNetCoreSerilogModule
2022-02-20 21:26:06.999 +08:00 [INF] - Volo.Abp.Swashbuckle.AbpSwashbuckleModule
2022-02-20 21:26:08.529 +08:00 [INF] Initialized all ABP modules.
2022-02-20 21:26:09.387 +08:00 [INF] Now listening on: https://localhost:5000
2022-02-20 21:26:09.387 +08:00 [INF] Application started. Press Ctrl+C to shut down.
2022-02-20 21:26:09.387 +08:00 [INF] Hosting environment: Development
2022-02-20 21:26:09.387 +08:00 [INF] Content root path: D:\工作\派格\接口程序\WmsWebApi\host\WmsWebApi.HttpApi.Host
2022-02-20 21:26:14.368 +08:00 [INF] Request starting HTTP/2 GET https://localhost:5000/ - -
2022-02-20 21:26:18.841 +08:00 [INF] Executing endpoint 'WmsWebApi.Controllers.HomeController.Index (WmsWebApi.HttpApi.Host)'
2022-02-20 21:26:19.003 +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-20 21:26:19.504 +08:00 [INF] Executing action method WmsWebApi.Controllers.HomeController.Index (WmsWebApi.HttpApi.Host) - Validation state: "Valid"
2022-02-20 21:26:19.518 +08:00 [INF] Executed action method WmsWebApi.Controllers.HomeController.Index (WmsWebApi.HttpApi.Host), returned result Microsoft.AspNetCore.Mvc.RedirectResult in 0.5904ms.
2022-02-20 21:26:19.533 +08:00 [INF] Executing RedirectResult, redirecting to /swagger.
2022-02-20 21:26:19.552 +08:00 [INF] Executed action WmsWebApi.Controllers.HomeController.Index (WmsWebApi.HttpApi.Host) in 532.7357ms
2022-02-20 21:26:19.552 +08:00 [INF] Executed endpoint 'WmsWebApi.Controllers.HomeController.Index (WmsWebApi.HttpApi.Host)'
2022-02-20 21:26:19.609 +08:00 [INF] Request finished HTTP/2 GET https://localhost:5000/ - - - 302 0 - 5245.7027ms
2022-02-20 21:26:19.618 +08:00 [INF] Request starting HTTP/2 GET https://localhost:5000/swagger/index.html - -
2022-02-20 21:26:20.122 +08:00 [INF] Request finished HTTP/2 GET https://localhost:5000/swagger/index.html - - - 200 - text/html;charset=utf-8 504.1219ms
2022-02-20 21:26:20.171 +08:00 [INF] Request starting HTTP/2 GET https://localhost:5000/_framework/aspnetcore-browser-refresh.js - -
2022-02-20 21:26:20.196 +08:00 [INF] Request finished HTTP/2 GET https://localhost:5000/_framework/aspnetcore-browser-refresh.js - - - 200 11956 application/javascript;+charset=utf-8 25.6894ms
2022-02-20 21:26:21.637 +08:00 [INF] Request starting HTTP/2 GET https://localhost:5000/swagger/v1/swagger.json - -
2022-02-20 21:26:22.288 +08:00 [INF] Request finished HTTP/2 GET https://localhost:5000/swagger/v1/swagger.json - - - 200 - application/json;charset=utf-8 651.2427ms
2022-02-20 21:27:15.640 +08:00 [INF] Request starting HTTP/2 GET https://localhost:5000/abp/Swashbuckle/SetCsrfCookie application/json -
2022-02-20 21:27:15.646 +08:00 [INF] Executing endpoint 'Volo.Abp.Swashbuckle.AbpSwashbuckleController.SetCsrfCookie (Volo.Abp.Swashbuckle)'
2022-02-20 21:27:15.648 +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-20 21:27:15.717 +08:00 [INF] Executing action method Volo.Abp.Swashbuckle.AbpSwashbuckleController.SetCsrfCookie (Volo.Abp.Swashbuckle) - Validation state: "Valid"
2022-02-20 21:27:15.731 +08:00 [INF] Executed action method Volo.Abp.Swashbuckle.AbpSwashbuckleController.SetCsrfCookie (Volo.Abp.Swashbuckle), returned result Microsoft.AspNetCore.Mvc.EmptyResult in 13.3475ms.
2022-02-20 21:27:15.731 +08:00 [INF] Executed action Volo.Abp.Swashbuckle.AbpSwashbuckleController.SetCsrfCookie (Volo.Abp.Swashbuckle) in 82.9403ms
2022-02-20 21:27:15.731 +08:00 [INF] Executed endpoint 'Volo.Abp.Swashbuckle.AbpSwashbuckleController.SetCsrfCookie (Volo.Abp.Swashbuckle)'
2022-02-20 21:27:15.731 +08:00 [INF] Request finished HTTP/2 GET https://localhost:5000/abp/Swashbuckle/SetCsrfCookie application/json - - 204 - - 91.4363ms
2022-02-20 21:27:15.784 +08:00 [INF] Request starting HTTP/2 POST https://localhost:5000/api/Purchase/add application/json 526
2022-02-20 21:27:15.790 +08:00 [INF] CORS policy execution failed.
2022-02-20 21:27:15.790 +08:00 [INF] Request origin https://localhost:5000 does not have permission to access the resource.
2022-02-20 21:27:15.792 +08:00 [INF] Executing endpoint 'WmsWebApi.PPlan.PurchaseService.AddAsync (WmsWebApi.Application)'
2022-02-20 21:27:15.811 +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-20 21:27:17.450 +08:00 [INF] Executing action method WmsWebApi.PPlan.PurchaseService.AddAsync (WmsWebApi.Application) - Validation state: "Valid"
2022-02-20 21:27:34.337 +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-20 21:27:34.337 +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-20 21:27:34.338 +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-20 21:27:34.338 +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-20 21:27:34.338 +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-20 21:27:34.338 +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-20 21:27:34.338 +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-20 21:27:34.338 +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-20 21:27:34.338 +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-20 21:27:34.338 +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-20 21:27:34.338 +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-20 21:27:34.338 +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-20 21:27:34.338 +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-20 21:27:34.338 +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-20 21:27:34.338 +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-20 21:27:34.338 +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-20 21:27:34.338 +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-20 21:27:34.338 +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-20 21:27:34.338 +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-20 21:27:34.617 +08:00 [INF] Entity Framework Core 5.0.14 initialized 'WmsWebApiDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: QuerySplittingBehavior=SplitQuery
2022-02-20 21:27:35.612 +08:00 [INF] Executed DbCommand (116ms) [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-20 21:28:08.267 +08:00 [INF] Executed DbCommand (400ms) [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-20 21:28:47.474 +08:00 [INF] Executed action method WmsWebApi.PPlan.PurchaseService.AddAsync (WmsWebApi.Application), returned result Microsoft.AspNetCore.Mvc.ObjectResult in 90023.8452ms.
2022-02-20 21:28:47.631 +08:00 [DBG] Added 0 entity changes to the current audit log
2022-02-20 21:28:47.649 +08:00 [INF] Executing ObjectResult, writing value of type 'WmsWebApi.PPlan.ReturnResult'.
2022-02-20 21:28:47.674 +08:00 [INF] Executed action WmsWebApi.PPlan.PurchaseService.AddAsync (WmsWebApi.Application) in 91862.9635ms
2022-02-20 21:28:47.675 +08:00 [INF] Executed endpoint 'WmsWebApi.PPlan.PurchaseService.AddAsync (WmsWebApi.Application)'
2022-02-20 21:28:48.149 +08:00 [INF] Entity Framework Core 5.0.14 initialized 'AbpAuditLoggingDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: QuerySplittingBehavior=SplitQuery
2022-02-20 21:28:49.853 +08:00 [INF] Executed DbCommand (446ms) [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-20 21:28:49.917 +08:00 [INF] Executed DbCommand (49ms) [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-20 21:28:50.072 +08:00 [DBG] Added 0 entity changes to the current audit log
2022-02-20 21:28:50.072 +08:00 [DBG] Added 0 entity changes to the current audit log
2022-02-20 21:28:50.085 +08:00 [INF] Request finished HTTP/2 POST https://localhost:5000/api/Purchase/add application/json 526 - 200 - application/json;+charset=utf-8 94300.3769ms
2022-02-20 21:32:14.182 +08:00 [INF] Starting web host.
2022-02-20 21:32:25.117 +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-20 21:32:25.260 +08:00 [INF] Loaded ABP modules:
2022-02-20 21:32:25.260 +08:00 [INF] - WmsWebApi.WmsWebApiHttpApiHostModule
2022-02-20 21:32:25.260 +08:00 [INF] - WmsWebApi.WmsWebApiApplicationModule
2022-02-20 21:32:25.260 +08:00 [INF] - WmsWebApi.WmsWebApiDomainModule
2022-02-20 21:32:25.260 +08:00 [INF] - Volo.Abp.Domain.AbpDddDomainModule
2022-02-20 21:32:25.260 +08:00 [INF] - Volo.Abp.Auditing.AbpAuditingModule
2022-02-20 21:32:25.260 +08:00 [INF] - Volo.Abp.Data.AbpDataModule
2022-02-20 21:32:25.260 +08:00 [INF] - Volo.Abp.ObjectExtending.AbpObjectExtendingModule
2022-02-20 21:32:25.260 +08:00 [INF] - Volo.Abp.Localization.AbpLocalizationAbstractionsModule
2022-02-20 21:32:25.260 +08:00 [INF] - Volo.Abp.Validation.AbpValidationAbstractionsModule
2022-02-20 21:32:25.260 +08:00 [INF] - Volo.Abp.Uow.AbpUnitOfWorkModule
2022-02-20 21:32:25.260 +08:00 [INF] - Volo.Abp.EventBus.Abstractions.AbpEventBusAbstractionsModule
2022-02-20 21:32:25.260 +08:00 [INF] - Volo.Abp.Json.AbpJsonModule
2022-02-20 21:32:25.260 +08:00 [INF] - Volo.Abp.Timing.AbpTimingModule
2022-02-20 21:32:25.260 +08:00 [INF] - Volo.Abp.Localization.AbpLocalizationModule
2022-02-20 21:32:25.260 +08:00 [INF] - Volo.Abp.VirtualFileSystem.AbpVirtualFileSystemModule
2022-02-20 21:32:25.260 +08:00 [INF] - Volo.Abp.Settings.AbpSettingsModule
2022-02-20 21:32:25.260 +08:00 [INF] - Volo.Abp.Security.AbpSecurityModule
2022-02-20 21:32:25.260 +08:00 [INF] - Volo.Abp.MultiTenancy.AbpMultiTenancyModule
2022-02-20 21:32:25.260 +08:00 [INF] - Volo.Abp.Threading.AbpThreadingModule
2022-02-20 21:32:25.260 +08:00 [INF] - Volo.Abp.EventBus.AbpEventBusModule
2022-02-20 21:32:25.260 +08:00 [INF] - Volo.Abp.Guids.AbpGuidsModule
2022-02-20 21:32:25.260 +08:00 [INF] - Volo.Abp.ObjectMapping.AbpObjectMappingModule
2022-02-20 21:32:25.260 +08:00 [INF] - Volo.Abp.ExceptionHandling.AbpExceptionHandlingModule
2022-02-20 21:32:25.260 +08:00 [INF] - Volo.Abp.Specifications.AbpSpecificationsModule
2022-02-20 21:32:25.260 +08:00 [INF] - WmsWebApi.WmsWebApiDomainSharedModule
2022-02-20 21:32:25.260 +08:00 [INF] - Volo.Abp.Validation.AbpValidationModule
2022-02-20 21:32:25.260 +08:00 [INF] - WmsWebApi.WmsWebApiApplicationContractsModule
2022-02-20 21:32:25.260 +08:00 [INF] - Volo.Abp.Application.AbpDddApplicationContractsModule
2022-02-20 21:32:25.260 +08:00 [INF] - Volo.Abp.Authorization.AbpAuthorizationModule
2022-02-20 21:32:25.260 +08:00 [INF] - Volo.Abp.Authorization.AbpAuthorizationAbstractionsModule
2022-02-20 21:32:25.260 +08:00 [INF] - Volo.Abp.Application.AbpDddApplicationModule
2022-02-20 21:32:25.260 +08:00 [INF] - Volo.Abp.Http.AbpHttpAbstractionsModule
2022-02-20 21:32:25.260 +08:00 [INF] - Volo.Abp.Features.AbpFeaturesModule
2022-02-20 21:32:25.261 +08:00 [INF] - Volo.Abp.GlobalFeatures.AbpGlobalFeaturesModule
2022-02-20 21:32:25.261 +08:00 [INF] - Volo.Abp.AutoMapper.AbpAutoMapperModule
2022-02-20 21:32:25.261 +08:00 [INF] - WmsWebApi.EntityFrameworkCore.WmsWebApiEntityFrameworkCoreModule
2022-02-20 21:32:25.261 +08:00 [INF] - Volo.Abp.EntityFrameworkCore.AbpEntityFrameworkCoreModule
2022-02-20 21:32:25.261 +08:00 [INF] - Volo.Abp.Dapper.AbpDapperModule
2022-02-20 21:32:25.261 +08:00 [INF] - WmsWebApi.WmsWebApiHttpApiModule
2022-02-20 21:32:25.261 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.AbpAspNetCoreMvcModule
2022-02-20 21:32:25.261 +08:00 [INF] - Volo.Abp.AspNetCore.AbpAspNetCoreModule
2022-02-20 21:32:25.261 +08:00 [INF] - Volo.Abp.Http.AbpHttpModule
2022-02-20 21:32:25.261 +08:00 [INF] - Volo.Abp.Minify.AbpMinifyModule
2022-02-20 21:32:25.261 +08:00 [INF] - Volo.Abp.ApiVersioning.AbpApiVersioningAbstractionsModule
2022-02-20 21:32:25.261 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.AbpAspNetCoreMvcContractsModule
2022-02-20 21:32:25.261 +08:00 [INF] - Volo.Abp.UI.Navigation.AbpUiNavigationModule
2022-02-20 21:32:25.261 +08:00 [INF] - Volo.Abp.UI.AbpUiModule
2022-02-20 21:32:25.261 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.MultiTenancy.AbpAspNetCoreMvcUiMultiTenancyModule
2022-02-20 21:32:25.261 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Theme.Shared.AbpAspNetCoreMvcUiThemeSharedModule
2022-02-20 21:32:25.261 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.AbpAspNetCoreMvcUiBootstrapModule
2022-02-20 21:32:25.261 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.AbpAspNetCoreMvcUiModule
2022-02-20 21:32:25.261 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Packages.AbpAspNetCoreMvcUiPackagesModule
2022-02-20 21:32:25.261 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Bundling.AbpAspNetCoreMvcUiBundlingAbstractionsModule
2022-02-20 21:32:25.261 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Widgets.AbpAspNetCoreMvcUiWidgetsModule
2022-02-20 21:32:25.261 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Bundling.AbpAspNetCoreMvcUiBundlingModule
2022-02-20 21:32:25.261 +08:00 [INF] - Volo.Abp.AspNetCore.MultiTenancy.AbpAspNetCoreMultiTenancyModule
2022-02-20 21:32:25.261 +08:00 [INF] - Volo.Abp.Autofac.AbpAutofacModule
2022-02-20 21:32:25.261 +08:00 [INF] - Volo.Abp.Castle.AbpCastleCoreModule
2022-02-20 21:32:25.261 +08:00 [INF] - Volo.Abp.Caching.StackExchangeRedis.AbpCachingStackExchangeRedisModule
2022-02-20 21:32:25.261 +08:00 [INF] - Volo.Abp.Caching.AbpCachingModule
2022-02-20 21:32:25.261 +08:00 [INF] - Volo.Abp.Serialization.AbpSerializationModule
2022-02-20 21:32:25.261 +08:00 [INF] - Volo.Abp.EntityFrameworkCore.SqlServer.AbpEntityFrameworkCoreSqlServerModule
2022-02-20 21:32:25.261 +08:00 [INF] - Volo.Abp.AuditLogging.EntityFrameworkCore.AbpAuditLoggingEntityFrameworkCoreModule
2022-02-20 21:32:25.261 +08:00 [INF] - Volo.Abp.AuditLogging.AbpAuditLoggingDomainModule
2022-02-20 21:32:25.261 +08:00 [INF] - Volo.Abp.AuditLogging.AbpAuditLoggingDomainSharedModule
2022-02-20 21:32:25.261 +08:00 [INF] - Volo.Abp.PermissionManagement.EntityFrameworkCore.AbpPermissionManagementEntityFrameworkCoreModule
2022-02-20 21:32:25.261 +08:00 [INF] - Volo.Abp.PermissionManagement.AbpPermissionManagementDomainModule
2022-02-20 21:32:25.261 +08:00 [INF] - Volo.Abp.PermissionManagement.AbpPermissionManagementDomainSharedModule
2022-02-20 21:32:25.261 +08:00 [INF] - Volo.Abp.SettingManagement.EntityFrameworkCore.AbpSettingManagementEntityFrameworkCoreModule
2022-02-20 21:32:25.261 +08:00 [INF] - Volo.Abp.SettingManagement.AbpSettingManagementDomainModule
2022-02-20 21:32:25.261 +08:00 [INF] - Volo.Abp.SettingManagement.AbpSettingManagementDomainSharedModule
2022-02-20 21:32:25.261 +08:00 [INF] - Volo.Abp.AspNetCore.Serilog.AbpAspNetCoreSerilogModule
2022-02-20 21:32:25.261 +08:00 [INF] - Volo.Abp.Swashbuckle.AbpSwashbuckleModule
2022-02-20 21:32:26.013 +08:00 [INF] Initialized all ABP modules.
2022-02-20 21:32:26.761 +08:00 [INF] Now listening on: https://localhost:5000
2022-02-20 21:32:26.762 +08:00 [INF] Application started. Press Ctrl+C to shut down.
2022-02-20 21:32:26.762 +08:00 [INF] Hosting environment: Development
2022-02-20 21:32:26.762 +08:00 [INF] Content root path: D:\工作\派格\接口程序\WmsWebApi\host\WmsWebApi.HttpApi.Host
2022-02-20 21:32:31.912 +08:00 [INF] Request starting HTTP/2 GET https://localhost:5000/ - -
2022-02-20 21:32:37.073 +08:00 [INF] Executing endpoint 'WmsWebApi.Controllers.HomeController.Index (WmsWebApi.HttpApi.Host)'
2022-02-20 21:32:37.220 +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-20 21:32:37.639 +08:00 [INF] Executing action method WmsWebApi.Controllers.HomeController.Index (WmsWebApi.HttpApi.Host) - Validation state: "Valid"
2022-02-20 21:32:37.649 +08:00 [INF] Executed action method WmsWebApi.Controllers.HomeController.Index (WmsWebApi.HttpApi.Host), returned result Microsoft.AspNetCore.Mvc.RedirectResult in 0.5813ms.
2022-02-20 21:32:37.661 +08:00 [INF] Executing RedirectResult, redirecting to /swagger.
2022-02-20 21:32:37.677 +08:00 [INF] Executed action WmsWebApi.Controllers.HomeController.Index (WmsWebApi.HttpApi.Host) in 444.8259ms
2022-02-20 21:32:37.677 +08:00 [INF] Executed endpoint 'WmsWebApi.Controllers.HomeController.Index (WmsWebApi.HttpApi.Host)'
2022-02-20 21:32:37.721 +08:00 [INF] Request finished HTTP/2 GET https://localhost:5000/ - - - 302 0 - 5813.9114ms
2022-02-20 21:32:37.724 +08:00 [INF] Request starting HTTP/2 GET https://localhost:5000/swagger/index.html - -
2022-02-20 21:32:38.160 +08:00 [INF] Request finished HTTP/2 GET https://localhost:5000/swagger/index.html - - - 200 - text/html;charset=utf-8 435.9832ms
2022-02-20 21:32:38.941 +08:00 [INF] Request starting HTTP/2 GET https://localhost:5000/_framework/aspnetcore-browser-refresh.js - -
2022-02-20 21:32:38.950 +08:00 [INF] Request finished HTTP/2 GET https://localhost:5000/_framework/aspnetcore-browser-refresh.js - - - 200 11956 application/javascript;+charset=utf-8 8.4881ms
2022-02-20 21:32:39.582 +08:00 [INF] Request starting HTTP/2 GET https://localhost:5000/swagger/v1/swagger.json - -
2022-02-20 21:32:40.066 +08:00 [INF] Request finished HTTP/2 GET https://localhost:5000/swagger/v1/swagger.json - - - 200 - application/json;charset=utf-8 484.5074ms
2022-02-20 21:33:15.542 +08:00 [INF] Request starting HTTP/2 GET https://localhost:5000/abp/Swashbuckle/SetCsrfCookie application/json -
2022-02-20 21:33:15.555 +08:00 [INF] Executing endpoint 'Volo.Abp.Swashbuckle.AbpSwashbuckleController.SetCsrfCookie (Volo.Abp.Swashbuckle)'
2022-02-20 21:33:15.558 +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-20 21:33:15.632 +08:00 [INF] Executing action method Volo.Abp.Swashbuckle.AbpSwashbuckleController.SetCsrfCookie (Volo.Abp.Swashbuckle) - Validation state: "Valid"
2022-02-20 21:33:15.644 +08:00 [INF] Executed action method Volo.Abp.Swashbuckle.AbpSwashbuckleController.SetCsrfCookie (Volo.Abp.Swashbuckle), returned result Microsoft.AspNetCore.Mvc.EmptyResult in 12.3397ms.
2022-02-20 21:33:15.645 +08:00 [INF] Executed action Volo.Abp.Swashbuckle.AbpSwashbuckleController.SetCsrfCookie (Volo.Abp.Swashbuckle) in 86.1454ms
2022-02-20 21:33:15.645 +08:00 [INF] Executed endpoint 'Volo.Abp.Swashbuckle.AbpSwashbuckleController.SetCsrfCookie (Volo.Abp.Swashbuckle)'
2022-02-20 21:33:15.645 +08:00 [INF] Request finished HTTP/2 GET https://localhost:5000/abp/Swashbuckle/SetCsrfCookie application/json - - 204 - - 103.0326ms
2022-02-20 21:33:15.711 +08:00 [INF] Request starting HTTP/2 POST https://localhost:5000/api/Purchase/add application/json 526
2022-02-20 21:33:15.718 +08:00 [INF] CORS policy execution failed.
2022-02-20 21:33:15.719 +08:00 [INF] Request origin https://localhost:5000 does not have permission to access the resource.
2022-02-20 21:33:15.721 +08:00 [INF] Executing endpoint 'WmsWebApi.PPlan.PurchaseService.AddAsync (WmsWebApi.Application)'
2022-02-20 21:33:15.739 +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-20 21:33:17.839 +08:00 [INF] Executing action method WmsWebApi.PPlan.PurchaseService.AddAsync (WmsWebApi.Application) - Validation state: "Valid"
2022-02-20 21:33:23.646 +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-20 21:33:23.646 +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-20 21:33:23.646 +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-20 21:33:23.646 +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-20 21:33:23.646 +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-20 21:33:23.646 +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-20 21:33:23.646 +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-20 21:33:23.646 +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-20 21:33:23.646 +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-20 21:33:23.646 +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-20 21:33:23.646 +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-20 21:33:23.646 +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-20 21:33:23.646 +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-20 21:33:23.646 +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-20 21:33:23.646 +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-20 21:33:23.646 +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-20 21:33:23.646 +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-20 21:33:23.646 +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-20 21:33:23.646 +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-20 21:33:23.801 +08:00 [INF] Entity Framework Core 5.0.14 initialized 'WmsWebApiDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: QuerySplittingBehavior=SplitQuery
2022-02-20 21:33:25.744 +08:00 [INF] Executed DbCommand (163ms) [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-20 21:33:40.056 +08:00 [INF] Executed DbCommand (114ms) [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-20 21:35:41.619 +08:00 [INF] Starting web host.
2022-02-20 21:35:52.639 +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-20 21:35:52.777 +08:00 [INF] Loaded ABP modules:
2022-02-20 21:35:52.777 +08:00 [INF] - WmsWebApi.WmsWebApiHttpApiHostModule
2022-02-20 21:35:52.777 +08:00 [INF] - WmsWebApi.WmsWebApiApplicationModule
2022-02-20 21:35:52.777 +08:00 [INF] - WmsWebApi.WmsWebApiDomainModule
2022-02-20 21:35:52.777 +08:00 [INF] - Volo.Abp.Domain.AbpDddDomainModule
2022-02-20 21:35:52.777 +08:00 [INF] - Volo.Abp.Auditing.AbpAuditingModule
2022-02-20 21:35:52.777 +08:00 [INF] - Volo.Abp.Data.AbpDataModule
2022-02-20 21:35:52.777 +08:00 [INF] - Volo.Abp.ObjectExtending.AbpObjectExtendingModule
2022-02-20 21:35:52.777 +08:00 [INF] - Volo.Abp.Localization.AbpLocalizationAbstractionsModule
2022-02-20 21:35:52.777 +08:00 [INF] - Volo.Abp.Validation.AbpValidationAbstractionsModule
2022-02-20 21:35:52.777 +08:00 [INF] - Volo.Abp.Uow.AbpUnitOfWorkModule
2022-02-20 21:35:52.777 +08:00 [INF] - Volo.Abp.EventBus.Abstractions.AbpEventBusAbstractionsModule
2022-02-20 21:35:52.777 +08:00 [INF] - Volo.Abp.Json.AbpJsonModule
2022-02-20 21:35:52.777 +08:00 [INF] - Volo.Abp.Timing.AbpTimingModule
2022-02-20 21:35:52.777 +08:00 [INF] - Volo.Abp.Localization.AbpLocalizationModule
2022-02-20 21:35:52.777 +08:00 [INF] - Volo.Abp.VirtualFileSystem.AbpVirtualFileSystemModule
2022-02-20 21:35:52.777 +08:00 [INF] - Volo.Abp.Settings.AbpSettingsModule
2022-02-20 21:35:52.777 +08:00 [INF] - Volo.Abp.Security.AbpSecurityModule
2022-02-20 21:35:52.777 +08:00 [INF] - Volo.Abp.MultiTenancy.AbpMultiTenancyModule
2022-02-20 21:35:52.777 +08:00 [INF] - Volo.Abp.Threading.AbpThreadingModule
2022-02-20 21:35:52.777 +08:00 [INF] - Volo.Abp.EventBus.AbpEventBusModule
2022-02-20 21:35:52.777 +08:00 [INF] - Volo.Abp.Guids.AbpGuidsModule
2022-02-20 21:35:52.777 +08:00 [INF] - Volo.Abp.ObjectMapping.AbpObjectMappingModule
2022-02-20 21:35:52.777 +08:00 [INF] - Volo.Abp.ExceptionHandling.AbpExceptionHandlingModule
2022-02-20 21:35:52.777 +08:00 [INF] - Volo.Abp.Specifications.AbpSpecificationsModule
2022-02-20 21:35:52.777 +08:00 [INF] - WmsWebApi.WmsWebApiDomainSharedModule
2022-02-20 21:35:52.777 +08:00 [INF] - Volo.Abp.Validation.AbpValidationModule
2022-02-20 21:35:52.777 +08:00 [INF] - WmsWebApi.WmsWebApiApplicationContractsModule
2022-02-20 21:35:52.777 +08:00 [INF] - Volo.Abp.Application.AbpDddApplicationContractsModule
2022-02-20 21:35:52.777 +08:00 [INF] - Volo.Abp.Authorization.AbpAuthorizationModule
2022-02-20 21:35:52.777 +08:00 [INF] - Volo.Abp.Authorization.AbpAuthorizationAbstractionsModule
2022-02-20 21:35:52.777 +08:00 [INF] - Volo.Abp.Application.AbpDddApplicationModule
2022-02-20 21:35:52.777 +08:00 [INF] - Volo.Abp.Http.AbpHttpAbstractionsModule
2022-02-20 21:35:52.777 +08:00 [INF] - Volo.Abp.Features.AbpFeaturesModule
2022-02-20 21:35:52.777 +08:00 [INF] - Volo.Abp.GlobalFeatures.AbpGlobalFeaturesModule
2022-02-20 21:35:52.777 +08:00 [INF] - Volo.Abp.AutoMapper.AbpAutoMapperModule
2022-02-20 21:35:52.777 +08:00 [INF] - WmsWebApi.EntityFrameworkCore.WmsWebApiEntityFrameworkCoreModule
2022-02-20 21:35:52.777 +08:00 [INF] - Volo.Abp.EntityFrameworkCore.AbpEntityFrameworkCoreModule
2022-02-20 21:35:52.777 +08:00 [INF] - Volo.Abp.Dapper.AbpDapperModule
2022-02-20 21:35:52.777 +08:00 [INF] - WmsWebApi.WmsWebApiHttpApiModule
2022-02-20 21:35:52.777 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.AbpAspNetCoreMvcModule
2022-02-20 21:35:52.777 +08:00 [INF] - Volo.Abp.AspNetCore.AbpAspNetCoreModule
2022-02-20 21:35:52.777 +08:00 [INF] - Volo.Abp.Http.AbpHttpModule
2022-02-20 21:35:52.777 +08:00 [INF] - Volo.Abp.Minify.AbpMinifyModule
2022-02-20 21:35:52.778 +08:00 [INF] - Volo.Abp.ApiVersioning.AbpApiVersioningAbstractionsModule
2022-02-20 21:35:52.778 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.AbpAspNetCoreMvcContractsModule
2022-02-20 21:35:52.778 +08:00 [INF] - Volo.Abp.UI.Navigation.AbpUiNavigationModule
2022-02-20 21:35:52.778 +08:00 [INF] - Volo.Abp.UI.AbpUiModule
2022-02-20 21:35:52.778 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.MultiTenancy.AbpAspNetCoreMvcUiMultiTenancyModule
2022-02-20 21:35:52.778 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Theme.Shared.AbpAspNetCoreMvcUiThemeSharedModule
2022-02-20 21:35:52.778 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.AbpAspNetCoreMvcUiBootstrapModule
2022-02-20 21:35:52.778 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.AbpAspNetCoreMvcUiModule
2022-02-20 21:35:52.778 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Packages.AbpAspNetCoreMvcUiPackagesModule
2022-02-20 21:35:52.778 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Bundling.AbpAspNetCoreMvcUiBundlingAbstractionsModule
2022-02-20 21:35:52.778 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Widgets.AbpAspNetCoreMvcUiWidgetsModule
2022-02-20 21:35:52.778 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Bundling.AbpAspNetCoreMvcUiBundlingModule
2022-02-20 21:35:52.778 +08:00 [INF] - Volo.Abp.AspNetCore.MultiTenancy.AbpAspNetCoreMultiTenancyModule
2022-02-20 21:35:52.778 +08:00 [INF] - Volo.Abp.Autofac.AbpAutofacModule
2022-02-20 21:35:52.778 +08:00 [INF] - Volo.Abp.Castle.AbpCastleCoreModule
2022-02-20 21:35:52.778 +08:00 [INF] - Volo.Abp.Caching.StackExchangeRedis.AbpCachingStackExchangeRedisModule
2022-02-20 21:35:52.778 +08:00 [INF] - Volo.Abp.Caching.AbpCachingModule
2022-02-20 21:35:52.778 +08:00 [INF] - Volo.Abp.Serialization.AbpSerializationModule
2022-02-20 21:35:52.778 +08:00 [INF] - Volo.Abp.EntityFrameworkCore.SqlServer.AbpEntityFrameworkCoreSqlServerModule
2022-02-20 21:35:52.778 +08:00 [INF] - Volo.Abp.AuditLogging.EntityFrameworkCore.AbpAuditLoggingEntityFrameworkCoreModule
2022-02-20 21:35:52.778 +08:00 [INF] - Volo.Abp.AuditLogging.AbpAuditLoggingDomainModule
2022-02-20 21:35:52.778 +08:00 [INF] - Volo.Abp.AuditLogging.AbpAuditLoggingDomainSharedModule
2022-02-20 21:35:52.778 +08:00 [INF] - Volo.Abp.PermissionManagement.EntityFrameworkCore.AbpPermissionManagementEntityFrameworkCoreModule
2022-02-20 21:35:52.778 +08:00 [INF] - Volo.Abp.PermissionManagement.AbpPermissionManagementDomainModule
2022-02-20 21:35:52.778 +08:00 [INF] - Volo.Abp.PermissionManagement.AbpPermissionManagementDomainSharedModule
2022-02-20 21:35:52.778 +08:00 [INF] - Volo.Abp.SettingManagement.EntityFrameworkCore.AbpSettingManagementEntityFrameworkCoreModule
2022-02-20 21:35:52.778 +08:00 [INF] - Volo.Abp.SettingManagement.AbpSettingManagementDomainModule
2022-02-20 21:35:52.778 +08:00 [INF] - Volo.Abp.SettingManagement.AbpSettingManagementDomainSharedModule
2022-02-20 21:35:52.778 +08:00 [INF] - Volo.Abp.AspNetCore.Serilog.AbpAspNetCoreSerilogModule
2022-02-20 21:35:52.778 +08:00 [INF] - Volo.Abp.Swashbuckle.AbpSwashbuckleModule
2022-02-20 21:35:53.411 +08:00 [INF] Initialized all ABP modules.
2022-02-20 21:35:54.119 +08:00 [INF] Now listening on: https://localhost:5000
2022-02-20 21:35:54.120 +08:00 [INF] Application started. Press Ctrl+C to shut down.
2022-02-20 21:35:54.120 +08:00 [INF] Hosting environment: Development
2022-02-20 21:35:54.120 +08:00 [INF] Content root path: D:\工作\派格\接口程序\WmsWebApi\host\WmsWebApi.HttpApi.Host
2022-02-20 21:35:59.776 +08:00 [INF] Request starting HTTP/2 GET https://localhost:5000/ - -
2022-02-20 21:36:04.852 +08:00 [INF] Executing endpoint 'WmsWebApi.Controllers.HomeController.Index (WmsWebApi.HttpApi.Host)'
2022-02-20 21:36:05.054 +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-20 21:36:05.741 +08:00 [INF] Executing action method WmsWebApi.Controllers.HomeController.Index (WmsWebApi.HttpApi.Host) - Validation state: "Valid"
2022-02-20 21:36:05.759 +08:00 [INF] Executed action method WmsWebApi.Controllers.HomeController.Index (WmsWebApi.HttpApi.Host), returned result Microsoft.AspNetCore.Mvc.RedirectResult in 3.3616ms.
2022-02-20 21:36:05.830 +08:00 [INF] Executing RedirectResult, redirecting to /swagger.
2022-02-20 21:36:05.852 +08:00 [INF] Executed action WmsWebApi.Controllers.HomeController.Index (WmsWebApi.HttpApi.Host) in 777.1962ms
2022-02-20 21:36:05.853 +08:00 [INF] Executed endpoint 'WmsWebApi.Controllers.HomeController.Index (WmsWebApi.HttpApi.Host)'
2022-02-20 21:36:05.927 +08:00 [INF] Request finished HTTP/2 GET https://localhost:5000/ - - - 302 0 - 6158.1457ms
2022-02-20 21:36:05.969 +08:00 [INF] Request starting HTTP/2 GET https://localhost:5000/swagger/index.html - -
2022-02-20 21:36:06.530 +08:00 [INF] Request finished HTTP/2 GET https://localhost:5000/swagger/index.html - - - 200 - text/html;charset=utf-8 560.3930ms
2022-02-20 21:36:07.286 +08:00 [INF] Request starting HTTP/2 GET https://localhost:5000/_framework/aspnetcore-browser-refresh.js - -
2022-02-20 21:36:07.299 +08:00 [INF] Request finished HTTP/2 GET https://localhost:5000/_framework/aspnetcore-browser-refresh.js - - - 200 11956 application/javascript;+charset=utf-8 13.3215ms
2022-02-20 21:36:07.848 +08:00 [INF] Request starting HTTP/2 GET https://localhost:5000/swagger/v1/swagger.json - -
2022-02-20 21:36:08.262 +08:00 [INF] Request finished HTTP/2 GET https://localhost:5000/swagger/v1/swagger.json - - - 200 - application/json;charset=utf-8 414.8524ms
2022-02-20 21:36:46.118 +08:00 [INF] Request starting HTTP/2 GET https://localhost:5000/abp/Swashbuckle/SetCsrfCookie application/json -
2022-02-20 21:36:46.123 +08:00 [INF] Executing endpoint 'Volo.Abp.Swashbuckle.AbpSwashbuckleController.SetCsrfCookie (Volo.Abp.Swashbuckle)'
2022-02-20 21:36:46.127 +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-20 21:36:46.200 +08:00 [INF] Executing action method Volo.Abp.Swashbuckle.AbpSwashbuckleController.SetCsrfCookie (Volo.Abp.Swashbuckle) - Validation state: "Valid"
2022-02-20 21:36:46.210 +08:00 [INF] Executed action method Volo.Abp.Swashbuckle.AbpSwashbuckleController.SetCsrfCookie (Volo.Abp.Swashbuckle), returned result Microsoft.AspNetCore.Mvc.EmptyResult in 9.8427ms.
2022-02-20 21:36:46.210 +08:00 [INF] Executed action Volo.Abp.Swashbuckle.AbpSwashbuckleController.SetCsrfCookie (Volo.Abp.Swashbuckle) in 83.2587ms
2022-02-20 21:36:46.210 +08:00 [INF] Executed endpoint 'Volo.Abp.Swashbuckle.AbpSwashbuckleController.SetCsrfCookie (Volo.Abp.Swashbuckle)'
2022-02-20 21:36:46.210 +08:00 [INF] Request finished HTTP/2 GET https://localhost:5000/abp/Swashbuckle/SetCsrfCookie application/json - - 204 - - 92.0835ms
2022-02-20 21:36:46.274 +08:00 [INF] Request starting HTTP/2 POST https://localhost:5000/api/Purchase/add application/json 526
2022-02-20 21:36:46.279 +08:00 [INF] CORS policy execution failed.
2022-02-20 21:36:46.279 +08:00 [INF] Request origin https://localhost:5000 does not have permission to access the resource.
2022-02-20 21:36:46.282 +08:00 [INF] Executing endpoint 'WmsWebApi.PPlan.PurchaseService.AddAsync (WmsWebApi.Application)'
2022-02-20 21:36:46.299 +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-20 21:36:47.836 +08:00 [INF] Executing action method WmsWebApi.PPlan.PurchaseService.AddAsync (WmsWebApi.Application) - Validation state: "Valid"
2022-02-20 21:36:49.717 +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-20 21:36:49.717 +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-20 21:36:49.717 +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-20 21:36:49.718 +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-20 21:36:49.718 +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-20 21:36:49.718 +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-20 21:36:49.718 +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-20 21:36:49.718 +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-20 21:36:49.718 +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-20 21:36:49.718 +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-20 21:36:49.718 +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-20 21:36:49.718 +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-20 21:36:49.718 +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-20 21:36:49.718 +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-20 21:36:49.718 +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-20 21:36:49.719 +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-20 21:36:49.719 +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-20 21:36:49.719 +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-20 21:36:49.719 +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-20 21:36:49.977 +08:00 [INF] Entity Framework Core 5.0.14 initialized 'WmsWebApiDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: QuerySplittingBehavior=SplitQuery
2022-02-20 21:36:51.579 +08:00 [INF] Executed DbCommand (151ms) [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-20 21:37:03.127 +08:00 [INF] Executed DbCommand (103ms) [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-20 21:37:15.492 +08:00 [INF] Executed DbCommand (48ms) [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-20 21:37:38.800 +08:00 [INF] Executed DbCommand (79ms) [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-20 21:38:19.114 +08:00 [INF] Executed DbCommand (89ms) [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-20 21:38:43.086 +08:00 [INF] Executed DbCommand (53ms) [Parameters=[@__tbBill_BillNum_0='?' (Size = 64)], CommandType='"Text"', CommandTimeout='30']
SELECT TOP(1) [t].[UID], [t].[AccountDate], [t].[BillNum], [t].[BillTime], [t].[BillType], [t].[CustId], [t].[DetailQty], [t].[DockCode], [t].[FinishTime], [t].[GateCode], [t].[GateName], [t].[Guid], [t].[OperName], [t].[ProjectId], [t].[Remark], [t].[SourceBillNum], [t].[SourceBillNum2], [t].[SourceBillNum3], [t].[StartTime], [t].[State], [t].[SubBillType], [t].[TransportType], [t].[TruckNum], [t].[VendId]
FROM [TB_BILL] AS [t]
WHERE [t].[BillNum] = @__tbBill_BillNum_0
2022-02-20 21:39:18.030 +08:00 [INF] Executed action method WmsWebApi.PPlan.PurchaseService.AddAsync (WmsWebApi.Application), returned result Microsoft.AspNetCore.Mvc.ObjectResult in 150193.7542ms.
2022-02-20 21:39:18.444 +08:00 [INF] Executed DbCommand (65ms) [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)], CommandType='"Text"', CommandTimeout='30']
SET NOCOUNT ON;
INSERT INTO [TB_BILL] ([AccountDate], [BillNum], [BillTime], [BillType], [CustId], [DetailQty], [DockCode], [FinishTime], [GateCode], [GateName], [Guid], [OperName], [ProjectId], [Remark], [SourceBillNum], [SourceBillNum2], [SourceBillNum3], [StartTime], [State], [SubBillType], [TransportType], [TruckNum], [VendId])
VALUES (@p0, @p1, @p2, @p3, @p4, @p5, @p6, @p7, @p8, @p9, @p10, @p11, @p12, @p13, @p14, @p15, @p16, @p17, @p18, @p19, @p20, @p21, @p22);
SELECT [UID]
FROM [TB_BILL]
WHERE @@ROWCOUNT = 1 AND [UID] = scope_identity();
2022-02-20 21:39:18.953 +08:00 [INF] Executed DbCommand (445ms) [Parameters=[@p0='?' (Size = 50), @p1='?' (Size = 50), @p2='?' (Size = 4000), @p3='?' (Size = 4000), @p4='?' (Size = 4000), @p5='?' (Size = 4000), @p6='?' (Precision = 18) (Scale = 6) (DbType = Decimal), @p7='?' (Precision = 18) (Scale = 6) (DbType = Decimal), @p8='?' (Size = 4000), @p9='?' (Size = 50), @p10='?' (Size = 50), @p11='?' (DbType = DateTime2), @p12='?' (Precision = 18) (Scale = 6) (DbType = Decimal), @p13='?' (DbType = DateTime2), @p14='?' (Size = 4000), @p15='?' (Precision = 18) (Scale = 6) (DbType = Decimal), @p16='?' (Size = 4000), @p17='?' (DbType = Int32), @p18='?' (Size = 4000), @p19='?' (Size = 4000), @p20='?' (Size = 4000), @p21='?' (Size = 4000)], CommandType='"Text"', CommandTimeout='30']
SET NOCOUNT ON;
INSERT INTO [TB_PRODUCT_RECEIVE] ([BarCode], [BillNum], [Batch], [CellCode], [EqptCode], [FromLocCode], [GoodQty], [InvalidQty], [LineId], [PartCode], [PpBillNum], [ProduceDate], [Qty], [ReceiveDate], [Remark], [ScrapQty], [ShiftName], [State], [TeamName], [ToLocCode], [TraceBackCode], [Unit])
VALUES (@p0, @p1, @p2, @p3, @p4, @p5, @p6, @p7, @p8, @p9, @p10, @p11, @p12, @p13, @p14, @p15, @p16, @p17, @p18, @p19, @p20, @p21);
SELECT [UID]
FROM [TB_PRODUCT_RECEIVE]
WHERE @@ROWCOUNT = 1 AND [BarCode] = @p0 AND [BillNum] = @p1;
2022-02-20 21:39:19.059 +08:00 [INF] Executed DbCommand (102ms) [Parameters=[@p0='?' (Size = 50), @p1='?' (Size = 50), @p2='?' (Size = 4000), @p3='?' (Size = 4000), @p4='?' (Size = 4000), @p5='?' (Size = 4000), @p6='?' (Precision = 18) (Scale = 6) (DbType = Decimal), @p7='?' (Precision = 18) (Scale = 6) (DbType = Decimal), @p8='?' (Size = 4000), @p9='?' (Size = 50), @p10='?' (Size = 50), @p11='?' (DbType = DateTime2), @p12='?' (Precision = 18) (Scale = 6) (DbType = Decimal), @p13='?' (DbType = DateTime2), @p14='?' (Size = 4000), @p15='?' (Precision = 18) (Scale = 6) (DbType = Decimal), @p16='?' (Size = 4000), @p17='?' (DbType = Int32), @p18='?' (Size = 4000), @p19='?' (Size = 4000), @p20='?' (Size = 4000), @p21='?' (Size = 4000)], CommandType='"Text"', CommandTimeout='30']
SET NOCOUNT ON;
INSERT INTO [TB_PRODUCT_RECEIVE] ([BarCode], [BillNum], [Batch], [CellCode], [EqptCode], [FromLocCode], [GoodQty], [InvalidQty], [LineId], [PartCode], [PpBillNum], [ProduceDate], [Qty], [ReceiveDate], [Remark], [ScrapQty], [ShiftName], [State], [TeamName], [ToLocCode], [TraceBackCode], [Unit])
VALUES (@p0, @p1, @p2, @p3, @p4, @p5, @p6, @p7, @p8, @p9, @p10, @p11, @p12, @p13, @p14, @p15, @p16, @p17, @p18, @p19, @p20, @p21);
SELECT [UID]
FROM [TB_PRODUCT_RECEIVE]
WHERE @@ROWCOUNT = 1 AND [BarCode] = @p0 AND [BillNum] = @p1;
2022-02-20 21:39:19.631 +08:00 [DBG] Added 0 entity changes to the current audit log
2022-02-20 21:39:19.631 +08:00 [DBG] Added 0 entity changes to the current audit log
2022-02-20 21:39:19.673 +08:00 [INF] Executing ObjectResult, writing value of type 'WmsWebApi.PPlan.ReturnResult'.
2022-02-20 21:39:19.716 +08:00 [INF] Executed action WmsWebApi.PPlan.PurchaseService.AddAsync (WmsWebApi.Application) in 153416.9271ms
2022-02-20 21:39:19.718 +08:00 [INF] Executed endpoint 'WmsWebApi.PPlan.PurchaseService.AddAsync (WmsWebApi.Application)'
2022-02-20 21:39:20.237 +08:00 [INF] Entity Framework Core 5.0.14 initialized 'AbpAuditLoggingDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: QuerySplittingBehavior=SplitQuery
2022-02-20 21:39:20.847 +08:00 [INF] Executed DbCommand (60ms) [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-20 21:39:20.897 +08:00 [INF] Executed DbCommand (49ms) [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-20 21:39:20.976 +08:00 [DBG] Added 0 entity changes to the current audit log
2022-02-20 21:39:20.976 +08:00 [DBG] Added 0 entity changes to the current audit log
2022-02-20 21:39:20.980 +08:00 [INF] Request finished HTTP/2 POST https://localhost:5000/api/Purchase/add application/json 526 - 200 - application/json;+charset=utf-8 154705.5295ms
2022-02-20 21:41:12.524 +08:00 [INF] Starting web host.
2022-02-20 21:41:24.193 +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-20 21:41:24.516 +08:00 [INF] Loaded ABP modules:
2022-02-20 21:41:24.516 +08:00 [INF] - WmsWebApi.WmsWebApiHttpApiHostModule
2022-02-20 21:41:24.516 +08:00 [INF] - WmsWebApi.WmsWebApiApplicationModule
2022-02-20 21:41:24.516 +08:00 [INF] - WmsWebApi.WmsWebApiDomainModule
2022-02-20 21:41:24.516 +08:00 [INF] - Volo.Abp.Domain.AbpDddDomainModule
2022-02-20 21:41:24.516 +08:00 [INF] - Volo.Abp.Auditing.AbpAuditingModule
2022-02-20 21:41:24.516 +08:00 [INF] - Volo.Abp.Data.AbpDataModule
2022-02-20 21:41:24.517 +08:00 [INF] - Volo.Abp.ObjectExtending.AbpObjectExtendingModule
2022-02-20 21:41:24.517 +08:00 [INF] - Volo.Abp.Localization.AbpLocalizationAbstractionsModule
2022-02-20 21:41:24.517 +08:00 [INF] - Volo.Abp.Validation.AbpValidationAbstractionsModule
2022-02-20 21:41:24.517 +08:00 [INF] - Volo.Abp.Uow.AbpUnitOfWorkModule
2022-02-20 21:41:24.517 +08:00 [INF] - Volo.Abp.EventBus.Abstractions.AbpEventBusAbstractionsModule
2022-02-20 21:41:24.517 +08:00 [INF] - Volo.Abp.Json.AbpJsonModule
2022-02-20 21:41:24.517 +08:00 [INF] - Volo.Abp.Timing.AbpTimingModule
2022-02-20 21:41:24.517 +08:00 [INF] - Volo.Abp.Localization.AbpLocalizationModule
2022-02-20 21:41:24.517 +08:00 [INF] - Volo.Abp.VirtualFileSystem.AbpVirtualFileSystemModule
2022-02-20 21:41:24.517 +08:00 [INF] - Volo.Abp.Settings.AbpSettingsModule
2022-02-20 21:41:24.517 +08:00 [INF] - Volo.Abp.Security.AbpSecurityModule
2022-02-20 21:41:24.517 +08:00 [INF] - Volo.Abp.MultiTenancy.AbpMultiTenancyModule
2022-02-20 21:41:24.517 +08:00 [INF] - Volo.Abp.Threading.AbpThreadingModule
2022-02-20 21:41:24.517 +08:00 [INF] - Volo.Abp.EventBus.AbpEventBusModule
2022-02-20 21:41:24.517 +08:00 [INF] - Volo.Abp.Guids.AbpGuidsModule
2022-02-20 21:41:24.517 +08:00 [INF] - Volo.Abp.ObjectMapping.AbpObjectMappingModule
2022-02-20 21:41:24.517 +08:00 [INF] - Volo.Abp.ExceptionHandling.AbpExceptionHandlingModule
2022-02-20 21:41:24.517 +08:00 [INF] - Volo.Abp.Specifications.AbpSpecificationsModule
2022-02-20 21:41:24.517 +08:00 [INF] - WmsWebApi.WmsWebApiDomainSharedModule
2022-02-20 21:41:24.517 +08:00 [INF] - Volo.Abp.Validation.AbpValidationModule
2022-02-20 21:41:24.517 +08:00 [INF] - WmsWebApi.WmsWebApiApplicationContractsModule
2022-02-20 21:41:24.517 +08:00 [INF] - Volo.Abp.Application.AbpDddApplicationContractsModule
2022-02-20 21:41:24.517 +08:00 [INF] - Volo.Abp.Authorization.AbpAuthorizationModule
2022-02-20 21:41:24.517 +08:00 [INF] - Volo.Abp.Authorization.AbpAuthorizationAbstractionsModule
2022-02-20 21:41:24.517 +08:00 [INF] - Volo.Abp.Application.AbpDddApplicationModule
2022-02-20 21:41:24.517 +08:00 [INF] - Volo.Abp.Http.AbpHttpAbstractionsModule
2022-02-20 21:41:24.517 +08:00 [INF] - Volo.Abp.Features.AbpFeaturesModule
2022-02-20 21:41:24.517 +08:00 [INF] - Volo.Abp.GlobalFeatures.AbpGlobalFeaturesModule
2022-02-20 21:41:24.517 +08:00 [INF] - Volo.Abp.AutoMapper.AbpAutoMapperModule
2022-02-20 21:41:24.517 +08:00 [INF] - WmsWebApi.EntityFrameworkCore.WmsWebApiEntityFrameworkCoreModule
2022-02-20 21:41:24.517 +08:00 [INF] - Volo.Abp.EntityFrameworkCore.AbpEntityFrameworkCoreModule
2022-02-20 21:41:24.517 +08:00 [INF] - Volo.Abp.Dapper.AbpDapperModule
2022-02-20 21:41:24.517 +08:00 [INF] - WmsWebApi.WmsWebApiHttpApiModule
2022-02-20 21:41:24.517 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.AbpAspNetCoreMvcModule
2022-02-20 21:41:24.517 +08:00 [INF] - Volo.Abp.AspNetCore.AbpAspNetCoreModule
2022-02-20 21:41:24.517 +08:00 [INF] - Volo.Abp.Http.AbpHttpModule
2022-02-20 21:41:24.517 +08:00 [INF] - Volo.Abp.Minify.AbpMinifyModule
2022-02-20 21:41:24.517 +08:00 [INF] - Volo.Abp.ApiVersioning.AbpApiVersioningAbstractionsModule
2022-02-20 21:41:24.517 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.AbpAspNetCoreMvcContractsModule
2022-02-20 21:41:24.517 +08:00 [INF] - Volo.Abp.UI.Navigation.AbpUiNavigationModule
2022-02-20 21:41:24.517 +08:00 [INF] - Volo.Abp.UI.AbpUiModule
2022-02-20 21:41:24.517 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.MultiTenancy.AbpAspNetCoreMvcUiMultiTenancyModule
2022-02-20 21:41:24.517 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Theme.Shared.AbpAspNetCoreMvcUiThemeSharedModule
2022-02-20 21:41:24.517 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.AbpAspNetCoreMvcUiBootstrapModule
2022-02-20 21:41:24.517 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.AbpAspNetCoreMvcUiModule
2022-02-20 21:41:24.517 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Packages.AbpAspNetCoreMvcUiPackagesModule
2022-02-20 21:41:24.517 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Bundling.AbpAspNetCoreMvcUiBundlingAbstractionsModule
2022-02-20 21:41:24.517 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Widgets.AbpAspNetCoreMvcUiWidgetsModule
2022-02-20 21:41:24.517 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Bundling.AbpAspNetCoreMvcUiBundlingModule
2022-02-20 21:41:24.517 +08:00 [INF] - Volo.Abp.AspNetCore.MultiTenancy.AbpAspNetCoreMultiTenancyModule
2022-02-20 21:41:24.517 +08:00 [INF] - Volo.Abp.Autofac.AbpAutofacModule
2022-02-20 21:41:24.517 +08:00 [INF] - Volo.Abp.Castle.AbpCastleCoreModule
2022-02-20 21:41:24.517 +08:00 [INF] - Volo.Abp.Caching.StackExchangeRedis.AbpCachingStackExchangeRedisModule
2022-02-20 21:41:24.517 +08:00 [INF] - Volo.Abp.Caching.AbpCachingModule
2022-02-20 21:41:24.517 +08:00 [INF] - Volo.Abp.Serialization.AbpSerializationModule
2022-02-20 21:41:24.517 +08:00 [INF] - Volo.Abp.EntityFrameworkCore.SqlServer.AbpEntityFrameworkCoreSqlServerModule
2022-02-20 21:41:24.517 +08:00 [INF] - Volo.Abp.AuditLogging.EntityFrameworkCore.AbpAuditLoggingEntityFrameworkCoreModule
2022-02-20 21:41:24.517 +08:00 [INF] - Volo.Abp.AuditLogging.AbpAuditLoggingDomainModule
2022-02-20 21:41:24.517 +08:00 [INF] - Volo.Abp.AuditLogging.AbpAuditLoggingDomainSharedModule
2022-02-20 21:41:24.517 +08:00 [INF] - Volo.Abp.PermissionManagement.EntityFrameworkCore.AbpPermissionManagementEntityFrameworkCoreModule
2022-02-20 21:41:24.517 +08:00 [INF] - Volo.Abp.PermissionManagement.AbpPermissionManagementDomainModule
2022-02-20 21:41:24.517 +08:00 [INF] - Volo.Abp.PermissionManagement.AbpPermissionManagementDomainSharedModule
2022-02-20 21:41:24.517 +08:00 [INF] - Volo.Abp.SettingManagement.EntityFrameworkCore.AbpSettingManagementEntityFrameworkCoreModule
2022-02-20 21:41:24.517 +08:00 [INF] - Volo.Abp.SettingManagement.AbpSettingManagementDomainModule
2022-02-20 21:41:24.517 +08:00 [INF] - Volo.Abp.SettingManagement.AbpSettingManagementDomainSharedModule
2022-02-20 21:41:24.517 +08:00 [INF] - Volo.Abp.AspNetCore.Serilog.AbpAspNetCoreSerilogModule
2022-02-20 21:41:24.517 +08:00 [INF] - Volo.Abp.Swashbuckle.AbpSwashbuckleModule
2022-02-20 21:41:25.409 +08:00 [INF] Initialized all ABP modules.
2022-02-20 21:41:25.757 +08:00 [INF] Now listening on: https://localhost:5000
2022-02-20 21:41:25.757 +08:00 [INF] Application started. Press Ctrl+C to shut down.
2022-02-20 21:41:25.757 +08:00 [INF] Hosting environment: Development
2022-02-20 21:41:25.757 +08:00 [INF] Content root path: D:\工作\派格\接口程序\WmsWebApi\host\WmsWebApi.HttpApi.Host
2022-02-20 21:41:31.939 +08:00 [INF] Request starting HTTP/2 GET https://localhost:5000/ - -
2022-02-20 21:41:36.754 +08:00 [INF] Executing endpoint 'WmsWebApi.Controllers.HomeController.Index (WmsWebApi.HttpApi.Host)'
2022-02-20 21:41:36.875 +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-20 21:41:37.496 +08:00 [INF] Executing action method WmsWebApi.Controllers.HomeController.Index (WmsWebApi.HttpApi.Host) - Validation state: "Valid"
2022-02-20 21:41:37.511 +08:00 [INF] Executed action method WmsWebApi.Controllers.HomeController.Index (WmsWebApi.HttpApi.Host), returned result Microsoft.AspNetCore.Mvc.RedirectResult in 0.6997ms.
2022-02-20 21:41:37.533 +08:00 [INF] Executing RedirectResult, redirecting to /swagger.
2022-02-20 21:41:37.554 +08:00 [INF] Executed action WmsWebApi.Controllers.HomeController.Index (WmsWebApi.HttpApi.Host) in 660.6457ms
2022-02-20 21:41:37.556 +08:00 [INF] Executed endpoint 'WmsWebApi.Controllers.HomeController.Index (WmsWebApi.HttpApi.Host)'
2022-02-20 21:41:37.623 +08:00 [INF] Request starting HTTP/2 GET https://localhost:5000/swagger/index.html - -
2022-02-20 21:41:37.628 +08:00 [INF] Request finished HTTP/2 GET https://localhost:5000/ - - - 302 0 - 5690.0849ms
2022-02-20 21:41:38.132 +08:00 [INF] Request finished HTTP/2 GET https://localhost:5000/swagger/index.html - - - 200 - text/html;charset=utf-8 508.1888ms
2022-02-20 21:41:39.010 +08:00 [INF] Request starting HTTP/2 GET https://localhost:5000/_framework/aspnetcore-browser-refresh.js - -
2022-02-20 21:41:39.059 +08:00 [INF] Request finished HTTP/2 GET https://localhost:5000/_framework/aspnetcore-browser-refresh.js - - - 200 11956 application/javascript;+charset=utf-8 48.7372ms
2022-02-20 21:41:39.787 +08:00 [INF] Request starting HTTP/2 GET https://localhost:5000/swagger/v1/swagger.json - -
2022-02-20 21:41:40.423 +08:00 [INF] Request finished HTTP/2 GET https://localhost:5000/swagger/v1/swagger.json - - - 200 - application/json;charset=utf-8 635.5595ms
2022-02-20 21:42:02.112 +08:00 [INF] Request starting HTTP/2 GET https://localhost:5000/abp/Swashbuckle/SetCsrfCookie application/json -
2022-02-20 21:42:02.117 +08:00 [INF] Executing endpoint 'Volo.Abp.Swashbuckle.AbpSwashbuckleController.SetCsrfCookie (Volo.Abp.Swashbuckle)'
2022-02-20 21:42:02.118 +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-20 21:42:02.190 +08:00 [INF] Executing action method Volo.Abp.Swashbuckle.AbpSwashbuckleController.SetCsrfCookie (Volo.Abp.Swashbuckle) - Validation state: "Valid"
2022-02-20 21:42:02.201 +08:00 [INF] Executed action method Volo.Abp.Swashbuckle.AbpSwashbuckleController.SetCsrfCookie (Volo.Abp.Swashbuckle), returned result Microsoft.AspNetCore.Mvc.EmptyResult in 11.2927ms.
2022-02-20 21:42:02.201 +08:00 [INF] Executed action Volo.Abp.Swashbuckle.AbpSwashbuckleController.SetCsrfCookie (Volo.Abp.Swashbuckle) in 82.8757ms
2022-02-20 21:42:02.201 +08:00 [INF] Executed endpoint 'Volo.Abp.Swashbuckle.AbpSwashbuckleController.SetCsrfCookie (Volo.Abp.Swashbuckle)'
2022-02-20 21:42:02.202 +08:00 [INF] Request finished HTTP/2 GET https://localhost:5000/abp/Swashbuckle/SetCsrfCookie application/json - - 204 - - 89.5127ms
2022-02-20 21:42:02.282 +08:00 [INF] Request starting HTTP/2 POST https://localhost:5000/api/Purchase/add application/json 526
2022-02-20 21:42:02.289 +08:00 [INF] CORS policy execution failed.
2022-02-20 21:42:02.289 +08:00 [INF] Request origin https://localhost:5000 does not have permission to access the resource.
2022-02-20 21:42:02.293 +08:00 [INF] Executing endpoint 'WmsWebApi.PPlan.PurchaseService.AddAsync (WmsWebApi.Application)'
2022-02-20 21:42:02.314 +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-20 21:42:04.232 +08:00 [INF] Executing action method WmsWebApi.PPlan.PurchaseService.AddAsync (WmsWebApi.Application) - Validation state: "Valid"
2022-02-20 21:42:06.126 +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-20 21:42:06.126 +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-20 21:42:06.126 +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-20 21:42:06.126 +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-20 21:42:06.126 +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-20 21:42:06.126 +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-20 21:42:06.126 +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-20 21:42:06.126 +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-20 21:42:06.126 +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-20 21:42:06.126 +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-20 21:42:06.126 +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-20 21:42:06.126 +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-20 21:42:06.126 +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-20 21:42:06.126 +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-20 21:42:06.126 +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-20 21:42:06.126 +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-20 21:42:06.126 +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-20 21:42:06.126 +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-20 21:42:06.126 +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-20 21:42:06.241 +08:00 [INF] Entity Framework Core 5.0.14 initialized 'WmsWebApiDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: QuerySplittingBehavior=SplitQuery
2022-02-20 21:42:07.160 +08:00 [INF] Executed DbCommand (95ms) [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-20 21:42:07.339 +08:00 [INF] Executed action method WmsWebApi.PPlan.PurchaseService.AddAsync (WmsWebApi.Application), returned result Microsoft.AspNetCore.Mvc.ObjectResult in 3107.071ms.
2022-02-20 21:42:07.537 +08:00 [INF] Executed DbCommand (37ms) [Parameters=[@p0='?' (DbType = Guid), @p1='?' (Size = 4000), @p2='?' (DbType = DateTime2), @p3='?' (Size = 4000), @p4='?' (Size = 4000), @p5='?' (Size = 10), @p6='?' (Size = 10)], CommandType='"Text"', CommandTimeout='30']
SET NOCOUNT ON;
INSERT INTO [WmsWebApiPURCHASEDTO] ([Id], [BUDAT], [DYSJ], [ITYPE], [JSON], [MBLNR], [MJAHR])
VALUES (@p0, @p1, @p2, @p3, @p4, @p5, @p6);
2022-02-20 21:42:07.670 +08:00 [DBG] Added 0 entity changes to the current audit log
2022-02-20 21:42:07.670 +08:00 [DBG] Added 0 entity changes to the current audit log
2022-02-20 21:42:07.682 +08:00 [INF] Executing ObjectResult, writing value of type 'WmsWebApi.PPlan.ReturnResult'.
2022-02-20 21:42:07.692 +08:00 [INF] Executed action WmsWebApi.PPlan.PurchaseService.AddAsync (WmsWebApi.Application) in 5377.9576ms
2022-02-20 21:42:07.692 +08:00 [INF] Executed endpoint 'WmsWebApi.PPlan.PurchaseService.AddAsync (WmsWebApi.Application)'
2022-02-20 21:42:07.896 +08:00 [INF] Entity Framework Core 5.0.14 initialized 'AbpAuditLoggingDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: QuerySplittingBehavior=SplitQuery
2022-02-20 21:42:08.211 +08:00 [INF] Executed 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 = 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-20 21:42:08.258 +08:00 [INF] Executed DbCommand (47ms) [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-20 21:42:08.323 +08:00 [DBG] Added 0 entity changes to the current audit log
2022-02-20 21:42:08.323 +08:00 [DBG] Added 0 entity changes to the current audit log
2022-02-20 21:42:08.325 +08:00 [INF] Request finished HTTP/2 POST https://localhost:5000/api/Purchase/add application/json 526 - 200 - application/json;+charset=utf-8 6043.7574ms
2022-02-20 21:44:36.038 +08:00 [INF] Request starting HTTP/2 POST https://localhost:5000/api/Purchase/add application/json 526
2022-02-20 21:44:36.076 +08:00 [INF] CORS policy execution failed.
2022-02-20 21:44:36.077 +08:00 [INF] Request origin https://localhost:5000 does not have permission to access the resource.
2022-02-20 21:44:36.081 +08:00 [INF] Executing endpoint 'WmsWebApi.PPlan.PurchaseService.AddAsync (WmsWebApi.Application)'
2022-02-20 21:44:36.081 +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-20 21:44:36.163 +08:00 [INF] Executing action method WmsWebApi.PPlan.PurchaseService.AddAsync (WmsWebApi.Application) - Validation state: "Valid"
2022-02-20 21:44:36.231 +08:00 [INF] Entity Framework Core 5.0.14 initialized 'WmsWebApiDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: QuerySplittingBehavior=SplitQuery
2022-02-20 21:44:36.281 +08:00 [INF] Executed DbCommand (41ms) [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-20 21:44:36.403 +08:00 [INF] Executed DbCommand (54ms) [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-20 21:44:36.671 +08:00 [INF] Executed DbCommand (46ms) [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-20 21:44:36.731 +08:00 [INF] Executed DbCommand (55ms) [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-20 21:44:36.766 +08:00 [INF] Executed DbCommand (33ms) [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-20 21:44:45.039 +08:00 [INF] Executed DbCommand (59ms) [Parameters=[@__tbBill_BillNum_0='?' (Size = 64)], CommandType='"Text"', CommandTimeout='30']
SELECT TOP(1) [t].[UID], [t].[AccountDate], [t].[BillNum], [t].[BillTime], [t].[BillType], [t].[CustId], [t].[DetailQty], [t].[DockCode], [t].[FinishTime], [t].[GateCode], [t].[GateName], [t].[Guid], [t].[OperName], [t].[ProjectId], [t].[Remark], [t].[SourceBillNum], [t].[SourceBillNum2], [t].[SourceBillNum3], [t].[StartTime], [t].[State], [t].[SubBillType], [t].[TransportType], [t].[TruckNum], [t].[VendId]
FROM [TB_BILL] AS [t]
WHERE [t].[BillNum] = @__tbBill_BillNum_0
2022-02-20 21:47:19.091 +08:00 [INF] Executed action method WmsWebApi.PPlan.PurchaseService.AddAsync (WmsWebApi.Application), returned result Microsoft.AspNetCore.Mvc.ObjectResult in 162928.071ms.
2022-02-20 21:47:19.232 +08:00 [INF] Executed DbCommand (36ms) [Parameters=[@p0='?' (DbType = DateTime2), @p1='?' (Size = 64), @p2='?' (DbType = DateTime2), @p3='?' (DbType = Int32), @p4='?' (Size = 50), @p5='?' (DbType = Int32), @p6='?' (Size = 4000), @p7='?' (Size = 50), @p8='?' (Size = 50), @p9='?' (Size = 50), @p10='?' (DbType = Guid), @p11='?' (Size = 4000), @p12='?' (Size = 50), @p13='?' (Size = 4000), @p14='?' (Size = 4000), @p15='?' (Size = 4000), @p16='?' (Size = 4000), @p17='?' (Size = 50), @p18='?' (DbType = Int32), @p19='?' (DbType = Int32), @p20='?' (Size = 50), @p21='?' (Size = 50), @p22='?' (Size = 50)], CommandType='"Text"', CommandTimeout='30']
SET NOCOUNT ON;
INSERT INTO [TB_BILL] ([AccountDate], [BillNum], [BillTime], [BillType], [CustId], [DetailQty], [DockCode], [FinishTime], [GateCode], [GateName], [Guid], [OperName], [ProjectId], [Remark], [SourceBillNum], [SourceBillNum2], [SourceBillNum3], [StartTime], [State], [SubBillType], [TransportType], [TruckNum], [VendId])
VALUES (@p0, @p1, @p2, @p3, @p4, @p5, @p6, @p7, @p8, @p9, @p10, @p11, @p12, @p13, @p14, @p15, @p16, @p17, @p18, @p19, @p20, @p21, @p22);
SELECT [UID]
FROM [TB_BILL]
WHERE @@ROWCOUNT = 1 AND [UID] = scope_identity();
2022-02-20 21:47:19.288 +08:00 [INF] Executed DbCommand (38ms) [Parameters=[@p0='?' (Size = 50), @p1='?' (Size = 50), @p2='?' (Size = 4000), @p3='?' (Size = 4000), @p4='?' (Size = 4000), @p5='?' (Size = 4000), @p6='?' (Precision = 18) (Scale = 6) (DbType = Decimal), @p7='?' (Precision = 18) (Scale = 6) (DbType = Decimal), @p8='?' (Size = 4000), @p9='?' (Size = 50), @p10='?' (Size = 50), @p11='?' (DbType = DateTime2), @p12='?' (Precision = 18) (Scale = 6) (DbType = Decimal), @p13='?' (DbType = DateTime2), @p14='?' (Size = 4000), @p15='?' (Precision = 18) (Scale = 6) (DbType = Decimal), @p16='?' (Size = 4000), @p17='?' (DbType = Int32), @p18='?' (Size = 4000), @p19='?' (Size = 4000), @p20='?' (Size = 4000), @p21='?' (Size = 4000)], CommandType='"Text"', CommandTimeout='30']
SET NOCOUNT ON;
INSERT INTO [TB_PRODUCT_RECEIVE] ([BarCode], [BillNum], [Batch], [CellCode], [EqptCode], [FromLocCode], [GoodQty], [InvalidQty], [LineId], [PartCode], [PpBillNum], [ProduceDate], [Qty], [ReceiveDate], [Remark], [ScrapQty], [ShiftName], [State], [TeamName], [ToLocCode], [TraceBackCode], [Unit])
VALUES (@p0, @p1, @p2, @p3, @p4, @p5, @p6, @p7, @p8, @p9, @p10, @p11, @p12, @p13, @p14, @p15, @p16, @p17, @p18, @p19, @p20, @p21);
SELECT [UID]
FROM [TB_PRODUCT_RECEIVE]
WHERE @@ROWCOUNT = 1 AND [BarCode] = @p0 AND [BillNum] = @p1;
2022-02-20 21:47:19.321 +08:00 [INF] Executed DbCommand (31ms) [Parameters=[@p0='?' (Size = 50), @p1='?' (Size = 50), @p2='?' (Size = 4000), @p3='?' (Size = 4000), @p4='?' (Size = 4000), @p5='?' (Size = 4000), @p6='?' (Precision = 18) (Scale = 6) (DbType = Decimal), @p7='?' (Precision = 18) (Scale = 6) (DbType = Decimal), @p8='?' (Size = 4000), @p9='?' (Size = 50), @p10='?' (Size = 50), @p11='?' (DbType = DateTime2), @p12='?' (Precision = 18) (Scale = 6) (DbType = Decimal), @p13='?' (DbType = DateTime2), @p14='?' (Size = 4000), @p15='?' (Precision = 18) (Scale = 6) (DbType = Decimal), @p16='?' (Size = 4000), @p17='?' (DbType = Int32), @p18='?' (Size = 4000), @p19='?' (Size = 4000), @p20='?' (Size = 4000), @p21='?' (Size = 4000)], CommandType='"Text"', CommandTimeout='30']
SET NOCOUNT ON;
INSERT INTO [TB_PRODUCT_RECEIVE] ([BarCode], [BillNum], [Batch], [CellCode], [EqptCode], [FromLocCode], [GoodQty], [InvalidQty], [LineId], [PartCode], [PpBillNum], [ProduceDate], [Qty], [ReceiveDate], [Remark], [ScrapQty], [ShiftName], [State], [TeamName], [ToLocCode], [TraceBackCode], [Unit])
VALUES (@p0, @p1, @p2, @p3, @p4, @p5, @p6, @p7, @p8, @p9, @p10, @p11, @p12, @p13, @p14, @p15, @p16, @p17, @p18, @p19, @p20, @p21);
SELECT [UID]
FROM [TB_PRODUCT_RECEIVE]
WHERE @@ROWCOUNT = 1 AND [BarCode] = @p0 AND [BillNum] = @p1;
2022-02-20 21:47:19.371 +08:00 [DBG] Added 0 entity changes to the current audit log
2022-02-20 21:47:19.371 +08:00 [DBG] Added 0 entity changes to the current audit log
2022-02-20 21:47:19.372 +08:00 [INF] Executing ObjectResult, writing value of type 'WmsWebApi.PPlan.ReturnResult'.
2022-02-20 21:47:19.372 +08:00 [INF] Executed action WmsWebApi.PPlan.PurchaseService.AddAsync (WmsWebApi.Application) in 163290.7636ms
2022-02-20 21:47:19.372 +08:00 [INF] Executed endpoint 'WmsWebApi.PPlan.PurchaseService.AddAsync (WmsWebApi.Application)'
2022-02-20 21:47:19.373 +08:00 [INF] Entity Framework Core 5.0.14 initialized 'AbpAuditLoggingDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: QuerySplittingBehavior=SplitQuery
2022-02-20 21:47:19.471 +08:00 [INF] Executed DbCommand (63ms) [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-20 21:47:19.504 +08:00 [INF] Executed DbCommand (32ms) [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-20 21:47:19.559 +08:00 [DBG] Added 0 entity changes to the current audit log
2022-02-20 21:47:19.559 +08:00 [DBG] Added 0 entity changes to the current audit log
2022-02-20 21:47:19.560 +08:00 [INF] Request finished HTTP/2 POST https://localhost:5000/api/Purchase/add application/json 526 - 200 - application/json;+charset=utf-8 163523.3504ms
2022-02-20 21:54:04.013 +08:00 [INF] Starting web host.
2022-02-20 21:54:13.238 +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-20 21:54:13.555 +08:00 [INF] Loaded ABP modules:
2022-02-20 21:54:13.556 +08:00 [INF] - WmsWebApi.WmsWebApiHttpApiHostModule
2022-02-20 21:54:13.556 +08:00 [INF] - WmsWebApi.WmsWebApiApplicationModule
2022-02-20 21:54:13.556 +08:00 [INF] - WmsWebApi.WmsWebApiDomainModule
2022-02-20 21:54:13.556 +08:00 [INF] - Volo.Abp.Domain.AbpDddDomainModule
2022-02-20 21:54:13.556 +08:00 [INF] - Volo.Abp.Auditing.AbpAuditingModule
2022-02-20 21:54:13.556 +08:00 [INF] - Volo.Abp.Data.AbpDataModule
2022-02-20 21:54:13.556 +08:00 [INF] - Volo.Abp.ObjectExtending.AbpObjectExtendingModule
2022-02-20 21:54:13.556 +08:00 [INF] - Volo.Abp.Localization.AbpLocalizationAbstractionsModule
2022-02-20 21:54:13.556 +08:00 [INF] - Volo.Abp.Validation.AbpValidationAbstractionsModule
2022-02-20 21:54:13.556 +08:00 [INF] - Volo.Abp.Uow.AbpUnitOfWorkModule
2022-02-20 21:54:13.556 +08:00 [INF] - Volo.Abp.EventBus.Abstractions.AbpEventBusAbstractionsModule
2022-02-20 21:54:13.556 +08:00 [INF] - Volo.Abp.Json.AbpJsonModule
2022-02-20 21:54:13.556 +08:00 [INF] - Volo.Abp.Timing.AbpTimingModule
2022-02-20 21:54:13.556 +08:00 [INF] - Volo.Abp.Localization.AbpLocalizationModule
2022-02-20 21:54:13.556 +08:00 [INF] - Volo.Abp.VirtualFileSystem.AbpVirtualFileSystemModule
2022-02-20 21:54:13.556 +08:00 [INF] - Volo.Abp.Settings.AbpSettingsModule
2022-02-20 21:54:13.556 +08:00 [INF] - Volo.Abp.Security.AbpSecurityModule
2022-02-20 21:54:13.556 +08:00 [INF] - Volo.Abp.MultiTenancy.AbpMultiTenancyModule
2022-02-20 21:54:13.556 +08:00 [INF] - Volo.Abp.Threading.AbpThreadingModule
2022-02-20 21:54:13.556 +08:00 [INF] - Volo.Abp.EventBus.AbpEventBusModule
2022-02-20 21:54:13.556 +08:00 [INF] - Volo.Abp.Guids.AbpGuidsModule
2022-02-20 21:54:13.556 +08:00 [INF] - Volo.Abp.ObjectMapping.AbpObjectMappingModule
2022-02-20 21:54:13.556 +08:00 [INF] - Volo.Abp.ExceptionHandling.AbpExceptionHandlingModule
2022-02-20 21:54:13.556 +08:00 [INF] - Volo.Abp.Specifications.AbpSpecificationsModule
2022-02-20 21:54:13.556 +08:00 [INF] - WmsWebApi.WmsWebApiDomainSharedModule
2022-02-20 21:54:13.556 +08:00 [INF] - Volo.Abp.Validation.AbpValidationModule
2022-02-20 21:54:13.556 +08:00 [INF] - WmsWebApi.WmsWebApiApplicationContractsModule
2022-02-20 21:54:13.556 +08:00 [INF] - Volo.Abp.Application.AbpDddApplicationContractsModule
2022-02-20 21:54:13.556 +08:00 [INF] - Volo.Abp.Authorization.AbpAuthorizationModule
2022-02-20 21:54:13.556 +08:00 [INF] - Volo.Abp.Authorization.AbpAuthorizationAbstractionsModule
2022-02-20 21:54:13.556 +08:00 [INF] - Volo.Abp.Application.AbpDddApplicationModule
2022-02-20 21:54:13.556 +08:00 [INF] - Volo.Abp.Http.AbpHttpAbstractionsModule
2022-02-20 21:54:13.556 +08:00 [INF] - Volo.Abp.Features.AbpFeaturesModule
2022-02-20 21:54:13.556 +08:00 [INF] - Volo.Abp.GlobalFeatures.AbpGlobalFeaturesModule
2022-02-20 21:54:13.556 +08:00 [INF] - Volo.Abp.AutoMapper.AbpAutoMapperModule
2022-02-20 21:54:13.556 +08:00 [INF] - WmsWebApi.EntityFrameworkCore.WmsWebApiEntityFrameworkCoreModule
2022-02-20 21:54:13.556 +08:00 [INF] - Volo.Abp.EntityFrameworkCore.AbpEntityFrameworkCoreModule
2022-02-20 21:54:13.556 +08:00 [INF] - Volo.Abp.Dapper.AbpDapperModule
2022-02-20 21:54:13.556 +08:00 [INF] - WmsWebApi.WmsWebApiHttpApiModule
2022-02-20 21:54:13.556 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.AbpAspNetCoreMvcModule
2022-02-20 21:54:13.556 +08:00 [INF] - Volo.Abp.AspNetCore.AbpAspNetCoreModule
2022-02-20 21:54:13.556 +08:00 [INF] - Volo.Abp.Http.AbpHttpModule
2022-02-20 21:54:13.556 +08:00 [INF] - Volo.Abp.Minify.AbpMinifyModule
2022-02-20 21:54:13.556 +08:00 [INF] - Volo.Abp.ApiVersioning.AbpApiVersioningAbstractionsModule
2022-02-20 21:54:13.556 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.AbpAspNetCoreMvcContractsModule
2022-02-20 21:54:13.556 +08:00 [INF] - Volo.Abp.UI.Navigation.AbpUiNavigationModule
2022-02-20 21:54:13.556 +08:00 [INF] - Volo.Abp.UI.AbpUiModule
2022-02-20 21:54:13.556 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.MultiTenancy.AbpAspNetCoreMvcUiMultiTenancyModule
2022-02-20 21:54:13.556 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Theme.Shared.AbpAspNetCoreMvcUiThemeSharedModule
2022-02-20 21:54:13.556 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.AbpAspNetCoreMvcUiBootstrapModule
2022-02-20 21:54:13.556 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.AbpAspNetCoreMvcUiModule
2022-02-20 21:54:13.556 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Packages.AbpAspNetCoreMvcUiPackagesModule
2022-02-20 21:54:13.556 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Bundling.AbpAspNetCoreMvcUiBundlingAbstractionsModule
2022-02-20 21:54:13.556 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Widgets.AbpAspNetCoreMvcUiWidgetsModule
2022-02-20 21:54:13.556 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Bundling.AbpAspNetCoreMvcUiBundlingModule
2022-02-20 21:54:13.556 +08:00 [INF] - Volo.Abp.AspNetCore.MultiTenancy.AbpAspNetCoreMultiTenancyModule
2022-02-20 21:54:13.556 +08:00 [INF] - Volo.Abp.Autofac.AbpAutofacModule
2022-02-20 21:54:13.556 +08:00 [INF] - Volo.Abp.Castle.AbpCastleCoreModule
2022-02-20 21:54:13.556 +08:00 [INF] - Volo.Abp.Caching.StackExchangeRedis.AbpCachingStackExchangeRedisModule
2022-02-20 21:54:13.556 +08:00 [INF] - Volo.Abp.Caching.AbpCachingModule
2022-02-20 21:54:13.556 +08:00 [INF] - Volo.Abp.Serialization.AbpSerializationModule
2022-02-20 21:54:13.556 +08:00 [INF] - Volo.Abp.EntityFrameworkCore.SqlServer.AbpEntityFrameworkCoreSqlServerModule
2022-02-20 21:54:13.556 +08:00 [INF] - Volo.Abp.AuditLogging.EntityFrameworkCore.AbpAuditLoggingEntityFrameworkCoreModule
2022-02-20 21:54:13.556 +08:00 [INF] - Volo.Abp.AuditLogging.AbpAuditLoggingDomainModule
2022-02-20 21:54:13.556 +08:00 [INF] - Volo.Abp.AuditLogging.AbpAuditLoggingDomainSharedModule
2022-02-20 21:54:13.556 +08:00 [INF] - Volo.Abp.PermissionManagement.EntityFrameworkCore.AbpPermissionManagementEntityFrameworkCoreModule
2022-02-20 21:54:13.556 +08:00 [INF] - Volo.Abp.PermissionManagement.AbpPermissionManagementDomainModule
2022-02-20 21:54:13.556 +08:00 [INF] - Volo.Abp.PermissionManagement.AbpPermissionManagementDomainSharedModule
2022-02-20 21:54:13.556 +08:00 [INF] - Volo.Abp.SettingManagement.EntityFrameworkCore.AbpSettingManagementEntityFrameworkCoreModule
2022-02-20 21:54:13.556 +08:00 [INF] - Volo.Abp.SettingManagement.AbpSettingManagementDomainModule
2022-02-20 21:54:13.556 +08:00 [INF] - Volo.Abp.SettingManagement.AbpSettingManagementDomainSharedModule
2022-02-20 21:54:13.556 +08:00 [INF] - Volo.Abp.AspNetCore.Serilog.AbpAspNetCoreSerilogModule
2022-02-20 21:54:13.556 +08:00 [INF] - Volo.Abp.Swashbuckle.AbpSwashbuckleModule
2022-02-20 21:54:15.040 +08:00 [INF] Initialized all ABP modules.
2022-02-20 21:54:15.850 +08:00 [INF] Now listening on: https://localhost:5000
2022-02-20 21:54:15.852 +08:00 [INF] Application started. Press Ctrl+C to shut down.
2022-02-20 21:54:15.852 +08:00 [INF] Hosting environment: Development
2022-02-20 21:54:15.852 +08:00 [INF] Content root path: D:\工作\派格\接口程序\WmsWebApi\host\WmsWebApi.HttpApi.Host
2022-02-20 21:54:21.220 +08:00 [INF] Request starting HTTP/2 GET https://localhost:5000/ - -
2022-02-20 21:54:26.187 +08:00 [INF] Executing endpoint 'WmsWebApi.Controllers.HomeController.Index (WmsWebApi.HttpApi.Host)'
2022-02-20 21:54:26.378 +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-20 21:54:26.984 +08:00 [INF] Executing action method WmsWebApi.Controllers.HomeController.Index (WmsWebApi.HttpApi.Host) - Validation state: "Valid"
2022-02-20 21:54:27.004 +08:00 [INF] Executed action method WmsWebApi.Controllers.HomeController.Index (WmsWebApi.HttpApi.Host), returned result Microsoft.AspNetCore.Mvc.RedirectResult in 0.7834ms.
2022-02-20 21:54:27.022 +08:00 [INF] Executing RedirectResult, redirecting to /swagger.
2022-02-20 21:54:27.042 +08:00 [INF] Executed action WmsWebApi.Controllers.HomeController.Index (WmsWebApi.HttpApi.Host) in 647.4216ms
2022-02-20 21:54:27.044 +08:00 [INF] Executed endpoint 'WmsWebApi.Controllers.HomeController.Index (WmsWebApi.HttpApi.Host)'
2022-02-20 21:54:27.110 +08:00 [INF] Request finished HTTP/2 GET https://localhost:5000/ - - - 302 0 - 5899.3063ms
2022-02-20 21:54:27.182 +08:00 [INF] Request starting HTTP/2 GET https://localhost:5000/swagger/index.html - -
2022-02-20 21:54:27.823 +08:00 [INF] Request finished HTTP/2 GET https://localhost:5000/swagger/index.html - - - 200 - text/html;charset=utf-8 640.4711ms
2022-02-20 21:54:27.850 +08:00 [INF] Request starting HTTP/2 GET https://localhost:5000/_framework/aspnetcore-browser-refresh.js - -
2022-02-20 21:54:27.863 +08:00 [INF] Request finished HTTP/2 GET https://localhost:5000/_framework/aspnetcore-browser-refresh.js - - - 200 11956 application/javascript;+charset=utf-8 13.3663ms
2022-02-20 21:54:28.995 +08:00 [INF] Request starting HTTP/2 GET https://localhost:5000/swagger/v1/swagger.json - -
2022-02-20 21:54:29.479 +08:00 [INF] Request finished HTTP/2 GET https://localhost:5000/swagger/v1/swagger.json - - - 200 - application/json;charset=utf-8 483.5393ms
2022-02-20 21:55:03.002 +08:00 [INF] Starting web host.
2022-02-20 21:55:12.222 +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-20 21:55:12.357 +08:00 [INF] Loaded ABP modules:
2022-02-20 21:55:12.357 +08:00 [INF] - WmsWebApi.WmsWebApiHttpApiHostModule
2022-02-20 21:55:12.357 +08:00 [INF] - WmsWebApi.WmsWebApiApplicationModule
2022-02-20 21:55:12.357 +08:00 [INF] - WmsWebApi.WmsWebApiDomainModule
2022-02-20 21:55:12.357 +08:00 [INF] - Volo.Abp.Domain.AbpDddDomainModule
2022-02-20 21:55:12.357 +08:00 [INF] - Volo.Abp.Auditing.AbpAuditingModule
2022-02-20 21:55:12.357 +08:00 [INF] - Volo.Abp.Data.AbpDataModule
2022-02-20 21:55:12.357 +08:00 [INF] - Volo.Abp.ObjectExtending.AbpObjectExtendingModule
2022-02-20 21:55:12.357 +08:00 [INF] - Volo.Abp.Localization.AbpLocalizationAbstractionsModule
2022-02-20 21:55:12.357 +08:00 [INF] - Volo.Abp.Validation.AbpValidationAbstractionsModule
2022-02-20 21:55:12.357 +08:00 [INF] - Volo.Abp.Uow.AbpUnitOfWorkModule
2022-02-20 21:55:12.357 +08:00 [INF] - Volo.Abp.EventBus.Abstractions.AbpEventBusAbstractionsModule
2022-02-20 21:55:12.357 +08:00 [INF] - Volo.Abp.Json.AbpJsonModule
2022-02-20 21:55:12.357 +08:00 [INF] - Volo.Abp.Timing.AbpTimingModule
2022-02-20 21:55:12.357 +08:00 [INF] - Volo.Abp.Localization.AbpLocalizationModule
2022-02-20 21:55:12.357 +08:00 [INF] - Volo.Abp.VirtualFileSystem.AbpVirtualFileSystemModule
2022-02-20 21:55:12.358 +08:00 [INF] - Volo.Abp.Settings.AbpSettingsModule
2022-02-20 21:55:12.358 +08:00 [INF] - Volo.Abp.Security.AbpSecurityModule
2022-02-20 21:55:12.358 +08:00 [INF] - Volo.Abp.MultiTenancy.AbpMultiTenancyModule
2022-02-20 21:55:12.358 +08:00 [INF] - Volo.Abp.Threading.AbpThreadingModule
2022-02-20 21:55:12.358 +08:00 [INF] - Volo.Abp.EventBus.AbpEventBusModule
2022-02-20 21:55:12.358 +08:00 [INF] - Volo.Abp.Guids.AbpGuidsModule
2022-02-20 21:55:12.358 +08:00 [INF] - Volo.Abp.ObjectMapping.AbpObjectMappingModule
2022-02-20 21:55:12.358 +08:00 [INF] - Volo.Abp.ExceptionHandling.AbpExceptionHandlingModule
2022-02-20 21:55:12.358 +08:00 [INF] - Volo.Abp.Specifications.AbpSpecificationsModule
2022-02-20 21:55:12.358 +08:00 [INF] - WmsWebApi.WmsWebApiDomainSharedModule
2022-02-20 21:55:12.358 +08:00 [INF] - Volo.Abp.Validation.AbpValidationModule
2022-02-20 21:55:12.358 +08:00 [INF] - WmsWebApi.WmsWebApiApplicationContractsModule
2022-02-20 21:55:12.358 +08:00 [INF] - Volo.Abp.Application.AbpDddApplicationContractsModule
2022-02-20 21:55:12.358 +08:00 [INF] - Volo.Abp.Authorization.AbpAuthorizationModule
2022-02-20 21:55:12.358 +08:00 [INF] - Volo.Abp.Authorization.AbpAuthorizationAbstractionsModule
2022-02-20 21:55:12.358 +08:00 [INF] - Volo.Abp.Application.AbpDddApplicationModule
2022-02-20 21:55:12.358 +08:00 [INF] - Volo.Abp.Http.AbpHttpAbstractionsModule
2022-02-20 21:55:12.358 +08:00 [INF] - Volo.Abp.Features.AbpFeaturesModule
2022-02-20 21:55:12.358 +08:00 [INF] - Volo.Abp.GlobalFeatures.AbpGlobalFeaturesModule
2022-02-20 21:55:12.358 +08:00 [INF] - Volo.Abp.AutoMapper.AbpAutoMapperModule
2022-02-20 21:55:12.358 +08:00 [INF] - WmsWebApi.EntityFrameworkCore.WmsWebApiEntityFrameworkCoreModule
2022-02-20 21:55:12.358 +08:00 [INF] - Volo.Abp.EntityFrameworkCore.AbpEntityFrameworkCoreModule
2022-02-20 21:55:12.358 +08:00 [INF] - Volo.Abp.Dapper.AbpDapperModule
2022-02-20 21:55:12.358 +08:00 [INF] - WmsWebApi.WmsWebApiHttpApiModule
2022-02-20 21:55:12.358 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.AbpAspNetCoreMvcModule
2022-02-20 21:55:12.358 +08:00 [INF] - Volo.Abp.AspNetCore.AbpAspNetCoreModule
2022-02-20 21:55:12.358 +08:00 [INF] - Volo.Abp.Http.AbpHttpModule
2022-02-20 21:55:12.358 +08:00 [INF] - Volo.Abp.Minify.AbpMinifyModule
2022-02-20 21:55:12.358 +08:00 [INF] - Volo.Abp.ApiVersioning.AbpApiVersioningAbstractionsModule
2022-02-20 21:55:12.358 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.AbpAspNetCoreMvcContractsModule
2022-02-20 21:55:12.358 +08:00 [INF] - Volo.Abp.UI.Navigation.AbpUiNavigationModule
2022-02-20 21:55:12.358 +08:00 [INF] - Volo.Abp.UI.AbpUiModule
2022-02-20 21:55:12.358 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.MultiTenancy.AbpAspNetCoreMvcUiMultiTenancyModule
2022-02-20 21:55:12.358 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Theme.Shared.AbpAspNetCoreMvcUiThemeSharedModule
2022-02-20 21:55:12.358 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.AbpAspNetCoreMvcUiBootstrapModule
2022-02-20 21:55:12.358 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.AbpAspNetCoreMvcUiModule
2022-02-20 21:55:12.358 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Packages.AbpAspNetCoreMvcUiPackagesModule
2022-02-20 21:55:12.358 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Bundling.AbpAspNetCoreMvcUiBundlingAbstractionsModule
2022-02-20 21:55:12.358 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Widgets.AbpAspNetCoreMvcUiWidgetsModule
2022-02-20 21:55:12.358 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Bundling.AbpAspNetCoreMvcUiBundlingModule
2022-02-20 21:55:12.358 +08:00 [INF] - Volo.Abp.AspNetCore.MultiTenancy.AbpAspNetCoreMultiTenancyModule
2022-02-20 21:55:12.358 +08:00 [INF] - Volo.Abp.Autofac.AbpAutofacModule
2022-02-20 21:55:12.358 +08:00 [INF] - Volo.Abp.Castle.AbpCastleCoreModule
2022-02-20 21:55:12.358 +08:00 [INF] - Volo.Abp.Caching.StackExchangeRedis.AbpCachingStackExchangeRedisModule
2022-02-20 21:55:12.358 +08:00 [INF] - Volo.Abp.Caching.AbpCachingModule
2022-02-20 21:55:12.358 +08:00 [INF] - Volo.Abp.Serialization.AbpSerializationModule
2022-02-20 21:55:12.358 +08:00 [INF] - Volo.Abp.EntityFrameworkCore.SqlServer.AbpEntityFrameworkCoreSqlServerModule
2022-02-20 21:55:12.358 +08:00 [INF] - Volo.Abp.AuditLogging.EntityFrameworkCore.AbpAuditLoggingEntityFrameworkCoreModule
2022-02-20 21:55:12.358 +08:00 [INF] - Volo.Abp.AuditLogging.AbpAuditLoggingDomainModule
2022-02-20 21:55:12.358 +08:00 [INF] - Volo.Abp.AuditLogging.AbpAuditLoggingDomainSharedModule
2022-02-20 21:55:12.358 +08:00 [INF] - Volo.Abp.PermissionManagement.EntityFrameworkCore.AbpPermissionManagementEntityFrameworkCoreModule
2022-02-20 21:55:12.358 +08:00 [INF] - Volo.Abp.PermissionManagement.AbpPermissionManagementDomainModule
2022-02-20 21:55:12.358 +08:00 [INF] - Volo.Abp.PermissionManagement.AbpPermissionManagementDomainSharedModule
2022-02-20 21:55:12.358 +08:00 [INF] - Volo.Abp.SettingManagement.EntityFrameworkCore.AbpSettingManagementEntityFrameworkCoreModule
2022-02-20 21:55:12.358 +08:00 [INF] - Volo.Abp.SettingManagement.AbpSettingManagementDomainModule
2022-02-20 21:55:12.358 +08:00 [INF] - Volo.Abp.SettingManagement.AbpSettingManagementDomainSharedModule
2022-02-20 21:55:12.358 +08:00 [INF] - Volo.Abp.AspNetCore.Serilog.AbpAspNetCoreSerilogModule
2022-02-20 21:55:12.358 +08:00 [INF] - Volo.Abp.Swashbuckle.AbpSwashbuckleModule
2022-02-20 21:55:12.961 +08:00 [INF] Initialized all ABP modules.
2022-02-20 21:55:13.305 +08:00 [INF] Now listening on: https://localhost:5000
2022-02-20 21:55:13.306 +08:00 [INF] Application started. Press Ctrl+C to shut down.
2022-02-20 21:55:13.306 +08:00 [INF] Hosting environment: Development
2022-02-20 21:55:13.306 +08:00 [INF] Content root path: D:\工作\派格\接口程序\WmsWebApi\host\WmsWebApi.HttpApi.Host
2022-02-20 21:55:19.596 +08:00 [INF] Request starting HTTP/2 GET https://localhost:5000/ - -
2022-02-20 21:55:25.638 +08:00 [INF] Executing endpoint 'WmsWebApi.Controllers.HomeController.Index (WmsWebApi.HttpApi.Host)'
2022-02-20 21:55:25.841 +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-20 21:55:26.333 +08:00 [INF] Executing action method WmsWebApi.Controllers.HomeController.Index (WmsWebApi.HttpApi.Host) - Validation state: "Valid"
2022-02-20 21:55:26.349 +08:00 [INF] Executed action method WmsWebApi.Controllers.HomeController.Index (WmsWebApi.HttpApi.Host), returned result Microsoft.AspNetCore.Mvc.RedirectResult in 1.2674ms.
2022-02-20 21:55:26.368 +08:00 [INF] Executing RedirectResult, redirecting to /swagger.
2022-02-20 21:55:26.390 +08:00 [INF] Executed action WmsWebApi.Controllers.HomeController.Index (WmsWebApi.HttpApi.Host) in 531.6629ms
2022-02-20 21:55:26.391 +08:00 [INF] Executed endpoint 'WmsWebApi.Controllers.HomeController.Index (WmsWebApi.HttpApi.Host)'
2022-02-20 21:55:26.459 +08:00 [INF] Request finished HTTP/2 GET https://localhost:5000/ - - - 302 0 - 6886.4336ms
2022-02-20 21:55:26.467 +08:00 [INF] Request starting HTTP/2 GET https://localhost:5000/swagger/index.html - -
2022-02-20 21:55:26.980 +08:00 [INF] Request finished HTTP/2 GET https://localhost:5000/swagger/index.html - - - 200 - text/html;charset=utf-8 514.6884ms
2022-02-20 21:55:27.679 +08:00 [INF] Request starting HTTP/2 GET https://localhost:5000/_framework/aspnetcore-browser-refresh.js - -
2022-02-20 21:55:27.739 +08:00 [INF] Request finished HTTP/2 GET https://localhost:5000/_framework/aspnetcore-browser-refresh.js - - - 200 11956 application/javascript;+charset=utf-8 60.5173ms
2022-02-20 21:55:28.374 +08:00 [INF] Request starting HTTP/2 GET https://localhost:5000/swagger/v1/swagger.json - -
2022-02-20 21:55:28.945 +08:00 [INF] Request finished HTTP/2 GET https://localhost:5000/swagger/v1/swagger.json - - - 200 - application/json;charset=utf-8 571.0242ms
2022-02-20 21:55:58.768 +08:00 [INF] Request starting HTTP/2 GET https://localhost:5000/abp/Swashbuckle/SetCsrfCookie application/json -
2022-02-20 21:55:58.773 +08:00 [INF] Executing endpoint 'Volo.Abp.Swashbuckle.AbpSwashbuckleController.SetCsrfCookie (Volo.Abp.Swashbuckle)'
2022-02-20 21:55:58.776 +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-20 21:55:58.856 +08:00 [INF] Executing action method Volo.Abp.Swashbuckle.AbpSwashbuckleController.SetCsrfCookie (Volo.Abp.Swashbuckle) - Validation state: "Valid"
2022-02-20 21:55:58.867 +08:00 [INF] Executed action method Volo.Abp.Swashbuckle.AbpSwashbuckleController.SetCsrfCookie (Volo.Abp.Swashbuckle), returned result Microsoft.AspNetCore.Mvc.EmptyResult in 11.466ms.
2022-02-20 21:55:58.868 +08:00 [INF] Executed action Volo.Abp.Swashbuckle.AbpSwashbuckleController.SetCsrfCookie (Volo.Abp.Swashbuckle) in 91.8146ms
2022-02-20 21:55:58.868 +08:00 [INF] Executed endpoint 'Volo.Abp.Swashbuckle.AbpSwashbuckleController.SetCsrfCookie (Volo.Abp.Swashbuckle)'
2022-02-20 21:55:58.868 +08:00 [INF] Request finished HTTP/2 GET https://localhost:5000/abp/Swashbuckle/SetCsrfCookie application/json - - 204 - - 99.9370ms
2022-02-20 21:55:58.915 +08:00 [INF] Request starting HTTP/2 POST https://localhost:5000/api/Purchase/add application/json 526
2022-02-20 21:55:58.919 +08:00 [INF] CORS policy execution failed.
2022-02-20 21:55:58.919 +08:00 [INF] Request origin https://localhost:5000 does not have permission to access the resource.
2022-02-20 21:55:58.922 +08:00 [INF] Executing endpoint 'WmsWebApi.PPlan.PurchaseService.AddAsync (WmsWebApi.Application)'
2022-02-20 21:55:58.939 +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-20 21:56:00.294 +08:00 [INF] Executing action method WmsWebApi.PPlan.PurchaseService.AddAsync (WmsWebApi.Application) - Validation state: "Valid"
2022-02-20 21:56:02.450 +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-20 21:56:02.450 +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-20 21:56:02.450 +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-20 21:56:02.450 +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-20 21:56:02.450 +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-20 21:56:02.450 +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-20 21:56:02.451 +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-20 21:56:02.451 +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-20 21:56:02.451 +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-20 21:56:02.451 +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-20 21:56:02.451 +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-20 21:56:02.451 +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-20 21:56:02.451 +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-20 21:56:02.451 +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-20 21:56:02.451 +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-20 21:56:02.451 +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-20 21:56:02.451 +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-20 21:56:02.451 +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-20 21:56:02.451 +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-20 21:56:02.747 +08:00 [INF] Entity Framework Core 5.0.14 initialized 'WmsWebApiDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: QuerySplittingBehavior=SplitQuery
2022-02-20 21:56:03.838 +08:00 [INF] Executed DbCommand (83ms) [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-20 21:56:03.940 +08:00 [INF] Executed DbCommand (35ms) [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-20 21:56:04.123 +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-20 21:56:04.166 +08:00 [INF] Executed DbCommand (39ms) [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-20 21:56:04.203 +08:00 [INF] Executed DbCommand (36ms) [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-20 21:57:09.424 +08:00 [INF] Starting web host.
2022-02-20 21:57:20.298 +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-20 21:57:20.428 +08:00 [INF] Loaded ABP modules:
2022-02-20 21:57:20.428 +08:00 [INF] - WmsWebApi.WmsWebApiHttpApiHostModule
2022-02-20 21:57:20.428 +08:00 [INF] - WmsWebApi.WmsWebApiApplicationModule
2022-02-20 21:57:20.428 +08:00 [INF] - WmsWebApi.WmsWebApiDomainModule
2022-02-20 21:57:20.428 +08:00 [INF] - Volo.Abp.Domain.AbpDddDomainModule
2022-02-20 21:57:20.428 +08:00 [INF] - Volo.Abp.Auditing.AbpAuditingModule
2022-02-20 21:57:20.428 +08:00 [INF] - Volo.Abp.Data.AbpDataModule
2022-02-20 21:57:20.428 +08:00 [INF] - Volo.Abp.ObjectExtending.AbpObjectExtendingModule
2022-02-20 21:57:20.428 +08:00 [INF] - Volo.Abp.Localization.AbpLocalizationAbstractionsModule
2022-02-20 21:57:20.428 +08:00 [INF] - Volo.Abp.Validation.AbpValidationAbstractionsModule
2022-02-20 21:57:20.428 +08:00 [INF] - Volo.Abp.Uow.AbpUnitOfWorkModule
2022-02-20 21:57:20.428 +08:00 [INF] - Volo.Abp.EventBus.Abstractions.AbpEventBusAbstractionsModule
2022-02-20 21:57:20.428 +08:00 [INF] - Volo.Abp.Json.AbpJsonModule
2022-02-20 21:57:20.428 +08:00 [INF] - Volo.Abp.Timing.AbpTimingModule
2022-02-20 21:57:20.428 +08:00 [INF] - Volo.Abp.Localization.AbpLocalizationModule
2022-02-20 21:57:20.428 +08:00 [INF] - Volo.Abp.VirtualFileSystem.AbpVirtualFileSystemModule
2022-02-20 21:57:20.428 +08:00 [INF] - Volo.Abp.Settings.AbpSettingsModule
2022-02-20 21:57:20.428 +08:00 [INF] - Volo.Abp.Security.AbpSecurityModule
2022-02-20 21:57:20.428 +08:00 [INF] - Volo.Abp.MultiTenancy.AbpMultiTenancyModule
2022-02-20 21:57:20.428 +08:00 [INF] - Volo.Abp.Threading.AbpThreadingModule
2022-02-20 21:57:20.428 +08:00 [INF] - Volo.Abp.EventBus.AbpEventBusModule
2022-02-20 21:57:20.428 +08:00 [INF] - Volo.Abp.Guids.AbpGuidsModule
2022-02-20 21:57:20.428 +08:00 [INF] - Volo.Abp.ObjectMapping.AbpObjectMappingModule
2022-02-20 21:57:20.428 +08:00 [INF] - Volo.Abp.ExceptionHandling.AbpExceptionHandlingModule
2022-02-20 21:57:20.428 +08:00 [INF] - Volo.Abp.Specifications.AbpSpecificationsModule
2022-02-20 21:57:20.428 +08:00 [INF] - WmsWebApi.WmsWebApiDomainSharedModule
2022-02-20 21:57:20.428 +08:00 [INF] - Volo.Abp.Validation.AbpValidationModule
2022-02-20 21:57:20.428 +08:00 [INF] - WmsWebApi.WmsWebApiApplicationContractsModule
2022-02-20 21:57:20.428 +08:00 [INF] - Volo.Abp.Application.AbpDddApplicationContractsModule
2022-02-20 21:57:20.428 +08:00 [INF] - Volo.Abp.Authorization.AbpAuthorizationModule
2022-02-20 21:57:20.428 +08:00 [INF] - Volo.Abp.Authorization.AbpAuthorizationAbstractionsModule
2022-02-20 21:57:20.428 +08:00 [INF] - Volo.Abp.Application.AbpDddApplicationModule
2022-02-20 21:57:20.428 +08:00 [INF] - Volo.Abp.Http.AbpHttpAbstractionsModule
2022-02-20 21:57:20.428 +08:00 [INF] - Volo.Abp.Features.AbpFeaturesModule
2022-02-20 21:57:20.428 +08:00 [INF] - Volo.Abp.GlobalFeatures.AbpGlobalFeaturesModule
2022-02-20 21:57:20.428 +08:00 [INF] - Volo.Abp.AutoMapper.AbpAutoMapperModule
2022-02-20 21:57:20.428 +08:00 [INF] - WmsWebApi.EntityFrameworkCore.WmsWebApiEntityFrameworkCoreModule
2022-02-20 21:57:20.428 +08:00 [INF] - Volo.Abp.EntityFrameworkCore.AbpEntityFrameworkCoreModule
2022-02-20 21:57:20.428 +08:00 [INF] - Volo.Abp.Dapper.AbpDapperModule
2022-02-20 21:57:20.428 +08:00 [INF] - WmsWebApi.WmsWebApiHttpApiModule
2022-02-20 21:57:20.428 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.AbpAspNetCoreMvcModule
2022-02-20 21:57:20.428 +08:00 [INF] - Volo.Abp.AspNetCore.AbpAspNetCoreModule
2022-02-20 21:57:20.428 +08:00 [INF] - Volo.Abp.Http.AbpHttpModule
2022-02-20 21:57:20.428 +08:00 [INF] - Volo.Abp.Minify.AbpMinifyModule
2022-02-20 21:57:20.428 +08:00 [INF] - Volo.Abp.ApiVersioning.AbpApiVersioningAbstractionsModule
2022-02-20 21:57:20.428 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.AbpAspNetCoreMvcContractsModule
2022-02-20 21:57:20.428 +08:00 [INF] - Volo.Abp.UI.Navigation.AbpUiNavigationModule
2022-02-20 21:57:20.428 +08:00 [INF] - Volo.Abp.UI.AbpUiModule
2022-02-20 21:57:20.428 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.MultiTenancy.AbpAspNetCoreMvcUiMultiTenancyModule
2022-02-20 21:57:20.428 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Theme.Shared.AbpAspNetCoreMvcUiThemeSharedModule
2022-02-20 21:57:20.428 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.AbpAspNetCoreMvcUiBootstrapModule
2022-02-20 21:57:20.428 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.AbpAspNetCoreMvcUiModule
2022-02-20 21:57:20.428 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Packages.AbpAspNetCoreMvcUiPackagesModule
2022-02-20 21:57:20.428 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Bundling.AbpAspNetCoreMvcUiBundlingAbstractionsModule
2022-02-20 21:57:20.428 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Widgets.AbpAspNetCoreMvcUiWidgetsModule
2022-02-20 21:57:20.428 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Bundling.AbpAspNetCoreMvcUiBundlingModule
2022-02-20 21:57:20.428 +08:00 [INF] - Volo.Abp.AspNetCore.MultiTenancy.AbpAspNetCoreMultiTenancyModule
2022-02-20 21:57:20.428 +08:00 [INF] - Volo.Abp.Autofac.AbpAutofacModule
2022-02-20 21:57:20.428 +08:00 [INF] - Volo.Abp.Castle.AbpCastleCoreModule
2022-02-20 21:57:20.428 +08:00 [INF] - Volo.Abp.Caching.StackExchangeRedis.AbpCachingStackExchangeRedisModule
2022-02-20 21:57:20.428 +08:00 [INF] - Volo.Abp.Caching.AbpCachingModule
2022-02-20 21:57:20.428 +08:00 [INF] - Volo.Abp.Serialization.AbpSerializationModule
2022-02-20 21:57:20.428 +08:00 [INF] - Volo.Abp.EntityFrameworkCore.SqlServer.AbpEntityFrameworkCoreSqlServerModule
2022-02-20 21:57:20.428 +08:00 [INF] - Volo.Abp.AuditLogging.EntityFrameworkCore.AbpAuditLoggingEntityFrameworkCoreModule
2022-02-20 21:57:20.428 +08:00 [INF] - Volo.Abp.AuditLogging.AbpAuditLoggingDomainModule
2022-02-20 21:57:20.428 +08:00 [INF] - Volo.Abp.AuditLogging.AbpAuditLoggingDomainSharedModule
2022-02-20 21:57:20.428 +08:00 [INF] - Volo.Abp.PermissionManagement.EntityFrameworkCore.AbpPermissionManagementEntityFrameworkCoreModule
2022-02-20 21:57:20.428 +08:00 [INF] - Volo.Abp.PermissionManagement.AbpPermissionManagementDomainModule
2022-02-20 21:57:20.428 +08:00 [INF] - Volo.Abp.PermissionManagement.AbpPermissionManagementDomainSharedModule
2022-02-20 21:57:20.428 +08:00 [INF] - Volo.Abp.SettingManagement.EntityFrameworkCore.AbpSettingManagementEntityFrameworkCoreModule
2022-02-20 21:57:20.428 +08:00 [INF] - Volo.Abp.SettingManagement.AbpSettingManagementDomainModule
2022-02-20 21:57:20.428 +08:00 [INF] - Volo.Abp.SettingManagement.AbpSettingManagementDomainSharedModule
2022-02-20 21:57:20.428 +08:00 [INF] - Volo.Abp.AspNetCore.Serilog.AbpAspNetCoreSerilogModule
2022-02-20 21:57:20.428 +08:00 [INF] - Volo.Abp.Swashbuckle.AbpSwashbuckleModule
2022-02-20 21:57:21.461 +08:00 [INF] Initialized all ABP modules.
2022-02-20 21:57:22.288 +08:00 [INF] Now listening on: https://localhost:5000
2022-02-20 21:57:22.289 +08:00 [INF] Application started. Press Ctrl+C to shut down.
2022-02-20 21:57:22.289 +08:00 [INF] Hosting environment: Development
2022-02-20 21:57:22.289 +08:00 [INF] Content root path: D:\工作\派格\接口程序\WmsWebApi\host\WmsWebApi.HttpApi.Host
2022-02-20 21:57:26.691 +08:00 [INF] Request starting HTTP/2 GET https://localhost:5000/ - -
2022-02-20 21:57:30.478 +08:00 [INF] Executing endpoint 'WmsWebApi.Controllers.HomeController.Index (WmsWebApi.HttpApi.Host)'
2022-02-20 21:57:30.711 +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-20 21:57:31.273 +08:00 [INF] Executing action method WmsWebApi.Controllers.HomeController.Index (WmsWebApi.HttpApi.Host) - Validation state: "Valid"
2022-02-20 21:57:31.284 +08:00 [INF] Executed action method WmsWebApi.Controllers.HomeController.Index (WmsWebApi.HttpApi.Host), returned result Microsoft.AspNetCore.Mvc.RedirectResult in 0.7148ms.
2022-02-20 21:57:31.298 +08:00 [INF] Executing RedirectResult, redirecting to /swagger.
2022-02-20 21:57:31.312 +08:00 [INF] Executed action WmsWebApi.Controllers.HomeController.Index (WmsWebApi.HttpApi.Host) in 589.3636ms
2022-02-20 21:57:31.312 +08:00 [INF] Executed endpoint 'WmsWebApi.Controllers.HomeController.Index (WmsWebApi.HttpApi.Host)'
2022-02-20 21:57:31.361 +08:00 [INF] Request finished HTTP/2 GET https://localhost:5000/ - - - 302 0 - 4672.7048ms
2022-02-20 21:57:31.363 +08:00 [INF] Request starting HTTP/2 GET https://localhost:5000/swagger/index.html - -
2022-02-20 21:57:31.968 +08:00 [INF] Request finished HTTP/2 GET https://localhost:5000/swagger/index.html - - - 200 - text/html;charset=utf-8 605.0257ms
2022-02-20 21:57:32.803 +08:00 [INF] Request starting HTTP/2 GET https://localhost:5000/_framework/aspnetcore-browser-refresh.js - -
2022-02-20 21:57:32.809 +08:00 [INF] Request finished HTTP/2 GET https://localhost:5000/_framework/aspnetcore-browser-refresh.js - - - 200 11956 application/javascript;+charset=utf-8 6.0665ms
2022-02-20 21:57:33.287 +08:00 [INF] Request starting HTTP/2 GET https://localhost:5000/swagger/v1/swagger.json - -
2022-02-20 21:57:33.839 +08:00 [INF] Request finished HTTP/2 GET https://localhost:5000/swagger/v1/swagger.json - - - 200 - application/json;charset=utf-8 551.3095ms
2022-02-20 21:57:56.521 +08:00 [INF] Request starting HTTP/2 GET https://localhost:5000/abp/Swashbuckle/SetCsrfCookie application/json -
2022-02-20 21:57:56.525 +08:00 [INF] Executing endpoint 'Volo.Abp.Swashbuckle.AbpSwashbuckleController.SetCsrfCookie (Volo.Abp.Swashbuckle)'
2022-02-20 21:57:56.527 +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-20 21:57:56.608 +08:00 [INF] Executing action method Volo.Abp.Swashbuckle.AbpSwashbuckleController.SetCsrfCookie (Volo.Abp.Swashbuckle) - Validation state: "Valid"
2022-02-20 21:57:56.621 +08:00 [INF] Executed action method Volo.Abp.Swashbuckle.AbpSwashbuckleController.SetCsrfCookie (Volo.Abp.Swashbuckle), returned result Microsoft.AspNetCore.Mvc.EmptyResult in 12.3783ms.
2022-02-20 21:57:56.622 +08:00 [INF] Executed action Volo.Abp.Swashbuckle.AbpSwashbuckleController.SetCsrfCookie (Volo.Abp.Swashbuckle) in 94.0075ms
2022-02-20 21:57:56.622 +08:00 [INF] Executed endpoint 'Volo.Abp.Swashbuckle.AbpSwashbuckleController.SetCsrfCookie (Volo.Abp.Swashbuckle)'
2022-02-20 21:57:56.622 +08:00 [INF] Request finished HTTP/2 GET https://localhost:5000/abp/Swashbuckle/SetCsrfCookie application/json - - 204 - - 101.2599ms
2022-02-20 21:57:56.681 +08:00 [INF] Request starting HTTP/2 POST https://localhost:5000/api/Purchase/add application/json 526
2022-02-20 21:57:56.687 +08:00 [INF] CORS policy execution failed.
2022-02-20 21:57:56.687 +08:00 [INF] Request origin https://localhost:5000 does not have permission to access the resource.
2022-02-20 21:57:56.689 +08:00 [INF] Executing endpoint 'WmsWebApi.PPlan.PurchaseService.AddAsync (WmsWebApi.Application)'
2022-02-20 21:57:56.708 +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-20 21:57:58.330 +08:00 [INF] Executing action method WmsWebApi.PPlan.PurchaseService.AddAsync (WmsWebApi.Application) - Validation state: "Valid"
2022-02-20 21:57:59.938 +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-20 21:57:59.938 +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-20 21:57:59.938 +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-20 21:57:59.939 +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-20 21:57:59.939 +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-20 21:57:59.939 +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-20 21:57:59.939 +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-20 21:57:59.939 +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-20 21:57:59.939 +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-20 21:57:59.939 +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-20 21:57:59.939 +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-20 21:57:59.939 +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-20 21:57:59.939 +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-20 21:57:59.939 +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-20 21:57:59.939 +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-20 21:57:59.939 +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-20 21:57:59.939 +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-20 21:57:59.939 +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-20 21:57:59.939 +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-20 21:58:00.286 +08:00 [INF] Entity Framework Core 5.0.14 initialized 'WmsWebApiDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: QuerySplittingBehavior=SplitQuery
2022-02-20 21:58:01.394 +08:00 [INF] Executed DbCommand (87ms) [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-20 21:58:01.505 +08:00 [INF] Executed DbCommand (47ms) [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-20 21:59:58.291 +08:00 [INF] Executed DbCommand (68ms) [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-20 22:01:09.751 +08:00 [INF] Starting web host.
2022-02-20 22:01:19.970 +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-20 22:01:20.182 +08:00 [INF] Loaded ABP modules:
2022-02-20 22:01:20.182 +08:00 [INF] - WmsWebApi.WmsWebApiHttpApiHostModule
2022-02-20 22:01:20.182 +08:00 [INF] - WmsWebApi.WmsWebApiApplicationModule
2022-02-20 22:01:20.182 +08:00 [INF] - WmsWebApi.WmsWebApiDomainModule
2022-02-20 22:01:20.182 +08:00 [INF] - Volo.Abp.Domain.AbpDddDomainModule
2022-02-20 22:01:20.182 +08:00 [INF] - Volo.Abp.Auditing.AbpAuditingModule
2022-02-20 22:01:20.182 +08:00 [INF] - Volo.Abp.Data.AbpDataModule
2022-02-20 22:01:20.182 +08:00 [INF] - Volo.Abp.ObjectExtending.AbpObjectExtendingModule
2022-02-20 22:01:20.182 +08:00 [INF] - Volo.Abp.Localization.AbpLocalizationAbstractionsModule
2022-02-20 22:01:20.182 +08:00 [INF] - Volo.Abp.Validation.AbpValidationAbstractionsModule
2022-02-20 22:01:20.182 +08:00 [INF] - Volo.Abp.Uow.AbpUnitOfWorkModule
2022-02-20 22:01:20.182 +08:00 [INF] - Volo.Abp.EventBus.Abstractions.AbpEventBusAbstractionsModule
2022-02-20 22:01:20.182 +08:00 [INF] - Volo.Abp.Json.AbpJsonModule
2022-02-20 22:01:20.182 +08:00 [INF] - Volo.Abp.Timing.AbpTimingModule
2022-02-20 22:01:20.182 +08:00 [INF] - Volo.Abp.Localization.AbpLocalizationModule
2022-02-20 22:01:20.182 +08:00 [INF] - Volo.Abp.VirtualFileSystem.AbpVirtualFileSystemModule
2022-02-20 22:01:20.182 +08:00 [INF] - Volo.Abp.Settings.AbpSettingsModule
2022-02-20 22:01:20.182 +08:00 [INF] - Volo.Abp.Security.AbpSecurityModule
2022-02-20 22:01:20.182 +08:00 [INF] - Volo.Abp.MultiTenancy.AbpMultiTenancyModule
2022-02-20 22:01:20.182 +08:00 [INF] - Volo.Abp.Threading.AbpThreadingModule
2022-02-20 22:01:20.182 +08:00 [INF] - Volo.Abp.EventBus.AbpEventBusModule
2022-02-20 22:01:20.182 +08:00 [INF] - Volo.Abp.Guids.AbpGuidsModule
2022-02-20 22:01:20.182 +08:00 [INF] - Volo.Abp.ObjectMapping.AbpObjectMappingModule
2022-02-20 22:01:20.182 +08:00 [INF] - Volo.Abp.ExceptionHandling.AbpExceptionHandlingModule
2022-02-20 22:01:20.182 +08:00 [INF] - Volo.Abp.Specifications.AbpSpecificationsModule
2022-02-20 22:01:20.182 +08:00 [INF] - WmsWebApi.WmsWebApiDomainSharedModule
2022-02-20 22:01:20.182 +08:00 [INF] - Volo.Abp.Validation.AbpValidationModule
2022-02-20 22:01:20.182 +08:00 [INF] - WmsWebApi.WmsWebApiApplicationContractsModule
2022-02-20 22:01:20.182 +08:00 [INF] - Volo.Abp.Application.AbpDddApplicationContractsModule
2022-02-20 22:01:20.182 +08:00 [INF] - Volo.Abp.Authorization.AbpAuthorizationModule
2022-02-20 22:01:20.182 +08:00 [INF] - Volo.Abp.Authorization.AbpAuthorizationAbstractionsModule
2022-02-20 22:01:20.182 +08:00 [INF] - Volo.Abp.Application.AbpDddApplicationModule
2022-02-20 22:01:20.182 +08:00 [INF] - Volo.Abp.Http.AbpHttpAbstractionsModule
2022-02-20 22:01:20.182 +08:00 [INF] - Volo.Abp.Features.AbpFeaturesModule
2022-02-20 22:01:20.182 +08:00 [INF] - Volo.Abp.GlobalFeatures.AbpGlobalFeaturesModule
2022-02-20 22:01:20.182 +08:00 [INF] - Volo.Abp.AutoMapper.AbpAutoMapperModule
2022-02-20 22:01:20.182 +08:00 [INF] - WmsWebApi.EntityFrameworkCore.WmsWebApiEntityFrameworkCoreModule
2022-02-20 22:01:20.182 +08:00 [INF] - Volo.Abp.EntityFrameworkCore.AbpEntityFrameworkCoreModule
2022-02-20 22:01:20.182 +08:00 [INF] - Volo.Abp.Dapper.AbpDapperModule
2022-02-20 22:01:20.182 +08:00 [INF] - WmsWebApi.WmsWebApiHttpApiModule
2022-02-20 22:01:20.182 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.AbpAspNetCoreMvcModule
2022-02-20 22:01:20.182 +08:00 [INF] - Volo.Abp.AspNetCore.AbpAspNetCoreModule
2022-02-20 22:01:20.182 +08:00 [INF] - Volo.Abp.Http.AbpHttpModule
2022-02-20 22:01:20.182 +08:00 [INF] - Volo.Abp.Minify.AbpMinifyModule
2022-02-20 22:01:20.182 +08:00 [INF] - Volo.Abp.ApiVersioning.AbpApiVersioningAbstractionsModule
2022-02-20 22:01:20.182 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.AbpAspNetCoreMvcContractsModule
2022-02-20 22:01:20.182 +08:00 [INF] - Volo.Abp.UI.Navigation.AbpUiNavigationModule
2022-02-20 22:01:20.182 +08:00 [INF] - Volo.Abp.UI.AbpUiModule
2022-02-20 22:01:20.182 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.MultiTenancy.AbpAspNetCoreMvcUiMultiTenancyModule
2022-02-20 22:01:20.182 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Theme.Shared.AbpAspNetCoreMvcUiThemeSharedModule
2022-02-20 22:01:20.182 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.AbpAspNetCoreMvcUiBootstrapModule
2022-02-20 22:01:20.182 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.AbpAspNetCoreMvcUiModule
2022-02-20 22:01:20.182 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Packages.AbpAspNetCoreMvcUiPackagesModule
2022-02-20 22:01:20.182 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Bundling.AbpAspNetCoreMvcUiBundlingAbstractionsModule
2022-02-20 22:01:20.182 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Widgets.AbpAspNetCoreMvcUiWidgetsModule
2022-02-20 22:01:20.182 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Bundling.AbpAspNetCoreMvcUiBundlingModule
2022-02-20 22:01:20.182 +08:00 [INF] - Volo.Abp.AspNetCore.MultiTenancy.AbpAspNetCoreMultiTenancyModule
2022-02-20 22:01:20.182 +08:00 [INF] - Volo.Abp.Autofac.AbpAutofacModule
2022-02-20 22:01:20.182 +08:00 [INF] - Volo.Abp.Castle.AbpCastleCoreModule
2022-02-20 22:01:20.182 +08:00 [INF] - Volo.Abp.Caching.StackExchangeRedis.AbpCachingStackExchangeRedisModule
2022-02-20 22:01:20.182 +08:00 [INF] - Volo.Abp.Caching.AbpCachingModule
2022-02-20 22:01:20.183 +08:00 [INF] - Volo.Abp.Serialization.AbpSerializationModule
2022-02-20 22:01:20.183 +08:00 [INF] - Volo.Abp.EntityFrameworkCore.SqlServer.AbpEntityFrameworkCoreSqlServerModule
2022-02-20 22:01:20.183 +08:00 [INF] - Volo.Abp.AuditLogging.EntityFrameworkCore.AbpAuditLoggingEntityFrameworkCoreModule
2022-02-20 22:01:20.183 +08:00 [INF] - Volo.Abp.AuditLogging.AbpAuditLoggingDomainModule
2022-02-20 22:01:20.183 +08:00 [INF] - Volo.Abp.AuditLogging.AbpAuditLoggingDomainSharedModule
2022-02-20 22:01:20.183 +08:00 [INF] - Volo.Abp.PermissionManagement.EntityFrameworkCore.AbpPermissionManagementEntityFrameworkCoreModule
2022-02-20 22:01:20.183 +08:00 [INF] - Volo.Abp.PermissionManagement.AbpPermissionManagementDomainModule
2022-02-20 22:01:20.183 +08:00 [INF] - Volo.Abp.PermissionManagement.AbpPermissionManagementDomainSharedModule
2022-02-20 22:01:20.183 +08:00 [INF] - Volo.Abp.SettingManagement.EntityFrameworkCore.AbpSettingManagementEntityFrameworkCoreModule
2022-02-20 22:01:20.183 +08:00 [INF] - Volo.Abp.SettingManagement.AbpSettingManagementDomainModule
2022-02-20 22:01:20.183 +08:00 [INF] - Volo.Abp.SettingManagement.AbpSettingManagementDomainSharedModule
2022-02-20 22:01:20.183 +08:00 [INF] - Volo.Abp.AspNetCore.Serilog.AbpAspNetCoreSerilogModule
2022-02-20 22:01:20.183 +08:00 [INF] - Volo.Abp.Swashbuckle.AbpSwashbuckleModule
2022-02-20 22:01:21.793 +08:00 [INF] Initialized all ABP modules.
2022-02-20 22:01:22.683 +08:00 [INF] Now listening on: https://localhost:5000
2022-02-20 22:01:22.683 +08:00 [INF] Application started. Press Ctrl+C to shut down.
2022-02-20 22:01:22.683 +08:00 [INF] Hosting environment: Development
2022-02-20 22:01:22.684 +08:00 [INF] Content root path: D:\工作\派格\接口程序\WmsWebApi\host\WmsWebApi.HttpApi.Host
2022-02-20 22:01:27.436 +08:00 [INF] Request starting HTTP/2 GET https://localhost:5000/ - -
2022-02-20 22:01:31.606 +08:00 [INF] Executing endpoint 'WmsWebApi.Controllers.HomeController.Index (WmsWebApi.HttpApi.Host)'
2022-02-20 22:01:31.775 +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-20 22:01:32.296 +08:00 [INF] Executing action method WmsWebApi.Controllers.HomeController.Index (WmsWebApi.HttpApi.Host) - Validation state: "Valid"
2022-02-20 22:01:32.313 +08:00 [INF] Executed action method WmsWebApi.Controllers.HomeController.Index (WmsWebApi.HttpApi.Host), returned result Microsoft.AspNetCore.Mvc.RedirectResult in 0.8479ms.
2022-02-20 22:01:32.331 +08:00 [INF] Executing RedirectResult, redirecting to /swagger.
2022-02-20 22:01:32.355 +08:00 [INF] Executed action WmsWebApi.Controllers.HomeController.Index (WmsWebApi.HttpApi.Host) in 559.0534ms
2022-02-20 22:01:32.356 +08:00 [INF] Executed endpoint 'WmsWebApi.Controllers.HomeController.Index (WmsWebApi.HttpApi.Host)'
2022-02-20 22:01:32.429 +08:00 [INF] Request finished HTTP/2 GET https://localhost:5000/ - - - 302 0 - 4996.5222ms
2022-02-20 22:01:32.470 +08:00 [INF] Request starting HTTP/2 GET https://localhost:5000/swagger/index.html - -
2022-02-20 22:01:32.950 +08:00 [INF] Request finished HTTP/2 GET https://localhost:5000/swagger/index.html - - - 200 - text/html;charset=utf-8 480.5865ms
2022-02-20 22:01:33.472 +08:00 [INF] Request starting HTTP/2 GET https://localhost:5000/_framework/aspnetcore-browser-refresh.js - -
2022-02-20 22:01:33.478 +08:00 [INF] Request finished HTTP/2 GET https://localhost:5000/_framework/aspnetcore-browser-refresh.js - - - 200 11956 application/javascript;+charset=utf-8 6.9509ms
2022-02-20 22:01:33.898 +08:00 [INF] Request starting HTTP/2 GET https://localhost:5000/swagger/v1/swagger.json - -
2022-02-20 22:01:34.280 +08:00 [INF] Request finished HTTP/2 GET https://localhost:5000/swagger/v1/swagger.json - - - 200 - application/json;charset=utf-8 382.1053ms
2022-02-20 22:03:46.040 +08:00 [INF] Request starting HTTP/2 GET https://localhost:5000/abp/Swashbuckle/SetCsrfCookie application/json -
2022-02-20 22:03:46.118 +08:00 [INF] Executing endpoint 'Volo.Abp.Swashbuckle.AbpSwashbuckleController.SetCsrfCookie (Volo.Abp.Swashbuckle)'
2022-02-20 22:03:46.124 +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-20 22:03:46.281 +08:00 [INF] Executing action method Volo.Abp.Swashbuckle.AbpSwashbuckleController.SetCsrfCookie (Volo.Abp.Swashbuckle) - Validation state: "Valid"
2022-02-20 22:03:46.298 +08:00 [INF] Executed action method Volo.Abp.Swashbuckle.AbpSwashbuckleController.SetCsrfCookie (Volo.Abp.Swashbuckle), returned result Microsoft.AspNetCore.Mvc.EmptyResult in 16.8479ms.
2022-02-20 22:03:46.299 +08:00 [INF] Executed action Volo.Abp.Swashbuckle.AbpSwashbuckleController.SetCsrfCookie (Volo.Abp.Swashbuckle) in 174.6176ms
2022-02-20 22:03:46.299 +08:00 [INF] Executed endpoint 'Volo.Abp.Swashbuckle.AbpSwashbuckleController.SetCsrfCookie (Volo.Abp.Swashbuckle)'
2022-02-20 22:03:46.302 +08:00 [INF] Request finished HTTP/2 GET https://localhost:5000/abp/Swashbuckle/SetCsrfCookie application/json - - 204 - - 261.0441ms
2022-02-20 22:03:46.384 +08:00 [INF] Request starting HTTP/2 POST https://localhost:5000/api/Purchase/add application/json 526
2022-02-20 22:03:46.391 +08:00 [INF] CORS policy execution failed.
2022-02-20 22:03:46.392 +08:00 [INF] Request origin https://localhost:5000 does not have permission to access the resource.
2022-02-20 22:03:46.395 +08:00 [INF] Executing endpoint 'WmsWebApi.PPlan.PurchaseService.AddAsync (WmsWebApi.Application)'
2022-02-20 22:03:46.425 +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-20 22:03:47.630 +08:00 [INF] Executing action method WmsWebApi.PPlan.PurchaseService.AddAsync (WmsWebApi.Application) - Validation state: "Valid"
2022-02-20 22:03:49.310 +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-20 22:03:49.310 +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-20 22:03:49.310 +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-20 22:03:49.310 +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-20 22:03:49.310 +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-20 22:03:49.310 +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-20 22:03:49.310 +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-20 22:03:49.310 +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-20 22:03:49.310 +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-20 22:03:49.310 +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-20 22:03:49.310 +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-20 22:03:49.310 +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-20 22:03:49.310 +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-20 22:03:49.310 +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-20 22:03:49.310 +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-20 22:03:49.311 +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-20 22:03:49.311 +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-20 22:03:49.311 +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-20 22:03:49.311 +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-20 22:03:49.537 +08:00 [INF] Entity Framework Core 5.0.14 initialized 'WmsWebApiDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: QuerySplittingBehavior=SplitQuery
2022-02-20 22:03:51.110 +08:00 [INF] Executed DbCommand (143ms) [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-20 22:03:51.297 +08:00 [INF] Executed DbCommand (42ms) [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-20 22:03:58.670 +08:00 [INF] Executed DbCommand (82ms) [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-20 22:04:08.119 +08:00 [INF] Executed DbCommand (73ms) [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-20 22:04:11.771 +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-20 22:04:42.724 +08:00 [INF] Executed DbCommand (33ms) [Parameters=[@__tbBill_BillNum_0='?' (Size = 64)], CommandType='"Text"', CommandTimeout='30']
SELECT TOP(1) [t].[UID], [t].[AccountDate], [t].[BillNum], [t].[BillTime], [t].[BillType], [t].[CustId], [t].[DetailQty], [t].[DockCode], [t].[FinishTime], [t].[GateCode], [t].[GateName], [t].[Guid], [t].[OperName], [t].[ProjectId], [t].[Remark], [t].[SourceBillNum], [t].[SourceBillNum2], [t].[SourceBillNum3], [t].[StartTime], [t].[State], [t].[SubBillType], [t].[TransportType], [t].[TruckNum], [t].[VendId]
FROM [TB_BILL] AS [t]
WHERE [t].[BillNum] = @__tbBill_BillNum_0
2022-02-20 22:05:08.546 +08:00 [INF] Executed action method WmsWebApi.PPlan.PurchaseService.AddAsync (WmsWebApi.Application), returned result Microsoft.AspNetCore.Mvc.ObjectResult in 80915.8956ms.
2022-02-20 22:05:09.035 +08:00 [INF] Executed DbCommand (90ms) [Parameters=[@p0='?' (DbType = DateTime2), @p1='?' (Size = 64), @p2='?' (DbType = DateTime2), @p3='?' (DbType = Int32), @p4='?' (Size = 50), @p5='?' (DbType = Int32), @p6='?' (Size = 4000), @p7='?' (Size = 50), @p8='?' (Size = 50), @p9='?' (Size = 50), @p10='?' (DbType = Guid), @p11='?' (Size = 4000), @p12='?' (Size = 50), @p13='?' (Size = 4000), @p14='?' (Size = 4000), @p15='?' (Size = 4000), @p16='?' (Size = 4000), @p17='?' (Size = 50), @p18='?' (DbType = Int32), @p19='?' (DbType = Int32), @p20='?' (Size = 50), @p21='?' (Size = 50), @p22='?' (Size = 50), @p23='?' (Size = 50), @p24='?' (Size = 50), @p25='?' (Size = 4000), @p26='?' (Size = 4000), @p27='?' (Size = 4000), @p28='?' (Size = 4000), @p29='?' (Precision = 18) (Scale = 6) (DbType = Decimal), @p30='?' (Precision = 18) (Scale = 6) (DbType = Decimal), @p31='?' (Size = 4000), @p32='?' (Size = 50), @p33='?' (Size = 50), @p34='?' (DbType = DateTime2), @p35='?' (Precision = 18) (Scale = 6) (DbType = Decimal), @p36='?' (DbType = DateTime2), @p37='?' (Size = 4000), @p38='?' (Precision = 18) (Scale = 6) (DbType = Decimal), @p39='?' (Size = 4000), @p40='?' (DbType = Int32), @p41='?' (Size = 4000), @p42='?' (Size = 4000), @p43='?' (Size = 4000), @p44='?' (Size = 4000), @p45='?' (Size = 50), @p46='?' (Size = 50), @p47='?' (Size = 4000), @p48='?' (Size = 4000), @p49='?' (Size = 4000), @p50='?' (Size = 4000), @p51='?' (Precision = 18) (Scale = 6) (DbType = Decimal), @p52='?' (Precision = 18) (Scale = 6) (DbType = Decimal), @p53='?' (Size = 4000), @p54='?' (Size = 50), @p55='?' (Size = 50), @p56='?' (DbType = DateTime2), @p57='?' (Precision = 18) (Scale = 6) (DbType = Decimal), @p58='?' (DbType = DateTime2), @p59='?' (Size = 4000), @p60='?' (Precision = 18) (Scale = 6) (DbType = Decimal), @p61='?' (Size = 4000), @p62='?' (DbType = Int32), @p63='?' (Size = 4000), @p64='?' (Size = 4000), @p65='?' (Size = 4000), @p66='?' (Size = 4000), @p67='?' (Size = 4000), @p68='?' (Size = 4000), @p69='?' (Size = 50), @p70='?' (DbType = Int32), @p71='?' (Size = 4000), @p72='?' (Size = 4000), @p73='?' (DbType = DateTime2), @p74='?' (Size = 80), @p75='?' (Size = 4000), @p76='?' (Precision = 18) (Scale = 6) (DbType = Decimal), @p77='?' (Size = 500), @p78='?' (DbType = Int32), @p79='?' (DbType = Int32), @p80='?' (DbType = Int32), @p81='?' (Size = 4000), @p82='?' (Size = 4000), @p83='?' (Size = 4000), @p84='?' (Size = 50), @p85='?' (DbType = Int32), @p86='?' (Size = 4000), @p87='?' (Size = 4000), @p88='?' (DbType = DateTime2), @p89='?' (Size = 80), @p90='?' (Size = 4000), @p91='?' (Precision = 18) (Scale = 6) (DbType = Decimal), @p92='?' (Size = 500), @p93='?' (DbType = Int32), @p94='?' (DbType = Int32), @p95='?' (DbType = Int32), @p96='?' (Size = 4000), @p97='?' (Size = 50), @p98='?' (Size = 50), @p99='?' (DbType = Int32), @p100='?' (Precision = 18) (Scale = 6) (DbType = Decimal), @p101='?' (Size = 50), @p102='?' (Size = 4000), @p103='?' (Size = 4000), @p104='?' (DbType = DateTime2), @p105='?' (Size = 50), @p106='?' (Size = 4000), @p107='?' (DbType = DateTime2), @p108='?' (Precision = 18) (Scale = 6) (DbType = Decimal), @p109='?' (DbType = DateTime2), @p110='?' (Size = 4000), @p111='?' (Size = 4000), @p112='?' (Precision = 18) (Scale = 6) (DbType = Decimal), @p113='?' (DbType = DateTime2), @p114='?' (Size = 4000), @p115='?' (Size = 4000), @p116='?' (DbType = Int32), @p117='?' (Size = 50), @p118='?' (Size = 50), @p119='?' (DbType = Int32), @p120='?' (Precision = 18) (Scale = 6) (DbType = Decimal), @p121='?' (Size = 50), @p122='?' (Size = 4000), @p123='?' (Size = 4000), @p124='?' (DbType = DateTime2), @p125='?' (Size = 50), @p126='?' (Size = 4000), @p127='?' (DbType = DateTime2), @p128='?' (Precision = 18) (Scale = 6) (DbType = Decimal), @p129='?' (DbType = DateTime2), @p130='?' (Size = 4000), @p131='?' (Size = 4000), @p132='?' (Precision = 18) (Scale = 6) (DbType = Decimal), @p133='?' (DbType = DateTime2), @p134='?' (Size = 4000), @p135='?' (Size = 4000), @p136='?' (DbType = Int32), @p137='?' (DbType = Guid), @p138='?' (Size = 4000), @p139='?' (DbType = DateTime2), @p140='?' (Size = 4000), @p141='?' (Size = 4000), @p142='?' (Size = 10), @p143='?' (Size = 10)], CommandType='"Text"', CommandTimeout='30']
SET NOCOUNT ON;
INSERT INTO [TB_BILL] ([AccountDate], [BillNum], [BillTime], [BillType], [CustId], [DetailQty], [DockCode], [FinishTime], [GateCode], [GateName], [Guid], [OperName], [ProjectId], [Remark], [SourceBillNum], [SourceBillNum2], [SourceBillNum3], [StartTime], [State], [SubBillType], [TransportType], [TruckNum], [VendId])
VALUES (@p0, @p1, @p2, @p3, @p4, @p5, @p6, @p7, @p8, @p9, @p10, @p11, @p12, @p13, @p14, @p15, @p16, @p17, @p18, @p19, @p20, @p21, @p22);
SELECT [UID]
FROM [TB_BILL]
WHERE @@ROWCOUNT = 1 AND [UID] = scope_identity();
DECLARE @inserted1 TABLE ([BarCode] nvarchar(50), [BillNum] nvarchar(50), [_Position] [int]);
MERGE [TB_PRODUCT_RECEIVE] USING (
VALUES (@p23, @p24, @p25, @p26, @p27, @p28, @p29, @p30, @p31, @p32, @p33, @p34, @p35, @p36, @p37, @p38, @p39, @p40, @p41, @p42, @p43, @p44, 0),
(@p45, @p46, @p47, @p48, @p49, @p50, @p51, @p52, @p53, @p54, @p55, @p56, @p57, @p58, @p59, @p60, @p61, @p62, @p63, @p64, @p65, @p66, 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 @inserted1;
SELECT [t].[UID] FROM [TB_PRODUCT_RECEIVE] t
INNER JOIN @inserted1 i ON ([t].[BarCode] = [i].[BarCode]) AND ([t].[BillNum] = [i].[BillNum])
ORDER BY [i].[_Position];
DECLARE @inserted3 TABLE ([UID] bigint, [_Position] [int]);
MERGE [TL_TRANSACTION] USING (
VALUES (@p67, @p68, @p69, @p70, @p71, @p72, @p73, @p74, @p75, @p76, @p77, @p78, @p79, @p80, @p81, 0),
(@p82, @p83, @p84, @p85, @p86, @p87, @p88, @p89, @p90, @p91, @p92, @p93, @p94, @p95, @p96, 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 @inserted3;
SELECT [t].[UID] FROM [TL_TRANSACTION] t
INNER JOIN @inserted3 i ON ([t].[UID] = [i].[UID])
ORDER BY [i].[_Position];
DECLARE @inserted5 TABLE ([BarCode] nvarchar(50), [LocCode] nvarchar(50), [State] int, [_Position] [int]);
MERGE [TS_STOCK_DETAIL] USING (
VALUES (@p97, @p98, @p99, @p100, @p101, @p102, @p103, @p104, @p105, @p106, @p107, @p108, @p109, @p110, @p111, @p112, @p113, @p114, @p115, @p116, 0),
(@p117, @p118, @p119, @p120, @p121, @p122, @p123, @p124, @p125, @p126, @p127, @p128, @p129, @p130, @p131, @p132, @p133, @p134, @p135, @p136, 1)) AS i ([BarCode], [LocCode], [State], [Amount], [AreaCode], [Batch], [EqptCode], [OverdueDate], [PartCode], [PlanOrderId], [ProduceDate], [Qty], [ReceiveDate], [Remark], [TracebackCode], [UpdateQty], [UpdateTime], [VendBatch], [VendId], [VinState], _Position) ON 1=0
WHEN NOT MATCHED THEN
INSERT ([BarCode], [LocCode], [State], [Amount], [AreaCode], [Batch], [EqptCode], [OverdueDate], [PartCode], [PlanOrderId], [ProduceDate], [Qty], [ReceiveDate], [Remark], [TracebackCode], [UpdateQty], [UpdateTime], [VendBatch], [VendId], [VinState])
VALUES (i.[BarCode], i.[LocCode], i.[State], i.[Amount], i.[AreaCode], i.[Batch], i.[EqptCode], i.[OverdueDate], i.[PartCode], i.[PlanOrderId], i.[ProduceDate], i.[Qty], i.[ReceiveDate], i.[Remark], i.[TracebackCode], i.[UpdateQty], i.[UpdateTime], i.[VendBatch], i.[VendId], i.[VinState])
OUTPUT INSERTED.[BarCode], INSERTED.[LocCode], INSERTED.[State], i._Position
INTO @inserted5;
SELECT [t].[UID], [t].[Version] FROM [TS_STOCK_DETAIL] t
INNER JOIN @inserted5 i ON ([t].[BarCode] = [i].[BarCode]) AND ([t].[LocCode] = [i].[LocCode]) AND ([t].[State] = [i].[State])
ORDER BY [i].[_Position];
INSERT INTO [WmsWebApiPURCHASEDTO] ([Id], [BUDAT], [DYSJ], [ITYPE], [JSON], [MBLNR], [MJAHR])
VALUES (@p137, @p138, @p139, @p140, @p141, @p142, @p143);
2022-02-20 22:05:09.365 +08:00 [DBG] Added 0 entity changes to the current audit log
2022-02-20 22:05:09.366 +08:00 [DBG] Added 0 entity changes to the current audit log
2022-02-20 22:05:09.390 +08:00 [INF] Executing ObjectResult, writing value of type 'WmsWebApi.PPlan.ReturnResult'.
2022-02-20 22:05:09.409 +08:00 [INF] Executed action WmsWebApi.PPlan.PurchaseService.AddAsync (WmsWebApi.Application) in 82982.9859ms
2022-02-20 22:05:09.410 +08:00 [INF] Executed endpoint 'WmsWebApi.PPlan.PurchaseService.AddAsync (WmsWebApi.Application)'
2022-02-20 22:05:09.690 +08:00 [INF] Entity Framework Core 5.0.14 initialized 'AbpAuditLoggingDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: QuerySplittingBehavior=SplitQuery
2022-02-20 22:05:10.033 +08:00 [INF] Executed DbCommand (36ms) [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-20 22:05:10.065 +08:00 [INF] Executed DbCommand (31ms) [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-20 22:05:10.133 +08:00 [DBG] Added 0 entity changes to the current audit log
2022-02-20 22:05:10.133 +08:00 [DBG] Added 0 entity changes to the current audit log
2022-02-20 22:05:10.135 +08:00 [INF] Request finished HTTP/2 POST https://localhost:5000/api/Purchase/add application/json 526 - 200 - application/json;+charset=utf-8 83750.7658ms
2022-02-20 22:08:39.499 +08:00 [INF] Starting web host.
2022-02-20 22:08:50.359 +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-20 22:08:50.490 +08:00 [INF] Loaded ABP modules:
2022-02-20 22:08:50.490 +08:00 [INF] - WmsWebApi.WmsWebApiHttpApiHostModule
2022-02-20 22:08:50.490 +08:00 [INF] - WmsWebApi.WmsWebApiApplicationModule
2022-02-20 22:08:50.490 +08:00 [INF] - WmsWebApi.WmsWebApiDomainModule
2022-02-20 22:08:50.490 +08:00 [INF] - Volo.Abp.Domain.AbpDddDomainModule
2022-02-20 22:08:50.490 +08:00 [INF] - Volo.Abp.Auditing.AbpAuditingModule
2022-02-20 22:08:50.490 +08:00 [INF] - Volo.Abp.Data.AbpDataModule
2022-02-20 22:08:50.490 +08:00 [INF] - Volo.Abp.ObjectExtending.AbpObjectExtendingModule
2022-02-20 22:08:50.490 +08:00 [INF] - Volo.Abp.Localization.AbpLocalizationAbstractionsModule
2022-02-20 22:08:50.490 +08:00 [INF] - Volo.Abp.Validation.AbpValidationAbstractionsModule
2022-02-20 22:08:50.490 +08:00 [INF] - Volo.Abp.Uow.AbpUnitOfWorkModule
2022-02-20 22:08:50.490 +08:00 [INF] - Volo.Abp.EventBus.Abstractions.AbpEventBusAbstractionsModule
2022-02-20 22:08:50.490 +08:00 [INF] - Volo.Abp.Json.AbpJsonModule
2022-02-20 22:08:50.490 +08:00 [INF] - Volo.Abp.Timing.AbpTimingModule
2022-02-20 22:08:50.490 +08:00 [INF] - Volo.Abp.Localization.AbpLocalizationModule
2022-02-20 22:08:50.490 +08:00 [INF] - Volo.Abp.VirtualFileSystem.AbpVirtualFileSystemModule
2022-02-20 22:08:50.490 +08:00 [INF] - Volo.Abp.Settings.AbpSettingsModule
2022-02-20 22:08:50.490 +08:00 [INF] - Volo.Abp.Security.AbpSecurityModule
2022-02-20 22:08:50.490 +08:00 [INF] - Volo.Abp.MultiTenancy.AbpMultiTenancyModule
2022-02-20 22:08:50.490 +08:00 [INF] - Volo.Abp.Threading.AbpThreadingModule
2022-02-20 22:08:50.490 +08:00 [INF] - Volo.Abp.EventBus.AbpEventBusModule
2022-02-20 22:08:50.490 +08:00 [INF] - Volo.Abp.Guids.AbpGuidsModule
2022-02-20 22:08:50.490 +08:00 [INF] - Volo.Abp.ObjectMapping.AbpObjectMappingModule
2022-02-20 22:08:50.490 +08:00 [INF] - Volo.Abp.ExceptionHandling.AbpExceptionHandlingModule
2022-02-20 22:08:50.490 +08:00 [INF] - Volo.Abp.Specifications.AbpSpecificationsModule
2022-02-20 22:08:50.490 +08:00 [INF] - WmsWebApi.WmsWebApiDomainSharedModule
2022-02-20 22:08:50.490 +08:00 [INF] - Volo.Abp.Validation.AbpValidationModule
2022-02-20 22:08:50.490 +08:00 [INF] - WmsWebApi.WmsWebApiApplicationContractsModule
2022-02-20 22:08:50.490 +08:00 [INF] - Volo.Abp.Application.AbpDddApplicationContractsModule
2022-02-20 22:08:50.490 +08:00 [INF] - Volo.Abp.Authorization.AbpAuthorizationModule
2022-02-20 22:08:50.490 +08:00 [INF] - Volo.Abp.Authorization.AbpAuthorizationAbstractionsModule
2022-02-20 22:08:50.490 +08:00 [INF] - Volo.Abp.Application.AbpDddApplicationModule
2022-02-20 22:08:50.490 +08:00 [INF] - Volo.Abp.Http.AbpHttpAbstractionsModule
2022-02-20 22:08:50.490 +08:00 [INF] - Volo.Abp.Features.AbpFeaturesModule
2022-02-20 22:08:50.490 +08:00 [INF] - Volo.Abp.GlobalFeatures.AbpGlobalFeaturesModule
2022-02-20 22:08:50.490 +08:00 [INF] - Volo.Abp.AutoMapper.AbpAutoMapperModule
2022-02-20 22:08:50.490 +08:00 [INF] - WmsWebApi.EntityFrameworkCore.WmsWebApiEntityFrameworkCoreModule
2022-02-20 22:08:50.490 +08:00 [INF] - Volo.Abp.EntityFrameworkCore.AbpEntityFrameworkCoreModule
2022-02-20 22:08:50.490 +08:00 [INF] - Volo.Abp.Dapper.AbpDapperModule
2022-02-20 22:08:50.490 +08:00 [INF] - WmsWebApi.WmsWebApiHttpApiModule
2022-02-20 22:08:50.490 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.AbpAspNetCoreMvcModule
2022-02-20 22:08:50.490 +08:00 [INF] - Volo.Abp.AspNetCore.AbpAspNetCoreModule
2022-02-20 22:08:50.490 +08:00 [INF] - Volo.Abp.Http.AbpHttpModule
2022-02-20 22:08:50.490 +08:00 [INF] - Volo.Abp.Minify.AbpMinifyModule
2022-02-20 22:08:50.490 +08:00 [INF] - Volo.Abp.ApiVersioning.AbpApiVersioningAbstractionsModule
2022-02-20 22:08:50.490 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.AbpAspNetCoreMvcContractsModule
2022-02-20 22:08:50.490 +08:00 [INF] - Volo.Abp.UI.Navigation.AbpUiNavigationModule
2022-02-20 22:08:50.490 +08:00 [INF] - Volo.Abp.UI.AbpUiModule
2022-02-20 22:08:50.490 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.MultiTenancy.AbpAspNetCoreMvcUiMultiTenancyModule
2022-02-20 22:08:50.490 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Theme.Shared.AbpAspNetCoreMvcUiThemeSharedModule
2022-02-20 22:08:50.490 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.AbpAspNetCoreMvcUiBootstrapModule
2022-02-20 22:08:50.490 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.AbpAspNetCoreMvcUiModule
2022-02-20 22:08:50.490 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Packages.AbpAspNetCoreMvcUiPackagesModule
2022-02-20 22:08:50.490 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Bundling.AbpAspNetCoreMvcUiBundlingAbstractionsModule
2022-02-20 22:08:50.490 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Widgets.AbpAspNetCoreMvcUiWidgetsModule
2022-02-20 22:08:50.490 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Bundling.AbpAspNetCoreMvcUiBundlingModule
2022-02-20 22:08:50.490 +08:00 [INF] - Volo.Abp.AspNetCore.MultiTenancy.AbpAspNetCoreMultiTenancyModule
2022-02-20 22:08:50.490 +08:00 [INF] - Volo.Abp.Autofac.AbpAutofacModule
2022-02-20 22:08:50.490 +08:00 [INF] - Volo.Abp.Castle.AbpCastleCoreModule
2022-02-20 22:08:50.491 +08:00 [INF] - Volo.Abp.Caching.StackExchangeRedis.AbpCachingStackExchangeRedisModule
2022-02-20 22:08:50.491 +08:00 [INF] - Volo.Abp.Caching.AbpCachingModule
2022-02-20 22:08:50.491 +08:00 [INF] - Volo.Abp.Serialization.AbpSerializationModule
2022-02-20 22:08:50.491 +08:00 [INF] - Volo.Abp.EntityFrameworkCore.SqlServer.AbpEntityFrameworkCoreSqlServerModule
2022-02-20 22:08:50.491 +08:00 [INF] - Volo.Abp.AuditLogging.EntityFrameworkCore.AbpAuditLoggingEntityFrameworkCoreModule
2022-02-20 22:08:50.491 +08:00 [INF] - Volo.Abp.AuditLogging.AbpAuditLoggingDomainModule
2022-02-20 22:08:50.491 +08:00 [INF] - Volo.Abp.AuditLogging.AbpAuditLoggingDomainSharedModule
2022-02-20 22:08:50.491 +08:00 [INF] - Volo.Abp.PermissionManagement.EntityFrameworkCore.AbpPermissionManagementEntityFrameworkCoreModule
2022-02-20 22:08:50.491 +08:00 [INF] - Volo.Abp.PermissionManagement.AbpPermissionManagementDomainModule
2022-02-20 22:08:50.491 +08:00 [INF] - Volo.Abp.PermissionManagement.AbpPermissionManagementDomainSharedModule
2022-02-20 22:08:50.491 +08:00 [INF] - Volo.Abp.SettingManagement.EntityFrameworkCore.AbpSettingManagementEntityFrameworkCoreModule
2022-02-20 22:08:50.491 +08:00 [INF] - Volo.Abp.SettingManagement.AbpSettingManagementDomainModule
2022-02-20 22:08:50.491 +08:00 [INF] - Volo.Abp.SettingManagement.AbpSettingManagementDomainSharedModule
2022-02-20 22:08:50.491 +08:00 [INF] - Volo.Abp.AspNetCore.Serilog.AbpAspNetCoreSerilogModule
2022-02-20 22:08:50.491 +08:00 [INF] - Volo.Abp.Swashbuckle.AbpSwashbuckleModule
2022-02-20 22:08:51.286 +08:00 [INF] Initialized all ABP modules.
2022-02-20 22:08:52.030 +08:00 [INF] Now listening on: https://localhost:5000
2022-02-20 22:08:52.030 +08:00 [INF] Application started. Press Ctrl+C to shut down.
2022-02-20 22:08:52.030 +08:00 [INF] Hosting environment: Development
2022-02-20 22:08:52.030 +08:00 [INF] Content root path: D:\工作\派格\接口程序\WmsWebApi\host\WmsWebApi.HttpApi.Host
2022-02-20 22:08:57.384 +08:00 [INF] Request starting HTTP/2 GET https://localhost:5000/ - -
2022-02-20 22:09:01.915 +08:00 [INF] Executing endpoint 'WmsWebApi.Controllers.HomeController.Index (WmsWebApi.HttpApi.Host)'
2022-02-20 22:09:02.089 +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-20 22:09:02.619 +08:00 [INF] Executing action method WmsWebApi.Controllers.HomeController.Index (WmsWebApi.HttpApi.Host) - Validation state: "Valid"
2022-02-20 22:09:02.632 +08:00 [INF] Executed action method WmsWebApi.Controllers.HomeController.Index (WmsWebApi.HttpApi.Host), returned result Microsoft.AspNetCore.Mvc.RedirectResult in 0.6969ms.
2022-02-20 22:09:02.652 +08:00 [INF] Executing RedirectResult, redirecting to /swagger.
2022-02-20 22:09:02.672 +08:00 [INF] Executed action WmsWebApi.Controllers.HomeController.Index (WmsWebApi.HttpApi.Host) in 567.0398ms
2022-02-20 22:09:02.673 +08:00 [INF] Executed endpoint 'WmsWebApi.Controllers.HomeController.Index (WmsWebApi.HttpApi.Host)'
2022-02-20 22:09:02.740 +08:00 [INF] Request finished HTTP/2 GET https://localhost:5000/ - - - 302 0 - 5361.7726ms
2022-02-20 22:09:02.879 +08:00 [INF] Request starting HTTP/2 GET https://localhost:5000/swagger/index.html - -
2022-02-20 22:09:03.608 +08:00 [INF] Request finished HTTP/2 GET https://localhost:5000/swagger/index.html - - - 200 - text/html;charset=utf-8 729.3272ms
2022-02-20 22:09:03.897 +08:00 [INF] Request starting HTTP/2 GET https://localhost:5000/_framework/aspnetcore-browser-refresh.js - -
2022-02-20 22:09:03.902 +08:00 [INF] Request finished HTTP/2 GET https://localhost:5000/_framework/aspnetcore-browser-refresh.js - - - 200 11956 application/javascript;+charset=utf-8 4.9544ms
2022-02-20 22:09:05.211 +08:00 [INF] Request starting HTTP/2 GET https://localhost:5000/swagger/v1/swagger.json - -
2022-02-20 22:09:05.788 +08:00 [INF] Request finished HTTP/2 GET https://localhost:5000/swagger/v1/swagger.json - - - 200 - application/json;charset=utf-8 576.0622ms
2022-02-20 22:09:22.880 +08:00 [INF] Request starting HTTP/2 GET https://localhost:5000/abp/Swashbuckle/SetCsrfCookie application/json -
2022-02-20 22:09:22.884 +08:00 [INF] Executing endpoint 'Volo.Abp.Swashbuckle.AbpSwashbuckleController.SetCsrfCookie (Volo.Abp.Swashbuckle)'
2022-02-20 22:09:22.886 +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-20 22:09:22.967 +08:00 [INF] Executing action method Volo.Abp.Swashbuckle.AbpSwashbuckleController.SetCsrfCookie (Volo.Abp.Swashbuckle) - Validation state: "Valid"
2022-02-20 22:09:22.981 +08:00 [INF] Executed action method Volo.Abp.Swashbuckle.AbpSwashbuckleController.SetCsrfCookie (Volo.Abp.Swashbuckle), returned result Microsoft.AspNetCore.Mvc.EmptyResult in 13.4503ms.
2022-02-20 22:09:22.981 +08:00 [INF] Executed action Volo.Abp.Swashbuckle.AbpSwashbuckleController.SetCsrfCookie (Volo.Abp.Swashbuckle) in 95.3214ms
2022-02-20 22:09:22.981 +08:00 [INF] Executed endpoint 'Volo.Abp.Swashbuckle.AbpSwashbuckleController.SetCsrfCookie (Volo.Abp.Swashbuckle)'
2022-02-20 22:09:22.982 +08:00 [INF] Request finished HTTP/2 GET https://localhost:5000/abp/Swashbuckle/SetCsrfCookie application/json - - 204 - - 102.0621ms
2022-02-20 22:09:23.040 +08:00 [INF] Request starting HTTP/2 POST https://localhost:5000/api/Purchase/add application/json 526
2022-02-20 22:09:23.045 +08:00 [INF] CORS policy execution failed.
2022-02-20 22:09:23.045 +08:00 [INF] Request origin https://localhost:5000 does not have permission to access the resource.
2022-02-20 22:09:23.048 +08:00 [INF] Executing endpoint 'WmsWebApi.PPlan.PurchaseService.AddAsync (WmsWebApi.Application)'
2022-02-20 22:09:23.066 +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-20 22:09:24.334 +08:00 [INF] Executing action method WmsWebApi.PPlan.PurchaseService.AddAsync (WmsWebApi.Application) - Validation state: "Valid"
2022-02-20 22:09:26.061 +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-20 22:09:26.061 +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-20 22:09:26.061 +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-20 22:09:26.062 +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-20 22:09:26.062 +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-20 22:09:26.062 +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-20 22:09:26.062 +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-20 22:09:26.062 +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-20 22:09:26.062 +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-20 22:09:26.062 +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-20 22:09:26.062 +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-20 22:09:26.062 +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-20 22:09:26.062 +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-20 22:09:26.062 +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-20 22:09:26.062 +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-20 22:09:26.062 +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-20 22:09:26.062 +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-20 22:09:26.062 +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-20 22:09:26.062 +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-20 22:09:26.415 +08:00 [INF] Entity Framework Core 5.0.14 initialized 'WmsWebApiDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: QuerySplittingBehavior=SplitQuery
2022-02-20 22:09:28.059 +08:00 [INF] Executed DbCommand (178ms) [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-20 22:09:28.530 +08:00 [INF] Executed action method WmsWebApi.PPlan.PurchaseService.AddAsync (WmsWebApi.Application), returned result Microsoft.AspNetCore.Mvc.ObjectResult in 4195.7564ms.
2022-02-20 22:09:28.876 +08:00 [INF] Executed DbCommand (43ms) [Parameters=[@p0='?' (DbType = Guid), @p1='?' (Size = 4000), @p2='?' (DbType = DateTime2), @p3='?' (Size = 4000), @p4='?' (Size = 4000), @p5='?' (Size = 10), @p6='?' (Size = 10)], CommandType='"Text"', CommandTimeout='30']
SET NOCOUNT ON;
INSERT INTO [WmsWebApiPURCHASEDTO] ([Id], [BUDAT], [DYSJ], [ITYPE], [JSON], [MBLNR], [MJAHR])
VALUES (@p0, @p1, @p2, @p3, @p4, @p5, @p6);
2022-02-20 22:09:29.052 +08:00 [DBG] Added 0 entity changes to the current audit log
2022-02-20 22:09:29.053 +08:00 [DBG] Added 0 entity changes to the current audit log
2022-02-20 22:09:29.079 +08:00 [INF] Executing ObjectResult, writing value of type 'WmsWebApi.PPlan.ReturnResult'.
2022-02-20 22:09:29.104 +08:00 [INF] Executed action WmsWebApi.PPlan.PurchaseService.AddAsync (WmsWebApi.Application) in 6037.9508ms
2022-02-20 22:09:29.107 +08:00 [INF] Executed endpoint 'WmsWebApi.PPlan.PurchaseService.AddAsync (WmsWebApi.Application)'
2022-02-20 22:09:29.553 +08:00 [INF] Entity Framework Core 5.0.14 initialized 'AbpAuditLoggingDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: QuerySplittingBehavior=SplitQuery
2022-02-20 22:09:29.963 +08:00 [INF] Executed 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 = 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-20 22:09:29.996 +08:00 [INF] Executed DbCommand (33ms) [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-20 22:09:30.045 +08:00 [DBG] Added 0 entity changes to the current audit log
2022-02-20 22:09:30.045 +08:00 [DBG] Added 0 entity changes to the current audit log
2022-02-20 22:09:30.047 +08:00 [INF] Request finished HTTP/2 POST https://localhost:5000/api/Purchase/add application/json 526 - 200 - application/json;+charset=utf-8 7006.7009ms
2022-02-20 22:09:38.649 +08:00 [INF] Request starting HTTP/2 POST https://localhost:5000/api/Purchase/add application/json 526
2022-02-20 22:09:38.655 +08:00 [INF] CORS policy execution failed.
2022-02-20 22:09:38.655 +08:00 [INF] Request origin https://localhost:5000 does not have permission to access the resource.
2022-02-20 22:09:38.664 +08:00 [INF] Executing endpoint 'WmsWebApi.PPlan.PurchaseService.AddAsync (WmsWebApi.Application)'
2022-02-20 22:09:38.665 +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-20 22:09:38.788 +08:00 [INF] Executing action method WmsWebApi.PPlan.PurchaseService.AddAsync (WmsWebApi.Application) - Validation state: "Valid"
2022-02-20 22:09:38.866 +08:00 [INF] Entity Framework Core 5.0.14 initialized 'WmsWebApiDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: QuerySplittingBehavior=SplitQuery
2022-02-20 22:09:38.910 +08:00 [INF] Executed DbCommand (35ms) [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-20 22:09:39.023 +08:00 [INF] Executed DbCommand (41ms) [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-20 22:09:39.283 +08:00 [INF] Executed DbCommand (40ms) [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-20 22:09:39.445 +08:00 [INF] Executed DbCommand (34ms) [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-20 22:09:39.483 +08:00 [INF] Executed DbCommand (36ms) [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-20 22:10:12.232 +08:00 [INF] Executed DbCommand (35ms) [Parameters=[@__tbBill_BillNum_0='?' (Size = 64)], CommandType='"Text"', CommandTimeout='30']
SELECT TOP(1) [t].[UID], [t].[AccountDate], [t].[BillNum], [t].[BillTime], [t].[BillType], [t].[CustId], [t].[DetailQty], [t].[DockCode], [t].[FinishTime], [t].[GateCode], [t].[GateName], [t].[Guid], [t].[OperName], [t].[ProjectId], [t].[Remark], [t].[SourceBillNum], [t].[SourceBillNum2], [t].[SourceBillNum3], [t].[StartTime], [t].[State], [t].[SubBillType], [t].[TransportType], [t].[TruckNum], [t].[VendId]
FROM [TB_BILL] AS [t]
WHERE [t].[BillNum] = @__tbBill_BillNum_0
2022-02-20 22:10:19.482 +08:00 [INF] Executed action method WmsWebApi.PPlan.PurchaseService.AddAsync (WmsWebApi.Application), returned result Microsoft.AspNetCore.Mvc.ObjectResult in 40693.8956ms.
2022-02-20 22:10:19.707 +08:00 [INF] Executed DbCommand (90ms) [Parameters=[@p0='?' (DbType = DateTime2), @p1='?' (Size = 64), @p2='?' (DbType = DateTime2), @p3='?' (DbType = Int32), @p4='?' (Size = 50), @p5='?' (DbType = Int32), @p6='?' (Size = 4000), @p7='?' (Size = 50), @p8='?' (Size = 50), @p9='?' (Size = 50), @p10='?' (DbType = Guid), @p11='?' (Size = 4000), @p12='?' (Size = 50), @p13='?' (Size = 4000), @p14='?' (Size = 4000), @p15='?' (Size = 4000), @p16='?' (Size = 4000), @p17='?' (Size = 50), @p18='?' (DbType = Int32), @p19='?' (DbType = Int32), @p20='?' (Size = 50), @p21='?' (Size = 50), @p22='?' (Size = 50), @p23='?' (Size = 50), @p24='?' (Size = 50), @p25='?' (Size = 4000), @p26='?' (Size = 4000), @p27='?' (Size = 4000), @p28='?' (Size = 4000), @p29='?' (Precision = 18) (Scale = 6) (DbType = Decimal), @p30='?' (Precision = 18) (Scale = 6) (DbType = Decimal), @p31='?' (Size = 4000), @p32='?' (Size = 50), @p33='?' (Size = 50), @p34='?' (DbType = DateTime2), @p35='?' (Precision = 18) (Scale = 6) (DbType = Decimal), @p36='?' (DbType = DateTime2), @p37='?' (Size = 4000), @p38='?' (Precision = 18) (Scale = 6) (DbType = Decimal), @p39='?' (Size = 4000), @p40='?' (DbType = Int32), @p41='?' (Size = 4000), @p42='?' (Size = 4000), @p43='?' (Size = 4000), @p44='?' (Size = 4000), @p45='?' (Size = 50), @p46='?' (Size = 50), @p47='?' (Size = 4000), @p48='?' (Size = 4000), @p49='?' (Size = 4000), @p50='?' (Size = 4000), @p51='?' (Precision = 18) (Scale = 6) (DbType = Decimal), @p52='?' (Precision = 18) (Scale = 6) (DbType = Decimal), @p53='?' (Size = 4000), @p54='?' (Size = 50), @p55='?' (Size = 50), @p56='?' (DbType = DateTime2), @p57='?' (Precision = 18) (Scale = 6) (DbType = Decimal), @p58='?' (DbType = DateTime2), @p59='?' (Size = 4000), @p60='?' (Precision = 18) (Scale = 6) (DbType = Decimal), @p61='?' (Size = 4000), @p62='?' (DbType = Int32), @p63='?' (Size = 4000), @p64='?' (Size = 4000), @p65='?' (Size = 4000), @p66='?' (Size = 4000), @p67='?' (Size = 4000), @p68='?' (Size = 4000), @p69='?' (Size = 50), @p70='?' (DbType = Int32), @p71='?' (Size = 4000), @p72='?' (Size = 4000), @p73='?' (DbType = DateTime2), @p74='?' (Size = 80), @p75='?' (Size = 4000), @p76='?' (Precision = 18) (Scale = 6) (DbType = Decimal), @p77='?' (Size = 500), @p78='?' (DbType = Int32), @p79='?' (DbType = Int32), @p80='?' (DbType = Int32), @p81='?' (Size = 4000), @p82='?' (Size = 4000), @p83='?' (Size = 4000), @p84='?' (Size = 50), @p85='?' (DbType = Int32), @p86='?' (Size = 4000), @p87='?' (Size = 4000), @p88='?' (DbType = DateTime2), @p89='?' (Size = 80), @p90='?' (Size = 4000), @p91='?' (Precision = 18) (Scale = 6) (DbType = Decimal), @p92='?' (Size = 500), @p93='?' (DbType = Int32), @p94='?' (DbType = Int32), @p95='?' (DbType = Int32), @p96='?' (Size = 4000), @p97='?' (DbType = Guid), @p98='?' (Size = 4000), @p99='?' (DbType = DateTime2), @p100='?' (Size = 4000), @p101='?' (Size = 4000), @p102='?' (Size = 10), @p103='?' (Size = 10)], CommandType='"Text"', CommandTimeout='30']
SET NOCOUNT ON;
INSERT INTO [TB_BILL] ([AccountDate], [BillNum], [BillTime], [BillType], [CustId], [DetailQty], [DockCode], [FinishTime], [GateCode], [GateName], [Guid], [OperName], [ProjectId], [Remark], [SourceBillNum], [SourceBillNum2], [SourceBillNum3], [StartTime], [State], [SubBillType], [TransportType], [TruckNum], [VendId])
VALUES (@p0, @p1, @p2, @p3, @p4, @p5, @p6, @p7, @p8, @p9, @p10, @p11, @p12, @p13, @p14, @p15, @p16, @p17, @p18, @p19, @p20, @p21, @p22);
SELECT [UID]
FROM [TB_BILL]
WHERE @@ROWCOUNT = 1 AND [UID] = scope_identity();
DECLARE @inserted1 TABLE ([BarCode] nvarchar(50), [BillNum] nvarchar(50), [_Position] [int]);
MERGE [TB_PRODUCT_RECEIVE] USING (
VALUES (@p23, @p24, @p25, @p26, @p27, @p28, @p29, @p30, @p31, @p32, @p33, @p34, @p35, @p36, @p37, @p38, @p39, @p40, @p41, @p42, @p43, @p44, 0),
(@p45, @p46, @p47, @p48, @p49, @p50, @p51, @p52, @p53, @p54, @p55, @p56, @p57, @p58, @p59, @p60, @p61, @p62, @p63, @p64, @p65, @p66, 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 @inserted1;
SELECT [t].[UID] FROM [TB_PRODUCT_RECEIVE] t
INNER JOIN @inserted1 i ON ([t].[BarCode] = [i].[BarCode]) AND ([t].[BillNum] = [i].[BillNum])
ORDER BY [i].[_Position];
DECLARE @inserted3 TABLE ([UID] bigint, [_Position] [int]);
MERGE [TL_TRANSACTION] USING (
VALUES (@p67, @p68, @p69, @p70, @p71, @p72, @p73, @p74, @p75, @p76, @p77, @p78, @p79, @p80, @p81, 0),
(@p82, @p83, @p84, @p85, @p86, @p87, @p88, @p89, @p90, @p91, @p92, @p93, @p94, @p95, @p96, 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 @inserted3;
SELECT [t].[UID] FROM [TL_TRANSACTION] t
INNER JOIN @inserted3 i ON ([t].[UID] = [i].[UID])
ORDER BY [i].[_Position];
INSERT INTO [WmsWebApiPURCHASEDTO] ([Id], [BUDAT], [DYSJ], [ITYPE], [JSON], [MBLNR], [MJAHR])
VALUES (@p97, @p98, @p99, @p100, @p101, @p102, @p103);
2022-02-20 22:10:19.869 +08:00 [DBG] Added 0 entity changes to the current audit log
2022-02-20 22:10:19.869 +08:00 [DBG] Added 0 entity changes to the current audit log
2022-02-20 22:10:19.871 +08:00 [INF] Executing ObjectResult, writing value of type 'WmsWebApi.PPlan.ReturnResult'.
2022-02-20 22:10:19.872 +08:00 [INF] Executed action WmsWebApi.PPlan.PurchaseService.AddAsync (WmsWebApi.Application) in 41206.356ms
2022-02-20 22:10:19.872 +08:00 [INF] Executed endpoint 'WmsWebApi.PPlan.PurchaseService.AddAsync (WmsWebApi.Application)'
2022-02-20 22:10:19.874 +08:00 [INF] Entity Framework Core 5.0.14 initialized 'AbpAuditLoggingDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: QuerySplittingBehavior=SplitQuery
2022-02-20 22:10:19.952 +08:00 [INF] Executed DbCommand (39ms) [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-20 22:10:19.984 +08:00 [INF] Executed DbCommand (31ms) [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-20 22:10:20.035 +08:00 [DBG] Added 0 entity changes to the current audit log
2022-02-20 22:10:20.035 +08:00 [DBG] Added 0 entity changes to the current audit log
2022-02-20 22:10:20.036 +08:00 [INF] Request finished HTTP/2 POST https://localhost:5000/api/Purchase/add application/json 526 - 200 - application/json;+charset=utf-8 41387.4297ms