|
|
@@ -388,8 +388,9 @@ public class SalesForecastSummaryController {
|
|
|
return R.fail("年份和月份参数无效");
|
|
|
}
|
|
|
|
|
|
- Long customerId = AuthUtil.getUserId();
|
|
|
- List<PcBladeSalesForecastSummary> list = forecastService.getForecastByUserAndMonth(customerId, year, month);
|
|
|
+ Long userId = AuthUtil.getUserId();
|
|
|
+ R<User> user = userClient.userInfoById(userId);
|
|
|
+ List<PcBladeSalesForecastSummary> list = forecastService.getForecastByUserAndMonth(user.getData().getCustomerId(), year, month);
|
|
|
return R.data(list);
|
|
|
}
|
|
|
|