张晓波
2023-09-19 164694c47c35d6654df69b533e8dbf8b5423efc5
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
package com.thhy.engineering.modules.biz.device.controller;
 
import com.thhy.engineering.modules.biz.device.service.TBigInspectService;
import com.thhy.general.common.BasicResult;
import org.springframework.web.bind.annotation.*;
 
import javax.annotation.Resource;
import java.util.Map;
 
@RestController
@RequestMapping("/bigInspect")
public class TBigInspectController {
 
    @Resource
    private TBigInspectService bigInspectService;
 
    //设备检查添加
    @PostMapping("/bigInspectInsert")
    public BasicResult bigInspectInsert(@RequestBody Map<String,Object> values){
        return bigInspectService.bigInspectInsert(values);
    }
    //设备检查列表
    @PostMapping("/bigInspectList")
    public BasicResult bigInspectList(@RequestBody Map<String,Object> values){
        return bigInspectService.bigInspectList(values);
    }
 
    //设备检查详情
    @GetMapping("/bigInspectInfo")
    public BasicResult bigInspectInfo(@RequestParam String bigInspectId){
        return bigInspectService.bigInspectInfo(bigInspectId);
    }
 
    //设备检查删除
    @GetMapping("/bigInspectDel")
    public BasicResult bigInspectDel(@RequestParam String bigInspectId){
        return bigInspectService.bigInspectDel(bigInspectId);
    }
    //设备检查修改
    @PostMapping("/bigInspectUpdate")
    public BasicResult bigInspectUpdate(@RequestBody Map<String,Object> values){
        return bigInspectService.bigInspectUpdate(values);
    }
 
 
}