#
Junjie
2025-01-14 2804585b14a62cc1fdec876b65267a4db8bc8995
src/main/java/com/zy/asrs/entity/WrkMastLog.java
@@ -6,6 +6,8 @@
import com.baomidou.mybatisplus.enums.IdType;
import com.core.common.Cools;
import com.core.common.SpringUtils;
import com.zy.asrs.mapper.BasWrkIotypeMapper;
import com.zy.asrs.mapper.BasWrkStatusMapper;
import com.zy.asrs.service.BasDevpService;
import com.zy.asrs.service.LocMastService;
import com.zy.asrs.service.WrkMastService;
@@ -135,8 +137,8 @@
    private String errorMemo;
    @ApiModelProperty(value= "")
    @TableField("memo_m")
    private String memoM;
    @TableField("memo")
    private String memo;
    /**
     * 条码
@@ -166,6 +168,24 @@
    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);
        WrkMast wrkMast = service.selectById(this.wrkNo);