|
@@ -6,7 +6,6 @@ import org.springframework.beans.BeansException;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.context.ApplicationContext;
|
|
import org.springframework.context.ApplicationContext;
|
|
|
import org.springframework.scheduling.annotation.EnableScheduling;
|
|
import org.springframework.scheduling.annotation.EnableScheduling;
|
|
|
-import org.springframework.scheduling.annotation.Scheduled;
|
|
|
|
|
import org.springframework.stereotype.Component;
|
|
import org.springframework.stereotype.Component;
|
|
|
|
|
|
|
|
import javax.annotation.PostConstruct;
|
|
import javax.annotation.PostConstruct;
|
|
@@ -128,155 +127,157 @@ public class CollectDataSchedule {
|
|
|
serviceMap.put("xcrTrustworthyIncentive42ServiceImpl","interface/v1/datawarehouse/list");
|
|
serviceMap.put("xcrTrustworthyIncentive42ServiceImpl","interface/v1/datawarehouse/list");
|
|
|
serviceMap.put("xcrDishonestyPunishment19ServiceImpl","interface/v1/datawarehouse/list");
|
|
serviceMap.put("xcrDishonestyPunishment19ServiceImpl","interface/v1/datawarehouse/list");
|
|
|
serviceMap.put("xcrEBaseinfoServiceImpl","");
|
|
serviceMap.put("xcrEBaseinfoServiceImpl","");
|
|
|
|
|
+ serviceMap.put("xcrAnnualReportBaseInfoServiceImpl","");
|
|
|
|
|
+ serviceMap.put("xcrEnterpriseAnnualReportShareholderServiceImpl","");
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
- @Scheduled(cron = "0 0 1 1 * ?")
|
|
|
|
|
- public void getDataByMonth() {
|
|
|
|
|
- List<String> serviceList = List.of(
|
|
|
|
|
- "xcrOtherInfo38ServiceImpl",
|
|
|
|
|
- "xcrOtherInfo39ServiceImpl"
|
|
|
|
|
- );
|
|
|
|
|
- commonHandler(serviceList);
|
|
|
|
|
- }
|
|
|
|
|
- @Scheduled(cron = "0 0 1 * * ?")
|
|
|
|
|
- public void getDataByDay1() {
|
|
|
|
|
- List<String> serviceList = List.of(
|
|
|
|
|
- "xcrEnvironmentalPenaltyDecisionServiceImpl",
|
|
|
|
|
- "xcrAdministrativeLicensingServiceImpl",
|
|
|
|
|
- "xcrTrustworthyIncentive42ServiceImpl",
|
|
|
|
|
- "xcrDishonestyPunishment19ServiceImpl"
|
|
|
|
|
- );
|
|
|
|
|
- commonHandler(serviceList);
|
|
|
|
|
- }
|
|
|
|
|
-
|
|
|
|
|
- @Scheduled(cron = "0 0 2 * * ?")
|
|
|
|
|
- public void getDataByDay2() {
|
|
|
|
|
-
|
|
|
|
|
- }
|
|
|
|
|
-
|
|
|
|
|
- @Scheduled(cron = "0 0 3 ? * SUN")
|
|
|
|
|
- public void getDataByDay0() {
|
|
|
|
|
- List<String> serviceList = List.of(
|
|
|
|
|
- "xcrRecordDishonestyServiceImpl",
|
|
|
|
|
- "xcrInstitutionalClientsServiceImpl",
|
|
|
|
|
- "xcrTaxpayerCreditRatingServiceImpl",
|
|
|
|
|
- "xcrMainFinancialStatementsServiceImpl",
|
|
|
|
|
- "xcrStopBusinessInformationServiceImpl",
|
|
|
|
|
- "xcrAbnormalHouseholdTerminationServiceImpl",
|
|
|
|
|
- "xcrTaxAdministrativePenaltyServiceImpl",
|
|
|
|
|
- "xcrEnterpriseBasicInformationServiceImpl"
|
|
|
|
|
- );
|
|
|
|
|
- commonHandler(serviceList);
|
|
|
|
|
- }
|
|
|
|
|
-
|
|
|
|
|
- @Scheduled(cron = "0 0 4 ? * SUN")
|
|
|
|
|
- public void getDataByWeek1() {
|
|
|
|
|
- List<String> serviceList = List.of(
|
|
|
|
|
- "xcrEnterprisePollutionPermitInfoServiceImpl",
|
|
|
|
|
- "xcrKeyPollutionSourcesServiceImpl",
|
|
|
|
|
- "xcrAgriculturalSpecializedWebsiteServiceImpl",
|
|
|
|
|
- "xcrAnSfcBranchinfoServiceImpl",
|
|
|
|
|
- "xcrCompanyInvestmentServiceImpl",
|
|
|
|
|
- "xcrEquityChangeServiceImpl",
|
|
|
|
|
- "xcrSupplementaryForeignInvestmentServiceImpl",
|
|
|
|
|
- "xcrAppointDelegatesServiceImpl",
|
|
|
|
|
- "xcrAgriculturalSupplementServiceImpl",
|
|
|
|
|
- "xcrDomesticCapitalSupplementServiceImpl",
|
|
|
|
|
- "xcrInstallmentPaymentServiceImpl",
|
|
|
|
|
- "xcrInvestorSubscriptionDetailsServiceImpl",
|
|
|
|
|
- "xcrNonNaturalPersonContributionServiceImpl",
|
|
|
|
|
- "xcrNaturalPersonContributionsServiceImpl",
|
|
|
|
|
- "xcrHistoryNameServiceImpl",
|
|
|
|
|
- "xcrHistoricalLegalRepresentativeServiceImpl",
|
|
|
|
|
- "xcrAffiliatedEnterpriseServiceImpl",
|
|
|
|
|
- "xcrInstallmentSubscriptionServiceImpl",
|
|
|
|
|
- "xcrAdministrativeLicensingAgriculturalCollegesServiceImpl",
|
|
|
|
|
- "xcrEnterpriseExceptionListServiceImpl",
|
|
|
|
|
- "xcrInvestorAbnormalRecordServiceImpl"
|
|
|
|
|
- );
|
|
|
|
|
- commonHandler(serviceList);
|
|
|
|
|
-
|
|
|
|
|
- }
|
|
|
|
|
- @Scheduled(cron = "0 0 5 ? * SUN")
|
|
|
|
|
- public void getDataByWeek2() {
|
|
|
|
|
- List<String> serviceList = List.of(
|
|
|
|
|
- "xcrNoticeRecordServiceImpl",
|
|
|
|
|
- "xcrPersonalRevokeRecordServiceImpl",
|
|
|
|
|
- "xcrCheckWorkInfoServiceImpl",
|
|
|
|
|
- "xcrAbnormalBusinessOperationsServiceImpl",
|
|
|
|
|
- "xcrEquityFreezeExecutionServiceImpl",
|
|
|
|
|
- "xcrEquityChangeInfoServiceImpl",
|
|
|
|
|
- "xcrEquityFreezeServiceImpl",
|
|
|
|
|
- "xcrEquityPledgeInfoServiceImpl",
|
|
|
|
|
- "xcrSeriousIllegalDishonestEnterprisesDetailServiceImpl",
|
|
|
|
|
- "xcrSeriousIllegalDishonestEnterprisesServiceImpl",
|
|
|
|
|
- "xcrEnterpriseNameApprovalServiceImpl",
|
|
|
|
|
- "xcrBasicSupplementAgriculturalCollegeAnnualServiceImpl",
|
|
|
|
|
- "xcrEnterprisePublicityInvestorInformationStatusServiceImpl",
|
|
|
|
|
- "xcrEnterprisePublicityDetailsContributionsContributorsServiceImpl",
|
|
|
|
|
- "xcrEnterprisePublicationSupplySubscribedDetailsInvestorsServiceImpl",
|
|
|
|
|
- "xcrRevisionInformationAgriculturalCollegeAnnualReportServiceImpl"
|
|
|
|
|
- );
|
|
|
|
|
- commonHandler(serviceList);
|
|
|
|
|
- }
|
|
|
|
|
- @Scheduled(cron = "0 0 6 ? * SUN")
|
|
|
|
|
- public void getDataByWeek3() {
|
|
|
|
|
- List<String> serviceList = List.of(
|
|
|
|
|
- "xcrCancellationServiceImpl",
|
|
|
|
|
- "xcrLiquidationBasicInfoServiceImpl",
|
|
|
|
|
- "xcrLiquidationMemberInfoServiceImpl",
|
|
|
|
|
- "xcrAbnormalOperationAnnouncementServiceImpl",
|
|
|
|
|
- "xcrFarmSpecialAbnormalDetailServiceImpl",
|
|
|
|
|
- "xcrEnterpriseAnnualReportWebsiteServiceImpl",
|
|
|
|
|
- "xcrEnterpriseAnnualReportEquityChangeServiceImpl",
|
|
|
|
|
- "xcrIndividualCancellationObjectionServiceImpl",
|
|
|
|
|
- "xcrRevokeRegistrationServiceImpl",
|
|
|
|
|
- "xcrAgriculturalCollegeAnnualReportServiceImpl",
|
|
|
|
|
- "xcrChangeFilingServiceImpl",
|
|
|
|
|
- "xcrLicenseInfoServiceImpl",
|
|
|
|
|
- "xcrBranchOfficesInfoServiceImpl",
|
|
|
|
|
- "xcrRevokeInfoServiceImpl",
|
|
|
|
|
- "xcrExternalGuaranteeServiceImpl",
|
|
|
|
|
- "xcrAnnualReportExternalInvestmentServiceImpl",
|
|
|
|
|
- "xcrRandomInspectionTaskServiceImpl",
|
|
|
|
|
- "xcrSmallAndMicroEnterprisesServiceImpl",
|
|
|
|
|
- "xcrWebsiteInfoServiceImpl",
|
|
|
|
|
- "xcrOtherInfo36ServiceImpl",
|
|
|
|
|
- "interface/v1/datawarehouse/list",
|
|
|
|
|
- "xcrOtherInfo37ServiceImpl"
|
|
|
|
|
- );
|
|
|
|
|
- commonHandler(serviceList);
|
|
|
|
|
- }
|
|
|
|
|
-
|
|
|
|
|
- @Scheduled(cron = "0 0 7 ? * SUN")
|
|
|
|
|
- public void getDataByWeek4() {
|
|
|
|
|
- List<String> serviceList = List.of(
|
|
|
|
|
- "xcrTechnologyPlanProjectServiceImpl",
|
|
|
|
|
- "xcrTechnologyAwardSupplementServiceImpl",
|
|
|
|
|
- "xcrMinorEnterprisesServiceImpl",
|
|
|
|
|
- "xcrInnovationPlatformServiceImpl",
|
|
|
|
|
- "xcrHighTechServiceImpl",
|
|
|
|
|
- "xcrFoodProductionLicenseDetaliServiceImpl",
|
|
|
|
|
- "xcrLegalRepresentativeServiceImpl",
|
|
|
|
|
- "xcrFoodProductionLicenseServiceImpl",
|
|
|
|
|
- "xcrFoodBusinessLicenseServiceImpl",
|
|
|
|
|
- "xcrMsAdministrativeLicenseServiceImpl",
|
|
|
|
|
- "xcrContactInformationServiceImpl",
|
|
|
|
|
- "xcrFinancialManagerServiceImpl",
|
|
|
|
|
- "xcrIndividualBusinessInformationServiceImpl",
|
|
|
|
|
- "xcrIndustryCommerceServiceImpl",
|
|
|
|
|
- "xcrIndividualChangeInformationServiceImpl",
|
|
|
|
|
- "xcrIndividualCancellationServiceImpl",
|
|
|
|
|
- "xcrIndividualBusinessAbnormalityServiceImpl",
|
|
|
|
|
- "xcrMoveOutServiceImpl",
|
|
|
|
|
- "xcrMoveInServiceImpl",
|
|
|
|
|
- "xcrDeregistrationServiceImpl",
|
|
|
|
|
- "xcrEnterprisePublicityLicenseServiceImpl",
|
|
|
|
|
- "xcrEnterprisePublicityEquityChangeServiceImpl",
|
|
|
|
|
- "xcrSimplifiedCancellationAnnouncementServiceImpl"
|
|
|
|
|
- );
|
|
|
|
|
- commonHandler(serviceList);
|
|
|
|
|
- }
|
|
|
|
|
|
|
+// @Scheduled(cron = "0 0 1 1 * ?")
|
|
|
|
|
+// public void getDataByMonth() {
|
|
|
|
|
+// List<String> serviceList = List.of(
|
|
|
|
|
+// "xcrOtherInfo38ServiceImpl",
|
|
|
|
|
+// "xcrOtherInfo39ServiceImpl"
|
|
|
|
|
+// );
|
|
|
|
|
+// commonHandler(serviceList);
|
|
|
|
|
+// }
|
|
|
|
|
+// @Scheduled(cron = "0 0 1 * * ?")
|
|
|
|
|
+// public void getDataByDay1() {
|
|
|
|
|
+// List<String> serviceList = List.of(
|
|
|
|
|
+// "xcrEnvironmentalPenaltyDecisionServiceImpl",
|
|
|
|
|
+// "xcrAdministrativeLicensingServiceImpl",
|
|
|
|
|
+// "xcrTrustworthyIncentive42ServiceImpl",
|
|
|
|
|
+// "xcrDishonestyPunishment19ServiceImpl"
|
|
|
|
|
+// );
|
|
|
|
|
+// commonHandler(serviceList);
|
|
|
|
|
+// }
|
|
|
|
|
+//
|
|
|
|
|
+// @Scheduled(cron = "0 0 2 * * ?")
|
|
|
|
|
+// public void getDataByDay2() {
|
|
|
|
|
+//
|
|
|
|
|
+// }
|
|
|
|
|
+//
|
|
|
|
|
+// @Scheduled(cron = "0 0 3 ? * SUN")
|
|
|
|
|
+// public void getDataByDay0() {
|
|
|
|
|
+// List<String> serviceList = List.of(
|
|
|
|
|
+// "xcrRecordDishonestyServiceImpl",
|
|
|
|
|
+// "xcrInstitutionalClientsServiceImpl",
|
|
|
|
|
+// "xcrTaxpayerCreditRatingServiceImpl",
|
|
|
|
|
+// "xcrMainFinancialStatementsServiceImpl",
|
|
|
|
|
+// "xcrStopBusinessInformationServiceImpl",
|
|
|
|
|
+// "xcrAbnormalHouseholdTerminationServiceImpl",
|
|
|
|
|
+// "xcrTaxAdministrativePenaltyServiceImpl",
|
|
|
|
|
+// "xcrEnterpriseBasicInformationServiceImpl"
|
|
|
|
|
+// );
|
|
|
|
|
+// commonHandler(serviceList);
|
|
|
|
|
+// }
|
|
|
|
|
+//
|
|
|
|
|
+// @Scheduled(cron = "0 0 4 ? * SUN")
|
|
|
|
|
+// public void getDataByWeek1() {
|
|
|
|
|
+// List<String> serviceList = List.of(
|
|
|
|
|
+// "xcrEnterprisePollutionPermitInfoServiceImpl",
|
|
|
|
|
+// "xcrKeyPollutionSourcesServiceImpl",
|
|
|
|
|
+// "xcrAgriculturalSpecializedWebsiteServiceImpl",
|
|
|
|
|
+// "xcrAnSfcBranchinfoServiceImpl",
|
|
|
|
|
+// "xcrCompanyInvestmentServiceImpl",
|
|
|
|
|
+// "xcrEquityChangeServiceImpl",
|
|
|
|
|
+// "xcrSupplementaryForeignInvestmentServiceImpl",
|
|
|
|
|
+// "xcrAppointDelegatesServiceImpl",
|
|
|
|
|
+// "xcrAgriculturalSupplementServiceImpl",
|
|
|
|
|
+// "xcrDomesticCapitalSupplementServiceImpl",
|
|
|
|
|
+// "xcrInstallmentPaymentServiceImpl",
|
|
|
|
|
+// "xcrInvestorSubscriptionDetailsServiceImpl",
|
|
|
|
|
+// "xcrNonNaturalPersonContributionServiceImpl",
|
|
|
|
|
+// "xcrNaturalPersonContributionsServiceImpl",
|
|
|
|
|
+// "xcrHistoryNameServiceImpl",
|
|
|
|
|
+// "xcrHistoricalLegalRepresentativeServiceImpl",
|
|
|
|
|
+// "xcrAffiliatedEnterpriseServiceImpl",
|
|
|
|
|
+// "xcrInstallmentSubscriptionServiceImpl",
|
|
|
|
|
+// "xcrAdministrativeLicensingAgriculturalCollegesServiceImpl",
|
|
|
|
|
+// "xcrEnterpriseExceptionListServiceImpl",
|
|
|
|
|
+// "xcrInvestorAbnormalRecordServiceImpl"
|
|
|
|
|
+// );
|
|
|
|
|
+// commonHandler(serviceList);
|
|
|
|
|
+//
|
|
|
|
|
+// }
|
|
|
|
|
+// @Scheduled(cron = "0 0 5 ? * SUN")
|
|
|
|
|
+// public void getDataByWeek2() {
|
|
|
|
|
+// List<String> serviceList = List.of(
|
|
|
|
|
+// "xcrNoticeRecordServiceImpl",
|
|
|
|
|
+// "xcrPersonalRevokeRecordServiceImpl",
|
|
|
|
|
+// "xcrCheckWorkInfoServiceImpl",
|
|
|
|
|
+// "xcrAbnormalBusinessOperationsServiceImpl",
|
|
|
|
|
+// "xcrEquityFreezeExecutionServiceImpl",
|
|
|
|
|
+// "xcrEquityChangeInfoServiceImpl",
|
|
|
|
|
+// "xcrEquityFreezeServiceImpl",
|
|
|
|
|
+// "xcrEquityPledgeInfoServiceImpl",
|
|
|
|
|
+// "xcrSeriousIllegalDishonestEnterprisesDetailServiceImpl",
|
|
|
|
|
+// "xcrSeriousIllegalDishonestEnterprisesServiceImpl",
|
|
|
|
|
+// "xcrEnterpriseNameApprovalServiceImpl",
|
|
|
|
|
+// "xcrBasicSupplementAgriculturalCollegeAnnualServiceImpl",
|
|
|
|
|
+// "xcrEnterprisePublicityInvestorInformationStatusServiceImpl",
|
|
|
|
|
+// "xcrEnterprisePublicityDetailsContributionsContributorsServiceImpl",
|
|
|
|
|
+// "xcrEnterprisePublicationSupplySubscribedDetailsInvestorsServiceImpl",
|
|
|
|
|
+// "xcrRevisionInformationAgriculturalCollegeAnnualReportServiceImpl"
|
|
|
|
|
+// );
|
|
|
|
|
+// commonHandler(serviceList);
|
|
|
|
|
+// }
|
|
|
|
|
+// @Scheduled(cron = "0 0 6 ? * SUN")
|
|
|
|
|
+// public void getDataByWeek3() {
|
|
|
|
|
+// List<String> serviceList = List.of(
|
|
|
|
|
+// "xcrCancellationServiceImpl",
|
|
|
|
|
+// "xcrLiquidationBasicInfoServiceImpl",
|
|
|
|
|
+// "xcrLiquidationMemberInfoServiceImpl",
|
|
|
|
|
+// "xcrAbnormalOperationAnnouncementServiceImpl",
|
|
|
|
|
+// "xcrFarmSpecialAbnormalDetailServiceImpl",
|
|
|
|
|
+// "xcrEnterpriseAnnualReportWebsiteServiceImpl",
|
|
|
|
|
+// "xcrEnterpriseAnnualReportEquityChangeServiceImpl",
|
|
|
|
|
+// "xcrIndividualCancellationObjectionServiceImpl",
|
|
|
|
|
+// "xcrRevokeRegistrationServiceImpl",
|
|
|
|
|
+// "xcrAgriculturalCollegeAnnualReportServiceImpl",
|
|
|
|
|
+// "xcrChangeFilingServiceImpl",
|
|
|
|
|
+// "xcrLicenseInfoServiceImpl",
|
|
|
|
|
+// "xcrBranchOfficesInfoServiceImpl",
|
|
|
|
|
+// "xcrRevokeInfoServiceImpl",
|
|
|
|
|
+// "xcrExternalGuaranteeServiceImpl",
|
|
|
|
|
+// "xcrAnnualReportExternalInvestmentServiceImpl",
|
|
|
|
|
+// "xcrRandomInspectionTaskServiceImpl",
|
|
|
|
|
+// "xcrSmallAndMicroEnterprisesServiceImpl",
|
|
|
|
|
+// "xcrWebsiteInfoServiceImpl",
|
|
|
|
|
+// "xcrOtherInfo36ServiceImpl",
|
|
|
|
|
+// "interface/v1/datawarehouse/list",
|
|
|
|
|
+// "xcrOtherInfo37ServiceImpl"
|
|
|
|
|
+// );
|
|
|
|
|
+// commonHandler(serviceList);
|
|
|
|
|
+// }
|
|
|
|
|
+//
|
|
|
|
|
+// @Scheduled(cron = "0 0 7 ? * SUN")
|
|
|
|
|
+// public void getDataByWeek4() {
|
|
|
|
|
+// List<String> serviceList = List.of(
|
|
|
|
|
+// "xcrTechnologyPlanProjectServiceImpl",
|
|
|
|
|
+// "xcrTechnologyAwardSupplementServiceImpl",
|
|
|
|
|
+// "xcrMinorEnterprisesServiceImpl",
|
|
|
|
|
+// "xcrInnovationPlatformServiceImpl",
|
|
|
|
|
+// "xcrHighTechServiceImpl",
|
|
|
|
|
+// "xcrFoodProductionLicenseDetaliServiceImpl",
|
|
|
|
|
+// "xcrLegalRepresentativeServiceImpl",
|
|
|
|
|
+// "xcrFoodProductionLicenseServiceImpl",
|
|
|
|
|
+// "xcrFoodBusinessLicenseServiceImpl",
|
|
|
|
|
+// "xcrMsAdministrativeLicenseServiceImpl",
|
|
|
|
|
+// "xcrContactInformationServiceImpl",
|
|
|
|
|
+// "xcrFinancialManagerServiceImpl",
|
|
|
|
|
+// "xcrIndividualBusinessInformationServiceImpl",
|
|
|
|
|
+// "xcrIndustryCommerceServiceImpl",
|
|
|
|
|
+// "xcrIndividualChangeInformationServiceImpl",
|
|
|
|
|
+// "xcrIndividualCancellationServiceImpl",
|
|
|
|
|
+// "xcrIndividualBusinessAbnormalityServiceImpl",
|
|
|
|
|
+// "xcrMoveOutServiceImpl",
|
|
|
|
|
+// "xcrMoveInServiceImpl",
|
|
|
|
|
+// "xcrDeregistrationServiceImpl",
|
|
|
|
|
+// "xcrEnterprisePublicityLicenseServiceImpl",
|
|
|
|
|
+// "xcrEnterprisePublicityEquityChangeServiceImpl",
|
|
|
|
|
+// "xcrSimplifiedCancellationAnnouncementServiceImpl"
|
|
|
|
|
+// );
|
|
|
|
|
+// commonHandler(serviceList);
|
|
|
|
|
+// }
|
|
|
|
|
|
|
|
|
|
|
|
|
private void commonHandler(List<String> serviceList) {
|
|
private void commonHandler(List<String> serviceList) {
|