外食计算

This commit is contained in:
xiezhijun
2021-02-23 18:53:29 +08:00
parent 9de0e2bffc
commit 20b7697ddc
8 changed files with 155 additions and 13 deletions

View File

@ -4,6 +4,7 @@ import java.util.List;
import com.stdiet.custom.domain.SysIngredient;
import com.stdiet.custom.domain.SysIngredientNotRec;
import com.stdiet.custom.domain.SysIngredientRec;
import org.apache.ibatis.annotations.Param;
/**
* 食材Mapper接口
@ -72,4 +73,11 @@ public interface SysIngredientMapper
public int deleteIngredentRecByIngredientIds(Long[] id);
public int deleteIngredentNotRecByIngredientIds(Long[] id);
/**
* 根据食材名称查询食材信息
* @param name
* @return
*/
public SysIngredient selectSysIngredientByName(@Param("name") String name);
}