工作台业务模块功能代码开发
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user