From bdda209f00d8f03ab50acf7e219f71d7f68a375f Mon Sep 17 00:00:00 2001
From: yxj <yxj@hz-kingdee.com>
Date: 星期一, 28 七月 2025 10:50:27 +0800
Subject: [PATCH] PDA扫描模块退出功能调用方法修改,缓存列表删除功能调用方法修改;凯贝客户条码生成模块流水号字段类型修改

---
 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