表格修改
This commit is contained in:
parent
3970c38287
commit
8f205f345c
@ -11,6 +11,24 @@ namespace DOAN.Model.MES.dev.Dto
|
||||
/// </summary>
|
||||
public class DeviceUptimeQueryDto : PagerInfo
|
||||
{
|
||||
public string Id { get; set; }
|
||||
|
||||
public string targetValue { get; set; }
|
||||
|
||||
public string ActualValue { get; set; }
|
||||
|
||||
public string Workshop { get; set; }
|
||||
|
||||
public string FillTime { get; set; }
|
||||
|
||||
public string CreatedBy { get; set; }
|
||||
|
||||
public DateTime? CreatedTime { get; set; }
|
||||
|
||||
public string UpdatedBy { get; set; }
|
||||
|
||||
public DateTime? UpdatedTime { get; set; }
|
||||
public string Type { get; set; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
||||
@ -32,8 +32,6 @@ namespace DOAN.Service.MES.dev
|
||||
.AndIF(!string.IsNullOrEmpty(parm.Workshop), it => parm.Workshop == it.Workshop);
|
||||
|
||||
var response = Queryable()
|
||||
.WhereIF(!string.IsNullOrEmpty(parm.Workshop),x=>x.Workshop==parm.Workshop)
|
||||
.WhereIF(!string.IsNullOrEmpty(parm.Type),x=>x.Type==parm.Type)
|
||||
.Where(predicate.ToExpression())
|
||||
.ToPage<DeviceUptime, DeviceUptimeDto>(parm);
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user