!90 新增替换功能,快速增加餐类菜品

Merge pull request !90 from 德仔/develop
This commit is contained in:
德仔
2021-03-04 16:52:08 +08:00
committed by Gitee
10 changed files with 207 additions and 71 deletions

View File

@ -82,6 +82,9 @@
<update id="updateDishesDetail" parameterType="SysRecipesDailyDishes">
update sys_customer_menu_dishes
<trim prefix="SET" suffixOverrides=",">
<if test="menuId != null">menu_id = #{menuId},</if>
<if test="dishesId != null">dishes_id = #{dishesId},</if>
<if test="type != null">type = #{type},</if>
<if test="detail != null">detail = #{detail, jdbcType=OTHER, typeHandler=com.stdiet.custom.typehandler.ArrayJsonHandler},</if>
</trim>
where id = #{id}