From 6c3ff76805cebf2ea5816c4ae33f71aea7fa08e7 Mon Sep 17 00:00:00 2001
From: 快乐的昕的电脑 <快乐的昕的电脑@DESKTOP-C2BQPQU>
Date: 星期四, 18 十二月 2025 09:19:45 +0800
Subject: [PATCH] sql值维护
---
WebApi/GS.QC/Service/FqcManager.cs | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/WebApi/GS.QC/Service/FqcManager.cs b/WebApi/GS.QC/Service/FqcManager.cs
index 2c084ac..8a0b5e6 100644
--- a/WebApi/GS.QC/Service/FqcManager.cs
+++ b/WebApi/GS.QC/Service/FqcManager.cs
@@ -148,7 +148,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");
--
Gitblit v1.9.3