From 6466b730bca8bd0fce990a48508c021e487de990 Mon Sep 17 00:00:00 2001 From: yxj <yxj@hz-kingdee.com> Date: 星期四, 07 八月 2025 16:52:01 +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