Commit 2a5a9af0 authored by tangwei's avatar tangwei

修改采集数据默认值

parent f51e00d1
...@@ -198,8 +198,14 @@ public class ImasterDataServiceImpl implements ImasterDataService { ...@@ -198,8 +198,14 @@ public class ImasterDataServiceImpl implements ImasterDataService {
jpStation.setAddress(imasterStationList.getPlantAddress()); jpStation.setAddress(imasterStationList.getPlantAddress());
jpStation.setLongitude(imasterStationList.getLongitude()); jpStation.setLongitude(imasterStationList.getLongitude());
jpStation.setLatitude(imasterStationList.getLatitude()); jpStation.setLatitude(imasterStationList.getLatitude());
// jpStation.setUserName(imasterStationDetail.getUsername()); jpStation.setUserName("三一硅能(株洲)有限公司");
// jpStation.setUserPhone(String.valueOf(imasterStationDetail.getUsermobile())); jpStation.setUserPhone("18511539874");
jpStation.setOnGridType("自发自用");
//jpStation.setOnGridTime(new Date("2023-05-22"));
// jpStation.setRealTimePower();
jpStation.setCumulativeIncome(imasterStationDetail.getTotal_income());
jpStation.setPrice(0.45);
jpStation.setRatedPower(100D);
jpStation.setStationContact(imasterStationList.getContactPerson()); jpStation.setStationContact(imasterStationList.getContactPerson());
// jpStation.setModuleCount(ObjectUtils.isEmpty(Math.toIntExact(imasterStationDetail.getModule()))?0:Math.toIntExact(imasterStationDetail.getModule())); // jpStation.setModuleCount(ObjectUtils.isEmpty(Math.toIntExact(imasterStationDetail.getModule()))?0:Math.toIntExact(imasterStationDetail.getModule()));
//并网类型 //并网类型
...@@ -336,7 +342,7 @@ public class ImasterDataServiceImpl implements ImasterDataService { ...@@ -336,7 +342,7 @@ public class ImasterDataServiceImpl implements ImasterDataService {
jpCollector.setAddr(imasterStationList.getPlantAddress()); jpCollector.setAddr(imasterStationList.getPlantAddress());
jpCollector.setName(imasterCollectorList.getDevName()); jpCollector.setName(imasterCollectorList.getDevName());
//类型 //类型
// jpCollector.setType(collectorDetailDto.getModel()); jpCollector.setType("通信模块");
//更新时间 //更新时间
jpCollector.setUpdateTime(new Date()); jpCollector.setUpdateTime(new Date());
//出场日期 //出场日期
......
...@@ -164,6 +164,8 @@ public class KsolarDataAcquisitionServiceImpl implements KSolarDataAcquisitionSe ...@@ -164,6 +164,8 @@ public class KsolarDataAcquisitionServiceImpl implements KSolarDataAcquisitionSe
jpStation.setPrice(ksolarStationDetail.getElecPrice()); jpStation.setPrice(ksolarStationDetail.getElecPrice());
jpStation.setAddress(ksolarStationDetail.getStationAddressDetail()); jpStation.setAddress(ksolarStationDetail.getStationAddressDetail());
jpStation.setLongitude(ksolarStationDetail.getLongitude()); jpStation.setLongitude(ksolarStationDetail.getLongitude());
jpStation.setOnGridType("自发自用");//客户确认
jpStation.setRatedPower(100D);//客户确认
jpStation.setLatitude(ksolarStationDetail.getLatitude()); jpStation.setLatitude(ksolarStationDetail.getLatitude());
jpStation.setThirdCode(PVProducerInfoEnum.KSOLAR.getCode()); jpStation.setThirdCode(PVProducerInfoEnum.KSOLAR.getCode());
// 业主姓名 // 业主姓名
......
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