修改代码

master
bynt 2 years ago
parent c55da86de5
commit c80005f8e2

@ -48,7 +48,7 @@ public class SynchronizedAmountServiceImpl implements SynchronizedAmountService
log.error("==========获取淘宝历史订单数错误,{}", e.getMessage());
return new CommonResult<>().error("请求错误,检查是否账号过期");
}
double historyAmount = 0.00;
double historyAmount;
int day = Math.toIntExact(DateUtil.betweenDay(DateUtil.parse(subAccountsVo.getStartTime()), DateUtil.parse(subAccountsVo.getEndTime()), true));
int average;
@ -105,4 +105,4 @@ public class SynchronizedAmountServiceImpl implements SynchronizedAmountService
log.error("+++++++++++++免费开通同步淘宝历史订单,保存订单失败,{}", save);
return new CommonResult<>().error("保存订单失败");
}
}
}

Loading…
Cancel
Save