| ¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.ruoyi.production.bean.vo; |
| | | |
| | | import io.swagger.v3.oas.annotations.media.Schema; |
| | | import lombok.Data; |
| | | |
| | | import java.math.BigDecimal; |
| | | import java.util.ArrayList; |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * èªå¨é¢æç»æ VO |
| | | * <p> |
| | | * å
å«è®¢å级åç©æçº§çç»è®¡ï¼ä»¥åæå/è·³è¿/失败æç»ã |
| | | */ |
| | | @Data |
| | | @Schema(description = "èªå¨é¢æç»æ") |
| | | public class AutoPickResultVo { |
| | | |
| | | @Schema(description = "è®¢åæ»æ°") |
| | | private int orderTotal; |
| | | |
| | | @Schema(description = "订åæåæ°ï¼è³å°æä¸ç¬ç©æé¢ææåï¼") |
| | | private int orderSuccess; |
| | | |
| | | @Schema(description = "订å失败/é¨å失败æ°") |
| | | private int orderFail; |
| | | |
| | | @Schema(description = "ç©æé¡¹æ»æ°") |
| | | private int materialTotal; |
| | | |
| | | @Schema(description = "颿æåæ°") |
| | | private int materialSuccess; |
| | | |
| | | @Schema(description = "è·³è¿æ°ï¼å·²é¢/é¶éæ±çï¼") |
| | | private int materialSkip; |
| | | |
| | | @Schema(description = "é¢æå¤±è´¥æ°") |
| | | private int materialFail; |
| | | |
| | | @Schema(description = "æåæç»") |
| | | private List<ItemDetail> successList = new ArrayList<>(); |
| | | |
| | | @Schema(description = "è·³è¿æç»") |
| | | private List<ItemDetail> skipList = new ArrayList<>(); |
| | | |
| | | @Schema(description = "失败æç»") |
| | | private List<ItemDetail> failList = new ArrayList<>(); |
| | | |
| | | /** |
| | | * åç¬ç©æé¢ææç» |
| | | */ |
| | | @Data |
| | | @Schema(description = "颿æç»é¡¹") |
| | | public static class ItemDetail { |
| | | |
| | | @Schema(description = "ç产订åID") |
| | | private Long productionOrderId; |
| | | |
| | | @Schema(description = "ç产订åç¼å·") |
| | | private String productionOrderNo; |
| | | |
| | | @Schema(description = "产åè§æ ¼ID") |
| | | private Long productModelId; |
| | | |
| | | @Schema(description = "å·¥åºID") |
| | | private Long technologyOperationId; |
| | | |
| | | @Schema(description = "å·¥åºåç§°") |
| | | private String operationName; |
| | | |
| | | @Schema(description = "éæ±æ°é") |
| | | private BigDecimal demandedQuantity; |
| | | |
| | | @Schema(description = "颿æ°é") |
| | | private BigDecimal pickQuantity; |
| | | |
| | | @Schema(description = "è·³è¿/失败åå ") |
| | | private String reason; |
| | | } |
| | | } |