From 5193018482586ad90f5a5df6e96d1b90a3f9f911 Mon Sep 17 00:00:00 2001
From: yxj <1qaz@123>
Date: 星期五, 25 三月 2022 17:07:08 +0800
Subject: [PATCH] 条码生成模块、条码档案列表模块,打印、预览功能修改完善
---
WebAPI/Controllers/BaseSet/Gy_WarehouseController.cs | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/WebAPI/Controllers/BaseSet/Gy_WarehouseController.cs b/WebAPI/Controllers/BaseSet/Gy_WarehouseController.cs
index 2f4d238..1ebe765 100644
--- a/WebAPI/Controllers/BaseSet/Gy_WarehouseController.cs
+++ b/WebAPI/Controllers/BaseSet/Gy_WarehouseController.cs
@@ -41,13 +41,14 @@
string sql1 = string.Format(@"select * from h_v_IF_WareHouseList where 缁勭粐鍚嶇О='" + Organization + "'");
if (sWhere == null || sWhere.Equals(""))
{
- ds = oCN.RunProcReturn(sql1 + sWhere + "order by HItemID desc", "h_v_IF_WareHouseList");
+ ds = oCN.RunProcReturn(sql1 + sWhere + " order by 浠撳簱浠g爜 ", "h_v_IF_WareHouseList");
}
else
{
- string sql = sql1 + sWhere + "order by HItemID desc";
+ string sql = sql1 + sWhere + " order by 浠撳簱浠g爜 ";
ds = oCN.RunProcReturn(sql, "h_v_IF_WareHouseList");
}
+
//if (ds == null || ds.Tables[0].Rows.Count == 0)
//{
// objJsonResult.code = "0";
--
Gitblit v1.9.1