AJ
Size: a a a
AJ
C
AJ
Y
E
R
R
R
Y
Y
АУ
АУ
I
I
@Query("select user from User user where datediff(currentDate,user.createdTime)>=180")
List<User> findByCreatedDateMoreThanSixMonths(@Param("currentDate") Date currentDate);I
@Query("select user from User user where datediff(currentDate,user.createdTime)>=180")
List<User> findByCreatedDateMoreThanSixMonths(@Param("currentDate") Date currentDate);АУ
I
АУ
I
@Query("select product from Product product where datediff(currentDate, product.expiryDate) <= 3 and datediff(currentDate, product.expiryDate) > 0")
List<Product> findByExpiryDateMoreThanOneAndLessThanThreeDays(@Param("currentDate") Date currentDate);