From cbd1f3d097cb7227df4d39c33fe2fff19ee1591b Mon Sep 17 00:00:00 2001
From: admin <qiutairan163@163.com>
Date: 星期三, 12 十一月 2025 15:13:46 +0800
Subject: [PATCH] 柱状图和饼图样式间距
---
Wms/WMS.BLL/DataServer/StockServer.cs | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/Wms/WMS.BLL/DataServer/StockServer.cs b/Wms/WMS.BLL/DataServer/StockServer.cs
index 093a005..f3c181a 100644
--- a/Wms/WMS.BLL/DataServer/StockServer.cs
+++ b/Wms/WMS.BLL/DataServer/StockServer.cs
@@ -164,8 +164,8 @@
{
string stockUseSql = $@"select a.Id,a.WareHouseNo,a.WareHouseName,b.num as stockNum,c.num as useNum
from SysWareHouse a
- left join (select WareHouseNo,count(Id) as num from SysStorageLocat where IsDel='0' group by WareHouseNo) b on b.WareHouseNo=a.WareHouseNo
- left join (select WareHouseNo,count(Id) as num from SysStorageLocat where IsDel='0' and Status='1' group by WareHouseNo) c on c.WareHouseNo=a.WareHouseNo
+ left join (select WareHouseNo,count(Id) as num from SysStorageLocat where IsDel='0' and Make=1 group by WareHouseNo) b on b.WareHouseNo=a.WareHouseNo
+ left join (select WareHouseNo,count(Id) as num from SysStorageLocat where IsDel='0' and Make=1 and Status='1' group by WareHouseNo) c on c.WareHouseNo=a.WareHouseNo
where a.IsDel='0'
order by a.WareHouseNo";
DataTable stockUseDt = Db.Ado.GetDataTable(stockUseSql);
--
Gitblit v1.8.0