From 38f9471ecf47b7c15b352113bc0f5a2ec1e64e7b Mon Sep 17 00:00:00 2001
From: fuliqi <fuliqi@qq.com>
Date: 星期二, 16 七月 2024 09:24:13 +0800
Subject: [PATCH] 登录返回vo修改,个人中心接口,用户列表权限验证

---
 src/main/java/com/ycl/jxkg/rabbitmq/consumer/Consumer.java |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/src/main/java/com/ycl/jxkg/rabbitmq/consumer/Consumer.java b/src/main/java/com/ycl/jxkg/rabbitmq/consumer/Consumer.java
index 8d05fb7..600c842 100644
--- a/src/main/java/com/ycl/jxkg/rabbitmq/consumer/Consumer.java
+++ b/src/main/java/com/ycl/jxkg/rabbitmq/consumer/Consumer.java
@@ -40,6 +40,9 @@
             // 鍥犱负鑰冭瘯鐨勭姸鎬佷慨鏀逛竴鍏遍渶瑕佸彂閫佷袱鏉℃秷鎭�備笉鑳藉洜涓虹涓�鏉℃秷鎭敼浜嗕箣鍚庯紝绗簩鏉℃秷鎭洜涓轰箰瑙傞攣鍔犱竴浜嗚�屾棤娉曚慨鏀�
             new LambdaUpdateChainWrapper<>(examMapper)
                     .eq(Exam::getId, exam.getId())
+                    .eq(Exam::getStatus, ExamStatusEnum.ING.equals(examStatusMsg.getTargetStatus()) ?  // 瑕佹敼涓鸿繘琛屼腑閭d箞鍘熸湰搴旇鏄湭寮�濮嬨�傜粨鏉熷垯闇�瑕佹槸杩涜涓�
+                            ExamStatusEnum.NOT_START :
+                            ExamStatusEnum.FINISHED.equals(examStatusMsg.getTargetStatus()) ? ExamStatusEnum.ING : null)
                     .set(Exam::getStatus, examStatusMsg.getTargetStatus())
                     .update();
         }

--
Gitblit v1.8.0