自动化立体仓库 - WMS系统
qw
zc
7 天以前 55773cf8183b9ddb45a4321de3468d727cea88fd
src/main/java/com/zy/asrs/entity/WrkMast.java
@@ -5,6 +5,7 @@
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;
import com.zy.asrs.service.*;
import com.zy.common.utils.Synchro;
import com.zy.system.entity.User;
import com.zy.system.service.UserService;
import com.core.common.Cools;
@@ -159,7 +160,7 @@
    @TableField("ctn_type")
    private Integer ctnType;
    @ApiModelProperty(value= "")
    @ApiModelProperty(value= "用于标识跨库操作,1,堆垛机往四向库,2四向库往堆垛机")
    private String packed;
    @ApiModelProperty(value= "")
@@ -370,7 +371,7 @@
        if (!Cools.isEmpty(locMast)){
            return String.valueOf(locMast.getLocNo());
        }
        return null;
        return this.locNo;
    }
    public String getStaNo$(){
@@ -397,7 +398,7 @@
        if (!Cools.isEmpty(locMast)){
            return String.valueOf(locMast.getLocNo());
        }
        return null;
        return this.sourceLocNo;
    }
    public String getIoTime$(){
@@ -495,6 +496,19 @@
        return new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(this.logErrTime);
    }
    public Long getWrkStsComplete(){
        if (Cools.isEmpty(this.wrkSts)){
            return this.wrkSts;
        }
        if (this.ioType>10){
            return this.wrkSts+2;
        }else {
            return this.wrkSts+2;
        }
    }
    public void sync(Object source) {
        Synchro.Copy(source, this);
    }
}