11
tjx
2025-11-04 768fa0d39ec4c276f2164ccec76a9fcdd87fa6d5
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
using System.Dynamic;
using Microsoft.AspNetCore.Mvc;
using PadApplication.Entites.DbModels;
using PadApplication.Entites.Dto;
using PadApplication.Services;
using PadApplication.util;
 
namespace PadApplication.Controllers;
 
[ApiController]
[Route("api/[controller]")]
public class EquipmentInspectionController : ControllerBase
{
 
    [HttpPost("Query")]
    public ResponseResult Query(OrderMachineDto query)
    {
        try
        {
            dynamic resultInfos = new ExpandoObject(); 
            return new ResponseResult
            {
                status = 0,
                message = "OK",
                data = resultInfos
            };
        }
        catch (Exception ex)
        {
            return ResponseResult.ResponseError(ex);
        }
    }
 
    //GetWomdaasByEngineeringNo
    [HttpPost("Save")]
    public ResponseResult Save(OrderMachineDto query)
    {
        try
        {
            dynamic resultInfos = new ExpandoObject();
            return new ResponseResult
            {
                status = 0,
                message = "OK",
                data = resultInfos
            };
        }
        catch (Exception ex)
        {
            return ResponseResult.ResponseError(ex);
        }
    }
}