Commit 29071166 by wutong

同步SKUMS的服务经常失败, 修改为同步4页就记录一次.

parent 472c77d2
...@@ -128,7 +128,7 @@ public class SkuMSSyncJob extends PointJob { ...@@ -128,7 +128,7 @@ public class SkuMSSyncJob extends PointJob {
} }
} }
} }
if (jobPointLog.getPageIndex() % 10 == 0) { if (jobPointLog.getPageIndex() % 4 == 0) {
JobPointLogMapper jobPointLogMapper = SessionUtil.getSession().getMapper(JobPointLogMapper.class); JobPointLogMapper jobPointLogMapper = SessionUtil.getSession().getMapper(JobPointLogMapper.class);
jobPointLogMapper.upsertSelective(jobPointLog); jobPointLogMapper.upsertSelective(jobPointLog);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment