油漆实验室添加产品描述
This commit is contained in:
@@ -21,17 +21,18 @@ namespace ZR.Admin.WebApi.Controllers.mes.ql
|
||||
/// <param name="starttime"></param>
|
||||
/// <param name="endTime"></param>
|
||||
/// <param name="workorderid">颜色代码</param>
|
||||
/// <param name="description">产品描述</param>
|
||||
/// <param name="pageNum"></param>
|
||||
/// <param name="pageSize"></param>
|
||||
/// <returns></returns>
|
||||
[HttpGet("gettestlist")]
|
||||
public IActionResult GetTestlist(DateTime starttime, DateTime endTime, string workorderid, int pageNum, int pageSize)
|
||||
public IActionResult GetTestlist(DateTime starttime, DateTime endTime, string workorderid, string description, int pageNum, int pageSize)
|
||||
{
|
||||
//starttime = starttime.AddHours(8);
|
||||
//endTime = endTime.AddHours(8);
|
||||
|
||||
// 时间要增加,8个小时
|
||||
(List<PLTest>, int) lst = plTestService.GetPLTestTable(starttime, endTime, workorderid, pageNum, pageSize);
|
||||
(List<PLTest>, int) lst = plTestService.GetPLTestTable(starttime, endTime, workorderid, description, pageNum, pageSize);
|
||||
|
||||
return ToResponse(new ApiResult(200, "success", lst));
|
||||
}
|
||||
@@ -89,6 +90,7 @@ namespace ZR.Admin.WebApi.Controllers.mes.ql
|
||||
PLTest pLTest = new PLTest();
|
||||
pLTest.Id = pLTestDto.Id;
|
||||
pLTest.IdGroup = pLTestDto.plIdGroup;
|
||||
pLTest.Description = pLTestDto.Description;
|
||||
pLTest.Code = pLTestDto.plCode;
|
||||
pLTest.Dt = pLTestDto.plDt;
|
||||
pLTest.Value01 = pLTestDto.plValue01;
|
||||
|
||||
Reference in New Issue
Block a user