| | |
| | | |
| | | @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; |
| | |
| | | |
| | | @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; |
| | |
| | | |
| | | @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; |
| | |
| | | |
| | | @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; |
| | |
| | | |
| | | @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; |
| | |
| | | |
| | | @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) { |