using Central.Control.Domain;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace MES.Production.Service.IService
{
///
/// Service层代码配置接口
/// add 作者: 季健国 QQ:181589805 by 2016-05-22
///
public interface ICodeManage : IRepository
{
///
/// 根据编码类型获取编码集合
///
/// 编码类型
/// 编码值
List GetCode(string codetype, params string[] codevalue);
///
/// 通过字典查询字典指向的编码集合
///
IQueryable GetDicType();
///
/// 根据字典ID与类型获取一条数据
///
string GetCodeByID(int id,string codetype);
///
/// 根据字典编码值与类型获取一条数据
///
string GetCodeNameByCodeValue(string codeType, string codevalue);
}
}