From 191bcb228e2ae13553a62936fb76979c36c12c81 Mon Sep 17 00:00:00 2001 From: wangxy <1356089412@qq.com> Date: Tue, 2 Jul 2024 17:36:14 +0800 Subject: [PATCH] =?UTF-8?q?feat:=E5=9C=A8=E7=BA=BF=E8=80=83=E8=AF=95?= =?UTF-8?q?=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/java/com/ruoyi/system/domain/qu/ElQu.java | 2 +- .../src/main/java/com/ruoyi/system/domain/qu/dto/QuDTO.java | 2 +- ruoyi-system/src/main/resources/mapper/system/ElQuMapper.xml | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/domain/qu/ElQu.java b/ruoyi-system/src/main/java/com/ruoyi/system/domain/qu/ElQu.java index d33de1c..e95dea4 100644 --- a/ruoyi-system/src/main/java/com/ruoyi/system/domain/qu/ElQu.java +++ b/ruoyi-system/src/main/java/com/ruoyi/system/domain/qu/ElQu.java @@ -31,7 +31,7 @@ public class ElQu implements Serializable { /** * 1普通,2较难 */ - private Integer level; + private Integer levels; /** * 题目图片 diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/domain/qu/dto/QuDTO.java b/ruoyi-system/src/main/java/com/ruoyi/system/domain/qu/dto/QuDTO.java index 4a87d2b..0f58183 100644 --- a/ruoyi-system/src/main/java/com/ruoyi/system/domain/qu/dto/QuDTO.java +++ b/ruoyi-system/src/main/java/com/ruoyi/system/domain/qu/dto/QuDTO.java @@ -33,7 +33,7 @@ public class QuDTO implements Serializable { @ApiModelProperty(value = "1普通,2较难") @NotNull(message = "难度等级不能为空") - private Integer level; + private Integer levels; @ApiModelProperty(value = "题目图片") private String image; diff --git a/ruoyi-system/src/main/resources/mapper/system/ElQuMapper.xml b/ruoyi-system/src/main/resources/mapper/system/ElQuMapper.xml index ff853d1..5758648 100644 --- a/ruoyi-system/src/main/resources/mapper/system/ElQuMapper.xml +++ b/ruoyi-system/src/main/resources/mapper/system/ElQuMapper.xml @@ -7,7 +7,7 @@ - + @@ -17,7 +17,7 @@ - id,qu_type,level, + id,qu_type,levels, image,content,create_time, update_time,remark,analysis