菜品管理页面
This commit is contained in:
@ -1,7 +1,11 @@
|
||||
package com.stdiet.custom.mapper;
|
||||
|
||||
import java.lang.reflect.Array;
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
import com.stdiet.custom.domain.SysDishes;
|
||||
import com.stdiet.custom.domain.SysDishesIngredient;
|
||||
import com.stdiet.custom.domain.SysIngredient;
|
||||
|
||||
/**
|
||||
* 菜品Mapper接口
|
||||
@ -19,6 +23,8 @@ public interface SysDishesMapper
|
||||
*/
|
||||
public SysDishes selectSysDishesById(Long id);
|
||||
|
||||
public ArrayList<SysDishesIngredient> selectSysIngreditentsById(Long id);
|
||||
|
||||
/**
|
||||
* 查询菜品列表
|
||||
*
|
||||
@ -58,4 +64,10 @@ public interface SysDishesMapper
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteSysDishesByIds(Long[] ids);
|
||||
|
||||
public int deleteIngredientById(Long id);
|
||||
|
||||
public int deleteIngredientByIds(Long[] ids);
|
||||
|
||||
public int bashInsertDishesIngredent(List<SysDishesIngredient> sysDishesIngredients);
|
||||
}
|
@ -68,4 +68,8 @@ public interface SysIngredientMapper
|
||||
public int deleteIngredentRecByIngredientId(Long recId);
|
||||
|
||||
public int deleteIngredentNotRecByIngredientId(Long notRecId);
|
||||
|
||||
public int deleteIngredentRecByIngredientIds(Long[] id);
|
||||
|
||||
public int deleteIngredentNotRecByIngredientIds(Long[] id);
|
||||
}
|
Reference in New Issue
Block a user