From a3236b51b5691b8c47f4ebaf1d885314a4bab3bd Mon Sep 17 00:00:00 2001
From: wxw <Administrator@DESKTOP-5BIMHQ3>
Date: 星期二, 13 八月 2024 11:17:18 +0800
Subject: [PATCH] 拼箱功能开发
---
Wms/WMS.BLL/BllCheckServer/WarehouseOutsidePalletsServer.cs | 16 +++++++++++++---
1 files changed, 13 insertions(+), 3 deletions(-)
diff --git a/Wms/WMS.BLL/BllCheckServer/WarehouseOutsidePalletsServer.cs b/Wms/WMS.BLL/BllCheckServer/WarehouseOutsidePalletsServer.cs
index 9e2a432..b2cbc5a 100644
--- a/Wms/WMS.BLL/BllCheckServer/WarehouseOutsidePalletsServer.cs
+++ b/Wms/WMS.BLL/BllCheckServer/WarehouseOutsidePalletsServer.cs
@@ -1,5 +1,6 @@
锘縰sing Model.ModelDto.DataDto;
using Model.ModelDto.SysDto;
+using Model.ModelVm.LogVm;
using SqlSugar;
using System;
using System.Collections.Generic;
@@ -14,6 +15,7 @@
using WMS.Entity.LogEntity;
using WMS.Entity.SysEntity;
using WMS.IBLL.IBllCheckServer;
+using WMS.IBLL.ILogServer;
namespace WMS.BLL.BllCheckServer
{
@@ -21,9 +23,11 @@
{
private static readonly SqlSugarScope Db = DataContext.Db;
private readonly UserManager _userManager;
- public WarehouseOutsidePalletsServer(UserManager userManager) : base(Db)
+ private readonly IOperationCRServer _operation;
+ public WarehouseOutsidePalletsServer(UserManager userManager, IOperationCRServer operation) : base(Db)
{
_userManager = userManager;
+ _operation = operation;
}
/// <summary>
@@ -178,8 +182,14 @@
await Db.Updateable(bindModel).ExecuteCommandAsync();
}
// 鎻掑叆鎿嶄綔鏃ュ織
- new OperationASNServer().AddLogOperationAsn("搴撳唴浣滀笟", "搴撳鎵樼洏", stockDetail.PalletNo, "缂栬緫",
- $"鎸囧畾浜嗗偍浣嶏細{locate.LocatNo}銆佸崟鎹彿锛歿stockDetail.ASNNo}銆佹墭鐩樼爜锛歿stockDetail.PalletNo}鐨勪俊鎭�", _userManager.UserId);
+ await _operation.AddLogOperationCr(new OperationInputVm()
+ {
+ ParentName = "搴撳唴浣滀笟",
+ MenuName = "搴撳鎵樼洏",
+ FkNo = stockDetail.PalletNo,
+ TypeName = "缂栬緫",
+ Msg = $"鎸囧畾浜嗗偍浣嶏細{locate.LocatNo}銆佸崟鎹彿锛歿stockDetail.ASNNo}銆佹墭鐩樼爜锛歿stockDetail.PalletNo}鐨勪俊鎭�"
+ });
//鎻愪氦浜嬪姟
Db.CommitTran();
}
--
Gitblit v1.8.0