| | |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | | import javax.annotation.Resource; |
| | | import javax.servlet.http.HttpServletResponse; |
| | | import java.util.Map; |
| | | |
| | | /** |
| | |
| | | * 检测或校准物品的处置总表(历史) 前端控制器 |
| | | * </p> |
| | | * |
| | | * @author 芯导软件(江苏)有限公司 |
| | | * @author |
| | | * @since 2024-11-02 03:59:09 |
| | | */ |
| | | @RestController |
| | |
| | | @GetMapping("/pageProcessTotaldeal") |
| | | public Result pageProcessTotaldeal(ProcessTotaldeal processTotaldeal , Page page) throws Exception { |
| | | return Result.success(processTotaldealService.pageProcessTotaldeal(page, processTotaldeal)); |
| | | } |
| | | |
| | | @ApiOperation(value = "新增检测或校准物品的处置") |
| | | @PostMapping("/addProcessTotaldeal") |
| | | public Result addProcessTotaldeal(@RequestBody Map<String, String> param) { |
| | | String month = param.get("month"); |
| | | return Result.success(processTotaldealService.addProcessTotaldeal(month)); |
| | | } |
| | | |
| | | @ApiOperation(value = "提交检测或校准物品的处置") |
| | |
| | | return Result.success(processTotaldealService.ratifyProcessTotaldeal(id,state)); |
| | | } |
| | | |
| | | @ApiOperation(value = "导出检测或校准物品的处置") |
| | | @GetMapping("/exportProcessTotaldeal") |
| | | public void exportProcessTotaldeal(Integer id, HttpServletResponse response) { |
| | | processTotaldealService.exportProcessTotaldeal(id,response); |
| | | } |
| | | |
| | | |
| | | } |