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 @@ /> - + - + + +