由于:org.hibernate.hql.internal.ast.QuerySyntaxException: 意外的AST节点:或在第1行第841列附近[SELECT TS.tripFristDriverID,TS.tripSecDriverID,计数(DISTINCT TS.tripSheetID),sum(TS.tripUsageKM)来自 org.fleetopgroup.persistence.model.TripSheet TS内联接 org.fleetopgroup.persistence.model.Driver D在TS.tripFristDriverID = D.driver_id或TS.tripSecDriverID = D.driver_id在哪里 (((TS.tripFristDriverID IN(选择DA.driver_id从 org.fleetopgroup.persistence.model.Driver DA WHERE DA.vehicleGroupId = 11 AND DA.driJobId = 8 AND DA.companyId = 6 AND DA.markForDelete = 0)或TS.tripSecDriverID IN(选择DA.driver_id 从org.fleetopgroup.persistence.model.Driver DA WHERE DA.vehicleGroupId = 11 AND DA.driJobId = 8 AND DA.companyId = 6 AND DA.markForDelete = 0))AND(TS.tripOpenDate在'2018-10-31之间 00:00:00.000'AND'2018-11-01 23:59:59.998')AND TS.companyId = 6 AND TS.markForDelete = 0)分组依据(TS.tripFristDriverID或 TS.tripSecDriverID)]