自动化立体仓库 - WMS系统
zhang
1 天以前 e62569856fdfb0c7c31ee88cf96628af08eabf85
src/main/java/com/zy/asrs/entity/result/LocDetlAll.java
@@ -5,8 +5,8 @@
import com.core.common.SpringUtils;
import com.zy.asrs.entity.LocOwner;
import com.zy.asrs.service.LocOwnerService;
import com.zy.common.utils.Synchro;
import lombok.Data;
import org.springframework.beans.BeanUtils;
import java.util.Date;
@@ -30,18 +30,20 @@
    private String meno;
    private String manu;
    public String getOwner$(){
    public String getOwner$() {
        LocOwnerService service = SpringUtils.getBean(LocOwnerService.class);
        LocOwner locOwner = service.selectById(this.owner);
        if (!Cools.isEmpty(locOwner)){
        if (!Cools.isEmpty(locOwner)) {
            return String.valueOf(locOwner.getOwner());
        }
        return null;
    }
    public String getPayment$(){
        if (null == this.payment){ return null; }
        switch (this.payment){
    public String getPayment$() {
        if (null == this.payment) {
            return null;
        }
        switch (this.payment) {
            case 1:
                return "仓储";
            case 0:
@@ -52,6 +54,6 @@
    }
    public void sync(Object source) {
        Synchro.Copy(source, this);
        BeanUtils.copyProperties(source, this);
    }
}