#
vincentlu
2025-05-13 ebd2f4397a92c6a5096de1b86d59154363344720
zy-acs-manager/src/main/java/com/zy/acs/manager/manager/entity/Action.java
@@ -57,6 +57,7 @@
    /**
     * 优先级
     * The large the value, the earlier it will be executed
     */
    @ApiModelProperty(value= "优先级")
    private Integer priority;
@@ -181,6 +182,9 @@
    @ApiModelProperty(value= "备注")
    private String memo;
    public Action() {
    }
    public Action(String uuid, Long busId, Long taskId, String seqNum, Integer priority, String name, Double val, String code, String params, Long actionType, Long actionSts, Long agvId, Date ioTime) {
        this.uuid = uuid;
        this.busId = busId;
@@ -201,7 +205,7 @@
        BusService service = SpringUtils.getBean(BusService.class);
        Bus bus = service.getById(this.busId);
        if (!Cools.isEmpty(bus)){
            return String.valueOf(bus.getUuid());
            return String.valueOf(bus.getBusNo());
        }
        return null;
    }
@@ -263,17 +267,18 @@
        }
    }
    public String getDeleted$(){
        if (null == this.deleted){ return null; }
        switch (this.deleted){
    public Boolean getStatusBool(){
        if (null == this.status){ return null; }
        switch (this.status){
            case 1:
                return "是";
                return true;
            case 0:
                return "否";
                return false;
            default:
                return String.valueOf(this.deleted);
                return null;
        }
    }
}