|
@@ -219,19 +219,18 @@ public class ExportController extends BaseController {
|
|
|
}
|
|
|
|
|
|
} else if (row.getGroupType().equals(GroupType.SPORADIC)) {
|
|
|
- SporadicChargeInfo sporadicChargeInfo = sporadicChargeInfoDao.findInfoById(Integer.parseInt(row.getMusicGroupId()));
|
|
|
row.setSporadicAmount(row.getActualAmount());
|
|
|
row.setMusicalFee(BigDecimal.ZERO);
|
|
|
row.setTeachingFee(BigDecimal.ZERO);
|
|
|
row.setTeachingFee(BigDecimal.ZERO);
|
|
|
- if (sporadicChargeInfo != null) {
|
|
|
- if (sporadicChargeInfo.getChargeType().equals("1")) {
|
|
|
+ if (row.getChargeType() != null) {
|
|
|
+ if (row.getChargeType().equals(1)) {
|
|
|
row.setSporadicType("考级");
|
|
|
- } else if (sporadicChargeInfo.getChargeType().equals("2")) {
|
|
|
+ } else if (row.getChargeType().equals(2)) {
|
|
|
row.setSporadicType("缴费");
|
|
|
- } else if (sporadicChargeInfo.getChargeType().equals("3")) {
|
|
|
+ } else if (row.getChargeType().equals(3)) {
|
|
|
row.setSporadicType("声部更改");
|
|
|
- } else if (sporadicChargeInfo.getChargeType().equals("4")) {
|
|
|
+ } else if (row.getChargeType().equals(4)) {
|
|
|
row.setSporadicType("乐器更换");
|
|
|
}
|
|
|
}
|