Skip to content

Commit fb5ed09

Browse files
committed
fix #139: edit cache
1 parent 4eda65e commit fb5ed09

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

API-Server/src/main/java/swm/hkcc/LGTM/app/modules/serverDrivenUI/domain/ABTestUserGroupRepository.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
import java.util.Optional;
88

99
public interface ABTestUserGroupRepository extends JpaRepository<ABTestUserGroup, Long> {
10-
@Cacheable(value = "ab_test_user_group", key = "#p0 +'::'+ #p1")
10+
@Cacheable(value = "ab_test_user_group", key = "#p1.concat(':').concat(#p0)")
1111
@Query("select a.groupName from ABTestUserGroup a where a.memberId = ?1 and a.testName = ?2")
1212
Optional<String> findGroupNameByMemberIdAndTestName(Long memberId, String testName);
1313

0 commit comments

Comments
 (0)