|
|
@@ -21,7 +21,7 @@ public interface AflSmsRecordRepo extends JpaRepository<AflSmsRecord, String>, J |
|
|
|
@Query("from AflSmsRecord where mobile = ?1 and businessId=?2 and businessType='3' ") |
|
|
|
public List<AflSmsRecord> findByMobileandBusinessIdThree(String mobile, String businessId); |
|
|
|
|
|
|
|
@Query("from AflSmsRecord where status = '0' and vehicleId=?1 and DATE(sendTime) = CURDATE() ") |
|
|
|
@Query("from AflSmsRecord where status = '0' and vehicleId=?1 and sendTime = TRUNC(SYSDATE) ") |
|
|
|
public List<AflSmsRecord> findByCountDay(String vehicleId); |
|
|
|
|
|
|
|
@Query("from AflSmsRecord where status = '0' and vehicleId = ?1 and MONTH(sendTime) = MONTH(CURRENT_DATE()) AND YEAR(sendTime) = YEAR(CURRENT_DATE())") |