自动化立体仓库 - WMS系统
123
zhang
6 天以前 21d0e7ab9d5c7316225a3e9eecf465cd37c9bd85
src/main/java/com/zy/asrs/entity/LocDetl.java
@@ -7,6 +7,7 @@
import com.core.common.Cools;
import com.core.common.SpringUtils;
import com.zy.asrs.service.LocMastService;
import com.zy.asrs.service.LocOwnerService;
import com.zy.asrs.service.MatService;
import com.zy.common.utils.Synchro;
import com.zy.system.entity.User;
@@ -159,6 +160,9 @@
    @ApiModelProperty(value = "备注")
    private String memo;
    @ApiModelProperty(value= "客户信息ID")
    private Long owner;
    public String getLocNo$() {
        LocMastService service = SpringUtils.getBean(LocMastService.class);
@@ -168,6 +172,16 @@
        }
        return null;
    }
    public String getOwner$(){
        LocOwnerService service = SpringUtils.getBean(LocOwnerService.class);
        LocOwner locOwner = service.selectById(this.owner);
        if (!Cools.isEmpty(locOwner)){
            return String.valueOf(locOwner.getOwner());
        }
        return null;
    }
    public String getBeBatch$() {
        if (null == this.beBatch) {
@@ -271,6 +285,18 @@
        return locMast.getLocType2$();
    }
    public Integer getMatType() {
        if (Cools.isEmpty(this.matnr)) {
            return null;
        }
        MatService matService = SpringUtils.getBean(MatService.class);
        Mat mat = matService.selectByMatnr(this.matnr);
        if (mat == null) {
            return null;
        }
        return mat.getMatType();
    }
    public String getMatType$() {
        if (Cools.isEmpty(this.matnr)) {
            return "";