huanghongfa
2021-06-15 e6401b0fae8c589777ef7917422df6d40f3f0f04
springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/impl/ComEldersAuthElderlyServiceImpl.java
@@ -94,7 +94,11 @@
    @Override
    public R deleteEldersAuthElderly(Long id) {
        this.baseMapper.deleteById(id);
        return R.ok();
        if(this.baseMapper.deleteById(id) > 0){
            //删除用户关联的老人信息
            this.baseMapper.deleteEldersAuthUserById(id);
            return R.ok();
        }
        return R.fail();
    }
}