From 5588fc5697a6c639f7b5c11e1865de9bc5481546 Mon Sep 17 00:00:00 2001
From: chenhaozhe <gaozhechen26@gmail.com>
Date: 星期日, 26 十月 2025 21:47:22 +0800
Subject: [PATCH] 添加 来料检验单 生产入库检验单 出厂检验单 根据物料带出检验方案 接口
---
WebAPI/Controllers/ReportPlatFormController.cs | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/WebAPI/Controllers/ReportPlatFormController.cs b/WebAPI/Controllers/ReportPlatFormController.cs
index af42dcf..2daaede 100644
--- a/WebAPI/Controllers/ReportPlatFormController.cs
+++ b/WebAPI/Controllers/ReportPlatFormController.cs
@@ -332,7 +332,7 @@
ds = oCN.RunProcReturn("select * from h_v_Gy_UserButton where 鐢ㄦ埛鍚嶇О='" + user+ "' order by 鎸夐挳鎺掑簭", "h_v_Gy_UserButton");
- if (ds==null && ds.Tables[0].Rows.Count <= 0)
+ if (ds.Tables[0]==null || ds.Tables[0].Rows.Count <1)
{
ds = oCN.RunProcReturn("select * from h_v_Gy_UserButton where 鐢ㄦ埛鍚嶇О='admin' order by 鎸夐挳鎺掑簭", "h_v_Gy_UserButton");
}
--
Gitblit v1.9.1