zyf
2025-11-27 d7f491034ae9694741178f17f809143f48470520
MESApplication/Controllers/QC/XJController.cs
@@ -60,13 +60,14 @@
    //getLine
    [HttpPost("getLineAll")]
    public ResponseResult getLineAll()
    public ResponseResult getLineAll([FromBody] JObject data)
    {
        try
        {
            string UserNo = data["userNo"]?.ToString();
            dynamic resultInfos = new ExpandoObject();
            var tbBillList =
                new XJService().getLineAll();
                new XJService().getLineAll(UserNo);
            resultInfos.tbBillList = tbBillList;
            return new ResponseResult
            {
@@ -88,13 +89,13 @@
    [HttpPost("getDaa001")]
    public ResponseResult getDaa001([FromBody] JObject data)
    {
        var daa020 = data["daa020"].ToString();
        var item = data["item"].ToString();
        //var daa020 = data["daa020"].ToString();
        //var item = data["item"].ToString();
        try
        {
            dynamic resultInfos = new ExpandoObject();
            var tbBillList =
                new XJService().getDaa001(daa020, item);
                new XJService().getDaa001(data);
            resultInfos.tbBillList = tbBillList;
            return new ResponseResult
            {
@@ -514,6 +515,30 @@
    }
    /// <summary>
    /// 巡检撤回
    /// </summary>
    [HttpPost("XJReSubmit")]
    public ResponseResult XJReSubmit(LLJDto rkjDto)
    {
        try
        {
            dynamic resultInfos = new ExpandoObject();
            var res =
                new XJService().XJReSubmit(rkjDto);
            return new ResponseResult
            {
                status = 0,
                message = "OK",
                data = res
            };
        }
        catch (Exception ex)
        {
            return ResponseResult.ResponseError(ex);
        }
    }
    /// <summary>
    /// 获取行不良原因
    /// </summary>
    /// <param name="data"></param>