huanghongfa
2022-04-19 153e14770fc46d21738dcac41700f616df941d30
springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/impl/ComBatteryStoreServiceImpl.java
@@ -118,6 +118,8 @@
        entity.setId(id);
        entity.setIsDel(ComBatteryStore.IsDel.YES);
        if (this.baseMapper.updateById(entity) > 0) {
            //同时删除账号
            this.baseMapper.deleteStoreUserByStoreId(id);
            return R.ok();
        }
        return R.fail("删除失败");