苍穹外卖--套餐管理--全部功能实现

This commit is contained in:
2025-11-11 16:24:05 +08:00
parent 5b1d5eb25f
commit 6c35434793
12 changed files with 527 additions and 1 deletions

View File

@@ -48,4 +48,20 @@
</set>
where id = #{id}
</update>
<select id="list" resultType="Dish" parameterType="Dish">
select * from dish
<where>
<if test="name != null">
and name like concat('%',#{name},'%')
</if>
<if test="categoryId != null">
and category_id = #{categoryId}
</if>
<if test="status != null">
and status = #{status}
</if>
</where>
order by create_time desc
</select>
</mapper>