111
啊鑫
2025-07-16 f6598be8fdb51673c0a48ddeac8bd0e622835b35
MESApplication/Controllers/QC/RKJController.cs
@@ -59,34 +59,34 @@
    }
  /*  //getDaa001
    [HttpPost("getDaa001")]
    public ResponseResult getDaa001([FromBody] JObject data)
    {
        var lineNo = data["lineNo"].ToString();
        try
        {
            dynamic resultInfos = new ExpandoObject();
            var tbBillList =
                new RKJService().GetDaa001s(lineNo);
            resultInfos.tbBillList = tbBillList;
            return new ResponseResult
            {
                status = 0,
                message = "OK",
                data = resultInfos
            };
        }
        catch (Exception ex)
        {
            return ResponseResult.ResponseError(ex);
        }
    }
*/
    /*  //getDaa001
      [HttpPost("getDaa001")]
      public ResponseResult getDaa001([FromBody] JObject data)
      {
          var lineNo = data["lineNo"].ToString();
          try
          {
              dynamic resultInfos = new ExpandoObject();
              var tbBillList =
                  new RKJService().GetDaa001s(lineNo);
              resultInfos.tbBillList = tbBillList;
              return new ResponseResult
              {
                  status = 0,
                  message = "OK",
                  data = resultInfos
              };
          }
          catch (Exception ex)
          {
              return ResponseResult.ResponseError(ex);
          }
      }
  */
    [HttpPost("setJYItem")]
    public ResponseResult setJYItem([FromBody] JObject data)
    {
        var itemId = Convert.ToDecimal(data["itemId"].ToString());
        var itemId = Convert.ToDecimal(data["itemId"].ToString());
        var quantity = Convert.ToDecimal(data["quantity"].ToString());
        try
        {
@@ -135,7 +135,7 @@
        try
        {
            dynamic resultInfos = new ExpandoObject();
            var tbBillList =  new RKJService().getPage(queryObj);
            var tbBillList = new RKJService().getPage(queryObj);
            resultInfos.tbBillList = tbBillList;
            return new ResponseResult
            {
@@ -149,6 +149,7 @@
            return ResponseResult.ResponseError(ex);
        }
    }
    [HttpPost("getSearchPage")]
    public ResponseResult getSearchPage([FromBody] XJPageResult queryObj)
    {
@@ -159,7 +160,7 @@
            {
                status = 0,
                message = "OK",
                data = tbBillList  // 这里直接把 PageResult<QsItemOqcReq> 放进去,里面包含 tbBillList
                data = tbBillList // 这里直接把 PageResult<QsItemOqcReq> 放进去,里面包含 tbBillList
            };
        }
        catch (Exception ex)
@@ -381,6 +382,7 @@
            return ResponseResult.ResponseError(ex);
        }
    }
    [HttpPost("RKJQaSubmit")]
    public ResponseResult RKJQaSubmit([FromBody] QsItem item)
    {
@@ -402,6 +404,4 @@
            return ResponseResult.ResponseError(ex);
        }
    }
}