From 9f3ead22a8198d33891a0f8f23faec15dcfc731a Mon Sep 17 00:00:00 2001
From: 移动系统liao <liaoxujun@qq.com>
Date: 星期五, 25 七月 2025 09:10:11 +0800
Subject: [PATCH] no message

---
 Admin.NET/FZCTB.NET.API.Application/User/CustomerService.cs |    7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/Admin.NET/FZCTB.NET.API.Application/User/CustomerService.cs b/Admin.NET/FZCTB.NET.API.Application/User/CustomerService.cs
index d25ca52..9c5cf91 100644
--- a/Admin.NET/FZCTB.NET.API.Application/User/CustomerService.cs
+++ b/Admin.NET/FZCTB.NET.API.Application/User/CustomerService.cs
@@ -146,7 +146,7 @@
     [AllowAnonymous]
     public async Task<List<EnterpriseTypeVM>> EnterpriseTypes()
     {
-        return await _fBS_EnterpriseTypeRep.AsQueryable().Select<EnterpriseTypeVM>().ToTreeAsync(x=>x.Child,x=>x.ParentId,null,x=>x.Id);
+        return await _fBS_EnterpriseTypeRep.AsQueryable().Select<EnterpriseTypeVM>().ToTreeAsync(x=>x.Child,x=>x.ParentId,0,x=>x.Id);
     }
 
     /// <summary>
@@ -293,13 +293,13 @@
             tab.RegisteredCapital = tab.RegisteredCapital;
             tab.Residence = tab.Residence;
             tab.MainBusiness = InParam.MainBusiness;
-            tab.EnterpriseType = InParam.EnterpriseType;
+           
             tab.EnterpriseName = InParam.EnterpriseName;
             tab.BusinessLicense = InParam.BusinessLicense;
             //閲嶆柊瀹℃牳?
             tab.steps = CusExtendStep.Change;
         }
-      
+        tab.EnterpriseType = InParam.EnterpriseType;
 
         //鑱旂郴鐢佃瘽
         tab.EnterprisePhone = InParam.EnterprisePhone;
@@ -317,6 +317,7 @@
             tab.OperatorName = InParam.OperatorName;
             tab.OperatorPhone = InParam.OperatorPhone;
         }
+       
 
         return await _fBS_CusExtendRep.UpdateAsync(tab);
 

--
Gitblit v1.9.1