We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 79a1768 commit 04bb379Copy full SHA for 04bb379
src/main/java/an/kte/service/StatisticService.java
@@ -86,7 +86,7 @@ public ClientStatistic findByClientId(Long clientId) {
86
return clientStatisticRepository.findByClientId(clientId);
87
}
88
89
- public ProductStatistic findByProductId(Long clientId) {
90
- return productStatisticRepository.findByProductId(clientId);
+ public ProductStatistic findByProductId(Long productId) {
+ return productStatisticRepository.findByProductId(productId);
91
92
0 commit comments