File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
hapi-fhir-jpaserver-base/src/main/java/ca/uhn/fhir/jpa/dao/data Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -73,8 +73,8 @@ List<Batch2JobInstanceEntity> findInstancesByJobIdAndParams(
73
73
+ "WHERE (:definitionId IS NULL OR b.myDefinitionId = :definitionId) "
74
74
+ "AND (:status IS NULL OR b.myStatus = :status) "
75
75
+ "AND (:jobId IS NULL OR b.myId = :jobId) "
76
- + "AND (:from IS NULL OR b.myCreateTime >= :from) "
77
- + "AND (:to IS NULL OR b.myCreateTime <= :to)" )
76
+ + "AND (cast( :from as date) IS NULL OR b.myCreateTime >= :from) "
77
+ + "AND (cast( :to as date) IS NULL OR b.myCreateTime <= :to)" )
78
78
Page <Batch2JobInstanceEntity > findByJobDefinitionIdOrStatusOrIdOrCreateTime (
79
79
@ Param ("definitionId" ) String theDefinitionId ,
80
80
@ Param ("status" ) StatusEnum theStatus ,
You can’t perform that action at this time.
0 commit comments