liaoxujun@qq.com
2023-09-07 876292b5a092977ac84c1c1699d9f3e45b9be67d
增加是否具有标书编辑功能权限字段,和创建权限订单逻辑
5个文件已修改
17 ■■■■■ 已修改文件
.gitignore 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
DocumentServiceAPI.Model/Oder/Oder.cs 5 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
DocumentServiceAPI.Model/Permissions/TenantPermissions.cs 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
DocumentServiceApi.InitQMessage/MessageReceive.cs 3 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
DocumentServiceApi.InitQMessage/TenantOderInfo.cs 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
.gitignore
@@ -33,3 +33,4 @@
DocumentServiceApi.InitQMessage/obj/
DocumentServiceAPI.Application/DocumentServiceAPI.Application.xml
DocumentServiceApi.InitQMessage/bin/
DocumentServiceAPI.Web.Entry/Log/DocSericeApistatupLog.txt
DocumentServiceAPI.Model/Oder/Oder.cs
@@ -63,6 +63,11 @@
        /// </summary>
        public Guid? ZcUserID { get; set; }
        /// <summary>
        /// 是否具有标书编辑权限
        /// </summary>
        public bool? HasDocumentPermission { get; set; } = false;
       
    }
}
DocumentServiceAPI.Model/Permissions/TenantPermissions.cs
@@ -57,5 +57,9 @@
        [Display(Name = "描述 ")]
        [SugarColumn(ColumnDescription = "描述 ")]
        public string? Description { get; set; }
        /// <summary>
        /// 是否有标书编辑权限
        /// </summary>
        public bool? HasDocumentPermission { get; set; } = false;
    }
}
DocumentServiceApi.InitQMessage/MessageReceive.cs
@@ -55,6 +55,7 @@
                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();
@@ -79,6 +80,8 @@
                    Description = obj.Description,
                    EmployeeMaxCount = obj.EmployeeCount ?? 0,
                    UnitMaxCount = obj.UnitCount ?? 0,
                     HasDocumentPermission=obj.HasDocumentPermission,
                    OverTime = DateTime.Now.AddMonths(obj.MonthCount ?? 0),
DocumentServiceApi.InitQMessage/TenantOderInfo.cs
@@ -58,6 +58,10 @@
        /// 名称
        /// </summary>
        public string? TenantName { get; set; }
        /// <summary>
        /// 是否具有标书编辑权限
        /// </summary>
        public bool? HasDocumentPermission { get; set; } = false;
    }