From b98df034707a61fd2857dbccd5a232605076ca59 Mon Sep 17 00:00:00 2001
From: lg <123456>
Date: 星期四, 20 十一月 2025 10:26:08 +0800
Subject: [PATCH] 标准版初始化
---
WebApi/GS.QC/Service/MesQaItemsDetect01Manager.cs | 13 +++++++++++--
1 files changed, 11 insertions(+), 2 deletions(-)
diff --git a/WebApi/GS.QC/Service/MesQaItemsDetect01Manager.cs b/WebApi/GS.QC/Service/MesQaItemsDetect01Manager.cs
index 650684c..83c3e97 100644
--- a/WebApi/GS.QC/Service/MesQaItemsDetect01Manager.cs
+++ b/WebApi/GS.QC/Service/MesQaItemsDetect01Manager.cs
@@ -146,7 +146,10 @@
m.list = new List<dynamic>();
m.list2 = new List<dynamic>();
System.Text.StringBuilder sb = new StringBuilder();
- sb.Append("select * from MES_QA_ITEMS_DETECT_DETAIL12 where parent_guid='" + guid + "' order by fstand asc");
+ sb.Append("select * ,cj.USER_NAME as createByName " +
+ "from MES_QA_ITEMS_DETECT_DETAIL12 a " +
+ "left join SYS_USER cj on cj.ACCOUNT=a.create_by " +
+ "where parent_guid='" + guid + "' order by fstand asc");
sb.Append(" select d13.*,d5.fcheck_item as fcheckItemd5,d5.ybsl from MES_QA_ITEMS_DETECT_DETAIL13 d13 left join[dbo].[MES_QA_ITEMS_DETECT_DETAIL5] d5 on d13.parent_guid = d5.guid");
sb.Append(" where d13.parent_guid = '" + guid + "'");
sb.Append(" order by d13.fcheck_item asc");
@@ -299,7 +302,10 @@
public ReturnDto<string> EditModel([FromBody] dynamic model)
{
Guid? guid = model.guid; //鍒拌揣鍗曚富閿�
- string fngDesc = model.fngDesc; //澶囨敞
+ string fngDesc = model.fngDesc; //寮傚父鎻忚堪
+ string iqcRemark = model.iqcRemark;
+ string ckId=model.ckId;
+ string iqcXblb = model.iqcXblb;
var _outMsg = "";
var _outSum = -1;
using (var conn = new SqlConnection(DbHelperSQL.strConn))
@@ -317,6 +323,9 @@
new("@inEdtUserGuid", _userGuid),
new("@inOrderGuid", UtilityHelper.CheckGuid(guid) ? guid: DBNull.Value),
new("@fngDesc", fngDesc),
+ new("@ckId", ckId),
+ new("@iqcRemark", iqcRemark),
+ new("@iqcXblb", iqcXblb),
};
parameters[0].Direction = ParameterDirection.Output;
parameters[1].Direction = ParameterDirection.Output;
--
Gitblit v1.9.3