#
qlsxk
10 天以前 3979820ffea1120bc553accbdeba6445da91f277
src/main/java/com/zy/asrs/entity/WrkMastLog.java
@@ -6,7 +6,8 @@
import com.baomidou.mybatisplus.enums.IdType;
import com.core.common.Cools;
import com.core.common.SpringUtils;
import com.zy.asrs.service.BasDevpService;
import com.zy.asrs.mapper.BasWrkIotypeMapper;
import com.zy.asrs.mapper.BasWrkStatusMapper;
import com.zy.asrs.service.LocMastService;
import com.zy.asrs.service.WrkMastService;
import com.zy.common.utils.Synchro;
@@ -135,8 +136,8 @@
    private String errorMemo;
    @ApiModelProperty(value= "")
    @TableField("memo_m")
    private String memoM;
    @TableField("memo")
    private String memo;
    /**
     * 条码
@@ -162,9 +163,35 @@
     * WMS任务号
     */
    @ApiModelProperty(value= "WMS任务号")
    @TableField(value = "wms_wrk_no")
    private String wmsWrkNo;
    /**
     * 系统消息
     */
    @ApiModelProperty(value= "系统消息")
    @TableField(value = "system_msg")
    private String systemMsg;
    public WrkMastLog() {}
    public String getWrkSts$(){
        BasWrkStatusMapper mapper = SpringUtils.getBean(BasWrkStatusMapper.class);
        BasWrkStatus entity = mapper.selectById(this.wrkSts);
        if (entity != null) {
            return entity.getWrkDesc();
        }
        return null;
    }
    public String getIoType$(){
        BasWrkIotypeMapper mapper = SpringUtils.getBean(BasWrkIotypeMapper.class);
        BasWrkIotype entity = mapper.selectById(this.ioType);
        if (entity != null) {
            return entity.getIoDesc();
        }
        return null;
    }
    public String getWrkNo$(){
        WrkMastService service = SpringUtils.getBean(WrkMastService.class);
@@ -180,24 +207,6 @@
        LocMast locMast = service.selectById(this.locNo);
        if (!Cools.isEmpty(locMast)){
            return String.valueOf(locMast.getLocNo());
        }
        return null;
    }
    public String getStaNo$(){
        BasDevpService service = SpringUtils.getBean(BasDevpService.class);
        BasDevp basDevp = service.selectById(this.staNo);
        if (!Cools.isEmpty(basDevp)){
            return String.valueOf(basDevp.getDevNo());
        }
        return null;
    }
    public String getSourceStaNo$(){
        BasDevpService service = SpringUtils.getBean(BasDevpService.class);
        BasDevp basDevp = service.selectById(this.sourceStaNo);
        if (!Cools.isEmpty(basDevp)){
            return String.valueOf(basDevp.getDevNo());
        }
        return null;
    }