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.
41 lines
1.6 KiB
C#
41 lines
1.6 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;
|
|
using System.Data;
|
|
|
|
namespace Estsh.Core.Repository.IRepositories
|
|
{
|
|
public interface IModelPartRepository : IBaseRepository<SysModel>
|
|
{
|
|
#region 成员方法
|
|
public List<SysModel> getList(string strWhere, string filedOrder);
|
|
public Hashtable getListByPage(int PageSize, int PageIndex, string strWhere, string OrderBy);
|
|
public Hashtable getListByPage2(int PageSize, int PageIndex, string strWhere, string OrderBy);
|
|
public int saveModelPart(SysModel htParams);
|
|
public int saveModelPart_Sys_part(SysPart htParams);
|
|
public int updateModelPart(SysModel htParams);
|
|
public int updateModelPart_Sys_part(SysPart htParams);
|
|
public int deleteModelPart(String model_id);
|
|
public int EnableData(String ids);
|
|
public int DisableData(String ids);
|
|
|
|
public int onState(String model_id, String enabled, string userID);
|
|
public int onState(String model_id, string userID);
|
|
public List<KeyValueResult> getSelectModelPart();
|
|
public List<KeyValueResult> GetModelName(string typeName);
|
|
public List<KeyValueResult> GetTypeName();
|
|
public bool InsertData(List<ModelPart> dt, string emp_id);
|
|
public int GetModelID(string modelName);
|
|
public int GetModelTypeID(string modelTypeName);
|
|
public int GetModelPartID(string modelName);
|
|
public string getModelName(string modelName);
|
|
public int GetModelIDFromPart(string modelName);
|
|
|
|
|
|
#endregion 成员方法
|
|
}
|
|
}
|