云
2 天以前 616a6b2e9a7824da8d11a4e11730fd2f9b615299
yudao-module-mes/src/main/java/cn/iocoder/yudao/module/mes/controller/admin/pro/route/vo/MesProRouteCompleteImportWorkbook.java
@@ -18,7 +18,9 @@
    @Data
    public static class RouteRow {
        @cn.iocoder.yudao.framework.excel.core.handler.ExcelRequired
        @ExcelProperty("路线编码") private String routeCode;
        @cn.iocoder.yudao.framework.excel.core.handler.ExcelRequired
        @ExcelProperty("路线名称") private String name;
        @ExcelProperty("路线说明") private String description;
        @ExcelProperty("备注") private String remark;
@@ -26,10 +28,15 @@
    @Data
    public static class ProductRow {
        @cn.iocoder.yudao.framework.excel.core.handler.ExcelRequired
        @ExcelProperty("路线编码") private String routeCode;
        @cn.iocoder.yudao.framework.excel.core.handler.ExcelRequired
        @ExcelProperty("产品物料编码") private String itemCode;
        @cn.iocoder.yudao.framework.excel.core.handler.ExcelRequired
        @ExcelProperty("仓库编码") private String warehouseCode;
        @cn.iocoder.yudao.framework.excel.core.handler.ExcelRequired
        @ExcelProperty("库区编码") private String locationCode;
        @cn.iocoder.yudao.framework.excel.core.handler.ExcelRequired
        @ExcelProperty("库位编码") private String areaCode;
        @ExcelProperty("生产数量") private Integer quantity;
        @ExcelProperty("生产用时") private BigDecimal productionTime;
@@ -39,8 +46,11 @@
    @Data
    public static class ProcessRow {
        @cn.iocoder.yudao.framework.excel.core.handler.ExcelRequired
        @ExcelProperty("路线编码") private String routeCode;
        @cn.iocoder.yudao.framework.excel.core.handler.ExcelRequired
        @ExcelProperty("工序编码") private String processCode;
        @cn.iocoder.yudao.framework.excel.core.handler.ExcelRequired
        @ExcelProperty("排序") private Integer sort;
        @ExcelProperty("工艺参数模板ID") private Long paramTemplateId;
        @ExcelProperty("工序收率") private BigDecimal yieldRate;
@@ -56,8 +66,11 @@
    @Data
    public static class OutputRow {
        @cn.iocoder.yudao.framework.excel.core.handler.ExcelRequired
        @ExcelProperty("路线编码") private String routeCode;
        @cn.iocoder.yudao.framework.excel.core.handler.ExcelRequired
        @ExcelProperty("工序编码") private String processCode;
        @cn.iocoder.yudao.framework.excel.core.handler.ExcelRequired
        @ExcelProperty("产出物料编码") private String itemCode;
        @ExcelProperty("归属产品编码(空为通用)") private String productCode;
        @ExcelProperty("排序") private Integer sort;
@@ -66,9 +79,13 @@
    @Data
    public static class InputRow {
        @cn.iocoder.yudao.framework.excel.core.handler.ExcelRequired
        @ExcelProperty("路线编码") private String routeCode;
        @cn.iocoder.yudao.framework.excel.core.handler.ExcelRequired
        @ExcelProperty("工序编码") private String processCode;
        @cn.iocoder.yudao.framework.excel.core.handler.ExcelRequired
        @ExcelProperty("归属产品编码") private String productCode;
        @cn.iocoder.yudao.framework.excel.core.handler.ExcelRequired
        @ExcelProperty("投料物料编码") private String itemCode;
        @ExcelProperty("用料比例") private BigDecimal quantity;
        @ExcelProperty("备注") private String remark;
@@ -76,7 +93,9 @@
    @Data
    public static class GuideRow {
        @cn.idev.excel.annotation.write.style.ColumnWidth(16)
        @ExcelProperty("工作表") private String sheet;
        @cn.idev.excel.annotation.write.style.ColumnWidth(120)
        @ExcelProperty("填写说明") private String description;
        public GuideRow(String sheet, String description) {