You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
40 lines
944 B
C#
40 lines
944 B
C#
using Admin.Core.IService;
|
|
using Admin.Core.Model;
|
|
using System.Collections.Generic;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace Admin.Core.IService
|
|
{
|
|
/// <summary>
|
|
/// Ixl_recipeServices
|
|
/// </summary>
|
|
public interface Ixl_recipeServices :IBaseServices<xl_recipe>
|
|
{
|
|
/// <summary>
|
|
/// 新增配方信息
|
|
/// </summary>
|
|
/// <param name="recipe"></param>
|
|
/// <returns></returns>
|
|
Task<bool> xlInsertRecipe(xl_recipe recipe);
|
|
|
|
/// <summary>
|
|
/// 更新配方信息
|
|
/// </summary>
|
|
/// <param name="recipe"></param>
|
|
/// <returns></returns>
|
|
Task<bool> xlUpdateRecipe(xl_recipe recipe);
|
|
|
|
/// <summary>
|
|
/// 获取配方列表
|
|
/// </summary>
|
|
/// <returns></returns>
|
|
Task<List<xl_recipe>> xlGetAllRecipes();
|
|
|
|
/// <summary>
|
|
/// 如果有记录就更新,没有记录就新增
|
|
/// </summary>
|
|
/// <param name="recipe"></param>
|
|
/// <returns></returns>
|
|
Task<bool> xlUpdateOrAdd(xl_recipe recipe);
|
|
}
|
|
} |