package com.mes.bigstoragecagetask.controller; import com.mes.bigstoragecagetask.entity.BigStorageCageHistoryTask; import com.mes.bigstoragecagetask.entity.request.BigStorageCageHistoryRequest; import com.mes.bigstoragecagetask.service.BigStorageCageHistoryTaskService; import com.mes.utils.Result; import io.swagger.annotations.Api; import io.swagger.annotations.ApiOperation; 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; import javax.annotation.Resource; import java.util.List; /** * @Author : zhoush * @Date: 2025/3/11 8:43 * @Description: */ @Api(tags = "理片笼信息历史任务") @RestController @RequestMapping("/bigStorageCageHistoryTask") public class BigStorageCageHistoryTaskController { @Resource BigStorageCageHistoryTaskService bigStorageCageHistoryTaskService; @ApiOperation("按照查询条件查询理片笼信息历史任务") @PostMapping("/queryBigStorageCageHistoryTask") public Result> queryBigStorageCageHistoryTask(@RequestBody BigStorageCageHistoryRequest request) { return Result.build(200, "查询成功", bigStorageCageHistoryTaskService.queryBigStorageCageHistoryTask(request)); } }