11
啊鑫
5 天以前 646ac6f3e1e77d0481e46ea15a6eb6db4ecba065
MESApplication/Controllers/QC/XJController.cs
@@ -165,13 +165,13 @@
    [HttpPost("setJYItem")]
    public ResponseResult setJYItem([FromBody] JObject data)
    {
        var itemId = Convert.ToDecimal(data["itemId"].ToString());
        var itemNo = "XJ001";
        try
        {
            dynamic resultInfos = new ExpandoObject();
            var tbBillList =
                new XJService().setJYItem(itemId);
                new XJService().setJYItem(itemNo);
            resultInfos.tbBillList = tbBillList;
            return new ResponseResult
            {
@@ -399,6 +399,29 @@
        }
    }
    //saveCommentGid
    [HttpPost("saveCommentGid")]
    public ResponseResult saveCommentGid([FromBody] XJDto rkjDto)
    {
        try
        {
            dynamic resultInfos = new ExpandoObject();
            var tbBillList =
                new XJService().saveCommentGid(rkjDto);
            resultInfos.tbBillList = tbBillList;
            return new ResponseResult
            {
                status = 0,
                message = "OK",
                data = resultInfos
            };
        }
        catch (Exception ex)
        {
            return ResponseResult.ResponseError(ex);
        }
    }
    //saveRemarksPid
    [HttpPost("saveRemarksPid")]
    public ResponseResult saveRemarksPid([FromBody] XJDto rkjDto)