liding
9 天以前 15032d66c35c8154316a4f0170f3b6f470bf4c50
src/main/java/com/ruoyi/production/controller/ProductionOrderPickRecordController.java
@@ -1,7 +1,17 @@
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>
@@ -13,6 +23,15 @@
 */
@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));
    }
}