技师当日收益调整
This commit is contained in:
parent
ea67495eac
commit
6002886455
|
@ -85,8 +85,9 @@ public class AppArtificerIntegralServiceImpl implements AppArtificerIntegralServ
|
||||||
orders.setIntegral(add);
|
orders.setIntegral(add);
|
||||||
|
|
||||||
//当日收益
|
//当日收益
|
||||||
|
String todayStartIncome = DateUtil.formatDateTime(DateUtil.beginOfDay(new Date()));
|
||||||
String todayEndIncome = DateUtil.formatDateTime(DateUtil.endOfDay(new Date()));
|
String todayEndIncome = DateUtil.formatDateTime(DateUtil.endOfDay(new Date()));
|
||||||
ArtificerIntegralStatistics todayStatistics =artificerIntegralStatisticsService.getIntegralStatistics(artificerId,startDate,todayEndIncome,null);
|
ArtificerIntegralStatistics todayStatistics =artificerIntegralStatisticsService.getIntegralStatistics(artificerId,todayStartIncome,todayEndIncome,null);
|
||||||
BigDecimal drEarnings = BigDecimal.ZERO;
|
BigDecimal drEarnings = BigDecimal.ZERO;
|
||||||
if(todayStatistics!=null){
|
if(todayStatistics!=null){
|
||||||
drEarnings = todayStatistics.getIncome();
|
drEarnings = todayStatistics.getIncome();
|
||||||
|
|
Loading…
Reference in New Issue