自动化立体仓库 - WMS系统
#
whycq
2023-01-30 2f932f2675b0e7cfa7c5466b058d93aec67d6f3c
src/main/java/com/zy/common/model/DetlDto.java
@@ -21,6 +21,9 @@
    private Double anfme;
    private String memo;
    public DetlDto() {
    }
@@ -40,6 +43,7 @@
        this.anfme = anfme;
    }
    public DetlDto(String orderNo, String matnr, String batch, Double anfme) {
        this.orderNo = orderNo;
        this.matnr = matnr;
@@ -47,6 +51,14 @@
        this.anfme = anfme;
    }
    public DetlDto(String matnr, String batch, Double anfme, String memo) {
        this.matnr = matnr;
        this.batch = batch;
        this.anfme = anfme;
        this.memo = memo;
    }
    public static boolean hasList(Set<DetlDto> detlDtos, OrderDetl orderDetl) {
        for (DetlDto dto : detlDtos) {
            if (Cools.isEmpty(dto.getBatch()) && Cools.isEmpty(orderDetl.getBatch())) {