表格修改

This commit is contained in:
小魔仙 2025-05-06 15:02:44 +08:00
parent 3970c38287
commit 8f205f345c
2 changed files with 18 additions and 2 deletions

View File

@ -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>

View File

@ -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);