Bläddra i källkod

定时任务分配

邵洋 1 år sedan
förälder
incheckning
ea6d54ac01

+ 1 - 4
data-service/src/main/java/com/zksy/data/controller/TestController.java

@@ -22,8 +22,6 @@ public class TestController {
     @Autowired
     private XhRequestUtil xhRequestUtil;
     @Autowired
-    private XcrELicNcertificateService xcrELicNcertificateService;
-    @Autowired
     private XcrCompanyInvestmentService xcrCompanyInvestmentService;
     @Autowired
     private XcrEquityChangeService xcrEquityChangeService;
@@ -227,7 +225,6 @@ public class TestController {
     private XcrAnSfcBranchinfoService xcrAnSfcBranchinfoService;
     @GetMapping("/a")
     public String hello(){
-        executeServiceCall(() -> xcrELicNcertificateService.saveDataByUniCode("gateway/api/1/getXzxkxxByUniscid"), "gateway/api/1/getXzxkxxByUniscid");
         executeServiceCall(() -> xcrCompanyInvestmentService.saveDataByUniCode("gateway/api/1/getGdjczxgxxByUniscid"), "gateway/api/1/getGdjczxgxxByUniscid");
         executeServiceCall(() -> xcrEquityChangeService.saveDataByUniCode("gateway/api/1/getGqczbgxxByUniscid"), "gateway/api/1/getGqczbgxxByUniscid");
         executeServiceCall(() -> xcrSupplementaryForeignInvestmentService.saveDataByUniCode("gateway/api/1/getWzbcxxByUniscid"), "gateway/api/1/getWzbcxxByUniscid");
@@ -324,7 +321,7 @@ public class TestController {
         executeServiceCall(() -> xcrBranchOfficesInfoService.saveDataByUniCode("gateway/api/1/getFzjgbaxxByUniscid1"), "gateway/api/1/getFzjgbaxxByUniscid1");
         executeServiceCall(() -> xcrLicenseInfoService.saveDataByUniCode("gateway/api/1/getXkxxByUniscid"), "gateway/api/1/getXkxxByUniscid");
         executeServiceCall(() -> xcrChangeFilingService.saveDataByUniCode("gateway/api/1/getBgbaxxByUniscid"), "gateway/api/1/getBgbaxxByUniscid");
-        executeServiceCall(() -> xcrSocialInsuranceDataService.saveDataByUniCode("gateway/api/1/getQynbshbxxxByUniscid"), "gateway/api/1/getQynbshbxxxByUniscid");
+        //executeServiceCall(() -> xcrSocialInsuranceDataService.saveDataByUniCode("gateway/api/1/getQynbshbxxxByUniscid"), "gateway/api/1/getQynbshbxxxByUniscid");
         executeServiceCall(() -> xcrAgriculturalCollegeAnnualReportService.saveDataByUniCode("gateway/api/1/getNznbjbxxByUniscid"), "gateway/api/1/getNznbjbxxByUniscid");
         executeServiceCall(() -> xcrInspectionResultsService.saveDataByUniCode("gateway/api/1/getJcjgxxByUniscid"), "gateway/api/1/getJcjgxxByUniscid");
         // 个体经营者基本信息

+ 0 - 192
data-service/src/main/java/com/zksy/data/domain/po/XcrELicNcertificate.java

@@ -1,192 +0,0 @@
-package com.zksy.data.domain.po;
-
-import com.baomidou.mybatisplus.annotation.TableField;
-import com.baomidou.mybatisplus.annotation.TableName;
-import com.fasterxml.jackson.annotation.JsonFormat;
-import com.fasterxml.jackson.annotation.JsonProperty;
-import lombok.Data;
-
-import java.io.Serializable;
-import java.util.Date;
-
-/**
- * 市场监管_行政许可信息
- * @TableName xcr_e_lic_ncertificate
- */
-@TableName("xcr_e_lic_ncertificate")
-@Data
-public class XcrELicNcertificate extends BasePo implements Serializable {
-    @TableField("CERTYPE")
-    @JsonProperty("CERTYPE")
-    private String CERTYPE;
-
-    @TableField("AC_CERTYPE")
-    @JsonProperty("AC_CERTYPE")
-    private String AC_CERTYPE;
-
-    @TableField("LICITEM")
-    @JsonProperty("LICITEM")
-    private String LICITEM;
-
-    @TableField("LICSTATE")
-    @JsonProperty("LICSTATE")
-    private String LICSTATE;
-
-    @TableField("UNISCID")
-    @JsonProperty("UNISCID")
-    private String UNISCID;
-
-    @TableField("VALIPERITO")
-    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss")
-    @JsonProperty("VALIPERITO")
-    private Date VALIPERITO;
-
-    @TableField("INVALIDREA")
-    @JsonProperty("INVALIDREA")
-    private String INVALIDREA;
-
-    @TableField("LICNAME")
-    @JsonProperty("LICNAME")
-    private String LICNAME;
-
-    @TableField("AC_CERNO")
-    @JsonProperty("AC_CERNO")
-    private String AC_CERNO;
-
-    @TableField("INVALIDDATE")
-    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss")
-    @JsonProperty("INVALIDDATE")
-    private Date INVALIDDATE;
-
-    @TableField("LICID")
-    @JsonProperty("LICID")
-    private String LICID;
-
-    @TableField("S_EXT_FROMNODE")
-    @JsonProperty("S_EXT_FROMNODE")
-    private String S_EXT_FROMNODE;
-
-    @TableField("DATADEPTUNISCID")
-    @JsonProperty("DATADEPTUNISCID")
-    private String DATADEPTUNISCID;
-
-    @TableField("REGNO")
-    @JsonProperty("REGNO")
-    private String REGNO;
-
-    @TableField("LICNAME_CN")
-    @JsonProperty("LICNAME_CN")
-    private String LICNAME_CN;
-
-    @TableField("TAXID")
-    @JsonProperty("TAXID")
-    private String TAXID;
-
-    @TableField("LICTYPE_CN")
-    @JsonProperty("LICTYPE_CN")
-    private String LICTYPE_CN;
-
-    @TableField("LICDECCODE")
-    @JsonProperty("LICDECCODE")
-    private String LICDECCODE;
-
-    @TableField("LICDECDATE")
-    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss")
-    @JsonProperty("LICDECDATE")
-    private Date LICDECDATE;
-
-    @TableField("REMARK")
-    @JsonProperty("REMARK")
-    private String REMARK;
-
-    @TableField("JYCS")
-    @JsonProperty("JYCS")
-    private String JYCS;
-
-    @TableField("ACTYPE")
-    @JsonProperty("ACTYPE")
-    private String ACTYPE;
-
-    @TableField("INSCERCODE")
-    @JsonProperty("INSCERCODE")
-    private String INSCERCODE;
-
-    @TableField("DATADEPT")
-    @JsonProperty("DATADEPT")
-    private String DATADEPT;
-
-    @TableField("JJXZ")
-    @JsonProperty("JJXZ")
-    private String JJXZ;
-
-    @TableField("CERNO")
-    @JsonProperty("CERNO")
-    private String CERNO;
-
-    @TableField("LICTYPE")
-    @JsonProperty("LICTYPE")
-    private String LICTYPE;
-
-    @TableField("LEREP")
-    @JsonProperty("LEREP")
-    private String LEREP;
-
-    @TableField("PRIPID")
-    @JsonProperty("PRIPID")
-    private String PRIPID;
-
-    @TableField("LICANTHNO")
-    @JsonProperty("LICANTHNO")
-    private String LICANTHNO;
-
-    @TableField("NAME")
-    @JsonProperty("NAME")
-    private String NAME;
-
-    @TableField("ORGCODE")
-    @JsonProperty("ORGCODE")
-    private String ORGCODE;
-
-    @TableField("I_TIME")
-    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss")
-    @JsonProperty("I_TIME")
-    private Date I_TIME;
-
-    @TableField("VALIPERIFROM")
-    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss")
-    @JsonProperty("VALIPERIFROM")
-    private Date VALIPERIFROM;
-
-    @TableField("LICANTHUNISCID")
-    @JsonProperty("LICANTHUNISCID")
-    private String LICANTHUNISCID;
-
-    @TableField("SOCORGCODE")
-    @JsonProperty("SOCORGCODE")
-    private String SOCORGCODE;
-
-    @TableField("LICNO")
-    @JsonProperty("LICNO")
-    private String LICNO;
-
-    @TableField("ZS")
-    @JsonProperty("ZS")
-    private String ZS;
-
-    @TableField("ENTNAME")
-    @JsonProperty("ENTNAME")
-    private String ENTNAME;
-
-    @TableField("LICDECNAME")
-    @JsonProperty("LICDECNAME")
-    private String LICDECNAME;
-
-    @TableField("LICANTH")
-    @JsonProperty("LICANTH")
-    private String LICANTH;
-
-    @TableField("S_EXT_DATATIME")
-    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss")
-    @JsonProperty("S_EXT_DATATIME")
-    private Date S_EXT_DATATIME;
-}

+ 2 - 2
data-service/src/main/java/com/zksy/data/domain/response/XcrCompanyInvestmentResponse.java

@@ -2,11 +2,11 @@ package com.zksy.data.domain.response;
 
 import com.fasterxml.jackson.annotation.JsonProperty;
 import com.zksy.common.domain.response.BaseResponse;
-import com.zksy.data.domain.po.XcrELicNcertificate;
+import com.zksy.data.domain.po.XcrCompanyInvestment;
 
 import java.util.List;
 
 public class XcrCompanyInvestmentResponse extends BaseResponse {
     @JsonProperty("data")
-    private List<XcrELicNcertificate> data;
+    private List<XcrCompanyInvestment> data;
 }

+ 0 - 12
data-service/src/main/java/com/zksy/data/domain/response/XcrELicNcertificateResponse.java

@@ -1,12 +0,0 @@
-package com.zksy.data.domain.response;
-
-import com.fasterxml.jackson.annotation.JsonProperty;
-import com.zksy.common.domain.response.BaseResponse;
-import com.zksy.data.domain.po.XcrELicNcertificate;
-
-import java.util.List;
-
-public class XcrELicNcertificateResponse extends BaseResponse {
-    @JsonProperty("data")
-    private List<XcrELicNcertificate> data;
-}

+ 2 - 2
data-service/src/main/java/com/zksy/data/domain/response/XcrEnterpriseBasicInformationResponse.java

@@ -2,11 +2,11 @@ package com.zksy.data.domain.response;
 
 import com.fasterxml.jackson.annotation.JsonProperty;
 import com.zksy.common.domain.response.BaseResponse;
-import com.zksy.data.domain.po.XcrELicNcertificate;
+import com.zksy.data.domain.po.XcrEnterpriseBasicInformation;
 
 import java.util.List;
 
 public class XcrEnterpriseBasicInformationResponse extends BaseResponse {
     @JsonProperty("data")
-    private List<XcrELicNcertificate> data;
+    private List<XcrEnterpriseBasicInformation> data;
 }

+ 0 - 18
data-service/src/main/java/com/zksy/data/mapper/XcrELicNcertificateMapper.java

@@ -1,18 +0,0 @@
-package com.zksy.data.mapper;
-
-import com.zksy.data.domain.po.XcrELicNcertificate;
-import com.baomidou.mybatisplus.core.mapper.BaseMapper;
-
-/**
-* @author Administrator
-* @description 针对表【xcr_e_lic_ncertificate(市场监管_行政许可信息)】的数据库操作Mapper
-* @createDate 2024-09-27 10:58:54
-* @Entity com.zksy.data.domain.po.XcrELicNcertificate
-*/
-public interface XcrELicNcertificateMapper extends BaseMapper<XcrELicNcertificate> {
-
-}
-
-
-
-

+ 100 - 11
data-service/src/main/java/com/zksy/data/schedule/CollectDataSchedule.java

@@ -22,7 +22,6 @@ public class CollectDataSchedule {
     private ApplicationContext applicationContext;
     @PostConstruct
     public void init() {
-        serviceMap.put("xcrELicNcertificateServiceImpl", "gateway/api/1/getXzxkxxByUniscid");
         serviceMap.put("xcrCompanyInvestmentServiceImpl", "gateway/api/1/getGdjczxgxxByUniscid");
         serviceMap.put("xcrEquityChangeServiceImpl", "gateway/api/1/getGqczbgxxByUniscid");
         serviceMap.put("xcrSupplementaryForeignInvestmentServiceImpl", "gateway/api/1/getWzbcxxByUniscid");
@@ -99,6 +98,24 @@ public class CollectDataSchedule {
         serviceMap.put("xcrEnterprisePollutionPermitInfoServiceImpl", "gateway/api/1/getQypwxkxxByUniscid");
         serviceMap.put("xcrKeyPollutionSourcesServiceImpl", "gateway/api/1/getZdpwdwmlByShxyfwm");
         serviceMap.put("xcrEnvironmentalPenaltyDecisionServiceImpl","gateway/api/1/getHbcfjdqkxxByUniscid");
+        serviceMap.put("xcrIndividualBusinessInformationServiceImpl","gateway/api/1/getGtjyzjbxxByUniscid");
+        serviceMap.put("xcrIndustryCommerceServiceImpl","gateway/api/1/getGtgshjbxxByUniscid");
+        serviceMap.put("xcrAgriculturalSpecializedWebsiteService","gateway/api/1/nznbwzhwdxxByUniscid");
+        serviceMap.put("xcrIndividualChangeInformationServiceImpl","gateway/api/1/getGtbgxxByUniscid");
+        serviceMap.put("xcrIndividualCancellationServiceImpl","gateway/api/1/getGtzxxxByUniscid");
+        serviceMap.put("xcrIndividualBusinessAbnormalityServiceImpl","gateway/api/1/getGtjyycbjxxByUniscid");
+        serviceMap.put("xcrMoveOutServiceImpl","gateway/api/1/getQcxxByUniscid");
+        serviceMap.put("xcrMoveInServiceImpl","gateway/api/1/getQrxxByUniscid");
+        serviceMap.put("xcrDeregistrationServiceImpl","gateway/api/1/getCxdjxxByUniscid");
+        serviceMap.put("xcrCancellationServiceImpl","gateway/api/1/getZxxxByUniscid");
+        serviceMap.put("xcrLiquidationBasicInfoServiceImpl","gateway/api/1/getQsjbxxByUniscid1");
+        serviceMap.put("xcrLiquidationMemberInfoServiceImpl","gateway/api/1/getQscyxxByUniscid");
+        serviceMap.put("xcrAbnormalOperationAnnouncementServiceImpl","gateway/api/1/getJyycggplmdxxByUniscid");
+        serviceMap.put("xcrFarmSpecialAbnormalDetailServiceImpl","gateway/api/1/getNzycmlxxxxByUniscid");
+        serviceMap.put("xcrEnterpriseAnnualReportWebsiteServiceImpl","gateway/api/1/getQynbwzhwdxxByUniscid");
+        serviceMap.put("xcrEnterpriseAnnualReportEquityChangeServiceImpl","gateway/api/1/getQynbgqbgxxByUniscid");
+        serviceMap.put("xcrIndividualCancellationObjectionServiceImpl","gateway/api/1/getJyzxyyxxByUniscid");
+        serviceMap.put("xcrRevokeRegistrationServiceImpl","gateway/api/1/getGtcxdjxxByUniscid");
         serviceMap.put("xcrAgriculturalSpecializedWebsiteServiceImpl","gateway/api/1/nznbwzhwdxxByUniscid");
         serviceMap.put("xcrAnSfcBranchinfoServiceImpl","gateway/api/1/getNznbfzjgxxByUniscid");
         serviceMap.put("xcrMajorMembersServiceImpl","gateway/api/1/zyryxxByUniscid");
@@ -123,7 +140,17 @@ public class CollectDataSchedule {
 
     @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")
@@ -149,25 +176,87 @@ public class CollectDataSchedule {
                 "xcrInstallmentSubscriptionServiceImpl",
                 "xcrAdministrativeLicensingAgriculturalCollegesServiceImpl",
                 "xcrEnterpriseExceptionListServiceImpl",
-                "xcrInvestorAbnormalRecordServiceImpl",
-                "xcrEnterprisePublicityLicenseServiceImpl",
-                "xcrEnterprisePublicityEquityChangeServiceImpl",
-                "xcrSimplifiedCancellationAnnouncementServiceImpl",
-                "xcrEnterprisePublicityInvestorInformationStatusServiceImpl",
-                "xcrEnterprisePublicityDetailsContributionsContributorsServiceImpl",
-                "xcrEnterprisePublicationSupplySubscribedDetailsInvestorsServiceImpl",
-                "xcrRevisionInformationAgriculturalCollegeAnnualReportServiceImpl"
+                "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"
+        );
+        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);
     }
 
 

+ 0 - 13
data-service/src/main/java/com/zksy/data/service/XcrELicNcertificateService.java

@@ -1,13 +0,0 @@
-package com.zksy.data.service;
-
-import com.zksy.data.domain.po.XcrELicNcertificate;
-import com.baomidou.mybatisplus.extension.service.IService;
-
-/**
-* @author Administrator
-* @description 针对表【xcr_e_lic_ncertificate(市场监管_行政许可信息)】的数据库操作Service
-* @createDate 2024-09-27 10:58:54
-*/
-public interface XcrELicNcertificateService extends IService<XcrELicNcertificate>, IBaseSaveDataInterface {
-
-}

+ 0 - 57
data-service/src/main/java/com/zksy/data/service/impl/XcrELicNcertificateServiceImpl.java

@@ -1,57 +0,0 @@
-package com.zksy.data.service.impl;
-
-import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
-import com.zksy.data.annotation.XhDataLogRecord;
-import com.zksy.data.domain.po.XcrELicNcertificate;
-import com.zksy.data.domain.response.XcrELicNcertificateResponse;
-import com.zksy.data.mapper.XcrELicNcertificateMapper;
-import com.zksy.data.service.XcrELicNcertificateService;
-import com.zksy.data.utils.RedisService;
-import com.zksy.data.utils.XhRequestUtil;
-import lombok.extern.slf4j.Slf4j;
-import org.springframework.beans.factory.annotation.Autowired;
-import org.springframework.stereotype.Service;
-import org.springframework.transaction.annotation.Transactional;
-
-import java.util.List;
-import java.util.Vector;
-
-/**
-* @author Administrator
-* @description 针对表【xcr_e_lic_ncertificate(市场监管_行政许可信息)】的数据库操作Service实现
-* @createDate 2024-09-27 10:58:54
-*/
-@Service
-@Slf4j
-public class XcrELicNcertificateServiceImpl extends ServiceImpl<XcrELicNcertificateMapper, XcrELicNcertificate>
-    implements XcrELicNcertificateService{
-
-    @Autowired
-    private XhRequestUtil xhRequestUtil;
-    @Autowired
-    private RedisService redisService;
-    @Override
-    @Transactional(rollbackFor = Exception.class)
-    @XhDataLogRecord(value = "市场监管_行政许可信息")
-    public void saveDataByUniCode(String address) {
-        //模拟从数据库中取数据大约为3000-4000条
-        List<String> creditCodes = (List<String>) redisService.getList("creditCodes").get(0);
-        Vector<XcrELicNcertificate> toDatabaseList = new Vector<>();
-        creditCodes.parallelStream().forEach(creditCode -> {
-            List<XcrELicNcertificate> list = xhRequestUtil.httpRequestByUniCode(creditCode, address,
-                    XcrELicNcertificateResponse.class,
-                    XcrELicNcertificate.class
-            );
-            if(list != null){
-                toDatabaseList.addAll(list);
-            }
-        });
-        this.remove(null);
-        this.saveBatch(toDatabaseList);
-        log.info("市场监管_行政许可信息同步完成");
-    }
-}
-
-
-
-

+ 0 - 67
data-service/src/main/resources/mapper/XcrELicNcertificateMapper.xml

@@ -1,67 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE mapper
-        PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
-        "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
-<mapper namespace="com.zksy.data.mapper.XcrELicNcertificateMapper">
-
-    <resultMap id="BaseResultMap" type="com.zksy.data.domain.po.XcrELicNcertificate">
-            <id property="licid" column="LICID" jdbcType="VARCHAR"/>
-            <result property="actype" column="ACTYPE" jdbcType="VARCHAR"/>
-            <result property="pripid" column="PRIPID" jdbcType="VARCHAR"/>
-            <result property="entname" column="ENTNAME" jdbcType="VARCHAR"/>
-            <result property="uniscid" column="UNISCID" jdbcType="VARCHAR"/>
-            <result property="regno" column="REGNO" jdbcType="VARCHAR"/>
-            <result property="orgcode" column="ORGCODE" jdbcType="VARCHAR"/>
-            <result property="taxid" column="TAXID" jdbcType="VARCHAR"/>
-            <result property="inscercode" column="INSCERCODE" jdbcType="VARCHAR"/>
-            <result property="socorgcode" column="SOCORGCODE" jdbcType="VARCHAR"/>
-            <result property="lerep" column="LEREP" jdbcType="VARCHAR"/>
-            <result property="certype" column="CERTYPE" jdbcType="VARCHAR"/>
-            <result property="cerno" column="CERNO" jdbcType="VARCHAR"/>
-            <result property="name" column="NAME" jdbcType="VARCHAR"/>
-            <result property="acCertype" column="AC_CERTYPE" jdbcType="VARCHAR"/>
-            <result property="acCerno" column="AC_CERNO" jdbcType="VARCHAR"/>
-            <result property="licname" column="LICNAME" jdbcType="VARCHAR"/>
-            <result property="licnameCn" column="LICNAME_CN" jdbcType="VARCHAR"/>
-            <result property="licno" column="LICNO" jdbcType="VARCHAR"/>
-            <result property="licdecname" column="LICDECNAME" jdbcType="VARCHAR"/>
-            <result property="licdeccode" column="LICDECCODE" jdbcType="VARCHAR"/>
-            <result property="lictype" column="LICTYPE" jdbcType="VARCHAR"/>
-            <result property="lictypeCn" column="LICTYPE_CN" jdbcType="VARCHAR"/>
-            <result property="licitem" column="LICITEM" jdbcType="VARCHAR"/>
-            <result property="licdecdate" column="LICDECDATE" jdbcType="DATE"/>
-            <result property="validperifrom" column="VALIDPERIFROM" jdbcType="DATE"/>
-            <result property="validperito" column="VALIDPERITO" jdbcType="DATE"/>
-            <result property="licanthno" column="LICANTHNO" jdbcType="VARCHAR"/>
-            <result property="licanth" column="LICANTH" jdbcType="VARCHAR"/>
-            <result property="licanthuniscid" column="LICANTHUNISCID" jdbcType="VARCHAR"/>
-            <result property="datadept" column="DATADEPT" jdbcType="VARCHAR"/>
-            <result property="datadeptuniscid" column="DATADEPTUNISCID" jdbcType="VARCHAR"/>
-            <result property="licstate" column="LICSTATE" jdbcType="VARCHAR"/>
-            <result property="invaliddate" column="INVALIDDATE" jdbcType="DATE"/>
-            <result property="invalidrea" column="INVALIDREA" jdbcType="VARCHAR"/>
-            <result property="remark" column="REMARK" jdbcType="VARCHAR"/>
-            <result property="sExtFromnode" column="S_EXT_FROMNODE" jdbcType="VARCHAR"/>
-            <result property="sExtDatatime" column="S_EXT_DATATIME" jdbcType="TIMESTAMP"/>
-            <result property="jycs" column="JYCS" jdbcType="VARCHAR"/>
-            <result property="zs" column="ZS" jdbcType="VARCHAR"/>
-            <result property="jjxz" column="JJXZ" jdbcType="VARCHAR"/>
-    </resultMap>
-
-    <sql id="Base_Column_List">
-        LICID,ACTYPE,PRIPID,
-        ENTNAME,UNISCID,REGNO,
-        ORGCODE,TAXID,INSCERCODE,
-        SOCORGCODE,LEREP,CERTYPE,
-        CERNO,NAME,AC_CERTYPE,
-        AC_CERNO,LICNAME,LICNAME_CN,
-        LICNO,LICDECNAME,LICDECCODE,
-        LICTYPE,LICTYPE_CN,LICITEM,
-        LICDECDATE,VALIDPERIFROM,VALIDPERITO,
-        LICANTHNO,LICANTH,LICANTHUNISCID,
-        DATADEPT,DATADEPTUNISCID,LICSTATE,
-        INVALIDDATE,INVALIDREA,REMARK,
-        S_EXT_FROMNODE,S_EXT_DATATIME,JYCS,
-        ZS,JJXZ
-    </sql>
-</mapper>