Browse Source

去除全量拉取数据的逻辑

master
HAHA 3 years ago
parent
commit
35c68c2e18
  1. 25
      epmet-module/open-data-worker/open-data-worker-server/src/main/java/com/epmet/opendata/service/impl/GuardarDatosTaskServiceImpl.java

25
epmet-module/open-data-worker/open-data-worker-server/src/main/java/com/epmet/opendata/service/impl/GuardarDatosTaskServiceImpl.java

@ -73,28 +73,7 @@ public class GuardarDatosTaskServiceImpl implements GuardarDatosTaskService {
@Override
public void guardarDatosTask(PreserVationFormDTO dto) {
if (StringUtils.isBlank(dto.getTableName())) {
caLoudongService.preserLouDongVation(dto);
pingfangService.preserPingFangVation(dto);
rentalService.preserRentalVation(dto);
residentService.preserResidentVation(dto);
rotatorsService.preserRotatorsVation(dto);
basegridService.preserBaseGridVation(dto);
bmGridService.getPreserBmGridVation(dto);
communityService.getPreserCommunityVation(dto);
wghDywgService.getPreserDywgVation(dto);
wghJqzService.getPreserWghjqzVation(dto);
wghJxcsService.preserWghJxcsVation(dto);
wghJyzService.getPreserWghJyzVation(dto);
wghSjxxbService.getPreserSjxxVation(dto);
wghSqxxService.getPreserWghSqxxVation(dto);
wghSzcgwghService.getPreserWghSzcgwghVation(dto);
wghSzzrwgService.getPreserWghSzzrwgVation(dto);
wghWhpdwService.getPreserWhpdwVation(dto);
wghYjbmcsService.getPreserWghYjbmcsVation(dto);
wghYqhjzService.getPreserWghYqhjzVation(dto);
} else {
if (StringUtils.isNotBlank(dto.getTableName())) {
switch (dto.getTableName()) {
case CaWghDataConstant.UNICOM_LOUDONG:
caLoudongService.preserLouDongVation(dto);
@ -157,6 +136,8 @@ public class GuardarDatosTaskServiceImpl implements GuardarDatosTaskService {
wghYqhjzService.getPreserWghYqhjzVation(dto);
break;
}
} else{
throw new Error("没传名字");
}
}
}

Loading…
Cancel
Save