class AppRedisConfigCheckResult implements Serializable {

    /**
     * 检测时间
     */
    private Date createTime;

    /**
     * redis版本
     */
    private Integer versionId;

    /**
     * 应用id
     */
    private AppDesc appDesc;

    /**
     * 配置项
     */
    private String configName;

    /**
     * 比较类型
     */
    private int compareType;

    /**
     * 比较值
     */
    private String expectValue;

    /**
     * 配置项
     */
    private List<InstanceRedisConfigCheckResult> instanceCheckList;

    /**
     * redis版本
     */
    private boolean success;

    private Long appId;

    private String createTimeStr;

    public Long getAppId(){
        if(appDesc != null){
            return appDesc.getAppId();
        }
        return null;
    }

    private String instanceIds;

    public String getInstanceIds(){<FILL_FUNCTION_BODY>}

    public String getCreateTimeStr(){
        return DateUtil.formatYYYYMMddHHMMSS(createTime);
    }

}

        final StringBuilder sb = new StringBuilder();
        if(CollectionUtils.isNotEmpty(instanceCheckList)){
            instanceCheckList.forEach(instanceCheckResult -> {
                if(!instanceCheckResult.isSuccess()){
                    sb.append(instanceCheckResult.getInstanceInfo().getId());
                    sb.append(",");
                }
            });
            if(sb.length() > 1){
                sb.deleteCharAt(sb.length() - 1);
            }
        }
        return sb.toString();
    
<no_super_class>