|
@@ -92,7 +92,7 @@ public class HighReportService {
|
|
|
|
|
|
// 根据配置的sql查询数据结果
|
|
|
// 组装查询sql
|
|
|
- if(ReportType.ONE.equals(type)){
|
|
|
+ if(ReportType.ONE.getCode().equals(type)){
|
|
|
String baseSql = report.getBaseSql();
|
|
|
String gatherSql = report.getGatherSql();
|
|
|
String sql = ReportUtil.callSqlFormat(dto, baseSql, gatherSql, null, null);
|