首检添加数据看板

This commit is contained in:
2024-06-07 11:04:26 +08:00
parent c93711290e
commit 769d2da1e0
344 changed files with 1772 additions and 2526 deletions

View File

@@ -1,8 +1,4 @@
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Hosting;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using System.Collections.Generic;
using ZR.Admin.WebApi.Extensions;
using ZR.Model.mes.md;
using ZR.Model.mes.md.DTO;
@@ -55,7 +51,8 @@ namespace ZR.Admin.WebApi.Controllers.mes.md
[HttpPost("addUnit")]
public IActionResult AddUnitmeasure([FromBody] MdUnit paramss)
{
if(paramss == null) {
if (paramss == null)
{
return ToResponse(new ApiResult((int)ResultCode.NO_DATA, "null"));
}
paramss.ToCreate(HttpContext);
@@ -117,7 +114,7 @@ namespace ZR.Admin.WebApi.Controllers.mes.md
}
}