| | |
| | | |
| | | private String matnr; |
| | | |
| | | private String remark; |
| | | |
| | | |
| | | private String batch = ""; |
| | | private String brand = ""; |
| | | private String standby1 = ""; |
| | |
| | | |
| | | private Long lineNumber = 1L; |
| | | |
| | | private String boxType1 = "1"; |
| | | private String boxType2 = "1"; |
| | | private String boxType3 = "1"; |
| | | private String boxType1 = ""; |
| | | private String boxType2 = ""; |
| | | private String boxType3 = ""; |
| | | |
| | | private Double anfme; |
| | | |
| | | private Double weight; |
| | | |
| | | //退库组托 |
| | | private String tkFlag; |
| | | |
| | | |
| | | public DetlDto() { |
| | | } |
| | |
| | | && Cools.eq(dto.getBrand(), orderDetl.getBrand()) && Cools.eq(dto.getStandby1(), orderDetl.getStandby1()) |
| | | && Cools.eq(dto.getStandby2(), orderDetl.getStandby2()) && Cools.eq(dto.getStandby3(), orderDetl.getStandby3()) |
| | | && Cools.eq(dto.getBoxType1(), orderDetl.getBoxType1()) && Cools.eq(dto.getBoxType2(), orderDetl.getBoxType2()) |
| | | && Cools.eq(dto.getBoxType3(), orderDetl.getBoxType3()) ) { |
| | | && Cools.eq(dto.getBoxType3(), orderDetl.getBoxType3())) { |
| | | return true; |
| | | } |
| | | // } |
| | |
| | | && Cools.eq(dto.getStandby2(), orderDetl.getStandby2()) && Cools.eq(dto.getStandby3(), orderDetl.getStandby3()) |
| | | && dto.getLineNumber().equals(orderDetl.getLineNumber()) |
| | | && Cools.eq(dto.getBoxType1(), orderDetl.getBoxType1()) && Cools.eq(dto.getBoxType2(), orderDetl.getBoxType2()) |
| | | && Cools.eq(dto.getBoxType3(), orderDetl.getBoxType3()) ) { |
| | | && Cools.eq(dto.getBoxType3(), orderDetl.getBoxType3())) { |
| | | return true; |
| | | } |
| | | // } |
| | |
| | | && Cools.eq(dto.getBrand(), orderDetl.getBrand()) && Cools.eq(dto.getStandby1(), orderDetl.getStandby1()) |
| | | && Cools.eq(dto.getStandby2(), orderDetl.getStandby2()) && Cools.eq(dto.getStandby3(), orderDetl.getStandby3()) |
| | | && Cools.eq(dto.getBoxType1(), orderDetl.getBoxType1()) && Cools.eq(dto.getBoxType2(), orderDetl.getBoxType2()) |
| | | && Cools.eq(dto.getBoxType3(), orderDetl.getBoxType3()) ) { |
| | | && Cools.eq(dto.getBoxType3(), orderDetl.getBoxType3())) { |
| | | return true; |
| | | } |
| | | } |
| | |
| | | && Cools.eq(dto.getBrand(), orderDetl.getBrand()) && Cools.eq(dto.getStandby1(), orderDetl.getStandby1()) |
| | | && Cools.eq(dto.getStandby2(), orderDetl.getStandby2()) && Cools.eq(dto.getStandby3(), orderDetl.getStandby3()) |
| | | && Cools.eq(dto.getBoxType1(), orderDetl.getBoxType1()) && Cools.eq(dto.getBoxType2(), orderDetl.getBoxType2()) |
| | | && Cools.eq(dto.getBoxType3(), orderDetl.getBoxType3()) ) { |
| | | && Cools.eq(dto.getBoxType3(), orderDetl.getBoxType3())) { |
| | | return true; |
| | | } |
| | | } |
| | |
| | | && Cools.eq(dto.getBrand(), detlDto.getBrand()) && Cools.eq(dto.getStandby1(), detlDto.getStandby1()) |
| | | && Cools.eq(dto.getStandby2(), detlDto.getStandby2()) && Cools.eq(dto.getStandby3(), detlDto.getStandby3()) |
| | | && Cools.eq(dto.getBoxType1(), detlDto.getBoxType1()) && Cools.eq(dto.getBoxType2(), detlDto.getBoxType2()) |
| | | && Cools.eq(dto.getBoxType3(), detlDto.getBoxType3()) ) { |
| | | return true; |
| | | && Cools.eq(dto.getBoxType3(), detlDto.getBoxType3())) { |
| | | if (dto.getOrderNo().equals(detlDto.getOrderNo())){ |
| | | return true; |
| | | } |
| | | } |
| | | } |
| | | return false; |
| | |
| | | && Cools.eq(dto.getStandby2(), detlDto.getStandby2()) && Cools.eq(dto.getStandby3(), detlDto.getStandby3()) |
| | | && dto.getLineNumber().equals(detlDto.getLineNumber()) |
| | | && Cools.eq(dto.getBoxType1(), detlDto.getBoxType1()) && Cools.eq(dto.getBoxType2(), detlDto.getBoxType2()) |
| | | && Cools.eq(dto.getBoxType3(), detlDto.getBoxType3()) ) { |
| | | && Cools.eq(dto.getBoxType3(), detlDto.getBoxType3())) { |
| | | return true; |
| | | } |
| | | } |
| | |
| | | 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) { |
| | | if (Cools.isEmpty(matnr)) { |
| | | return null; |
| | | } |
| | |
| | | return null; |
| | | } |
| | | |
| | | public static DetlDto findDto(List<DetlDto> detlDtos,DetlDto detlDtoB) { |
| | | public static DetlDto findDto(List<DetlDto> detlDtos, DetlDto detlDtoB) { |
| | | if (Cools.isEmpty(detlDtoB)) { |
| | | return null; |
| | | } |
| | | for (DetlDto detlDto : detlDtos) { |
| | | if (detlDtoB.getMatnr().equals(detlDto.getMatnr()) && Cools.eq(detlDtoB.getBatch(), detlDto.getBatch()) |
| | | && detlDtoB.getBrand().equals(detlDto.getBrand()) && detlDtoB.getStandby1().equals(detlDto.getStandby1()) |
| | | // && detlDtoB.getBrand().equals(detlDto.getBrand()) |
| | | && detlDtoB.getStandby1().equals(detlDto.getStandby1()) |
| | | && detlDtoB.getStandby2().equals(detlDto.getStandby2()) && detlDtoB.getStandby3().equals(detlDto.getStandby3()) |
| | | && detlDtoB.getBoxType1().equals(detlDto.getBoxType1()) && detlDtoB.getBoxType2().equals(detlDto.getBoxType2()) |
| | | && detlDtoB.getBoxType3().equals(detlDto.getBoxType3())) { |