From 8336bbac41bf8a426a4197920f233f30c045169c Mon Sep 17 00:00:00 2001 From: wjt Date: Fri, 9 Jun 2023 15:41:33 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=8E=8B=E7=BC=A9=E6=9D=A1?= =?UTF-8?q?=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../adcallback/repository/TbBDNewBackdataEntityRepository.java | 2 +- .../adcallback/repository/TbGdtNewBackdataEntityRepository.java | 2 +- .../adcallback/repository/TbJLV1BackdataEntityRepository.java | 2 +- .../adcallback/repository/TbJLV2BackdataEntityRepository.java | 2 +- .../adcallback/repository/TbKSNewBackdataEntityRepository.java | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/main/java/com/baiyee/adcallback/repository/TbBDNewBackdataEntityRepository.java b/src/main/java/com/baiyee/adcallback/repository/TbBDNewBackdataEntityRepository.java index 2626c0d..3c73866 100644 --- a/src/main/java/com/baiyee/adcallback/repository/TbBDNewBackdataEntityRepository.java +++ b/src/main/java/com/baiyee/adcallback/repository/TbBDNewBackdataEntityRepository.java @@ -29,6 +29,6 @@ public interface TbBDNewBackdataEntityRepository extends JpaRepository= :startDate and gmtCreate < :endDate and tag in :tag group by imei,tag") List queryPlateFormDTO(@Param("imeiStrFirst") String imeiStrFirst, @Param("imeiSecond") String imeiSecond, @Param("startDate") DateTime startDate, @Param("endDate") DateTime endDate, @Param("tag") List tag); - @Query("SELECT t FROM TbBdNewBackdataEntity t WHERE t.imei != '' AND t.imei != '__imei__' AND t.gmtCreate > ?1 AND t.gmtCreate < ?2") + @Query("SELECT t FROM TbBdNewBackdataEntity t WHERE t.gmtCreate > ?1 AND t.gmtCreate < ?2") List queryByDate(DateTime startDate, DateTime endDate); } diff --git a/src/main/java/com/baiyee/adcallback/repository/TbGdtNewBackdataEntityRepository.java b/src/main/java/com/baiyee/adcallback/repository/TbGdtNewBackdataEntityRepository.java index 3f06968..7d82c7d 100644 --- a/src/main/java/com/baiyee/adcallback/repository/TbGdtNewBackdataEntityRepository.java +++ b/src/main/java/com/baiyee/adcallback/repository/TbGdtNewBackdataEntityRepository.java @@ -30,6 +30,6 @@ public interface TbGdtNewBackdataEntityRepository extends JpaRepository= :startDate and gmtCreate < :endDate and tag in :tag and deviceOsType = :models group by imei,tag") List queryPlateFormDTO(@Param("imeiStrFirst") String imeiStrFirst, @Param("imeiSecond") String imeiSecond, @Param("startDate") DateTime startDate, @Param("endDate") DateTime endDate, @Param("tag") List tag, @Param("models") String models); - @Query("SELECT t FROM TbGdtNewBackdataEntity t WHERE t.imei != '' AND t.imei != '__imei__' AND t.gmtCreate > ?1 AND t.gmtCreate < ?2") + @Query("SELECT t FROM TbGdtNewBackdataEntity t WHERE t.gmtCreate > ?1 AND t.gmtCreate < ?2") List queryByDate(DateTime startDate, DateTime endDate); } diff --git a/src/main/java/com/baiyee/adcallback/repository/TbJLV1BackdataEntityRepository.java b/src/main/java/com/baiyee/adcallback/repository/TbJLV1BackdataEntityRepository.java index 34539b5..066c7b7 100644 --- a/src/main/java/com/baiyee/adcallback/repository/TbJLV1BackdataEntityRepository.java +++ b/src/main/java/com/baiyee/adcallback/repository/TbJLV1BackdataEntityRepository.java @@ -37,7 +37,7 @@ public interface TbJLV1BackdataEntityRepository extends JpaRepository= :startDate and gmtCreate < :endDate and tag in :tag group by imei,tag") List queryPlateFormDTO(@Param("imeiStrFirst") String imeiStrFirst, @Param("imeiSecond") String imeiSecond, @Param("startDate") DateTime startDate, @Param("endDate") DateTime endDate, @Param("tag") List tag); - @Query("SELECT t FROM TbJLBackDataV1Entity t WHERE t.imei != '' AND t.imei != '__IMEI__' AND t.gmtCreate > ?1 AND t.gmtCreate < ?2") + @Query("SELECT t FROM TbJLBackDataV1Entity t WHERE t.gmtCreate > ?1 AND t.gmtCreate < ?2") List queryByDate(DateTime startDate, DateTime endDate); List queryBytag(String s); diff --git a/src/main/java/com/baiyee/adcallback/repository/TbJLV2BackdataEntityRepository.java b/src/main/java/com/baiyee/adcallback/repository/TbJLV2BackdataEntityRepository.java index 6b3aa07..c567357 100644 --- a/src/main/java/com/baiyee/adcallback/repository/TbJLV2BackdataEntityRepository.java +++ b/src/main/java/com/baiyee/adcallback/repository/TbJLV2BackdataEntityRepository.java @@ -21,7 +21,7 @@ public interface TbJLV2BackdataEntityRepository extends JpaRepository queryAllImeiByDate(Date startDate, Date endDate); - @Query("SELECT t FROM TbJLBackDataV2Entity t WHERE t.imei != '' AND t.imei != '__IMEI__' AND t.gmtCreate > ?1 AND t.gmtCreate < ?2") + @Query("SELECT t FROM TbJLBackDataV2Entity t WHERE t.gmtCreate > ?1 AND t.gmtCreate < ?2") List queryByDate(DateTime startDate, DateTime endDate); /** diff --git a/src/main/java/com/baiyee/adcallback/repository/TbKSNewBackdataEntityRepository.java b/src/main/java/com/baiyee/adcallback/repository/TbKSNewBackdataEntityRepository.java index 15cfa86..48c4ceb 100644 --- a/src/main/java/com/baiyee/adcallback/repository/TbKSNewBackdataEntityRepository.java +++ b/src/main/java/com/baiyee/adcallback/repository/TbKSNewBackdataEntityRepository.java @@ -29,6 +29,6 @@ public interface TbKSNewBackdataEntityRepository extends JpaRepository= :startDate and gmtCreate < :endDate and tag in :tag group by imei,tag") List queryPlateFormDTO(@Param("imeiStrFirst") String imeiStrFirst, @Param("imeiSecond") String imeiSecond, @Param("startDate") DateTime startDate, @Param("endDate") DateTime endDate, @Param("tag") List tag); - @Query("SELECT t FROM TbKSNewBackdataEntity t WHERE t.imei != '' AND t.imei != '__imei__' AND t.gmtCreate > ?1 AND t.gmtCreate < ?2") + @Query("SELECT t FROM TbKSNewBackdataEntity t WHERE t.gmtCreate > ?1 AND t.gmtCreate < ?2") List queryByDate(DateTime startDate, DateTime endDate); }