From 7785befe1ccd0566db7d1e4b9016db8e9d1b6628 Mon Sep 17 00:00:00 2001
From: duhe <226547893@qq.com>
Date: 星期二, 15 四月 2025 15:01:35 +0800
Subject: [PATCH] 要料信息列表:Excel导入功能

---
 WebAPI/Controllers/基础资料/基础资料/Gy_MaterTypeBillController.cs |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git "a/WebAPI/Controllers/\345\237\272\347\241\200\350\265\204\346\226\231/\345\237\272\347\241\200\350\265\204\346\226\231/Gy_MaterTypeBillController.cs" "b/WebAPI/Controllers/\345\237\272\347\241\200\350\265\204\346\226\231/\345\237\272\347\241\200\350\265\204\346\226\231/Gy_MaterTypeBillController.cs"
index 5e40452..670382b 100644
--- "a/WebAPI/Controllers/\345\237\272\347\241\200\350\265\204\346\226\231/\345\237\272\347\241\200\350\265\204\346\226\231/Gy_MaterTypeBillController.cs"
+++ "b/WebAPI/Controllers/\345\237\272\347\241\200\350\265\204\346\226\231/\345\237\272\347\241\200\350\265\204\346\226\231/Gy_MaterTypeBillController.cs"
@@ -868,11 +868,11 @@
 
         [Route("Gy_MaterType/Gy_MaterTypeTreeListByLevel")]
         [HttpGet]
-        public object Gy_MaterTypeTreeListByLevel()
+        public object Gy_MaterTypeTreeListByLevel(string HOrgID)
         {
             try
             {
-                string sql1 = string.Format("select hitemid,hnumber,hname,hparentid,hlevel from Gy_MaterType order by hnumber");
+                string sql1 = string.Format("select hitemid,hnumber,hname,hparentid,hlevel,hhelpcode from Gy_MaterType where HUSEORGID = '" + HOrgID + "' order by hhelpcode");
 
                 ds = oCN.RunProcReturn(sql1, "Gy_MaterType");
 

--
Gitblit v1.9.1