fix: rollback

This commit is contained in:
junjie 2021-09-08 18:38:30 +08:00
parent 73e7b9f771
commit ac0da75502

View File

@ -772,13 +772,7 @@ public class DorisQueryProvider extends QueryProvider {
whereValue = String.format(DorisConstants.WHERE_BETWEEN, value.get(0), value.get(1));
}
} else {
if (request.getDatasetTableField().getDeType() == 1) {
SimpleDateFormat simpleDateFormat = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
String time = simpleDateFormat.format(new Date(Long.parseLong(value.get(0))));
whereValue = String.format(DorisConstants.WHERE_VALUE_VALUE, time);
} else {
whereValue = String.format(DorisConstants.WHERE_VALUE_VALUE, value.get(0));
}
whereValue = String.format(DorisConstants.WHERE_VALUE_VALUE, value.get(0));
}
list.add(SQLObj.builder()
.whereField(whereName)