|
|
@@ -826,6 +826,10 @@ namespace ShwasherSys.PackageInfo
|
|
|
currentStore.TimeLastMod = date;
|
|
|
currentStore.UserIDLastMod = AbpSession.UserName;
|
|
|
await FinshedCurrentStoreRepository.UpdateAsync(currentStore);
|
|
|
+ BusinessLogTypeEnum.Package.WriteLog(LogRepository, "半成品包装",
|
|
|
+ $"确认成品入库数量U[{entity.Id}-{currentStore.Quantity}-{entity.ActualPackageCount}-{entity.PackageSpecification}]",
|
|
|
+ entity.ProductionOrderNo, currentStore.CurrentProductStoreHouseNo, entity.ProductNo, entity.StoreLocationNo);
|
|
|
+
|
|
|
}
|
|
|
else
|
|
|
{
|
|
|
@@ -837,14 +841,16 @@ namespace ShwasherSys.PackageInfo
|
|
|
currentStore.Quantity = entity.ActualPackageCount * entity.PackageSpecification;
|
|
|
currentStore.FreezeQuantity = 0;
|
|
|
await FinshedCurrentStoreRepository.InsertAsync(currentStore);
|
|
|
+ BusinessLogTypeEnum.Package.WriteLog(LogRepository, "半成品包装",
|
|
|
+ $"确认成品入库数量ADD[{entity.Id}-{currentStore.Quantity}-{entity.ActualPackageCount}-{entity.PackageSpecification}]",
|
|
|
+ entity.ProductionOrderNo, currentStore.CurrentProductStoreHouseNo, entity.ProductNo, entity.StoreLocationNo);
|
|
|
+
|
|
|
}
|
|
|
|
|
|
await FinshedEnterStoreRepository.UpdateAsync(entity);
|
|
|
- BusinessLogTypeEnum.Package.WriteLog(LogRepository, "半成品包装",
|
|
|
- $"确认成品入库数量[{entity.Id}]",
|
|
|
- entity.ProductionOrderNo, currentStore.CurrentProductStoreHouseNo, entity.ProductNo,entity.StoreLocationNo);
|
|
|
-
|
|
|
-
|
|
|
+ // BusinessLogTypeEnum.Package.WriteLog(LogRepository, "半成品包装",
|
|
|
+ // $"确认成品入库数量[{entity.Id}]",
|
|
|
+ // entity.ProductionOrderNo, currentStore.CurrentProductStoreHouseNo, entity.ProductNo,entity.StoreLocationNo);
|
|
|
}
|
|
|
|
|
|
/// <summary>
|