|
@@ -78,7 +78,7 @@ public class TextbookController {
|
|
|
textbookMPJLambdaWrapper
|
|
|
.select(Textbook::getId)
|
|
|
.selectAs(Textbook::getId,TextbookSubscriptionListVo::getTextbookId)
|
|
|
- .selectAs(BaseCourseSubject::getName, TextbookSubscriptionListVo::getCourseSubjectIdCn)
|
|
|
+ .selectAs(BaseCourseSubject::getName, TextbookSubscriptionListVo::getCourseName)
|
|
|
.selectSum(BaseClassMajorSet::getTotalStudent, TextbookSubscriptionListVo::getStudentSubscriptionNumber)
|
|
|
.select(Textbook.class, x -> VoToColumnUtil.fieldsToColumns(TextbookSubscriptionListVo.class).contains(x.getProperty()))
|
|
|
.leftJoin(BaseClassCourse.class, BaseClassCourse::getCourseId, Textbook::getCourseSubjectId)
|
|
@@ -140,7 +140,7 @@ public class TextbookController {
|
|
|
textbookMPJLambdaWrapper
|
|
|
.select(Textbook::getId)
|
|
|
.selectAs(Textbook::getId,TextbookSubscriptionListVo::getTextbookId)
|
|
|
- .selectAs(BaseCourseSubject::getName, TextbookSubscriptionListVo::getCourseSubjectIdCn)
|
|
|
+ .selectAs(BaseCourseSubject::getName, TextbookSubscriptionListVo::getCourseName)
|
|
|
.selectSum(BaseClassMajorSet::getTotalStudent, TextbookSubscriptionListVo::getStudentSubscriptionNumber)
|
|
|
.select(Textbook.class, x -> VoToColumnUtil.fieldsToColumns(TextbookSubscriptionListVo.class).contains(x.getProperty()))
|
|
|
.leftJoin(TextbookClassRelation.class, TextbookClassRelation::getTextbookId, Textbook::getId)
|