fcx
2 天以前 aa63b28eb1187509cfc54d4e56f5f4f669021563
StandardPda/MESApplication/Controllers/QC/XJController.cs
@@ -529,6 +529,40 @@
    /// <summary>
    ///     添加巡检单
    /// </summary>
    /// <param name="data"></param>
    /// <returns></returns>
    [HttpPost("createInspection")]
    public ResponseResult createInspection([FromBody] CreateInspectionDto data)
    {
        try
        {
            var tbBillList = new XJService().createInspection(data);
            return new ResponseResult
            {
                status = 0,
                message = "OK",
                data = tbBillList
            };
        }
        catch (Exception ex)
        {
            return ResponseResult.ResponseError(ex);
        }
    }