#
vincentlu
2026-01-27 b7897958c4f095af331c329865cbd1f715673896
zy-acs-manager/src/main/java/com/zy/acs/manager/manager/entity/Sta.java
@@ -4,6 +4,9 @@
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
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;
@@ -53,8 +56,20 @@
    @ApiModelProperty(value= "偏移量")
    private Double offset;
    @ApiModelProperty(value= "作业高度")
    private Double height;
    @ApiModelProperty(value= "作业深度")
    private Double depth;
    @ApiModelProperty(value= "作业角度")
    private String angle;
    @ApiModelProperty(value= "连续入库等待(ms)")
    private Integer inboundWait;
    @ApiModelProperty(value= "连续出库等待(ms)")
    private Integer outboundWait;
    @ApiModelProperty(value= "自动")
    private String autoing;
@@ -107,23 +122,23 @@
//        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);
//        Code code = service.getById(this.code);
//        if (!Cools.isEmpty(code)){
//            return String.valueOf(code.getUuid());
//        }
//        return null;
//    }
    public String getCode$(){
        CodeService service = SpringUtils.getBean(CodeService.class);
        Code code = service.getCacheById(this.code);
        if (!Cools.isEmpty(code)){
            return String.valueOf(code.getData());
        }
        return null;
    }
//
//    public String getStaSts$(){
//        StaStsService service = SpringUtils.getBean(StaStsService.class);