| | |
| | | import com.mes.utils.Result; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import lombok.extern.slf4j.Slf4j; |
| | | import org.apache.tomcat.util.bcel.Const; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.web.bind.annotation.*; |
| | |
| | | */ |
| | | @Api(description = "出片任务信息") |
| | | @RestController |
| | | @Slf4j |
| | | @RequestMapping("/bigStorageCageOutTask") |
| | | public class BigStorageCageOutTaskController { |
| | | |
| | |
| | | ); |
| | | } |
| | | bigStorageCageOutTaskService.updateById(bigStorageCageOutTask); |
| | | log.info("手动修改出片任务" + bigStorageCageOutTask); |
| | | return Result.build(200, "修改成功", 1); |
| | | } |
| | | |
| | |
| | | @RequestParam(required = false) String endTime) { |
| | | return Result.build(200, "查询成功", bigStorageCageOutTaskService.selectBigStorageCageOutTask(bigStorageCageOutTask, startTime, endTime)); |
| | | } |
| | | |
| | | @ApiOperation("钢化出片") |
| | | @PostMapping("/temperingOut") |
| | | public Result selectBigStorageCageOutTask(@RequestBody BigStorageCageOutTask bigStorageCageOutTask) { |
| | | return Result.build(200, bigStorageCageOutTaskService.temperingOut(bigStorageCageOutTask), 1); |
| | | } |
| | | } |
| | | |