From 69b7b1ddb3ba056b8ed458bdd44cf36e4080b5bd Mon Sep 17 00:00:00 2001 From: fuliqi <fuliqi@qq.com> Date: 星期四, 04 七月 2024 17:57:59 +0800 Subject: [PATCH] mq配置修改2 --- src/main/java/com/ycl/jxkg/enums/QuestionTypeEnum.java | 18 +++++++----------- 1 files changed, 7 insertions(+), 11 deletions(-) diff --git a/src/main/java/com/ycl/jxkg/enums/QuestionTypeEnum.java b/src/main/java/com/ycl/jxkg/enums/QuestionTypeEnum.java index 6398b77..2be650a 100644 --- a/src/main/java/com/ycl/jxkg/enums/QuestionTypeEnum.java +++ b/src/main/java/com/ycl/jxkg/enums/QuestionTypeEnum.java @@ -10,11 +10,14 @@ TrueFalse(3, "鍒ゆ柇棰�"), GapFilling(4, "濉┖棰�"), ShortAnswer(5, "绠�绛旈"), - Calculation(6,"璁$畻棰�"); - int code; + Audio(6,"璇煶棰�"), + Calculate(7,"璁$畻棰�"), + Analysis(8,"鍒嗘瀽棰�"); + + Integer code; String name; - QuestionTypeEnum(int code, String name) { + QuestionTypeEnum(Integer code, String name) { this.code = code; this.name = name; } @@ -43,21 +46,14 @@ } } - public int getCode() { + public Integer getCode() { return code; - } - - public void setCode(int code) { - this.code = code; } public String getName() { return name; } - public void setName(String name) { - this.name = name; - } } -- Gitblit v1.8.0