From 1cd9280bbecf557f8978ad3839f14827ff9f4d34 Mon Sep 17 00:00:00 2001
From: Admin <Admin@ADMIN>
Date: 星期三, 17 十二月 2025 22:23:26 +0800
Subject: [PATCH] 最新
---
项目代码/WMS/WIDESEA_WMSServer/WIDESEA.Services/Services/ContainerInfoEmptyPallet/Partial/VV_ContainerInfo_EmptyPalletService.cs | 23 +++++++++++++++++++++++
1 files changed, 23 insertions(+), 0 deletions(-)
diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA.Services/Services/ContainerInfoEmptyPallet/Partial/VV_ContainerInfo_EmptyPalletService.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA.Services/Services/ContainerInfoEmptyPallet/Partial/VV_ContainerInfo_EmptyPalletService.cs"
index fd7c7a3..81c5ab4 100644
--- "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA.Services/Services/ContainerInfoEmptyPallet/Partial/VV_ContainerInfo_EmptyPalletService.cs"
+++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA.Services/Services/ContainerInfoEmptyPallet/Partial/VV_ContainerInfo_EmptyPalletService.cs"
@@ -36,6 +36,7 @@
private readonly IHttpContextAccessor _httpContextAccessor;
private readonly IVV_ContainerInfo_EmptyPalletRepository _repository;//璁块棶鏁版嵁搴�
+
[ActivatorUtilitiesConstructor]
public VV_ContainerInfo_EmptyPalletService(
IVV_ContainerInfo_EmptyPalletRepository dbRepository,
@@ -184,6 +185,28 @@
}
+
+ public override WebResponseContent Update(SaveModel saveModel)
+ {
+ WebResponseContent content = new WebResponseContent();
+ try
+ {
+ IDt_container_headRepository detailRepository = Dt_container_headRepository.Instance;
+ Guid detID = saveModel.MainData["containerhead_id"].ToGuid();
+ string testResult = saveModel.MainData["containerdtl_text1"].ToString();
+ Dt_container_head container_Detail = detailRepository.FindFirst(x => x.containerhead_id == detID);
+ container_Detail.containerhead_palletweight = testResult;
+ detailRepository.Update(container_Detail, true);
+ return content.OK("淇敼鎴愬姛");
+ }
+ catch (Exception ex)
+ {
+ return content.Error($"淇敼澶辫触锛屽師鍥狅細{ex.Message}");
+ throw;
+ }
+ }
+
+
public override WebResponseContent Del(object[] keys, bool delList = true)
{
WebResponseContent content = new WebResponseContent();
--
Gitblit v1.9.3