Browse Source

部门标记字段

qinchaoyue 4 tháng trước cách đây
mục cha
commit
db1ad89420

+ 3 - 0
src/Hotline.Application/Snapshot/RedPackApplication.cs

@@ -41,6 +41,9 @@ public class RedPackApplication : IRedPackApplication, IScopeDependency
             .Select((i, o) => new { i.Id, i.CitizenReadPackAmount })
             .FirstAsync();
         outDto.Amount = industry.CitizenReadPackAmount;
+        outDto.RedPackTxt = $"15826142797【】元; 今天审批【1】个";
+        //await _redPackAuditRepository.Queryable()
+
         return outDto;
     }
 

+ 5 - 0
src/Hotline.Share/Dtos/Snapshot/OrderDto.cs

@@ -465,6 +465,11 @@ public class SnapshotOrderAuditDetailOutDto
     /// 市民红包金额
     /// </summary>
     public double Amount { get; set; }
+
+    /// <summary>
+    /// 红包发放
+    /// </summary>
+    public string RedPackTxt { get; set; }
 }
 
 public class SnapshotOrderAuditOrderDetailOutDto

+ 6 - 0
src/Hotline/Snapshot/OrderSnapshot.cs

@@ -76,6 +76,12 @@ public class OrderSnapshot : CreationSoftDeleteEntity
     [SugarColumn(ColumnDescription = "作业时间")]
     public DateTime? EndWorkTime { get; set; }
 
+    /// <summary>
+    /// 部门标记是否安全生产
+    /// </summary>
+    [SugarColumn(ColumnDescription = "部门标记是否安全生产")]
+    public bool? IsSafetyDepartment { get; set; }
+
     /// <summary>
     /// 部门是否属实
     /// </summary>

+ 1 - 1
src/Hotline/Snapshot/SnapshotBulletin.cs

@@ -166,7 +166,7 @@ public class SnapshotBulletin : CreationEntity
     /// 上下架
     /// </summary>
     [SugarColumn(ColumnDescription = "上下架")]
-    public bool IsArrive { get; set; }
+    public bool? IsArrive { get; set; }
 
     /// <summary>
     /// 阅读量+1