liaoxujun@qq.com
2023-09-07 876292b5a092977ac84c1c1699d9f3e45b9be67d
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"),