From a52bdc2aed17ba07d5ce0f1cc4adf64d5cd21ad2 Mon Sep 17 00:00:00 2001
From: yangle <admin@YINMOU>
Date: 星期六, 06 五月 2023 15:07:10 +0800
Subject: [PATCH] 1

---
 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 b290f2b..a40aca1 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"
@@ -477,11 +477,11 @@
 
                 foreach (DataRow row in ds.Tables[0].Rows)
                 {
-                    var strLen = row["hnumber"].ToString().Split('.');
+                    var strLen = row["hitemid"].ToString().Split('.');
                     if (strLen.Length == 1)
                     {
                         TreeModel tree = new TreeModel();
-                        tree.id = row["hnumber"].ToString();
+                        tree.id = row["hitemid"].ToString();
                         tree.title = row["hname"].ToString();
                         treeModels[0].children.Add(tree);
                     }

--
Gitblit v1.9.1