啊鑫
2024-07-11 afbf8700d137710713db61955879d0f5acb73738
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
#region
 
using System.Collections.Generic;
using CSFrameworkV5.Interfaces.InterfaceModels;
 
#endregion
 
namespace CSFrameworkV5.Interfaces
{
    /// <summary>
    ///     高级查询通用接口
    /// </summary>
    public interface IAdvancedSearcher
    {
        /// <summary>
        ///     业务功能名称,如销售单,生产单
        /// </summary>
        string BusinessName { get; }
 
        /// <summary>
        ///     主表的别名,可以不定义。如:a, 拼接全部字段的SQL举例:a.CreateDate>'2017-01-01' AND a.CreatedBy='admin'
        /// </summary>
        string TableAliasName { get; }
 
        /// <summary>
        ///     最后一次查询返回的记录数
        /// </summary>
        int TopRows { get; set; }
 
        /// <summary>
        ///     最后一次查询生成的SQL语句
        /// </summary>
        string WhereSQL { get; set; }
 
        /// <summary>
        ///     本业务功能预设的查询字段列表
        /// </summary>
        /// <returns></returns>
        List<FieldNameDef> GetFieldList();
    }
}