From c418ccde908642c73f86ff43cc999be835a1e77d Mon Sep 17 00:00:00 2001
From: 南骏 池 <chiffly@163.com>
Date: 星期一, 12 五月 2025 09:51:19 +0800
Subject: [PATCH] 1.首检认证信息输入 2.现场收料优化
---
service/QC/IpqcService.cs | 24 +++++++++++++++++++++++-
1 files changed, 23 insertions(+), 1 deletions(-)
diff --git a/service/QC/IpqcService.cs b/service/QC/IpqcService.cs
index 15b90d9..58c47fb 100644
--- a/service/QC/IpqcService.cs
+++ b/service/QC/IpqcService.cs
@@ -6,6 +6,7 @@
using NewPdaSqlServer.util;
using SqlSugar;
using static Azure.Core.HttpHeader;
+using static Microsoft.EntityFrameworkCore.DbLoggerCategory;
namespace NewPdaSqlServer.service.QC;
@@ -83,7 +84,8 @@
a.FcheckResu,
a.Order,
a.Ybsl,
- a.YbslIn
+ a.ISRZXX,
+ a.IPQCRZXX
}).Select((a, b) => new MesQaItemsDetectDetail5
{
Guid = a.Guid,
@@ -107,6 +109,8 @@
Order = a.Order,
Ybsl = a.Ybsl,
YbslIn = Ybsl_In,
+ ISRZXX = a.ISRZXX,
+ IPQCRZXX = a.IPQCRZXX
}).OrderBy(a => a.Order)
.ToList();
}
@@ -142,4 +146,22 @@
return (pageList, totalCount);
}
+
+
+ //鏇存柊涓嶅悎鏍兼弿杩�
+ public int updateIpqcRzxx(LLJDto dto)
+ {
+ if (dto == null) throw new ArgumentNullException(nameof(dto), "鍙傛暟瀵硅薄涓嶈兘涓� null");
+
+ // 鍙傛暟鏍¢獙锛堟牴鎹瓨鍌ㄨ繃绋嬫柊澧炲弬鏁帮級
+ if (string.IsNullOrEmpty(dto.pid?.ToString()))
+ throw new ArgumentException("椤圭洰鏄庣粏id瀛樺湪闂锛岃鑱旂郴绠$悊鍛橈紒", nameof(dto.pid));
+
+ var withOracle = Db.Updateable<MesQaItemsDetectDetail5>()
+ .SetColumns(s => s.IPQCRZXX == dto.inRzxxValue)
+ .Where(s => s.Guid.ToString() == dto.pid)
+ .ExecuteCommand();
+
+ return withOracle;
+ }
}
\ No newline at end of file
--
Gitblit v1.9.3