| | |
| | | package com.ruoyi.production.controller; |
| | | |
| | | import com.ruoyi.framework.web.domain.R; |
| | | import com.ruoyi.production.bean.dto.ProductionOrderPickRecordDto; |
| | | import com.ruoyi.production.bean.vo.ProductionOrderPickRecordVo; |
| | | import com.ruoyi.production.service.ProductionOrderPickRecordService; |
| | | import io.swagger.v3.oas.annotations.Operation; |
| | | import io.swagger.v3.oas.annotations.tags.Tag; |
| | | import lombok.RequiredArgsConstructor; |
| | | import org.springframework.web.bind.annotation.GetMapping; |
| | | import org.springframework.web.bind.annotation.RequestMapping; |
| | | import org.springframework.web.bind.annotation.RestController; |
| | | |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * <p> |
| | |
| | | */ |
| | | @RestController |
| | | @RequestMapping("/productionOrderPickRecord") |
| | | @Tag(name = "生产订单领料记录") |
| | | @RequiredArgsConstructor |
| | | public class ProductionOrderPickRecordController { |
| | | |
| | | private final ProductionOrderPickRecordService productionOrderPickRecordService; |
| | | |
| | | @GetMapping("/feeding") |
| | | @Operation(summary = "查询补料记录") |
| | | public R<List<ProductionOrderPickRecordVo>> listFeedingRecord(ProductionOrderPickRecordDto dto) { |
| | | return R.ok(productionOrderPickRecordService.listFeedingRecord(dto)); |
| | | } |
| | | } |