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);
|
}
|
|
|
}
|