springcloud_k8s_panzhihuazhihuishequ/community_backstage/src/main/java/com/panzhihua/community_backstage/api/ComBatteryStoreApi.java
@@ -54,7 +54,7 @@ @GetMapping("/store/detail") @ApiOperation(value = "商家后台-获取维修换电商家详情",response = ComBatteryStoreVo.class) public R storeDetailById() { return this.comBatteryStoreService.detailById(this.getCommunityId()); return this.comBatteryStoreService.detailById(this.getUserId()); } } springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/resources/mapper/ComBatteryStoreMapper.xml
@@ -27,7 +27,7 @@ select id, name, reg_phone, phone, account, status, is_del, logo, introduction, address, detail_address, longitude, latitude, create_at, create_by, update_at, update_by from com_battery_store where id = #{id} where sys_user_id = #{id} </select> <!--查询指定行数据-->