| | |
| | | package com.mes.userinfo.controller; |
| | | package com.mes.bigstoragetask.controller; |
| | | |
| | | |
| | | import com.baomidou.mybatisplus.core.conditions.update.LambdaUpdateWrapper; |
| | | import com.mes.bigstorage.entity.BigStorageCageDetails; |
| | | import com.mes.bigstoragetask.entity.BigStorageCageFeedTask; |
| | | import com.mes.bigstoragetask.service.BigStorageCageFeedTaskService; |
| | | import com.mes.utils.Result; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.web.bind.annotation.GetMapping; |
| | | import org.springframework.web.bind.annotation.RequestMapping; |
| | | import org.springframework.web.bind.annotation.RestController; |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * <p> |
| | | * 前端控制器 |
| | | * 前端控制器 |
| | | * </p> |
| | | * |
| | | * @author zhoush |
| | |
| | | */ |
| | | @Api(description = "进片任务信息") |
| | | @RestController |
| | | @RequestMapping("/big-storage-cage-feed-task") |
| | | @RequestMapping("/bigStorageCageFeedTask") |
| | | public class BigStorageCageFeedTaskController { |
| | | |
| | | @Autowired |
| | | private BigStorageCageFeedTaskService bigStorageCageFeedTaskService; |
| | | // @ApiOperation("进片任务信息") |
| | | // @GetMapping("/querybigStorageCageFeedTask") |
| | | // public List<BigStorageCageFeedTask> querybigStorageCageFeedTask(int taskState) { |
| | | // return bigStorageCageFeedTaskService.querybigStorageCageFeedTask(taskState); |
| | | // } |
| | | |
| | | @ApiOperation("理片笼详情删除") |
| | | @PostMapping("/updateBigStorageCageFeedTask") |
| | | public Result deleteBigStorageCageDetails(@RequestBody BigStorageCageFeedTask bigStorageCageFeedTask) { |
| | | bigStorageCageFeedTaskService.updateById(bigStorageCageFeedTask); |
| | | return Result.build(200, "修改成功", 1); |
| | | } |
| | | |
| | | |
| | | |
| | | } |
| | | |