using ASHermed.SinoInterface.Api.ContractModel;
using ASHermed.SinoInterface.Repository.MySql;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;

namespace ASHermed.SinoInterface.Api.IRepository.App
{

    /// <summary>
    /// 材料补充  仓储层
    /// </summary>
    public interface ISupplementaryMaterialsRepository : IBaseRepositoryToASHermed_SinoInterface<Sys_Supplementary_Materials>
    {
        /// <summary>
        /// 新增补充材料
        /// </summary>
        /// <returns></returns>
        Task<int> SMR_InsertAsync(AddSupplementaryMaterialsParam param);
        /// <summary>
        /// 修改补充材料
        /// </summary>
        /// <returns></returns>
        Task<int> SMR_UpdateAsync(AddSupplementaryMaterialsParam param);
        /// <summary>
        ///  删除 --逻辑删除
        /// </summary>
        /// <param name="param"></param>
        /// <returns></returns>
        Task<int> SMR_DeletedAsync(DeletedSupplementaryMaterialsParam param);

        Task<AddSupplementaryMaterialsParam> GetSupplementaryMaterials(GetSupplementaryMaterialsParam param);
    }
}
