Showing
1 changed file
with
2 additions
and
1 deletions
| ... | @@ -16,7 +16,8 @@ public interface DeclearTaskRepository extends JpaSpecificationExecutor<DeclearT | ... | @@ -16,7 +16,8 @@ public interface DeclearTaskRepository extends JpaSpecificationExecutor<DeclearT |
| 16 | * 根据运单号集合+创建时间 运单 | 16 | * 根据运单号集合+创建时间 运单 |
| 17 | * @return | 17 | * @return |
| 18 | */ | 18 | */ |
| 19 | - @Query( nativeQuery = true,value ="select TOP 10 DT.* from T_DECLEAR_TASK DT INNER JOIN T_RECEIPT_MESSAGE RM ON (DT.CHMSIGNMENT_ID = RM.ID) where DT.FILE_TYPE = 2 AND DT.PUSH_NUMBER < 3 AND (DT.RESPONSE_RESULTS IS NULL OR DT.RESPONSE_RESULTS = '0') AND RM.ENTRY_ID IS NOT NULL AND ENTRY_ID != '' ORDER BY OPERATION_TIME ASC" ) | 19 | + //@Query( nativeQuery = true,value ="SELECT TOP 10 * FROM T_DECLEAR_TASK WHERE FILE_TYPE = 1 AND PUSH_NUMBER < 3 AND (RESPONSE_RESULTS IS NULL OR RESPONSE_RESULTS <> '0') ORDER BY OPERATION_TIME ASC" ) |
| 20 | + @Query( nativeQuery = true,value ="select TOP 10 DT.* from T_DECLEAR_TASK DT INNER JOIN T_RECEIPT_MESSAGE RM ON (DT.CHMSIGNMENT_ID = RM.ID) where DT.FILE_TYPE = 1 AND DT.PUSH_NUMBER < 3 AND (DT.RESPONSE_RESULTS IS NULL OR DT.RESPONSE_RESULTS = '0') AND RM.ENTRY_ID IS NOT NULL AND ENTRY_ID != '' ORDER BY OPERATION_TIME ASC" ) | ||
| 20 | public List<DeclearTask> findDeclearTask(); | 21 | public List<DeclearTask> findDeclearTask(); |
| 21 | 22 | ||
| 22 | /** | 23 | /** | ... | ... |
-
Please register or login to post a comment