自动化立体仓库 - WMS系统
LSH
2023-12-16 10b0dccb27336e2f286b5b464d035ead6dee7de9
src/main/java/com/zy/asrs/entity/LocDetlWarningDTO.java
@@ -34,15 +34,17 @@
    private String specs;
    @ExcelProperty("批次")
    private String batch;
    @ExcelProperty("货主")
    @ExcelProperty("货主Id")
    private String owner;
    @ExcelProperty("库存上限")
    @ExcelProperty("货主")
    private String ownerName;
//    @ExcelProperty("库存上限")
    private String inventoryMax;
    @ExcelProperty("库存下限")
//    @ExcelProperty("库存下限")
    private String inventoryMin;
    @ExcelProperty("库龄上限")
    private String inventoryAgeMax;
    @ExcelProperty("库存总数量")
//    @ExcelProperty("库存总数量")
    private Integer countAnfme;
    @ExcelProperty("在库天数")
    private Integer diffTime;
@@ -63,6 +65,15 @@
        return null;
    }
    public String getOwnerName(){
        LocOwnerService service = SpringUtils.getBean(LocOwnerService.class);
        LocOwner locOwner = service.selectById(this.owner);
        if (!Cools.isEmpty(locOwner)){
            return String.valueOf(locOwner.getOwner());
        }
        return null;
    }
    public void sync(Object source) {
        Synchro.Copy(source, this);
    }