|
|
@@ -51,7 +51,7 @@ public interface UserDao extends JpaSpecificationExecutor<User>, JpaRepository<U
|
|
|
* @param enUU
|
|
|
* @return
|
|
|
*/
|
|
|
- @QueryHints({ @QueryHint(name = "org.hibernate.cacheable", value = "true") })
|
|
|
+ // @QueryHints({ @QueryHint(name = "org.hibernate.cacheable", value = "true") })
|
|
|
@Query("select u.userUU from User u inner join u.enterprises as e where e.uu = :enUU")
|
|
|
public List<Long> findIdByEnUU(@Param("enUU") long enUU);
|
|
|
|