菜谱管理
This commit is contained in:
parent
ea5ee5ee42
commit
02fdba8d35
|
|
@ -62,6 +62,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||||
<select id="selectCookRecipeList" parameterType="com.bonus.canteen.core.cook.domain.CookRecipe" resultMap="CookRecipeResult">
|
<select id="selectCookRecipeList" parameterType="com.bonus.canteen.core.cook.domain.CookRecipe" resultMap="CookRecipeResult">
|
||||||
<include refid="selectCookRecipeVo"/>
|
<include refid="selectCookRecipeVo"/>
|
||||||
<where>
|
<where>
|
||||||
|
cr.del_flag = 0
|
||||||
<if test="recipeName != null and recipeName != ''"> and cr.recipe_name like concat('%', #{recipeName}, '%')</if>
|
<if test="recipeName != null and recipeName != ''"> and cr.recipe_name like concat('%', #{recipeName}, '%')</if>
|
||||||
<if test="recipeType != null "> and cr.recipe_type = #{recipeType}</if>
|
<if test="recipeType != null "> and cr.recipe_type = #{recipeType}</if>
|
||||||
<if test="stallId != null "> and cr.stall_id = #{stallId}</if>
|
<if test="stallId != null "> and cr.stall_id = #{stallId}</if>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue