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.

38 lines
1.8 KiB
C#

using Dapper;
using Estsh.Core.Model.ExcelModel;
using Estsh.Core.Model.Result;
using Estsh.Core.Models;
using Estsh.Core.Repositories;
using System.Collections;
namespace Estsh.Core.Repository.IRepositories
{
public interface IPartMasterRepository : IBaseRepository<SysPart>
{
#region 成员方法
public List<SysPart> getList(string strWhere);
public Hashtable getListByPage(String part_type, int PageSize, int PageIndex, string strWhere, string OrderBy);
public int savePartMaster(SysPart htParams);
public int updatePartMaster(SysPart htParams);
public int deletePartMaster(String part_id);
public SysPart getPartByExistName(String partNo);
public SysPart getPartByExistSpec(String partSpec);
public List<SysPart> ifPartNo(String partNo);
public List<SysEnum> selectEnumValue(string enumDesc);
public List<SysRoute> selectRouteId(string routeName);
public List<KeyValueResult> getSelectPartMaster();
public List<KeyValueResult> getSelectPartMaster_Model_name();
public List<KeyValueResult> getSelectPartLocation();
public List<KeyValueResult> getSelectPartMaster_Enum();
public List<KeyValueResult> getSelectPartMaster_Locate();
public List<KeyValueResult> getSelectPartMaster_TMGZ();
public List<KeyValueResult> getSelectPartMaster_Route();
public List<PartMaster> getTableListByPage(String part_type, int PageSize, int PageIndex, string strWhere, string OrderBy);
public bool InsertData(List<string> SqlStrings, List<SysPart> Parameters);
public int EnablePartMaster(String part_id);
public int DisablePartMaster(String part_id);
public List<PartMaster> getExportList(string strWhere, string orderBy);
#endregion 成员方法
}
}