| ¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.ruoyi.production.controller; |
| | | |
| | | import com.ruoyi.framework.web.domain.R; |
| | | import com.ruoyi.production.bean.dto.ProductionOrderPickDto; |
| | | import com.ruoyi.production.bean.vo.ProductionOrderPickVo; |
| | | import com.ruoyi.production.service.ProductionOrderPickService; |
| | | import io.swagger.v3.oas.annotations.Operation; |
| | | import io.swagger.v3.oas.annotations.tags.Tag; |
| | | import lombok.RequiredArgsConstructor; |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * <p> |
| | | * 订åé¢æçº¿è¾¹ä» å端æ§å¶å¨ |
| | | * </p> |
| | | * |
| | | * @author è¯å¯¼è½¯ä»¶ï¼æ±èï¼æéå
¬å¸ |
| | | * @since 2026-04-21 03:55:52 |
| | | */ |
| | | @RestController |
| | | @RequestMapping("/productionOrderPick") |
| | | @Tag(name = "ç产订å颿") |
| | | @RequiredArgsConstructor |
| | | public class ProductionOrderPickController { |
| | | |
| | | private final ProductionOrderPickService productionOrderPickService; |
| | | |
| | | @PostMapping("/savePick") |
| | | @Operation(summary = "颿ä¿åå°çº¿è¾¹ä»") |
| | | public R<Boolean> savePick(@RequestBody ProductionOrderPickDto dto) { |
| | | return R.ok(productionOrderPickService.savePick(dto)); |
| | | } |
| | | |
| | | @PostMapping("/updatePick") |
| | | @Operation(summary = "忴颿") |
| | | public R<Boolean> updatePick(@RequestBody ProductionOrderPickDto dto) { |
| | | return R.ok(productionOrderPickService.updatePick(dto)); |
| | | } |
| | | |
| | | @GetMapping("/detail/{productionOrderId}") |
| | | @Operation(summary = "æ¥è¯¢å·²é¢æè¯¦æ
") |
| | | public R<List<ProductionOrderPickVo>> listPickedDetail(@PathVariable Long productionOrderId) { |
| | | return R.ok(productionOrderPickService.listPickedDetail(productionOrderId)); |
| | | } |
| | | } |
| | | |