| | |
| | | package com.zy.asrs.entity.param; |
| | | |
| | | import com.core.common.Cools; |
| | | import com.zy.asrs.entity.WrkMast; |
| | | import lombok.Data; |
| | | |
| | |
| | | |
| | | 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()); |
| | | } |
| | | } |
| | | } |