@CacheEvict(key = "#type", condition = "#result > 0")
@Override
public Mono<Long> delete(String type) {
    return r2dbcEntityTemplate.delete(Query.query(Criteria.where("type").is(type)), SysDict.class);
}
org.springframework.expression.spel.SpelEvaluationException: EL1013E: Cannot compare instances of class reactor.core.publisher.MonoOnAssembly and class java.lang.Integer

Comment From: jhoeller

This should be fixed in the latest 6.1.9 snapshot now. Feel free to give it an early try!