fix: 解决全量拉取报错问题

pull/163/head
shuliYao 1 year ago
parent 0ff2281960
commit cb4138e859

@ -40,12 +40,12 @@ public class PictureSourceAllPullMsg {
/** /**
* *
*/ */
private Integer timeTaskCount = 0; private int timeTaskCount = 0;
/** /**
* *
*/ */
private Integer pullTaskCount = 0; private int pullTaskCount = 0;
/** /**
* *
@ -91,10 +91,10 @@ public class PictureSourceAllPullMsg {
this.accountNo = null; this.accountNo = null;
this.beginDateTime = null; this.beginDateTime = null;
this.endDateTime = null; this.endDateTime = null;
this.pullTaskCount = null; this.pullTaskCount = 0;
this.timeStr = null; this.timeStr = null;
this.page = null; this.page = null;
this.timeTaskCount = null; this.timeTaskCount = 0;
this.lock = false; this.lock = false;
return true; return true;
} }

@ -165,6 +165,7 @@ public class PullAllPictureSourceThread implements Runnable{
logger.debug("全量拉取中...当前日期:{},页码:{},总数:{}", DateFormatUtils.format(startDate,"yyyy-MM-dd"),pageNo,apiPage.getTotal()); logger.debug("全量拉取中...当前日期:{},页码:{},总数:{}", DateFormatUtils.format(startDate,"yyyy-MM-dd"),pageNo,apiPage.getTotal());
} catch (Exception e) { } catch (Exception e) {
logger.error("无量云全量拉取返回错误,error:",e.getMessage()); logger.error("无量云全量拉取返回错误,error:",e.getMessage());
continue;
} }
} }

Loading…
Cancel
Save