From eacd4c4f0581f1c4b55f7f0c7f1092b3f965a6f8 Mon Sep 17 00:00:00 2001
From: username@email.com <yzy2002yzy@163.com>
Date: 星期三, 29 三月 2023 14:04:58 +0800
Subject: [PATCH] 提交

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

diff --git a/zhengcaioa/Services/ProjectService.cs b/zhengcaioa/Services/ProjectService.cs
index 3653cb2..89a6f22 100644
--- a/zhengcaioa/Services/ProjectService.cs
+++ b/zhengcaioa/Services/ProjectService.cs
@@ -884,6 +884,16 @@
             return list;
         }
 
+        public List<ZhengfuProjectDTO> GetListsalaryzhengfu(string userid, DateTime datemin, DateTime datemax)
+        {
+
+
+            var listPosition = _webcontext.ZhengfuProjects.Where(r => r.RecStatus == "A" && r.Creater == userid && r.Createtime >= datemin && r.Createtime < datemax).ToList();
+
+            var list = _mapper.Map<List<ZhengfuProjectDTO>>(listPosition);
+            return list;
+        }
+
         public List<ZhengfuProjectDTO> GetcaigougonggaoListsalary(string userid, DateTime datemin, DateTime datemax)
         {
 
@@ -1423,5 +1433,25 @@
         }
 
        
+        public ResultEntity saveProjectfasongxiaoxi(Projectfasongxiaoxi project)
+        {
+            ResultEntity resultEntity = new ResultEntity();
+            try
+            {
+
+                project.Id = Guid.NewGuid().ToString();
+                _context.Projectfasongxiaoxis.Add(project);
+                _context.SaveChanges();
+                resultEntity.ReturnID = project.Id;
+                resultEntity.Result = true;
+            }
+            catch (Exception ex)
+            {
+                resultEntity.Result = false;
+                resultEntity.Message = "淇濆瓨澶辫触锛岃鑱旂郴绠$悊鍛�";
+
+            }
+            return resultEntity;
+        }
     }
 }

--
Gitblit v1.9.1