From cd0277d99c49babe5c2de292ef4d54ac4a720f13 Mon Sep 17 00:00:00 2001
From: username@email.com <yzy2002yzy@163.com>
Date: 星期四, 06 一月 2022 14:01:27 +0800
Subject: [PATCH] 客户预付款

---
 zhengcaioa/Services/CooperatecustomCustomerService.cs |   33 +++++++++++++++++++++++++++++++++
 1 files changed, 33 insertions(+), 0 deletions(-)

diff --git a/zhengcaioa/Services/CooperatecustomCustomerService.cs b/zhengcaioa/Services/CooperatecustomCustomerService.cs
index da4db33..d28864a 100644
--- a/zhengcaioa/Services/CooperatecustomCustomerService.cs
+++ b/zhengcaioa/Services/CooperatecustomCustomerService.cs
@@ -114,6 +114,39 @@
             return resultEntity;
         }
 
+
+        public ResultEntity saveyufukuan(CooperatecustomCustomerDTO cooperatecustomCustomerDTO)
+        {
+            ResultEntity resultEntity = new ResultEntity();
+            try
+            {
+                
+
+                var cooperatecustomCustomer = _mapper.Map<CooperatecustomCustomer>(cooperatecustomCustomerDTO);
+
+
+                
+                    var updateproject = _context.CooperatecustomCustomers.Find(cooperatecustomCustomer.Id);
+
+                     
+                    updateproject.Yufukuan = cooperatecustomCustomer.Yufukuan;
+                    updateproject.Shenyushouxin = cooperatecustomCustomer.Shenyushouxin;
+                    updateproject.Shouxinedu = cooperatecustomCustomer.Shouxinedu;
+                 
+
+                _context.SaveChanges();
+                resultEntity.ReturnID = cooperatecustomCustomer.Id;
+                resultEntity.Result = true;
+            }
+            catch (Exception ex)
+            {
+                resultEntity.Result = false;
+                resultEntity.Message = "淇濆瓨澶辫触锛岃鑱旂郴绠$悊鍛�";
+
+            }
+            return resultEntity;
+        }
+
         public CooperatecustomCustomerDTO Get(string id)
         {
 

--
Gitblit v1.9.1