| | |
| | | // ledCommand.setSourceStaNo(wrkMast.getSourceStaNo()); |
| | | if (wrkMast.getIoType() != 110 && wrkMast.getIoType() != 10 ) { |
| | | List<WrkDetl> wrkDetls = wrkDetlService.findByWorkNo(wrkMast.getWrkNo()); |
| | | wrkDetls.forEach(wrkDetl -> ledCommand.getMatDtos().add(new MatDto(wrkDetl.getMatnr(), wrkDetl.getMaktx(), wrkDetl.getAnfme(),wrkDetl.getSpecs()))); |
| | | wrkDetls.forEach(wrkDetl -> ledCommand.getMatDtos().add(new MatDto(wrkDetl.getMatnr(), wrkDetl.getMaktx(), wrkDetl.getAnfme(),wrkDetl.getSpecs(),wrkDetl.getModel()))); |
| | | } |
| | | commands.add(ledCommand); |
| | | } |
| | |
| | | // 物料数量 |
| | | private String specs; |
| | | |
| | | // 物料数量 |
| | | private String model; |
| | | |
| | | public MatDto() { |
| | | } |
| | | |
| | | public MatDto(String matnr, String maknx, Double count, String specs) { |
| | | public MatDto(String matnr, String maknx, Double count, String specs,String model) { |
| | | this.matnr = matnr; |
| | | this.maknx = maknx; |
| | | this.count = count; |
| | | this.specs = specs; |
| | | this.model = model; |
| | | } |
| | | } |