油漆实验室添加产品描述
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;
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -41,13 +41,13 @@ namespace ZR.Admin.WebApi.Controllers.mes.ql
|
||||
/// <param name="pageSize">页大小</param>
|
||||
/// <returns></returns>
|
||||
[HttpGet("getrawmateriallist")]
|
||||
public IActionResult GetRawMateriallist(DateTime starttime, DateTime endTime, string workorderid,string partnumber,int pageNum, int pageSize)
|
||||
public IActionResult GetRawMateriallist(DateTime starttime, DateTime endTime, string workorderid,string partnumber,string description, int pageNum, int pageSize)
|
||||
{
|
||||
//starttime = starttime.AddHours(8);
|
||||
//endTime = endTime.AddHours(8);
|
||||
|
||||
// 时间要增加,8个小时
|
||||
(List<PLRawMaterial>, int) lst = plRawMaterialService.GetRawMaterialTable(starttime, endTime, workorderid, partnumber,pageNum, pageSize);
|
||||
(List<PLRawMaterial>, int) lst = plRawMaterialService.GetRawMaterialTable(starttime, endTime, workorderid, partnumber, description, pageNum, pageSize);
|
||||
|
||||
return ToResponse(new ApiResult(200, "success", lst));
|
||||
}
|
||||
@@ -105,6 +105,7 @@ namespace ZR.Admin.WebApi.Controllers.mes.ql
|
||||
PLRawMaterial pLRawMaterial = new PLRawMaterial();
|
||||
pLRawMaterial.Id = pLRawMaterialDto.Id;
|
||||
pLRawMaterial.IdGroup = pLRawMaterialDto.plIdGroup;
|
||||
pLRawMaterial.Description = pLRawMaterialDto.Description;
|
||||
pLRawMaterial.Code = pLRawMaterialDto.plCode;
|
||||
pLRawMaterial.Pci = pLRawMaterialDto.plPci;
|
||||
pLRawMaterial.Value01 = pLRawMaterialDto.plValue01;
|
||||
|
||||
Reference in New Issue
Block a user