54 lines
1.1 KiB
Plaintext
54 lines
1.1 KiB
Plaintext
using JNPF.Common.Filter;
|
|
|
|
namespace JNPF.@(@Model.NameSpace).Entitys.Dto.@Model.ClassName;
|
|
|
|
/// <summary>
|
|
/// @(@Model.BusName)列表查询输入.
|
|
/// </summary>
|
|
public class @(@Model.ClassName)ListQueryInput : PageInputBase
|
|
{
|
|
@if(Model.HasSuperQuery)
|
|
{
|
|
@:/// <summary>
|
|
@:/// 高级查询.
|
|
@:/// </summary>
|
|
@:public string superQueryJson { get; set; }
|
|
@:
|
|
}
|
|
/// <summary>
|
|
/// 选择导出数据key.
|
|
/// </summary>
|
|
public string selectKey { get; set; }
|
|
|
|
/// <summary>
|
|
/// 导出类型.
|
|
/// </summary>
|
|
public int dataType { get; set; }
|
|
|
|
@foreach (var column in Model.TableField){
|
|
@if (column.QueryWhether)
|
|
{
|
|
@:/// <summary>
|
|
@:/// @column.ColumnComment.
|
|
@:/// </summary>
|
|
@:public string @column.LowerColumnName { get; set; }
|
|
@:
|
|
}
|
|
}
|
|
@foreach(var table in Model.TableRelations){
|
|
if(table.IsQueryWhether)
|
|
{
|
|
foreach(var cloumn in table.ChilderColumnConfigList)
|
|
{
|
|
if(cloumn.QueryWhether)
|
|
{
|
|
@:/// <summary>
|
|
@:/// @cloumn.ColumnComment.
|
|
@:/// </summary>
|
|
@:public string @(@table.ControlModel + "_" + @cloumn.LowerColumnName) { get; set; }
|
|
@:
|
|
}
|
|
}
|
|
}
|
|
}
|
|
} |