|
|
|
|
@ -138,16 +138,16 @@ public class BusinessScCourseService {
|
|
|
|
|
respScCourseDetail.setCourseTypeId(detailInfo.getCourseTypeId());
|
|
|
|
|
respScCourseDetail.setTeachingMode(detailInfo.getTeachingMode());
|
|
|
|
|
respScCourseDetail.setCourseIntro(detailInfo.getCourseIntro());
|
|
|
|
|
respScCourseDetail.setCourseCampus("part");
|
|
|
|
|
respScCourseDetail.setCourseCampus("部分校区");
|
|
|
|
|
respScCourseDetail.setPartCampus(new String[]{});
|
|
|
|
|
|
|
|
|
|
if(null != detailInfo.getCourseTypeId()) {
|
|
|
|
|
ScCourseType courseType = courseTypeService.getById(detailInfo.getCourseTypeId());
|
|
|
|
|
respScCourseDetail.setCourseTypeName(courseType.getCourseType());
|
|
|
|
|
Optional.ofNullable(courseType).ifPresent(item->{
|
|
|
|
|
respScCourseDetail.setCourseTypeName(item.getCourseType());
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
List<ReqAddScCourseChargeItem> feeModeHourList = Lists.newArrayList();
|
|
|
|
|
List<ReqAddScCourseChargeItem> feeModeDateList = Lists.newArrayList();
|
|
|
|
|
List<ReqAddScCourseChargeItem> feeModeCycleList = Lists.newArrayList();
|
|
|
|
|
@ -176,7 +176,7 @@ public class BusinessScCourseService {
|
|
|
|
|
String chargeType = courseCharge.getChargeType();
|
|
|
|
|
chargeItem.setChargeId(courseCharge.getChargeId());
|
|
|
|
|
chargeItem.setCampusId(courseCharge.getDepartId());
|
|
|
|
|
chargeItem.setCampusName(campusMap.get(courseCharge.getDepartId().toString()));
|
|
|
|
|
chargeItem.setCampusName(campusMap.get(courseCharge.getDepartId()));
|
|
|
|
|
if ("hour".equals(chargeType)) {
|
|
|
|
|
chargeItem.setCnt(courseCharge.getCount());
|
|
|
|
|
chargeItem.setTotalFee(courseCharge.getTotalFee());
|
|
|
|
|
@ -195,9 +195,9 @@ public class BusinessScCourseService {
|
|
|
|
|
|
|
|
|
|
// 上课校区 所有或部分校区
|
|
|
|
|
if (partCampusList.size() == 0) {
|
|
|
|
|
respScCourseDetail.setCourseCampus("all");
|
|
|
|
|
respScCourseDetail.setCourseCampus("全部校区");
|
|
|
|
|
} else {
|
|
|
|
|
respScCourseDetail.setCourseCampus("part");
|
|
|
|
|
respScCourseDetail.setCourseCampus("部分校区");
|
|
|
|
|
respScCourseDetail.setPartCampus(partCampusList.toArray(new String[partCampusList.size()]));
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|