|
@@ -2,11 +2,8 @@ package com.ym.mec.biz.service.impl;
|
|
|
|
|
|
import static com.ym.mec.biz.dal.enums.PaymentStatusEnum.NO;
|
|
|
|
|
|
-import java.util.ArrayList;
|
|
|
-import java.util.Arrays;
|
|
|
-import java.util.Collections;
|
|
|
-import java.util.Date;
|
|
|
-import java.util.List;
|
|
|
+import java.math.BigDecimal;
|
|
|
+import java.util.*;
|
|
|
import java.util.stream.Collectors;
|
|
|
|
|
|
import org.apache.commons.lang3.StringUtils;
|
|
@@ -247,4 +244,14 @@ public class MusicGroupPaymentCalenderServiceImpl extends BaseServiceImpl<Long,
|
|
|
}
|
|
|
musicGroupPaymentCalenderDao.delete(id);
|
|
|
}
|
|
|
+
|
|
|
+ @Override
|
|
|
+ public Object getDetail(Long id) {
|
|
|
+ MusicGroupPaymentCalender calender = musicGroupPaymentCalenderDao.get(id);
|
|
|
+ BigDecimal sumActualAmount = musicGroupPaymentCalenderDetailDao.sumActualAmount(id);
|
|
|
+ Map<String,Object> result = new HashMap<>(2);
|
|
|
+ result.put("calender",calender);
|
|
|
+ result.put("sumActualAmount",sumActualAmount);
|
|
|
+ return result;
|
|
|
+ }
|
|
|
}
|