2023-11-6
This commit is contained in:
parent
adaf5b8013
commit
519a43d8d7
@ -7,6 +7,7 @@ using System.Text.Json;
|
||||
using ZR.Admin.WebApi.Extensions;
|
||||
using ZR.Model.mes.md;
|
||||
using ZR.Model.mes.pro;
|
||||
using ZR.Model.MES.pro.DTO;
|
||||
using ZR.Service.mes.pro;
|
||||
using ZR.Service.mes.pro.IService;
|
||||
using ZR.Service.MES.md;
|
||||
@ -103,7 +104,7 @@ namespace ZR.Admin.WebApi.Controllers.MES.pro
|
||||
/// <param name="parameter"></param>
|
||||
/// <returns></returns>
|
||||
[HttpPost("sortschedule")]
|
||||
public IActionResult SortSchedule([FromBody] List<t> parameter)
|
||||
public IActionResult SortSchedule([FromBody] List<ProWorkorderSortDTO> parameter)
|
||||
{
|
||||
|
||||
//JsonElement t = (JsonElement)parameter;
|
||||
@ -123,10 +124,4 @@ namespace ZR.Admin.WebApi.Controllers.MES.pro
|
||||
return ToResponse(new ApiResult(200, "success", 1));
|
||||
}
|
||||
}
|
||||
|
||||
public class t
|
||||
{
|
||||
public string id { get; set; }
|
||||
public int order { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
14
ZR.Model/MES/pro/DTO/ProWorkorderSortDTO.cs
Normal file
14
ZR.Model/MES/pro/DTO/ProWorkorderSortDTO.cs
Normal file
@ -0,0 +1,14 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace ZR.Model.MES.pro.DTO
|
||||
{
|
||||
public class ProWorkorderSortDTO
|
||||
{
|
||||
public string id { get; set; }
|
||||
public int order { get; set; }
|
||||
}
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user