油漆实验室添加产品描述
This commit is contained in:
@@ -25,13 +25,13 @@ namespace ZR.Admin.WebApi.Controllers.mes.ql
|
||||
/// <param name="pageSize"></param>
|
||||
/// <returns></returns>
|
||||
[HttpGet("getbatchlist")]
|
||||
public IActionResult GetBatchlist(DateTime starttime, DateTime endTime, string workorderid, int pageNum, int pageSize)
|
||||
public IActionResult GetBatchlist(DateTime starttime, DateTime endTime, string workorderid, string description, int pageNum, int pageSize)
|
||||
{
|
||||
|
||||
//starttime = starttime.AddHours(8);
|
||||
//endTime = endTime.AddHours(8);
|
||||
// 时间要增加,8个小时
|
||||
(List<PLBatch>, int) lst = plBatchService.GetPLBatchTable(starttime, endTime, workorderid, pageNum, pageSize);
|
||||
(List<PLBatch>, int) lst = plBatchService.GetPLBatchTable(starttime, endTime, workorderid, description, pageNum, pageSize);
|
||||
|
||||
return ToResponse(new ApiResult(200, "success", lst));
|
||||
}
|
||||
@@ -89,6 +89,7 @@ namespace ZR.Admin.WebApi.Controllers.mes.ql
|
||||
PLBatch pLBatch = new PLBatch();
|
||||
pLBatch.Id = pLBatchDto.Id;
|
||||
pLBatch.IdGroup = pLBatchDto.plIdGroup;
|
||||
pLBatch.Description = pLBatchDto.Description;
|
||||
pLBatch.Code = pLBatchDto.plCode;
|
||||
pLBatch.Dt = pLBatchDto.plDt;
|
||||
pLBatch.Value01 = pLBatchDto.plValue01;
|
||||
|
||||
Reference in New Issue
Block a user