提交 acc43719 authored 作者: 艾庆国's avatar 艾庆国

代码优化

上级 ac6501c8
......@@ -77,7 +77,7 @@ public class IntegralStatisticsServiceImpl implements IntegralStatisticsService
private int diffDay(LocalDateTime beginDate, LocalDateTime endDate){
long day = Duration.between(beginDate, endDate).toDays();
return Long.valueOf(day).intValue();
return (int)day;
}
}
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论