#
vincentlu
4 天以前 067ea036e9044d8e57d0d1abaddd66f13f745e6a
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,12 @@
    @ApiModelProperty(value= "作业角度")
    private String angle;
    @ApiModelProperty(value= "连续入库等待(ms)")
    private Integer inboundWait;
    @ApiModelProperty(value= "连续出库等待(ms)")
    private Integer outboundWait;
    @ApiModelProperty(value= "自动")
    private String autoing;
@@ -115,14 +122,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);