|
|
@@ -24,4 +24,9 @@ public interface CollectionPrivilegeRepo extends JpaRepository<CollectionPrivile
|
|
|
"c.showroom_bg = ?5, c.vip = ?6 where c.id = ?1", nativeQuery = true)
|
|
|
@CacheEvict(value = {"collectionInfo"}, allEntries = true)
|
|
|
void update(@Nonnull Long id, Long collectionId, String headBg, Integer maxCollection, String showroomBg, Boolean vip);
|
|
|
+
|
|
|
+ @Transactional
|
|
|
+ @Modifying
|
|
|
+ @CacheEvict(value = {"collectionInfo"}, allEntries = true)
|
|
|
+ CollectionPrivilege save(CollectionPrivilege record);
|
|
|
}
|