自动化立体仓库 - WMS系统
Junjie
2023-05-26 b6b46e1c4d390c80cf9bd7d4daa23202f2d11a22
src/main/java/com/zy/common/model/DetlDto.java
@@ -21,6 +21,11 @@
    private Double anfme;
    private String memo;
    private String cstmr;
    public DetlDto() {
    }
@@ -40,6 +45,7 @@
        this.anfme = anfme;
    }
    public DetlDto(String orderNo, String matnr, String batch, Double anfme) {
        this.orderNo = orderNo;
        this.matnr = matnr;
@@ -47,6 +53,15 @@
        this.anfme = anfme;
    }
    public DetlDto(String matnr, String batch, Double anfme, String memo, String cstmr) {
        this.matnr = matnr;
        this.batch = batch;
        this.anfme = anfme;
        this.memo = memo;
        this.cstmr = cstmr;
    }
    public static boolean hasList(Set<DetlDto> detlDtos, OrderDetl orderDetl) {
        for (DetlDto dto : detlDtos) {
            if (Cools.isEmpty(dto.getBatch()) && Cools.isEmpty(orderDetl.getBatch())) {