工作台业务模块功能代码开发

This commit is contained in:
zvv
2026-04-10 11:27:15 +08:00
parent 0da38cd6da
commit df4b8e9e60
9 changed files with 317 additions and 10 deletions

View File

@@ -44,8 +44,6 @@
order by s.create_time desc
</select>
<!-- 修改套餐 -->
<update id="update" parameterType="Setmeal">
update setmeal
@@ -62,5 +60,11 @@
where id = #{id}
</update>
<select id="countByMap" resultType="java.lang.Integer">
select count(id) from setmeal
<where>
<if test="status != null"> and status = #{status} </if>
<if test="categoryId != null"> and category_id = #{categoryId} </if>
</where>
</select>
</mapper>