skyouc
2025-07-07 2a24c69b830d9dc97a8673f5f69418e9f95f3e1b
zy-asrs-wms/src/main/java/com/zy/asrs/wms/asrs/entity/ViewLocDetl.java
@@ -95,6 +95,15 @@
    @ApiModelProperty("型号")
    private String model;
    @ApiModelProperty("品牌")
    private String brand;
    @ApiModelProperty("颜色")
    private String color;
    @ApiModelProperty("产地")
    private String origin;
    /**
     * 状态 1: 正常  0: 禁用
     */
@@ -188,14 +197,14 @@
//            null    // 备注
//    );
    public String getLocId$(){
        LocService service = SpringUtils.getBean(LocService.class);
        Loc loc = service.getById(this.locId);
        if (!Cools.isEmpty(loc)){
            return String.valueOf(loc.getLocNo());
        }
        return null;
    }
//    public String getLocId$(){
//        LocService service = SpringUtils.getBean(LocService.class);
//        Loc loc = service.getById(this.locId);
//        if (!Cools.isEmpty(loc)){
//            return String.valueOf(loc.getLocNo());
//        }
//        return null;
//    }
    public String getTagId$() {
        TagService tagService = SpringUtils.getBean(TagService.class);
@@ -206,18 +215,13 @@
        return null;
    }
//    @Delegate(types = Mat.class)
//    public Mat getMatId$(){
//        MatService service = SpringUtils.getBean(MatService.class);
//        Mat mat = service.getById(this.matId);
//        return mat;
//    }
    public String getType$() {
       return (this.locNo.contains("B") || this.locNo.contains("C")) ? "平库" : "立库";
    }
    public String getDewell$() {
        return DateUtils.diff(new Date(), createTime) + "天";
    }
    public String getHostId$(){
        HostService service = SpringUtils.getBean(HostService.class);