| | |
| | | package com.mes.edgglasstask.controller; |
| | | |
| | | |
| | | import com.mes.edgglasstask.entity.request.EdgGlassInfoRequest; |
| | | import com.mes.edgglasstask.service.EdgGlassTaskInfoService; |
| | | import com.mes.utils.Result; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.web.bind.annotation.PostMapping; |
| | | import org.springframework.web.bind.annotation.RequestBody; |
| | | import org.springframework.web.bind.annotation.RequestMapping; |
| | | import org.springframework.web.bind.annotation.RestController; |
| | | |
| | | /** |
| | | * <p> |
| | | * 前端控制器 |
| | | * 前端控制器 |
| | | * </p> |
| | | * |
| | | * @author wu |
| | |
| | | @RestController |
| | | @RequestMapping("/edgGlassTaskInfo") |
| | | public class EdgGlassTaskInfoController { |
| | | |
| | | @Autowired |
| | | EdgGlassTaskInfoService edgGlassTaskInfoService; |
| | | |
| | | /** |
| | | * 设置磨边队列查询参数 |
| | | * |
| | | * @param request |
| | | * @return |
| | | */ |
| | | @PostMapping("/setEdgGlassInfoRequest") |
| | | @ApiOperation(value = "设置磨边队列查询参数", notes = "设置磨边队列查询参数") |
| | | public Result<String> setEdgGlassInfoRequest(@RequestBody EdgGlassInfoRequest request) { |
| | | edgGlassTaskInfoService.setEdgGlassInfoRequest(request); |
| | | return Result.build(200, "查询成功", "1"); |
| | | } |
| | | |
| | | } |
| | | |