111
啊鑫
2025-07-16 f6598be8fdb51673c0a48ddeac8bd0e622835b35
MESApplication/Controllers/QC/XJController.cs
@@ -159,12 +159,14 @@
    [HttpPost("setJYItem")]
    public ResponseResult setJYItem([FromBody] JObject data)
    {
        var itemNo = data["itemNo"].ToString();
        var itemId = Convert.ToDecimal(data["itemId"].ToString());
        try
        {
            dynamic resultInfos = new ExpandoObject();
            var tbBillList =
                new XJService().setJYItem(itemNo);
                new XJService().setJYItem(itemId);
            resultInfos.tbBillList = tbBillList;
            return new ResponseResult
            {
@@ -437,4 +439,27 @@
            return ResponseResult.ResponseError(ex);
        }
    }
    [HttpPost("XJQaSubmit")]
    public ResponseResult XJQaSubmit([FromBody] QsItem item)
    {
        try
        {
            dynamic resultInfos = new ExpandoObject();
            var tbBillList = new XJService();
            var detail021 = tbBillList.XJQaSubmit(item);
            resultInfos.tbBillList = detail021;
            return new ResponseResult
            {
                status = 0,
                message = "OK",
                data = resultInfos
            };
        }
        catch (Exception ex)
        {
            return ResponseResult.ResponseError(ex);
        }
    }
}