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.
46 lines
2.0 KiB
C#
46 lines
2.0 KiB
C#
using Estsh.Core.Model.ExcelModel;
|
|
using Estsh.Core.Model.Result;
|
|
using Estsh.Core.Models;
|
|
using Estsh.Core.Repositories;
|
|
using System.Data;
|
|
|
|
namespace Estsh.Core.Repository.IRepositories
|
|
{
|
|
public interface IBOMDefineRepository: IBaseRepository<SysBom>
|
|
{
|
|
#region 成员方法
|
|
|
|
public List<KeyValueResult> getSelectModel(String modelType);
|
|
public List<KeyValueResult> getSelectPartNo(String bomType, String model);
|
|
public List<KeyValueResult> getProcessData(int factoryId);
|
|
public List<SysBom> getBOMList(String bomType, String partId, String sort, String direction, string pdline,string enabled);
|
|
public List<BOMDefine> getExpotBOMList(String bomType, String partId, String sort, String direction);
|
|
public List<BOMDefine> exportALL(String bomType, String sort, String direction);
|
|
public int GetPartIDByCPN(string cpn);
|
|
public int GetPartID(string partNO);
|
|
public string GetBOMType(int bomID);
|
|
public string GetBOMPartId(string partNo);
|
|
public int GetBOMID(string partNo, int bomType);
|
|
public bool UpdateBOMDetail(SysBomDetail values, int bomID, int itemPartID);
|
|
public bool UpdateBOMDetail(SysBomDetail values, string guid);
|
|
public bool DeleteBOMDetail(int bomID);
|
|
public int DeleteBOMDetial(String guid);
|
|
public int EnableData(String ids);
|
|
public int DisableData(String ids);
|
|
|
|
public bool ExistsPartSNRule(int partID);
|
|
public int ExistsProcessId(string processName);
|
|
public bool BuildBOMMatchForTransBind(int bomID);
|
|
public bool BOMMatchByCPN();
|
|
public bool BuildBOMMatch(int bomID);
|
|
public bool InsertData(List<BOMDefine> dt, bool isBOMMatchByCPN);
|
|
public int GetProcessID(string processName);
|
|
public bool InsertBOM(SysBom Params);
|
|
public bool DeleteBOM(int bomID);
|
|
public bool insertBom(string tableName, SysBom Params);
|
|
public bool insertBomDetail(string tableName, SysBomDetail Params);
|
|
|
|
#endregion 成员方法
|
|
}
|
|
}
|