#
vincentlu
昨天 6a19c21930c9fef7fe1dd3aaa35133f68375300a
zy-acs-manager/src/main/java/com/zy/acs/manager/manager/entity/Sta.java
@@ -6,6 +6,7 @@
import com.zy.acs.framework.common.Cools;
import com.zy.acs.framework.common.SpringUtils;
import com.zy.acs.manager.manager.service.CodeService;
import com.zy.acs.manager.manager.service.StaTypeService;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
@@ -64,6 +65,9 @@
    @ApiModelProperty(value= "作业角度")
    private String angle;
    @ApiModelProperty(value= "货叉方向")
    private Integer actDir;
    @ApiModelProperty(value= "连续入库等待(ms)")
    private Integer inboundWait;
@@ -121,14 +125,14 @@
//        return null;
//    }
//
//    public String getStaType$(){
//        StaTypeService service = SpringUtils.getBean(StaTypeService.class);
//        StaType staType = service.getById(this.staType);
//        if (!Cools.isEmpty(staType)){
//            return String.valueOf(staType.getName());
//        }
//        return null;
//    }
    public String getStaType$(){
        StaTypeService service = SpringUtils.getBean(StaTypeService.class);
        StaType staType = service.getById(this.staType);
        if (!Cools.isEmpty(staType)){
            return String.valueOf(staType.getUuid());
        }
        return null;
    }
//
    public String getCode$(){
        CodeService service = SpringUtils.getBean(CodeService.class);