#
cp
2025-06-19 e64b1d5ec0b3ca0c42048903f4ab5f9d588349e8
zy-asrs-common/src/main/java/com/zy/asrs/common/wms/entity/LocMast.java
@@ -168,11 +168,11 @@
    private String pic;
    @ApiModelProperty(value= "货主")
    private Integer owner;
    private String owner;
    public LocMast() {}
    public LocMast(String locNo,Long whsType,String locSts,Integer crnNo,Integer row1,Integer bay1,Integer lev1,String fullPlt,Short locType1,Short locType2,Short locType3,Date ioTime,Date firstTime,Long modiUser,Date modiTime,Long appeUser,Date appeTime,Date errorTime,String errorMemo,String mk,String barcode,String memo,Long hostId, Integer owner) {
    public LocMast(String locNo,Long whsType,String locSts,Integer crnNo,Integer row1,Integer bay1,Integer lev1,String fullPlt,Short locType1,Short locType2,Short locType3,Date ioTime,Date firstTime,Long modiUser,Date modiTime,Long appeUser,Date appeTime,Date errorTime,String errorMemo,String mk,String barcode,String memo,Long hostId, String owner) {
        this.locNo = locNo;
        this.whsType = whsType;
        this.locSts = locSts;
@@ -226,25 +226,16 @@
//    );
    public String getWhsType$(){
        BasWhsService service = SpringUtils.getBean(BasWhsService.class);
        BasWhs basWhs = service.getById(this.whsType);
        if (!Cools.isEmpty(basWhs)){
            return String.valueOf(basWhs.getWhsDesc());
        if (Cools.isEmpty(this.whsType)) return "未知";
        switch (this.whsType.intValue()){
            case 0:
                return "立体仓库";
            case 1:
                return "平面仓库";
        }
        return null;
        return "未知";
    }
    public String getOwner$(){
        if (null == this.owner){ return null; }
        switch (this.owner){
            case 1:
                return "宁波";
            case 2:
                return "新昌";
            default:
                return String.valueOf(this.owner);
        }
    }
    public String getLocSts$(){
        BasLocStsService service = SpringUtils.getBean(BasLocStsService.class);