| | |
| | | |
| | | private Long orderId; |
| | | |
| | | private Long sku; |
| | | |
| | | private String standby1 = ""; |
| | | |
| | | private String matnr; |
| | | |
| | | private String batch = ""; |
| | | |
| | | private Double anfme; |
| | | |
| | | private String brand = ""; |
| | | private String standby1 = ""; |
| | | |
| | | private String standby2 = ""; |
| | | private String standby3 = ""; |
| | | |
| | | private Long lineNumber = 1L; |
| | | |
| | | private String boxType1 = "1"; |
| | | private String boxType2 = "1"; |
| | | private String boxType3 = "1"; |
| | | |
| | | private Double anfme; |
| | | private String boxType1 = ""; |
| | | private String boxType2 = ""; |
| | | private String boxType3 = ""; |
| | | |
| | | public DetlDto() { |
| | | } |
| | |
| | | } |
| | | |
| | | public DetlDto(String matnr, String batch, String brand, String standby1, String standby2, String standby3, Long lineNumber, String boxType1, String boxType2, String boxType3, Double anfme) { |
| | | this.matnr = matnr; |
| | | this.batch = batch; |
| | | this.brand = brand; |
| | | this.standby1 = standby1; |
| | | this.standby2 = standby2; |
| | | this.standby3 = standby3; |
| | | this.lineNumber = lineNumber; |
| | | this.boxType1 = boxType1; |
| | | this.boxType2 = boxType2; |
| | | this.boxType3 = boxType3; |
| | | this.anfme = anfme; |
| | | } |
| | | |
| | | public DetlDto(String matnr, String batch, String brand, String standby1, String standby2, String standby3, Long lineNumber, String boxType1, String boxType2, String boxType3, Double anfme,Long sku) { |
| | | this.sku = sku; |
| | | this.matnr = matnr; |
| | | this.batch = batch; |
| | | this.brand = brand; |
| | |
| | | return null; |
| | | } |
| | | |
| | | public static DetlDto findLineNumber(List<DetlDto> detlDtos, String matnr, String batch, String brand, String standby1, String standby2, String standby3, Long lineNumber, String boxType1, String boxType2, String boxType3) { |
| | | public static DetlDto findLineNumber(List<DetlDto> detlDtos, String matnr, String batch, String brand, String standby1, String standby2, String standby3, Long lineNumber, String boxType1, String boxType2, String boxType3,Long sku) { |
| | | if (Cools.isEmpty(matnr)) { |
| | | return null; |
| | | } |
| | |
| | | && standby2.equals(detlDto.getStandby2()) && standby3.equals(detlDto.getStandby3()) |
| | | && lineNumber.equals(detlDto.getLineNumber()) |
| | | && boxType1.equals(detlDto.getBoxType1()) && boxType2.equals(detlDto.getBoxType2()) |
| | | && boxType3.equals(detlDto.getBoxType3())) { |
| | | && boxType3.equals(detlDto.getBoxType3()) && sku.equals(detlDto.getSku())) { |
| | | return detlDto; |
| | | } |
| | | } |