油漆实验室添加产品描述
This commit is contained in:
@@ -58,7 +58,7 @@ namespace ZR.Service.mes.ql
|
||||
/// 查询数据记录,要改成分页查询
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
public (List<PLRawMaterial>, int) GetRawMaterialTable(DateTime starttime, DateTime endTime, string pci, string colorCode, int pageNum, int pageSize)
|
||||
public (List<PLRawMaterial>, int) GetRawMaterialTable(DateTime starttime, DateTime endTime, string pci, string colorCode,string description, int pageNum, int pageSize)
|
||||
{
|
||||
starttime = starttime.ToLocalTime();
|
||||
endTime = endTime.ToLocalTime();
|
||||
@@ -68,6 +68,7 @@ namespace ZR.Service.mes.ql
|
||||
.AndIF(endTime > new DateTime(2023, 1, 1, 0, 0, 0), it => it.CreatedTime <= endTime.ToLocalTime())
|
||||
.AndIF(!string.IsNullOrEmpty(pci), it => it.Pci.Contains(pci))
|
||||
.AndIF(!string.IsNullOrEmpty(colorCode), it => it.Pci.Contains(colorCode))
|
||||
.AndIF(!string.IsNullOrEmpty(description), it => it.Description.Contains(description))
|
||||
.ToExpression();
|
||||
|
||||
|
||||
@@ -113,6 +114,7 @@ namespace ZR.Service.mes.ql
|
||||
{
|
||||
Id = 0,
|
||||
IdGroup = DateTime.Now.ToString("yyyyMMddHHmmssfff"),
|
||||
Description = "",
|
||||
Code = "",
|
||||
Pci = "",
|
||||
Value01 = "",
|
||||
|
||||
Reference in New Issue
Block a user