菜品校验查询类别默认不查parent=0的值
This commit is contained in:
parent
aec860dacf
commit
e5bb96d186
|
|
@ -290,7 +290,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||||
where del_flag = '0'
|
where del_flag = '0'
|
||||||
</select>
|
</select>
|
||||||
<select id="getCookMaterialTypeMap" resultType="com.bonus.canteen.core.cook.domain.MapBean">
|
<select id="getCookMaterialTypeMap" resultType="com.bonus.canteen.core.cook.domain.MapBean">
|
||||||
select dishes_type_name as `key` ,dishes_type_id as `value` from cook_dishes_type
|
select dishes_type_name as `key` ,dishes_type_id as `value` from cook_dishes_type where parent_id != 0
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
<insert id="insertCookDishes" parameterType="com.bonus.canteen.core.cook.domain.CookDishes" useGeneratedKeys="true" keyProperty="dishesId">
|
<insert id="insertCookDishes" parameterType="com.bonus.canteen.core.cook.domain.CookDishes" useGeneratedKeys="true" keyProperty="dishesId">
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue