Commit 664f393e authored by tangwei's avatar tangwei

场站类型

parent 34708770
......@@ -169,6 +169,7 @@ public class GoLangDataAcquisitionServiceImpl implements GoLangDataAcquisitionSe
jpStation.setAccessTime(new Date(golangStationDetail.getFisgeneratetime()));
jpStation.setCreateTime(new Date(golangStationDetail.getCreatedate()));
jpStation.setRatedPower(Double.valueOf(golangStationDetail.getInverterpower()));
jpStation.setType("家庭户用");
if (!ObjectUtils.isEmpty(jpStation.getSequenceNbr())) {
jpStationMapper.updateById(jpStation);
} else {
......
......@@ -185,6 +185,8 @@ public class KsolarDataAcquisitionServiceImpl implements KSolarDataAcquisitionSe
// 年发电量
jpStation.setYearGenerate(stationEarn.getYearGeneration());
jpStation.setType("工商业");
// 月收益
jpStation.setMonthIncome(monthEarn.get("monthEarn"));
// 年收益
......
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