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>
|
* 线边仓出入库记录 前端控制器
|
* </p>
|
*
|
* @author 芯导软件(江苏)有限公司
|
* @since 2026-04-21 03:55:52
|
*/
|
@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));
|
}
|
}
|