WMS相关文件添加,仅添加文件,可启动但未测试
This commit is contained in:
@@ -14,6 +14,7 @@ using ZR.Admin.WebApi.Filters;
|
||||
using ZR.Model.MES.pro;
|
||||
using ZR.Service.mes.pro;
|
||||
using ZR.Service.mes.pro.IService;
|
||||
using static System.Runtime.InteropServices.JavaScript.JSType;
|
||||
|
||||
namespace ZR.Admin.WebApi.Controllers.mes.pro
|
||||
{
|
||||
@@ -276,6 +277,25 @@ namespace ZR.Admin.WebApi.Controllers.mes.pro
|
||||
return ToResponse(new ApiResult(200, "success", data));
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 根据工单顺序 排序(排序掉转)
|
||||
/// </summary>
|
||||
/// <param name="oldId">初始序号</param>
|
||||
/// <param name="oldSort">初始排序</param>
|
||||
/// <param name="newId">放入序号</param>
|
||||
/// <param name="newSort">放入排序</param>
|
||||
/// <returns></returns>
|
||||
[HttpGet("updateSort2")]
|
||||
public IActionResult UpdateSort2(string oldId, int oldSort, string newId, int newSort)
|
||||
{
|
||||
int result = 0;
|
||||
if (string.IsNullOrEmpty(oldId)&& string.IsNullOrEmpty(newId))
|
||||
{
|
||||
return ToResponse(new ApiResult(400, "updateSortError", "排序参数异常"));
|
||||
}
|
||||
result = proWorkorderService.UpdateworkorderSort2(oldId, oldSort, newId, newSort);
|
||||
return ToResponse(new ApiResult(200, "success", result));
|
||||
}
|
||||
|
||||
|
||||
/// <summary>
|
||||
|
||||
Reference in New Issue
Block a user