From d01fa2df1b46f45647e82be6d1476ea1e295f995 Mon Sep 17 00:00:00 2001 From: xiangpei <xiangpei@timesnew.cn> Date: 星期日, 27 十月 2024 21:31:53 +0800 Subject: [PATCH] 一个班级可以有多个老师 --- 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