From 00501bf99a6eeb26b79bbe2c83de84edff7e8f65 Mon Sep 17 00:00:00 2001
From: liaoxujun@qq.com <liaoxujun@qq.com>
Date: 星期四, 07 九月 2023 15:29:37 +0800
Subject: [PATCH] Merge branch 'master' of http://47.108.235.38:8080/r/DocumentService
---
DocumentServiceApi.InitQMessage/MessageReceive.cs | 8 ++++++--
1 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/DocumentServiceApi.InitQMessage/MessageReceive.cs b/DocumentServiceApi.InitQMessage/MessageReceive.cs
index f250681..c5d8895 100644
--- a/DocumentServiceApi.InitQMessage/MessageReceive.cs
+++ b/DocumentServiceApi.InitQMessage/MessageReceive.cs
@@ -55,6 +55,8 @@
PayTime = obj.PayTime,
ZcUserID = obj.ZcUserID,
ITCode = obj.ITCode,
+ HasDocumentPermission=obj.HasDocumentPermission
+
};
TenantInfo? Tinfo = await _db.Queryable<TenantInfo>().Where(x=>x.ZcUserID==obj.ZcUserID).SingleAsync();
if(Tinfo==null)
@@ -66,7 +68,7 @@
CreatBy = "娑堟伅闃熷垪 InitTenantOder",
CreatTime = DateTime.Now,
Description = obj.Description,
- Name = obj.Name??obj.ITCode+"闆嗗洟璐﹀彿",
+ Name =obj.TenantName ,
PsW = obj.ITCode.Substring(obj.ITCode.Length - 4),
@@ -78,6 +80,8 @@
Description = obj.Description,
EmployeeMaxCount = obj.EmployeeCount ?? 0,
UnitMaxCount = obj.UnitCount ?? 0,
+
+ HasDocumentPermission=obj.HasDocumentPermission,
OverTime = DateTime.Now.AddMonths(obj.MonthCount ?? 0),
@@ -107,7 +111,7 @@
Document_TenderUnit tenderUnit = new Document_TenderUnit()
{
- UnitName = obj.Name ?? "闆嗗洟鍏徃",
+ UnitName = obj.TenantName ?? "闆嗗洟鍏徃",
AdviseFlag = 2,
UserId = 0,
CreatTime = DateTime.Now.ToString("yyyy MM dd"),
--
Gitblit v1.9.1