We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4eda65e commit fb5ed09Copy full SHA for fb5ed09
API-Server/src/main/java/swm/hkcc/LGTM/app/modules/serverDrivenUI/domain/ABTestUserGroupRepository.java
@@ -7,7 +7,7 @@
7
import java.util.Optional;
8
9
public interface ABTestUserGroupRepository extends JpaRepository<ABTestUserGroup, Long> {
10
- @Cacheable(value = "ab_test_user_group", key = "#p0 +'::'+ #p1")
+ @Cacheable(value = "ab_test_user_group", key = "#p1.concat(':').concat(#p0)")
11
@Query("select a.groupName from ABTestUserGroup a where a.memberId = ?1 and a.testName = ?2")
12
Optional<String> findGroupNameByMemberIdAndTestName(Long memberId, String testName);
13
0 commit comments