Browse Source

盟市定制

mycopy123@163.com 5 months ago
parent
commit
38f8224a79

+ 35 - 0
src/main/java/com/trs/project/entity/AllianceCityWebsite.java

@@ -0,0 +1,35 @@
+package com.trs.project.entity;
+
+import com.baomidou.mybatisplus.annotation.FieldFill;
+import com.baomidou.mybatisplus.annotation.TableField;
+import com.baomidou.mybatisplus.annotation.TableId;
+import lombok.Data;
+
+/**
+ * <p>
+ *
+ * </p>
+ *
+ * @author trs
+ * @since 2024-02-27
+ */
+@Data
+public class AllianceCityWebsite {
+
+    private static final long serialVersionUID = 1L;
+    @TableId
+    private String sourceDataKey;
+    private String bulletinTitle;
+    private String bulletinContent;
+    private Long publishingTime;
+    private String regionCode;
+    private String bulletinType;
+    private String industryType;
+    private Long dataTimestamp;
+    private String projectCode;
+    private String url;
+    @TableField(value = "CREATE_DATE", fill = FieldFill.INSERT)
+    private Long createDate;
+
+
+}

+ 87 - 0
src/main/java/com/trs/project/entity/MarginReturnCe.java

@@ -0,0 +1,87 @@
+package com.trs.project.entity;
+
+import com.baomidou.mybatisplus.annotation.FieldFill;
+import com.baomidou.mybatisplus.annotation.TableField;
+import com.baomidou.mybatisplus.annotation.TableId;
+import lombok.Data;
+import lombok.EqualsAndHashCode;
+
+/**
+ * <p>
+ * 中标候选人公示
+ * </p>
+ *
+ * @author trs
+ * @since 2023-03-04
+ */
+@Data
+@EqualsAndHashCode(callSuper = true)
+public class MarginReturnCe extends BaseEntity {
+
+    private static final long serialVersionUID = 1L;
+
+    /**
+     * 数据唯一标识(来源系统)
+     */
+    @TableId("SOURCE_DATA_KEY")
+    private String sourceDataKey;
+
+    /**
+     * 数据来源系统的编码
+     */
+    @TableField("SOURCE_DATA_CODE")
+    private String sourceDataCode;
+
+    /**
+     * 招标项目编号
+     */
+    @TableField("TENDER_PROJECT_CODE")
+    private String tenderProjectCode;
+
+    /**
+     * 相关标段(包)编号
+     */
+    @TableField("SECTION_CODE")
+    private String sectionCode;
+
+    @TableField("BIDDER_NAME")
+    private String bidderName;
+
+    @TableField("BIDDER_ORG_CODE")
+    private String bidderOrgCode;
+
+    @TableField("IS_NOT_RETURNED")
+    private String isNotReturned;
+
+    @TableField("REFUND_TIME")
+    private Long refundTime;
+
+    @TableField("REFUND_ACCOUNT_NAME")
+    private String refundAccountName;
+
+    @TableField("REFUND_ACCOUNT_CODE")
+    private String refundAccountCode;
+
+    @TableField("TRANS_DATE")
+    private Long transDate;
+
+    @TableField("NOT_RETURNED_REASONS")
+    private String notReturnedReasons;
+
+    @TableField("IS_DEDUCT")
+    private String isDeduct;
+
+    @TableField("DEDUCT_AMOUNT")
+    private String deductAmount;
+
+    @TableField("REFUND_STATE")
+    private String refundState;
+
+    @TableField("DATATIMESTAMP")
+    private Long datatimestamp;
+
+    @TableField(value = "CREATE_DATE", fill = FieldFill.INSERT)
+    private Long createDate;
+
+
+}

+ 39 - 0
src/main/java/com/trs/project/entity/ZrzySupple.java

@@ -0,0 +1,39 @@
+package com.trs.project.entity;
+
+import com.baomidou.mybatisplus.annotation.FieldFill;
+import com.baomidou.mybatisplus.annotation.TableField;
+import com.baomidou.mybatisplus.annotation.TableId;
+import lombok.Data;
+
+/**
+ * <p>
+ *
+ * </p>
+ *
+ * @author trs
+ * @since 2024-02-27
+ */
+@Data
+public class ZrzySupple {
+
+    private static final long serialVersionUID = 1L;
+    @TableId
+    private String sourceDataKey;
+    private String sourceDataCode;
+    private String announcementGuid;//项目代码
+    private String landProjectName;//项目名称
+    private String announcementCode;//公告guid
+    private String announcementTitle;//公告名称
+    private String announcementContent;//公告内容
+    private String regionCode;
+    private Long issueTime;
+    private String unifiedDealCode;
+    private String platformCode;
+    private String pubServicePlatCode;
+    private Long dataTimestamp;
+    private String typeName;
+    @TableField(value = "CREATE_DATE", fill = FieldFill.INSERT)
+    private Long createDate;
+
+
+}

+ 166 - 0
src/main/java/com/trs/project/exchange/SampleXxlJob.java

@@ -174,6 +174,13 @@ public class SampleXxlJob {
     @Autowired
     private GcReconsiderService gcReconsiderService;
 
+    @Autowired
+    private ZrzySuppleService zrzySuppleService;
+    @Autowired
+    private AllianceCityWebsiteService allianceCityWebsiteService;
+    @Autowired
+    private MarginReturnCeService marginReturnCeService;
+
 
     /**
      * 1、工程-招标公告与资格预审公告【GC_NOTICEANDFILE】
@@ -620,6 +627,40 @@ public class SampleXxlJob {
     }
 
 
+    @XxlJob("task_zrzy_td_supple")
+    public void zrzyTdSupple() throws Exception {
+        detailMethod(1);//1:post  0:get
+    }
+    @XxlJob("task_zrzy_kyq_supplenotice")
+    public void zrzyKyqSupplenotice() throws Exception {
+        detailMethod(1);//1:post  0:get
+    }
+    @XxlJob("task_zrzy_dk_supplenotice")
+    public void zrzyDkSupplenotice() throws Exception {
+        detailMethod(1);//1:post  0:get
+    }
+    @XxlJob("task_zrzy_bg_supplenotice")
+    public void zrzyBgSupplenotice() throws Exception {
+        detailMethod(1);//1:post  0:get
+    }
+    @XxlJob("task_zrzy_jyzb_supplenotice")
+    public void zrzyJyzbSupplenotice() throws Exception {
+        detailMethod(1);//1:post  0:get
+    }
+
+    @XxlJob("task_alliance_city_website")
+    public void task_alliance_city_website() throws Exception {
+        detailMethod(1);//1:post  0:get
+    }
+
+    /**
+     * 工程建设保证金退还【MARGIN_RETURN_CE】
+     */
+    @XxlJob("task_MARGIN_RETURN_CE")
+    public void MARGIN_RETURN_CE() throws Exception {
+        detailMethod(1);//1:post  0:get
+    }
+
 
     private void detailMethod(Integer type){
         System.out.println("进来了==================");
@@ -885,6 +926,12 @@ public class SampleXxlJob {
                 XxlJobHelper.log(param+":数据入库="+gcReconsiderList.size());
                 gcReconsiderService.saveOrUpdateBatch(gcReconsiderList);
                 break;
+            case "MARGIN_RETURN_CE"://工程建设7.6.2保证金退还数据集【MARGIN_RETURN_CE】
+                List<MarginReturnCe> marginReturnCeList = JSONObject.parseArray(jsonArray.toJSONString(), MarginReturnCe.class);
+                logger.info(param+":数据入库="+marginReturnCeList.size());
+                XxlJobHelper.log(param+":数据入库="+marginReturnCeList.size());
+                marginReturnCeService.saveOrUpdateBatch(marginReturnCeList);
+                break;
             case "ZRZY_TD_CEDE_NOTICE"://20、自然资源-土地出让公告信息【ZRZY_TD_CEDE_NOTICE】
                 List<ZrzyTdCedeNotice> listZrzyTdCedeNotice = JSONObject.parseArray(jsonArray.toJSONString(), ZrzyTdCedeNotice.class);
 //                for (ZrzyTdCedeNotice zrzyTdCedeNotice : listZrzyTdCedeNotice) {
@@ -1245,8 +1292,127 @@ public class SampleXxlJob {
                 XxlJobHelper.log(param+":数据入库="+gongaoDbList.size());
                 zfcgGongaoService.saveOrUpdateBatch(gongaoDbList);
                 break;
+            case "ALLIANCE_CITY_WEBSITE"://
+                List<AllianceCityWebsite> allianceCityWebsiteList = JSONObject.parseArray(jsonArray.toJSONString(), AllianceCityWebsite.class);
+                logger.info(param+":数据入库="+allianceCityWebsiteList.size());
+                XxlJobHelper.log(param+":数据入库="+allianceCityWebsiteList.size());
+                allianceCityWebsiteService.saveOrUpdateBatch(allianceCityWebsiteList);
+                break;
+            case "ZRZY_TD_SUPPLE"://
+                for (int j = 0; j < jsonArray.size(); j++) {
+                    String sourceDataKey = jsonArray.getJSONObject(j).getString("SOURCE_DATA_KEY");
+                    String  sourceDataCode = jsonArray.getJSONObject(j).getString("SOURCE_DATA_CODE");
+                    String announcementGuid = jsonArray.getJSONObject(j).getString("ANNOUNCEMENT_GUID");//项目编号
+                    String announcementName = jsonArray.getJSONObject(j).getString("LAND_PROJECT_NAME");//项目名称
+                    String announcementCode = jsonArray.getJSONObject(j).getString("ANNOUNCEMENT_CODE");//公告编号
+                    String announcementTitle = jsonArray.getJSONObject(j).getString("ANNOUNCEMENT_TITLE");//公告标题
+                    String announcementContent = jsonArray.getJSONObject(j).getString("ANNOUNCEMENT_CONNECT");//公告内容
+                    String regionCode = jsonArray.getJSONObject(j).getString("LAND_DISTRICT");//地区代码
+                    Long issueTime = jsonArray.getJSONObject(j).getLong("DATA_TIMESTAMP");//发布时间
+                    String unifiedDealCode = jsonArray.getJSONObject(j).getString("UNIFIED_DEAL_CODE");//统一交易编码
+                    String platformCode = jsonArray.getJSONObject(j).getString("PLATFORM_CODE");//平台编码
+                    String pubServicePlatCode = jsonArray.getJSONObject(j).getString("PUB_SERVICE_PLAT_CODE");//平台编码
+                    Long dataTimestamp = jsonArray.getJSONObject(j).getLong("DATA_TIMESTAMP");//数据时间
+                    String typeName = "TD";//类型名称
+                    updateDatas(sourceDataKey,  sourceDataCode, announcementGuid, announcementName, announcementCode, announcementTitle, announcementContent, regionCode, issueTime, unifiedDealCode, platformCode, pubServicePlatCode, dataTimestamp, typeName);
+                }
+                break;
+            case "ZRZY_KYQ_SUPPLENOTICE"://
+                for (int j = 0; j < jsonArray.size(); j++) {
+                    String sourceDataKey = jsonArray.getJSONObject(j).getString("SOURCE_DATA_KEY");
+                    String  sourceDataCode = jsonArray.getJSONObject(j).getString("SOURCE_DATA_CODE");
+                    String announcementGuid = jsonArray.getJSONObject(j).getString("NA_APP_CODE");//项目编号
+                    String announcementName = jsonArray.getJSONObject(j).getString("NA_APP_NAME");//项目名称
+                    String announcementCode = jsonArray.getJSONObject(j).getString("NOTICE_CODE");//公告编号
+                    String announcementTitle = jsonArray.getJSONObject(j).getString("NOTICE_NAME");//公告标题
+                    String announcementContent = jsonArray.getJSONObject(j).getString("ANNOUNCEMENT_CONNECT");//公告内容
+                    String regionCode = "";//地区代码
+                    Long issueTime = jsonArray.getJSONObject(j).getLong("NOTICE_SEND_TIME");//发布时间
+                    String unifiedDealCode = jsonArray.getJSONObject(j).getString("UNIFIED_DEAL_CODE");//统一交易编码
+                    String platformCode = jsonArray.getJSONObject(j).getString("PLATFORM_CODE");//平台编码
+                    String pubServicePlatCode = jsonArray.getJSONObject(j).getString("PUB_SERVICE_PLAT_CODE");//平台编码
+                    Long dataTimestamp = jsonArray.getJSONObject(j).getLong("DATA_TIMESTAMP");//数据时间
+                    String typeName = "KYQ";//类型名称
+                    updateDatas(sourceDataKey,  sourceDataCode, announcementGuid, announcementName, announcementCode, announcementTitle, announcementContent, regionCode, issueTime, unifiedDealCode, platformCode, pubServicePlatCode, dataTimestamp, typeName);
+                }
+                break;
+            case "ZRZY_DK_SUPPLENOTICE"://
+                for (int j = 0; j < jsonArray.size(); j++) {
+                    String sourceDataKey = jsonArray.getJSONObject(j).getString("SOURCE_DATA_KEY");
+                    String  sourceDataCode = jsonArray.getJSONObject(j).getString("SOURCE_DATA_CODE");
+                    String announcementGuid = jsonArray.getJSONObject(j).getString("PROJECT_CODE");//项目编号
+                    String announcementName = jsonArray.getJSONObject(j).getString("PROJECT_NAME");//项目名称
+                    String announcementCode = jsonArray.getJSONObject(j).getString("NOTICE_CODE");//公告编号
+                    String announcementTitle = jsonArray.getJSONObject(j).getString("NOTICE_NAME");//公告标题
+                    String announcementContent = jsonArray.getJSONObject(j).getString("ANNOUNCEMENT_CONNECT");//公告内容
+                    String regionCode = "";//地区代码
+                    Long issueTime = jsonArray.getJSONObject(j).getLong("NOTICE_SEND_TIME");//发布时间
+                    String unifiedDealCode = jsonArray.getJSONObject(j).getString("UNIFIED_DEAL_CODE");//统一交易编码
+                    String platformCode = jsonArray.getJSONObject(j).getString("PLATFORM_CODE");//平台编码
+                    String pubServicePlatCode = jsonArray.getJSONObject(j).getString("PUB_SERVICE_PLAT_CODE");//平台编码
+                    Long dataTimestamp = jsonArray.getJSONObject(j).getLong("DATA_TIMESTAMP");//数据时间
+                    String typeName = "DK";//类型名称
+                    updateDatas(sourceDataKey,  sourceDataCode, announcementGuid, announcementName, announcementCode, announcementTitle, announcementContent, regionCode, issueTime, unifiedDealCode, platformCode, pubServicePlatCode, dataTimestamp, typeName);
+                }
+                break;
+            case "ZRZY_BG_SUPPLENOTICE"://
+                for (int j = 0; j < jsonArray.size(); j++) {
+                    String sourceDataKey = jsonArray.getJSONObject(j).getString("SOURCE_DATA_KEY");
+                    String  sourceDataCode = jsonArray.getJSONObject(j).getString("SOURCE_DATA_CODE");
+                    String announcementGuid = jsonArray.getJSONObject(j).getString("PROJECT_CODE");//项目编号
+                    String announcementName = jsonArray.getJSONObject(j).getString("PROJECT_NAME");//项目名称
+                    String announcementCode = jsonArray.getJSONObject(j).getString("NOTICE_NO");//公告编号
+                    String announcementTitle = jsonArray.getJSONObject(j).getString("NOTICE_NAME");//公告标题
+                    String announcementContent = jsonArray.getJSONObject(j).getString("NOTICE_CONTENT");//公告内容
+                    String regionCode = "ZONE";//地区代码
+                    Long issueTime = jsonArray.getJSONObject(j).getLong("ISSUE_TIME");//发布时间
+                    String unifiedDealCode = jsonArray.getJSONObject(j).getString("UNIFIED_DEAL_CODE");//统一交易编码
+                    String platformCode = jsonArray.getJSONObject(j).getString("PLATFORM_CODE");//平台编码
+                    String pubServicePlatCode = jsonArray.getJSONObject(j).getString("PUB_SERVICE_PLAT_CODE");//平台编码
+                    Long dataTimestamp = jsonArray.getJSONObject(j).getLong("DATA_TIMESTAMP");//数据时间
+                    String typeName = "BG";//类型名称
+                    updateDatas(sourceDataKey,  sourceDataCode, announcementGuid, announcementName, announcementCode, announcementTitle, announcementContent, regionCode, issueTime, unifiedDealCode, platformCode, pubServicePlatCode, dataTimestamp, typeName);
+                }
+                break;
+            case "ZRZY_JYZB_SUPPLENOTICE"://
+                for (int j = 0; j < jsonArray.size(); j++) {
+                    String sourceDataKey = jsonArray.getJSONObject(j).getString("SOURCE_DATA_KEY");
+                    String  sourceDataCode = jsonArray.getJSONObject(j).getString("SOURCE_DATA_CODE");
+                    String announcementGuid = jsonArray.getJSONObject(j).getString("PROJECT_CODE");//项目编号
+                    String announcementName = jsonArray.getJSONObject(j).getString("PROJECT_NAME");//项目名称
+                    String announcementCode = jsonArray.getJSONObject(j).getString("NOTICE_NO");//公告编号
+                    String announcementTitle = jsonArray.getJSONObject(j).getString("NOTICE_NAME");//公告标题
+                    String announcementContent = jsonArray.getJSONObject(j).getString("NOTICE_CONTENT");//公告内容
+                    String regionCode = "ZONE";//地区代码
+                    Long issueTime = jsonArray.getJSONObject(j).getLong("ISSUE_TIME");//发布时间
+                    String unifiedDealCode = jsonArray.getJSONObject(j).getString("UNIFIED_DEAL_CODE");//统一交易编码
+                    String platformCode = jsonArray.getJSONObject(j).getString("PLATFORM_CODE");//平台编码
+                    String pubServicePlatCode = jsonArray.getJSONObject(j).getString("PUB_SERVICE_PLAT_CODE");//平台编码
+                    Long dataTimestamp = jsonArray.getJSONObject(j).getLong("DATA_TIMESTAMP");//数据时间
+                    String typeName = "JY";//类型名称
+                    updateDatas(sourceDataKey,  sourceDataCode, announcementGuid, announcementName, announcementCode, announcementTitle, announcementContent, regionCode, issueTime, unifiedDealCode, platformCode, pubServicePlatCode, dataTimestamp, typeName);
+                }
+                break;
             default:
         }
     }
+    private void updateDatas(String sourceDataKey, String  sourceDataCode, String announcementGuid, String announcementName, String announcementCode, String announcementTitle, String announcementContent, String regionCode, Long issueTime, String unifiedDealCode, String platformCode, String pubServicePlatCode, Long dataTimestamp, String typeName){
+        ZrzySupple zrzySupple = new ZrzySupple();
+        zrzySupple.setSourceDataKey(sourceDataKey);
+        zrzySupple.setSourceDataCode(sourceDataCode);
+        zrzySupple.setAnnouncementGuid(announcementGuid);
+        zrzySupple.setLandProjectName(announcementName);
+        zrzySupple.setAnnouncementCode(announcementCode);
+        zrzySupple.setAnnouncementTitle(announcementTitle);
+        zrzySupple.setAnnouncementContent(announcementContent);
+        zrzySupple.setRegionCode(regionCode);
+        zrzySupple.setIssueTime(issueTime);
+        zrzySupple.setUnifiedDealCode(unifiedDealCode);
+        zrzySupple.setPlatformCode(platformCode);
+        zrzySupple.setPubServicePlatCode(pubServicePlatCode);
+        zrzySupple.setDataTimestamp(dataTimestamp);
+        zrzySupple.setTypeName(typeName);
+        zrzySuppleService.saveOrUpdate(zrzySupple);
+    }
 
 }

+ 16 - 0
src/main/java/com/trs/project/mapper/AllianceCityWebsiteMapper.java

@@ -0,0 +1,16 @@
+package com.trs.project.mapper;
+
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+import com.trs.project.entity.AllianceCityWebsite;
+
+/**
+ * <p>
+ * 中标结果公示 Mapper 接口
+ * </p>
+ *
+ * @author trs
+ * @since 2023-03-04
+ */
+public interface AllianceCityWebsiteMapper extends BaseMapper<AllianceCityWebsite> {
+
+}

+ 9 - 0
src/main/java/com/trs/project/mapper/MarginReturnCeMapper.java

@@ -0,0 +1,9 @@
+package com.trs.project.mapper;
+
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+import com.trs.project.entity.MarginReturnCe;
+
+
+public interface MarginReturnCeMapper extends BaseMapper<MarginReturnCe> {
+
+}

+ 11 - 0
src/main/java/com/trs/project/mapper/ZrzySuppleMapper.java

@@ -0,0 +1,11 @@
+package com.trs.project.mapper;
+
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+import com.trs.project.entity.ZrzySupple;
+import org.apache.ibatis.annotations.Mapper;
+
+
+@Mapper
+public interface ZrzySuppleMapper extends BaseMapper<ZrzySupple> {
+
+}

+ 18 - 0
src/main/java/com/trs/project/service/AllianceCityWebsiteService.java

@@ -0,0 +1,18 @@
+package com.trs.project.service;
+
+import com.baomidou.mybatisplus.extension.service.IService;
+import com.trs.project.entity.AllianceCityWebsite;
+
+import java.util.List;
+
+/**
+ * <p>
+ *  服务类
+ * </p>
+ *
+ * @author trs
+ * @since 2024-02-27
+ */
+public interface AllianceCityWebsiteService extends IService<AllianceCityWebsite> {
+
+}

+ 9 - 0
src/main/java/com/trs/project/service/MarginReturnCeService.java

@@ -0,0 +1,9 @@
+package com.trs.project.service;
+
+import com.baomidou.mybatisplus.extension.service.IService;
+import com.trs.project.entity.MarginReturnCe;
+
+
+public interface MarginReturnCeService extends IService<MarginReturnCe> {
+
+}

+ 13 - 0
src/main/java/com/trs/project/service/ZrzySuppleService.java

@@ -0,0 +1,13 @@
+package com.trs.project.service;
+
+import com.baomidou.mybatisplus.extension.service.IService;
+import com.trs.project.entity.ZrzySupple;
+
+/**
+ *
+ * @author trs
+ * @since 2023-02-27
+ */
+public interface ZrzySuppleService extends IService<ZrzySupple> {
+
+}

+ 22 - 0
src/main/java/com/trs/project/service/impl/AllianceCityWebsiteServiceImpl.java

@@ -0,0 +1,22 @@
+package com.trs.project.service.impl;
+
+
+import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
+import com.trs.project.entity.AllianceCityWebsite;
+import com.trs.project.mapper.AllianceCityWebsiteMapper;
+import com.trs.project.service.AllianceCityWebsiteService;
+import org.springframework.stereotype.Service;
+
+import java.util.List;
+
+
+/**
+ * (GcBidcandidate)表服务实现类
+ *
+ * @author makejava
+ * @since 2023-01-09 14:44:24
+ */
+@Service
+public class AllianceCityWebsiteServiceImpl extends ServiceImpl<AllianceCityWebsiteMapper, AllianceCityWebsite> implements AllianceCityWebsiteService {
+
+}

+ 13 - 0
src/main/java/com/trs/project/service/impl/MarginReturnCeServiceImpl.java

@@ -0,0 +1,13 @@
+package com.trs.project.service.impl;
+
+
+import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
+import com.trs.project.entity.MarginReturnCe;
+import com.trs.project.mapper.MarginReturnCeMapper;
+import com.trs.project.service.MarginReturnCeService;
+import org.springframework.stereotype.Service;
+
+@Service
+public class MarginReturnCeServiceImpl extends ServiceImpl<MarginReturnCeMapper, MarginReturnCe> implements MarginReturnCeService {
+
+}

+ 24 - 0
src/main/java/com/trs/project/service/impl/ZrzySuppleServiceImpl.java

@@ -0,0 +1,24 @@
+package com.trs.project.service.impl;
+
+import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
+import com.trs.project.entity.ZrzySupple;
+import com.trs.project.mapper.ZrzySuppleMapper;
+import com.trs.project.service.ZrzySuppleService;
+import org.springframework.stereotype.Service;
+
+import java.util.List;
+
+/**
+ * <p>
+ * 挂牌披露信息 服务实现类
+ * </p>
+ *
+ * @author trs
+ * @since 2023-03-04
+ */
+@Service
+public class ZrzySuppleServiceImpl extends ServiceImpl<ZrzySuppleMapper, ZrzySupple> implements ZrzySuppleService {
+    public boolean saveOrUpdateBatchSelective(List<ZrzySupple> entityList) {
+        return this.saveOrUpdateBatch(entityList);
+    }
+}

+ 3 - 3
src/main/java/com/trs/project/test/Test.java

@@ -51,7 +51,7 @@ public class Test {
         SimpleDateFormat format = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
         Date startDate = null;
         try {
-            startDate = format.parse("2024-10-10 00:00:00");
+            startDate = format.parse("2025-05-08 00:00:00");
         } catch (ParseException e) {
             throw new RuntimeException(e);
         }
@@ -60,10 +60,10 @@ public class Test {
         try{///1724688000000
             ///1724688000000
             ///1724688000000
-//            JSONObject jsonObject = httpGetMethod("https://ggzyjy.nmg.gov.cn/adminNmg/api/down.do?platform_code=e64975be&table_name=JSGC_ProjectJHInfo&page=1&page_size=20&startTime="+startDate.getTime()+"  ");
+            JSONObject jsonObject = httpGetMethod("https://ggzyjy.nmg.gov.cn/adminNmg/api/down.do?platform_code=e64975be&table_name=ZRZY_TD_CEDE_NOTICE&page=1&page_size=20&startTime="+startDate.getTime()+"  ");
 //            JSONObject jsonObject = httpGetMethod("https://ggzyjy.nmg.gov.cn/adminNmg/api/down.do?platform_code=e64975be&table_name=ZFCG_GONGAO&page=1&page_size=1&startTime="+startDate.getTime()+"  ");
             //JSONObject jsonObject = httpGetMethod("https://ggzyjy.nmg.gov.cn/adminNmg/api/down.do?platform_code=e64975be&table_name=GC_TENDERBIDFILEPUBLICITY&page=1&page_size=1&startTime=1724049516000");
-            JSONObject jsonObject = httpGetMethod("https://ggzyjy.nmg.gov.cn/adminNmg/api/down.do?platform_code=e64975be&table_name=GC_TENDERBIDFILEPUBLICITY&page=1&page_size=10");
+//            JSONObject jsonObject = httpGetMethod("https://ggzyjy.nmg.gov.cn/adminNmg/api/down.do?platform_code=e64975be&table_name=GC_TENDERBIDFILEPUBLICITY&page=1&page_size=10");
             SimpleDateFormat simpleDateFormat = new SimpleDateFormat("yyyyMMddHHmmss");
             String data = RSAUtils.decrypt(jsonObject.getString("data"));
             JSONArray jsonArray = JSONArray.parseArray(data);

File diff suppressed because it is too large
+ 0 - 1
src/main/java/com/trs/project/util/RSAUtils.java


Some files were not shown because too many files changed in this diff