啊鑫
2024-09-12 e80da1ea0baacf0cf324f1f6b699490d67cbb565
MESApplication/Controllers/QC/LljController.cs
@@ -12,7 +12,6 @@
[ApiController]
public class LljController: ControllerBase
{
    [HttpPost("getPage")]
    public ResponseResult getPage([FromBody] XJPageResult queryObj)
    {
@@ -82,11 +81,11 @@
            return ResponseResult.ResponseError(ex);
        }
    }
    //getItems
    [HttpPost("getJYItem")]
    public ResponseResult getJYItem([FromBody] JObject data)
    {
        var id  = data["id"]?.ToString();
        var releaseNo = data["releaseNo"]?.ToString();
        try
@@ -136,7 +135,8 @@
    
    [HttpPost("SetQSItemDetail")]
    public ResponseResult SetQSItemDetail([FromBody] MesQaItemsDetectDetail12 detail)
    public ResponseResult SetQSItemDetail(
        [FromBody] MesQaItemsDetectDetail12 detail)
    {
        try
        {
@@ -202,6 +202,7 @@
            return ResponseResult.ResponseError(ex);
        }
    }
    //saveRemarksPid 子表添加不合格描述
    [HttpPost("saveRemarksPid")]
    public ResponseResult saveRemarksPid([FromBody] LLJDto rkjDto)
@@ -249,4 +250,26 @@
        }
    }
    //IqcQaSubmit
    [HttpPost("IqcQaSubmit")]
    public ResponseResult IqcQaSubmit(LLJDto rkjDto)
    {
        try
        {
            dynamic resultInfos = new ExpandoObject();
            var tbBillList =
                new LljService().IqcQaSubmit(rkjDto);
            resultInfos.tbBillList = tbBillList;
            return new ResponseResult
            {
                status = 0,
                message = "OK",
                data = resultInfos
            };
        }
        catch (Exception ex)
        {
            return ResponseResult.ResponseError(ex);
        }
    }
}