From e9c96f32b0830cf7bc6ee66ce2c7a9784c679753 Mon Sep 17 00:00:00 2001 From: puzhibing <393733352@qq.com> Date: 星期三, 14 六月 2023 16:08:46 +0800 Subject: [PATCH] 新增加接口 --- cloud-server-other/src/main/java/com/dsh/other/controller/ImgConfigController.java | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cloud-server-other/src/main/java/com/dsh/other/controller/ImgConfigController.java b/cloud-server-other/src/main/java/com/dsh/other/controller/ImgConfigController.java index 17019b6..6c46c90 100644 --- a/cloud-server-other/src/main/java/com/dsh/other/controller/ImgConfigController.java +++ b/cloud-server-other/src/main/java/com/dsh/other/controller/ImgConfigController.java @@ -1,6 +1,6 @@ package com.dsh.other.controller; -import com.baomidou.mybatisplus.mapper.EntityWrapper; +import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; import com.dsh.other.entity.TImgConfig; import com.dsh.other.service.TImgConfigService; import io.swagger.annotations.Api; @@ -32,7 +32,7 @@ */ @PostMapping("/imgConfig/getNoneStu") public List<TImgConfig> getDriver(){ - return imgConfigService.selectList(new EntityWrapper<TImgConfig>() + return imgConfigService.list(new QueryWrapper<TImgConfig>() .eq("position", 1)); } -- Gitblit v1.7.1