xuhy
4 天以前 508f3e225df87e0da974424981e7782fc5ce875c
ruoyi-system/src/main/java/com/ruoyi/system/service/impl/TFoundationPersonServiceImpl.java
@@ -71,7 +71,7 @@
            throw new ServiceException("设置存在重复用餐人数");
        }
        this.remove(Wrappers.lambdaQuery(TFoundationPerson.class)
                .in(TFoundationPerson::getId,foundationPersonDTOS.stream().map(TFoundationPersonDTO::getId).collect(Collectors.toList())));
                .eq(TFoundationPerson::getMealType,dto.getMealType()));
        for (TFoundationPersonDTO tFoundationPersonDTO : foundationPersonDTOS) {
            List<TFoundationConfig> foundationConfigs = tFoundationPersonDTO.getFoundationConfigs();
            long count = foundationConfigs.stream().map(TFoundationConfig::getTypeId).distinct().count();