mirror of
https://github.com/querydsl/querydsl.git
synced 2026-07-03 21:07:49 +08:00
Improve conversion #636
This commit is contained in:
parent
c31f9d1750
commit
ae258b2ca4
@ -114,7 +114,7 @@ public final class Conversions {
|
||||
if (expr instanceof Operation) {
|
||||
Operation<?> operation = (Operation<?>)expr;
|
||||
Class<?> type = operation.getType();
|
||||
if (type.equals(Float.class) || type.equals(Integer.class)
|
||||
if (type.equals(Float.class) || type.equals(Integer.class) || type.equals(Long.class)
|
||||
|| type.equals(Short.class) || type.equals(Byte.class)) {
|
||||
if (operation.getOperator() == Ops.AggOps.SUM_AGG) {
|
||||
return true;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user