自动化立体仓库 - WCS系统
*
hmpc
2025-01-21 974ee1298c9db729077f86ae6e773c6a44d5e77d
src/main/java/com/zy/asrs/entity/param/WcsTaskListParam.java
@@ -1,5 +1,6 @@
package com.zy.asrs.entity.param;
import com.core.common.Cools;
import com.zy.asrs.entity.WrkMast;
import lombok.Data;
@@ -24,10 +25,12 @@
    public WcsTaskListParam(WrkMast wrkMast){
        this.taskNo = wrkMast.getWrkNo().toString();
        this.rgvNo = wrkMast.getRgvNo().toString();
        this.rgvNo = Cools.isEmpty(wrkMast.getRgvNo()) ? null:wrkMast.getRgvNo().toString();
        this.startSta = wrkMast.getSourceStaNo().toString();
        this.endSta = wrkMast.getStaNo().toString();
        this.status = wrkMast.getWrkSts().intValue();
        this.error.add(wrkMast.getErrorMemo());
        if (!Cools.isEmpty(wrkMast.getErrorMemo())){
            this.error.add(wrkMast.getErrorMemo());
        }
    }
}