| | |
| | | for (WrkDetl detl : wrkDetls) { |
| | | double anfme = wrkDetl.getAnfme() + detl.getAnfme(); |
| | | double weight = wrkDetl.getWeight() + detl.getWeight(); |
| | | double stockNum = wrkDetl.getStockNum() + detl.getStockNum(); |
| | | double stockNum2 = wrkDetl.getStockNum2() + detl.getStockNum2(); |
| | | if (wrkDetl.getStockNum() != null) { |
| | | double stockNum = wrkDetl.getStockNum() + detl.getStockNum(); |
| | | wrkDetl.setStockNum(stockNum); |
| | | } |
| | | |
| | | if (wrkDetl.getStockNum2() != null) { |
| | | double stockNum2 = wrkDetl.getStockNum2() + detl.getStockNum2(); |
| | | wrkDetl.setStockNum2(stockNum2); |
| | | } |
| | | wrkDetl.setAnfme(anfme); |
| | | wrkDetl.setWeight(weight); |
| | | wrkDetl.setStockNum(stockNum); |
| | | wrkDetl.setStockNum2(stockNum2); |
| | | } |
| | | |
| | | ledCommand.getMatDtos().add(new MatDto( |