using System.Data; using JNPF.Common.Dtos.VisualDev; using JNPF.Common.Models; using JNPF.Systems.Entitys.System; namespace JNPF.Systems.Interfaces.System; /// /// 数据接口 /// 版 本:V3.2 /// 版 权:拓通智联科技有限公司(http://www.tuotong-tech.com) /// 日 期:2021-06-01. /// public interface IDataInterfaceService { /// /// 信息. /// /// 主键id. /// Task GetInfo(string id); /// /// sql接口查询. /// /// /// Task GetData(DataInterfaceEntity entity); /// /// 根据不同类型请求接口. /// /// /// 0 : 分页 1 :详情 ,其他 原始. /// /// /// 字典参数. /// Task GetResponseByType(string id, int type, string tenantId, VisualDevDataFieldDataListInput input = null, Dictionary dicParameters = null); /// /// 替换参数默认值. /// /// /// void ReplaceParameterValue(DataInterfaceEntity entity, Dictionary dic); /// /// 处理远端数据. /// /// 远端数据ID. /// 指定选项标签为选项对象的某个属性值. /// 指定选项的值为选项对象的某个属性值. /// 指定选项的子选项为选项对象的某个属性值. /// Task> GetDynamicList(string propsUrl, string value, string label, string children); }