ZengTao
2025-09-11 924ce82faeec6d896fcdc360b279215e84b69fb9
hangzhoumesParent/moduleService/CacheVerticalGlassModule/src/main/java/com/mes/bigstoragetask/controller/BigStorageCageOutTaskController.java
@@ -10,6 +10,7 @@
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.*;
@@ -26,6 +27,7 @@
 */
@Api(description = "出片任务信息")
@RestController
@Slf4j
@RequestMapping("/bigStorageCageOutTask")
public class BigStorageCageOutTaskController {
@@ -50,6 +52,7 @@
            );
        }
        bigStorageCageOutTaskService.updateById(bigStorageCageOutTask);
        log.info("手动修改出片任务" + bigStorageCageOutTask);
        return Result.build(200, "修改成功", 1);
    }
@@ -60,5 +63,11 @@
                                               @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);
    }
}