|
|
@@ -91,9 +91,9 @@ public class ShowLineService {
|
|
|
screenToColumnS = " 1 = 1 ";
|
|
|
}
|
|
|
xColumn = TimeConverterUtil.convertToOracleDateStr(xColumn, xAxisType); //X轴 -> 折线图X轴只能为日期类型
|
|
|
- String fieldName = yAxisType + "(nvl(" + yColumn + ",0)) as value,nvl(" + xColumn + ",'空') as name ";
|
|
|
+ String fieldName = yAxisType + "(nvl(" + yColumn + ",0)) as value," + xColumn + " as name ";
|
|
|
if ("time".equals(yColumnType)) {
|
|
|
- fieldName = yAxisType + "(" + yColumn + ")) as value,nvl(" + xColumn + ",'空') as name ";
|
|
|
+ fieldName = yAxisType + "(" + yColumn + ")) as value," + xColumn + " as name ";
|
|
|
}
|
|
|
String condition = screenToColumnS + " GROUP BY " + xColumn;
|
|
|
if (yAxisType.contains("distinct")) {
|