|
@@ -2172,6 +2172,15 @@ public class ExportServiceImpl implements ExportService {
|
|
|
row.setSubjectName(vipGroupInfo.getSubjectName());
|
|
|
row.setEduTeacher(vipGroupInfo.getEducationalTeacherName());
|
|
|
}
|
|
|
+ if(row.getTypeDesc() == null){
|
|
|
+ //学员没有历史VIP课程则导出为【VIP课新增】
|
|
|
+ //学员有历史VIP课程到导出为【VIP课续费]
|
|
|
+ if(Objects.equals(userFirstVipMap.get(row.getUserId()),row.getMusicGroupId())){
|
|
|
+ row.setTypeDesc(StudentPaymentOrderExportDto.TypeDesc.NEW_VIP);
|
|
|
+ }else {
|
|
|
+ row.setTypeDesc(StudentPaymentOrderExportDto.TypeDesc.RENEW_VIP);
|
|
|
+ }
|
|
|
+ }
|
|
|
} else if(row.getGroupType().equals(GroupType.ACTIVITY)){
|
|
|
row.setVipCourseFee(row.getActualAmount());
|
|
|
}else if (row.getGroupType().equals(GroupType.SPORADIC)) {
|