Commit bb850d3d by wutong

优化计算头程费时,保存分页页号

parent ec943ed6
......@@ -44,6 +44,10 @@ public class CalculateCostFirstJob extends PointJob {
handleChannelOrderSku(dcBaseCostFirsts);
}
}
JobPointLogMapper jobPointLogMapper = SessionUtil.getSession().getMapper(JobPointLogMapper.class);
if (jobPointLog.getPageIndex() % 5 == 0) {
jobPointLogMapper.upsertSelective(jobPointLog);
}
} catch (Exception e) {
e.printStackTrace();
throw new RuntimeException("MYBATIS操作DB失败", e);
......
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