|
@@ -12,8 +12,6 @@ import com.gyee.frame.service.WindpowerinfodayService;
|
|
|
import com.gyee.frame.util.StringUtils;
|
|
|
import com.gyee.frame.util.golden.EdosUtil;
|
|
|
import com.gyee.frame.util.golden.IEdosUtil;
|
|
|
-import com.gyee.frame.util.mongodb.IMongodbUtil;
|
|
|
-import com.gyee.frame.util.mongodb.MongodbUtilImpl;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.stereotype.Service;
|
|
|
|
|
@@ -49,7 +47,6 @@ public class WindpowerstationdetailService extends SocketToolService {
|
|
|
windpowerstationAll.setId("0");
|
|
|
wpls.add(windpowerstationAll);
|
|
|
Map<String,Map<String,Double>> windpowerstationpointDataMap = new HashMap();
|
|
|
- IMongodbUtil mongodb = new MongodbUtilImpl();
|
|
|
|
|
|
for(Windpowerstation windpowerstation:wpls){
|
|
|
Map<String,Double> pointDataMap = new HashMap();
|
|
@@ -134,7 +131,6 @@ public class WindpowerstationdetailService extends SocketToolService {
|
|
|
windpowerstationAll.setId("0");
|
|
|
wpls.add(windpowerstationAll);
|
|
|
Map<String,Map<String,Double>> windpowerstationpointDataMap = new HashMap();
|
|
|
- IMongodbUtil mongodb = new MongodbUtilImpl();
|
|
|
|
|
|
for(Windpowerstation windpowerstation:wpls){
|
|
|
Map<String,Double> pointDataMap = new HashMap();
|
|
@@ -183,7 +179,7 @@ public class WindpowerstationdetailService extends SocketToolService {
|
|
|
}
|
|
|
|
|
|
Calendar c = Calendar.getInstance();
|
|
|
- Windpowerinfoday wp=windpowerinfodayService.findListByDate("CL_FDC",c.getTime());
|
|
|
+ Windpowerinfoday wp=windpowerinfodayService.findListByDate(windpowerstation.getId(),c.getTime());
|
|
|
if(StringUtils.isNotNull(wp))
|
|
|
{
|
|
|
ylyxs=wp.getMonthlyxs();
|