Commit bdc00c2c authored by chenzhao's avatar chenzhao

修改bug21668

parent 44e98378
......@@ -66,6 +66,9 @@ public class EarningsForecastImpl {
});
TreeMap<String, Double> map = commonService.getListDataByCondtionsSum(queryCondtion1,objects, ESMoonPowerGeneration.class,null);
if (null == map || map.isEmpty() ){
return null;
}
TreeMap<String, String> carbonDioxide = new TreeMap<>();
TreeMap<String, String> standardCoal = new TreeMap<>();
TreeMap<String, String> toner = new TreeMap<>();
......@@ -162,6 +165,9 @@ public class EarningsForecastImpl {
});
TreeMap<String, Double> map = commonService.getListDataByCondtionsSum(queryCondtion1,objects, ESMoonPowerGeneration.class,null);
if (null == map || map.isEmpty() ){
return null;
}
TreeMap<String, String> carbonDioxide = new TreeMap<>();
TreeMap<String, String> standardCoal = new TreeMap<>();
TreeMap<String, String> toner = new TreeMap<>();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment