|
@@ -144,6 +144,7 @@ public class ApiShopController extends BaseController {
|
|
|
Facility facility = iFacilityService.getById(deviceId);
|
|
|
Assert.notNull(facility, "未找到设备信息");
|
|
|
Shop shop = iShopService.getById(facility.getShopId());
|
|
|
+ Assert.notNull(shop, "设备已停用");
|
|
|
return R.data(ShopWrapper.build().entityVO(shop));
|
|
|
}
|
|
|
|