|
|
@@ -171,6 +171,10 @@ public class SampleXxlJob {
|
|
|
@Autowired
|
|
|
private CqcgBidpublicityService cqcgBidpublicityService;
|
|
|
|
|
|
+ @Autowired
|
|
|
+ private GcReconsiderService gcReconsiderService;
|
|
|
+
|
|
|
+
|
|
|
/**
|
|
|
* 1、工程-招标公告与资格预审公告【GC_NOTICEANDFILE】
|
|
|
*/
|
|
|
@@ -283,6 +287,14 @@ public class SampleXxlJob {
|
|
|
detailMethod(1);//1:post 0:get
|
|
|
}
|
|
|
|
|
|
+ /**
|
|
|
+ * 17、工程建设复议信息【GC_RECONSIDER】
|
|
|
+ */
|
|
|
+ @XxlJob("task_GC_RECONSIDER")
|
|
|
+ public void GC_RECONSIDER() throws Exception {
|
|
|
+ detailMethod(1);//1:post 0:get
|
|
|
+ }
|
|
|
+
|
|
|
/**
|
|
|
* 14、场地预约【JG_FIELDAPPLY】
|
|
|
*/
|
|
|
@@ -649,7 +661,7 @@ public class SampleXxlJob {
|
|
|
//Log.Logger("time.txt",sdf.format(afterDate));
|
|
|
byId.setLastDealTime(afterDate);*/
|
|
|
startDate = new Date().getTime();
|
|
|
- Date startDateTime = new Date(startDate - 30*60*1000);//30分钟前的时间
|
|
|
+ Date startDateTime = new Date(startDate - 24*60*60*1000);//60分钟前的时间
|
|
|
startDate = startDateTime.getTime();
|
|
|
byId.setLastDealTime(new Date(startDate));
|
|
|
|
|
|
@@ -867,6 +879,12 @@ public class SampleXxlJob {
|
|
|
XxlJobHelper.log(param+":数据入库="+listGcPackage.size());
|
|
|
gcPackageService.saveOrUpdateBatch(listGcPackage);
|
|
|
break;
|
|
|
+ case "GC_RECONSIDER"://17、工程建设复议信息【GC_RECONSIDER】
|
|
|
+ List<GcReconsider> gcReconsiderList = JSONObject.parseArray(jsonArray.toJSONString(), GcReconsider.class);
|
|
|
+ logger.info(param+":数据入库="+gcReconsiderList.size());
|
|
|
+ XxlJobHelper.log(param+":数据入库="+gcReconsiderList.size());
|
|
|
+ gcReconsiderService.saveOrUpdateBatch(gcReconsiderList);
|
|
|
+ break;
|
|
|
case "ZRZY_TD_CEDE_NOTICE"://20、自然资源-土地出让公告信息【ZRZY_TD_CEDE_NOTICE】
|
|
|
List<ZrzyTdCedeNotice> listZrzyTdCedeNotice = JSONObject.parseArray(jsonArray.toJSONString(), ZrzyTdCedeNotice.class);
|
|
|
// for (ZrzyTdCedeNotice zrzyTdCedeNotice : listZrzyTdCedeNotice) {
|