|
@@ -77,21 +77,13 @@ public class ParsingQxzServiceImpl extends ServiceImpl<ParsingQxzMapper, Parsing
|
|
w.setAirT(parsingValue(parsingQxzInfo.getAirT(), fileContent));
|
|
w.setAirT(parsingValue(parsingQxzInfo.getAirT(), fileContent));
|
|
w.setCellT(parsingValue(parsingQxzInfo.getCellT(), fileContent));
|
|
w.setCellT(parsingValue(parsingQxzInfo.getCellT(), fileContent));
|
|
w.setDiffuseR(parsingValue(parsingQxzInfo.getDiffuseR(), fileContent));
|
|
w.setDiffuseR(parsingValue(parsingQxzInfo.getDiffuseR(), fileContent));
|
|
- w.setDiffuseRDA(parsingValue(parsingQxzInfo.getDiffuseRDA(), fileContent));
|
|
|
|
w.setDirectR(parsingValue(parsingQxzInfo.getDirectR(), fileContent));
|
|
w.setDirectR(parsingValue(parsingQxzInfo.getDirectR(), fileContent));
|
|
- w.setDirectRDA(parsingValue(parsingQxzInfo.getDirectRDA(), fileContent));
|
|
|
|
w.setGlobalR(parsingValue(parsingQxzInfo.getGlobalR(), fileContent));
|
|
w.setGlobalR(parsingValue(parsingQxzInfo.getGlobalR(), fileContent));
|
|
- w.setGlobalRDA(parsingValue(parsingQxzInfo.getGlobalRDA(), fileContent));
|
|
|
|
- w.setHourDA(parsingValue(parsingQxzInfo.getHourDA(), fileContent));
|
|
|
|
- w.setObliqueR(parsingValue(parsingQxzInfo.getObliqueR(), fileContent));
|
|
|
|
- w.setObliqueRDA(parsingValue(parsingQxzInfo.getObliqueRDA(), fileContent));
|
|
|
|
w.setP(parsingValue(parsingQxzInfo.getP(), fileContent));
|
|
w.setP(parsingValue(parsingQxzInfo.getP(), fileContent));
|
|
w.setRh(parsingValue(parsingQxzInfo.getRh(), fileContent));
|
|
w.setRh(parsingValue(parsingQxzInfo.getRh(), fileContent));
|
|
w.setWd(parsingValue(parsingQxzInfo.getWd(), fileContent));
|
|
w.setWd(parsingValue(parsingQxzInfo.getWd(), fileContent));
|
|
w.setWs(parsingValue(parsingQxzInfo.getWs(), fileContent));
|
|
w.setWs(parsingValue(parsingQxzInfo.getWs(), fileContent));
|
|
- w.setStatus(parsingStatus(parsingQxzInfo.getStatus(), fileContent));
|
|
|
|
w.setStationCode(parsingQxzInfo.getStationCode());
|
|
w.setStationCode(parsingQxzInfo.getStationCode());
|
|
- w.setEquipmentId(eqId);
|
|
|
|
weatherStationStatusDataService.save(w);
|
|
weatherStationStatusDataService.save(w);
|
|
parsingResultDto.setStatus("success");
|
|
parsingResultDto.setStatus("success");
|
|
log.info("解析QXZ文件:{} 成功! O(∩_∩)O", file.getName());
|
|
log.info("解析QXZ文件:{} 成功! O(∩_∩)O", file.getName());
|