From 9478ddf3051e83eb9a5889ff90688b34dd0f96a5 Mon Sep 17 00:00:00 2001
From: lu <99954486@qq.com>
Date: 星期一, 16 十二月 2024 14:42:55 +0800
Subject: [PATCH] 1
---
DevApp/Gs.DevApp/UserControl/UcLookCk.cs | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/DevApp/Gs.DevApp/UserControl/UcLookCk.cs b/DevApp/Gs.DevApp/UserControl/UcLookCk.cs
index 55f082d..b99b673 100644
--- a/DevApp/Gs.DevApp/UserControl/UcLookCk.cs
+++ b/DevApp/Gs.DevApp/UserControl/UcLookCk.cs
@@ -32,8 +32,11 @@
public void getSuppler(string orgId)
{
+ string _keyWhere = "";
+ if (!string.IsNullOrEmpty(orgId))
+ _keyWhere = " and a.FSubsidiary ='" + orgId + "'";
var pgq = new PageQueryModel(1, 999999, "depot_code", "asc", "",
- " and is_ng='A'"+" and a.FSubsidiary ='" + orgId + "'");
+ " and is_ng='A'"+_keyWhere);
var json = JsonConvert.SerializeObject(pgq);
try
{
--
Gitblit v1.9.3