From 20f82629b188db3da2ed8c88352e71607eef0534 Mon Sep 17 00:00:00 2001 From: huangdeliang Date: Tue, 19 Jan 2021 11:52:57 +0800 Subject: [PATCH] =?UTF-8?q?=E8=8F=9C=E5=93=81=E7=B1=BB=E5=9E=8B=E5=A4=9A?= =?UTF-8?q?=E9=80=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../resources/mapper/custom/SysDishesMapper.xml | 2 +- stdiet-ui/src/views/custom/dishes/index.vue | 17 +++++++++++------ 2 files changed, 12 insertions(+), 7 deletions(-) diff --git a/stdiet-custom/src/main/resources/mapper/custom/SysDishesMapper.xml b/stdiet-custom/src/main/resources/mapper/custom/SysDishesMapper.xml index fbe886550..f9b6664c0 100644 --- a/stdiet-custom/src/main/resources/mapper/custom/SysDishesMapper.xml +++ b/stdiet-custom/src/main/resources/mapper/custom/SysDishesMapper.xml @@ -39,7 +39,7 @@ and name like concat('%', #{name}, '%') - and type = #{type} + and FIND_IN_SET(#{type}, type) and review_status = #{reviewStatus} diff --git a/stdiet-ui/src/views/custom/dishes/index.vue b/stdiet-ui/src/views/custom/dishes/index.vue index d7f5c88cf..e3f3259ef 100644 --- a/stdiet-ui/src/views/custom/dishes/index.vue +++ b/stdiet-ui/src/views/custom/dishes/index.vue @@ -11,7 +11,7 @@ /> - + - + + +