wbc
2025-02-12 b2bc0cccd77524b3ba1f05d5f7854324ce62ba2e
MESApplication/Controllers/QC/XJController.cs
@@ -4,6 +4,7 @@
using MES.Service.service.QC;
using MES.Service.util;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Data.SqlClient.Server;
using Newtonsoft.Json.Linq;
namespace MESApplication.Controllers.QC;
@@ -82,7 +83,9 @@
    }
    //getDaa001
    /// <summary>
    ///     获取工单
    /// </summary>
    [HttpPost("getDaa001")]
    public ResponseResult getDaa001([FromBody] JObject data)
    {
@@ -107,7 +110,10 @@
        }
    }
    //getBoardItem
    /// <summary>
    ///     根据产线获取物料编码  lineNo
    /// </summary>
    /// <returns></returns>
    [HttpPost("getBoardItem")]
    public ResponseResult getBoardItem([FromBody] JObject data)
    {
@@ -159,12 +165,13 @@
    [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
            {