|
@@ -50,6 +50,7 @@ public class OperatingReportNewServiceImpl extends BaseServiceImpl<Integer, Oper
|
|
|
String firstDayOfMonth = DateUtil.dateToString(DateUtil.getFirstDayOfMonth(month),DateUtil.ISO_EXPANDED_DATE_FORMAT);
|
|
|
String lastDayOfMonth = DateUtil.dateToString(DateUtil.getLastDayOfMonth(month),DateUtil.ISO_EXPANDED_DATE_FORMAT);
|
|
|
String currentMonth = DateUtil.dateToString(DateUtil.getLastDayOfMonth(month),DateUtil.ISO_YEAR_MONTH_FORMAT);
|
|
|
+ String currentYear = DateUtil.dateToString(DateUtil.getLastDayOfMonth(month),DateUtil.ISO_YEAR_FORMAT);
|
|
|
operatingReportNewDao.deleteByMonth(currentMonth);
|
|
|
List<OperatingReportNew> operatingList = operatingReportNewDao.initOperatingReport(currentMonth);
|
|
|
//更新团体云教练计费时间()
|
|
@@ -81,7 +82,7 @@ public class OperatingReportNewServiceImpl extends BaseServiceImpl<Integer, Oper
|
|
|
//亏损的云教练算到当月实际收入
|
|
|
// Map<Integer, BigDecimal> collect22 = MapUtil.convertIntegerMap(operatingReportNewDao.sumLossCloudAmount(currentMonth));
|
|
|
//付费课程实际收入
|
|
|
- Map<Integer, BigDecimal> collect2 = MapUtil.convertIntegerMap(operatingReportNewDao.sumCourseAmount(firstDayOfMonth,lastDayOfMonth));
|
|
|
+ Map<Integer, BigDecimal> collect2 = MapUtil.convertIntegerMap(operatingReportNewDao.sumCourseAmount(firstDayOfMonth,lastDayOfMonth,currentYear));
|
|
|
|
|
|
//个人云教练当月收入
|
|
|
Map<Integer, BigDecimal> collect3 = MapUtil.convertIntegerMap(operatingReportNewDao.sumPersonalCloudAmount(currentMonth,firstDayOfMonth,lastDayOfMonth));
|