From 593f95ffaa667fb672bee082af893a1f8ed69dca Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E5=BE=B7=E6=AD=A6=20=E9=BB=84?= <865114447@qq.com>
Date: Tue, 7 Jul 2026 10:22:47 +0800
Subject: [PATCH 1/2] =?UTF-8?q?=E8=BF=99=E4=B8=AA=E6=98=AF=E5=90=AF?=
=?UTF-8?q?=E5=8A=A8=E8=87=AA=E5=8A=A8=E7=94=9F=E6=88=90=E7=9A=84=E6=96=87?=
=?UTF-8?q?=E4=BB=B6?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../key-464a114e-8722-43ec-b421-bc39d97f6a6d.xml | 16 ++++++++++++++++
1 file changed, 16 insertions(+)
create mode 100644 QYZH.InteractiveMagazine.WeChatApi/DataProtection/key-464a114e-8722-43ec-b421-bc39d97f6a6d.xml
diff --git a/QYZH.InteractiveMagazine.WeChatApi/DataProtection/key-464a114e-8722-43ec-b421-bc39d97f6a6d.xml b/QYZH.InteractiveMagazine.WeChatApi/DataProtection/key-464a114e-8722-43ec-b421-bc39d97f6a6d.xml
new file mode 100644
index 0000000..9a0fbe6
--- /dev/null
+++ b/QYZH.InteractiveMagazine.WeChatApi/DataProtection/key-464a114e-8722-43ec-b421-bc39d97f6a6d.xml
@@ -0,0 +1,16 @@
+
+
+ 2026-07-06T07:54:57.8414657Z
+ 2026-07-06T07:54:57.8247502Z
+ 2026-10-04T07:54:57.8247502Z
+
+
+
+
+
+
+ eHtVAu0iXhzOZG+D+OtGwyuEUuxMSOeJb0EYcpcAcjGfaK316jIbOZuIeLU0X8nhnvFPigbBOHobSu7KDSiQ1Q==
+
+
+
+
\ No newline at end of file
From edc0122a3b65e21b891d73a651ead1539c7ac1c4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E5=BE=B7=E6=AD=A6=20=E9=BB=84?= <865114447@qq.com>
Date: Tue, 7 Jul 2026 10:36:14 +0800
Subject: [PATCH 2/2] =?UTF-8?q?=E7=BB=9F=E4=B8=80AssignmentStatus=E5=AD=97?=
=?UTF-8?q?=E6=AE=B5=E7=B1=BB=E5=9E=8B=EF=BC=8C=E6=96=B0=E5=BB=BA=E6=9E=9A?=
=?UTF-8?q?=E4=B8=BE=EF=BC=8C=E5=AF=B9=E5=BA=94=E7=8A=B6=E6=80=81?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../Entity/JournalPageTaskUserAnswer.cs | 2 +-
.../JournalPageTaskUserAnswerSnapshot.cs | 2 +-
.../Enum/AssignmentStatusEnum.cs | 22 +++++++++++++++++++
.../Consumers/JournalTaskReceiveConsumer.cs | 2 +-
4 files changed, 25 insertions(+), 3 deletions(-)
create mode 100644 QYZH.InteractiveMagazine.Models/Enum/AssignmentStatusEnum.cs
diff --git a/QYZH.InteractiveMagazine.Models/Entity/JournalPageTaskUserAnswer.cs b/QYZH.InteractiveMagazine.Models/Entity/JournalPageTaskUserAnswer.cs
index 2a18c41..4f04a12 100644
--- a/QYZH.InteractiveMagazine.Models/Entity/JournalPageTaskUserAnswer.cs
+++ b/QYZH.InteractiveMagazine.Models/Entity/JournalPageTaskUserAnswer.cs
@@ -231,6 +231,6 @@ namespace QYZH.InteractiveMagazine.Models.Entity
/// Default:
/// Nullable:True
///
- public string AssignmentStatus { get; set; }
+ public int AssignmentStatus { get; set; }
}
}
diff --git a/QYZH.InteractiveMagazine.Models/Entity/JournalPageTaskUserAnswerSnapshot.cs b/QYZH.InteractiveMagazine.Models/Entity/JournalPageTaskUserAnswerSnapshot.cs
index 1d0ee51..3912d7f 100644
--- a/QYZH.InteractiveMagazine.Models/Entity/JournalPageTaskUserAnswerSnapshot.cs
+++ b/QYZH.InteractiveMagazine.Models/Entity/JournalPageTaskUserAnswerSnapshot.cs
@@ -171,6 +171,6 @@ namespace QYZH.InteractiveMagazine.Models.Entity
///
/// Assignment status.
///
- public string? AssignmentStatus { get; set; }
+ public int? AssignmentStatus { get; set; }
}
}
diff --git a/QYZH.InteractiveMagazine.Models/Enum/AssignmentStatusEnum.cs b/QYZH.InteractiveMagazine.Models/Enum/AssignmentStatusEnum.cs
new file mode 100644
index 0000000..a4253a3
--- /dev/null
+++ b/QYZH.InteractiveMagazine.Models/Enum/AssignmentStatusEnum.cs
@@ -0,0 +1,22 @@
+using System.ComponentModel;
+
+namespace QYZH.InteractiveMagazine.Models.Enum
+{
+ ///
+ /// 作业分配审核状态枚举: 0-未审核 1-已审核
+ ///
+ public enum AssignmentStatusEnum
+ {
+ ///
+ /// 未审核
+ ///
+ [Description("未审核")]
+ UnAssignmented = 0,
+
+ ///
+ /// 已审核
+ ///
+ [Description("已审核")]
+ Assignmented = 1
+ }
+}
diff --git a/QYZH.InteractiveMagazine.WorkService/Consumers/JournalTaskReceiveConsumer.cs b/QYZH.InteractiveMagazine.WorkService/Consumers/JournalTaskReceiveConsumer.cs
index 0a5cd1d..fa37c71 100644
--- a/QYZH.InteractiveMagazine.WorkService/Consumers/JournalTaskReceiveConsumer.cs
+++ b/QYZH.InteractiveMagazine.WorkService/Consumers/JournalTaskReceiveConsumer.cs
@@ -948,7 +948,7 @@ public class JournalTaskReceiveConsumer(
PageAnswerDotUrl = string.Empty,
BreakCount = GetBreakCount(scoreUnit),
BreakTimes = SerializeBreakTimes(scoreUnit),
- AssignmentStatus = answerStatus.ToString(),
+ AssignmentStatus = (int)AssignmentStatusEnum.UnAssignmented,
Status = (int)answerStatus,
CreatedBy = data.UserId.ToString(),
CreatedAt = data.CreatedTime == default ? now : data.CreatedTime,