首检添加数据看板
This commit is contained in:
@@ -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
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user