huanghongfa
2021-07-30 de1e89f065034bc7470dfbc5e1f674fc84357ea2
springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/impl/ComActIntegralRuleServiceImpl.java
@@ -45,7 +45,7 @@
    @Override
    public R getIntegralRuleAdminList(PageComActIntegralRuleDTO integralRuleDTO){
        Integer count = this.baseMapper.selectCount(new QueryWrapper<ComActIntegralRuleDO>().lambda().eq(ComActIntegralRuleDO::getCommunityId,integralRuleDTO.getCommunityId()));
        if(count.equals(0)){
        if(count == null || count <= 0){
            List<ComActIntegralRuleDO> integralRuleList = getIntegralRuleList(integralRuleDTO.getCommunityId());
            this.saveBatch(integralRuleList);
        }