@Override
    public Mono<SaveResult> save(Publisher<DictionaryItemEntity> entityPublisher) {
        return super.save(this.fillOrdinal(entityPublisher))
                    .doOnSuccess(r -> eventPublisher.publishEvent(ClearDictionaryCacheEvent.of()));
    }
@Test
    public void save() {
        DictionaryItemEntity itemEntity = createItem("test1");
        itemEntity.setOrdinal(0);
        DictionaryItemEntity itemEntity2 = createItem("test2");
        itemEntity2.setOrdinal(0);

        defaultDictionaryItemService
                .save(Flux.just(itemEntity, itemEntity2))
                .then()
                .as(StepVerifier::create)
                .expectComplete()
                .verify();

        defaultDictionaryItemService
                .query(new QueryParamEntity().noPaging())
                .doOnNext(System.out::println)
                .count()
                .as(StepVerifier::create)
                .expectNext(1L)
                .verifyComplete();

        itemEntity2.setOrdinal(null);

        defaultDictionaryItemService
                .save(Flux.just(itemEntity, itemEntity2))
                .then()
                .as(StepVerifier::create)
                .expectErrorMessage("error.ordinal_can_not_null")
                .verify();

    }