| | |
| | | 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) |
| | |
| | | CreatBy = "消息队列 InitTenantOder", |
| | | CreatTime = DateTime.Now, |
| | | Description = obj.Description, |
| | | Name = obj.Name??obj.ITCode+"集团账号", |
| | | Name =obj.TenantName , |
| | | PsW = obj.ITCode.Substring(obj.ITCode.Length - 4), |
| | | |
| | | |
| | |
| | | Description = obj.Description, |
| | | EmployeeMaxCount = obj.EmployeeCount ?? 0, |
| | | UnitMaxCount = obj.UnitCount ?? 0, |
| | | |
| | | HasDocumentPermission=obj.HasDocumentPermission, |
| | | OverTime = DateTime.Now.AddMonths(obj.MonthCount ?? 0), |
| | | |
| | | |
| | |
| | | |
| | | Document_TenderUnit tenderUnit = new Document_TenderUnit() |
| | | { |
| | | UnitName = obj.Name ?? "集团公司", |
| | | UnitName = obj.TenantName ?? "集团公司", |
| | | AdviseFlag = 2, |
| | | UserId = 0, |
| | | CreatTime = DateTime.Now.ToString("yyyy MM dd"), |