Commit ad5ae215 authored by caotao's avatar caotao

解决监盘首页排名top5接口代码冲突问题

parent f8cfc179
......@@ -1329,4 +1329,8 @@ public class MonitoringServiceImpl {
public Double keepFourdecimalPlaces(Double param) {
return Double.valueOf(String.format("%.4f", param));
}
public Double getPlanGenByStationIdAndMonth(String stationId){
String [] dates = DateUtil.today().split("-");
return stationPlanMapper.getPlanGenByStationIdAndMonth(stationId,dates[0], String.valueOf(Integer.valueOf(dates[1])));
}
}
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