From 38aff235316e8d49bf3558bfaa44f4c6ab2b78a4 Mon Sep 17 00:00:00 2001
From: liaoxujun@qq.com <liaoxujun@qq.com>
Date: 星期五, 15 九月 2023 17:26:58 +0800
Subject: [PATCH] 修改权限体系,增加标书信息管理权限分离,分为标书信息管理平台使用,和标书制作管理使用,修改权限表,订单表

---
 DocumentServiceAPI.Application/ProjectInfo/Services/ProjectInfoService.cs |   17 ++++++++++++++++-
 1 files changed, 16 insertions(+), 1 deletions(-)

diff --git a/DocumentServiceAPI.Application/ProjectInfo/Services/ProjectInfoService.cs b/DocumentServiceAPI.Application/ProjectInfo/Services/ProjectInfoService.cs
index f54364c..8f1b6d1 100644
--- a/DocumentServiceAPI.Application/ProjectInfo/Services/ProjectInfoService.cs
+++ b/DocumentServiceAPI.Application/ProjectInfo/Services/ProjectInfoService.cs
@@ -1803,9 +1803,24 @@
 
         public List<Doc_Classification> GetDocClassificationList()
         {
-            var ret = _db.Queryable<Doc_Classification>().Where(x => x.parent_code =="003" && x.status == 1).ToList();
+            var ret = _db.Queryable<Doc_Classification>().Where(x => x.parent_code =="003" && x.status == 1 && x.is_system == true).ToList();
             return ret;
         }
 
+        public bool SaveDocumentTBXYFileInfoNotRep(Document_TBXYFile dp)
+        {
+
+            if (dp.Id > 0)
+            {
+                _db.Updateable<Document_TBXYFile>(dp).ExecuteCommand();
+            }
+            else
+            {
+                _db.Insertable<Document_TBXYFile>(dp).ExecuteCommand();
+            }
+
+            return true;
+        }
+
     }
 }

--
Gitblit v1.9.1