张天森
2022-07-06 0cbbecaafcfdb30d3e7370f85bbe3f3123499309
springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/impl/ComActActivityServiceImpl.java
@@ -92,6 +92,7 @@
    @Resource
    private ComPbCheckUnitDao comPbCheckUnitDao;
    /**
     * 新增社区活动
     * 
@@ -127,6 +128,7 @@
        if(comActActivityVO.getType()==5){
            comPbCheckUnitDao.selectOne(new QueryWrapper<ComPbCheckUnit>().lambda().eq(ComPbCheckUnit::getAdminPhone,comActActivityVO.getPhone()).last("limit 1"));
        }
        boolean save = this.save(comActActivityDO);
        if (!save) {
            return R.fail();