From 14bab3ef497965e21ef8f6eac144d0b403e4c073 Mon Sep 17 00:00:00 2001
From: zrg <z18737863051@163.com>
Date: 星期一, 17 二月 2025 17:32:07 +0800
Subject: [PATCH] 优化首巡末检自动返回检验方案

---
 WebAPI/Controllers/WebAPIController.cs |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/WebAPI/Controllers/WebAPIController.cs b/WebAPI/Controllers/WebAPIController.cs
index b7de8fe..0d7aa21 100644
--- a/WebAPI/Controllers/WebAPIController.cs
+++ b/WebAPI/Controllers/WebAPIController.cs
@@ -16874,6 +16874,10 @@
                 ds = oCN.RunProcReturn("select  top 1 * from h_v_Gy_QCCheckProjectList_Main where 鐗╂枡鍚嶇О='"+HName+ "' and 宸ュ簭鍚嶇О='" + HProName + "' and HSourceID='" + HSourceID + "'   order by 鏃ユ湡 desc ", "h_v_Gy_QCCheckProjectList_Main");
                 if (ds == null || ds.Tables[0].Rows.Count <= 0)
                 {
+                    ds = oCN.RunProcReturn("select  top 1 * from h_v_Gy_QCCheckProjectList_Main where 鐗╂枡鍚嶇О='" + HName + "' and 宸ュ簭鍚嶇О='" + HProName + "'  order by 鏃ユ湡 desc ", "h_v_Gy_QCCheckProjectList_Main");
+                }
+                if (ds == null || ds.Tables[0].Rows.Count <= 0)
+                {
                     objjson.code = "0";
                     objjson.count = 0;
                     objjson.Message = "鑾峰彇澶辫触" + DBUtility.ClsPub.sErrInfo;

--
Gitblit v1.9.1