|
@@ -20,6 +20,7 @@ import com.xjrsoft.module.student.service.IBaseStudentBursariesApplicantService;
|
|
|
import com.xjrsoft.module.student.vo.BaseStudentBursariesApplicantPageVo;
|
|
|
import com.xjrsoft.module.student.vo.BaseStudentBursariesApplicantVo;
|
|
|
import com.xjrsoft.module.student.vo.BaseStudentUserPageVo;
|
|
|
+import com.xjrsoft.module.system.entity.DictionaryDetail;
|
|
|
import io.swagger.annotations.Api;
|
|
|
import io.swagger.annotations.ApiOperation;
|
|
|
import lombok.AllArgsConstructor;
|
|
@@ -60,8 +61,10 @@ public class BaseStudentBursariesApplicantController {
|
|
|
MPJWrappers.<BaseStudentBursariesApplicant>lambdaJoin()
|
|
|
.eq(BaseStudentBursariesApplicant::getBaseStudentBursariesProjectId, dto.getProjectId())
|
|
|
.select(BaseStudentBursariesStudent::getId)
|
|
|
+ .selectAs(DictionaryDetail::getName, BaseStudentBursariesApplicantPageVo::getBankTypeCn)
|
|
|
.select(BaseStudentBursariesApplicant.class, x -> VoToColumnUtil.fieldsToColumns(BaseStudentBursariesApplicantPageVo.class).contains(x.getProperty()))
|
|
|
.leftJoin(BaseStudentBursariesStudent.class,BaseStudentBursariesStudent::getBaseStudentBursariesApplicantId,BaseStudentBursariesApplicant::getId)
|
|
|
+ .leftJoin(DictionaryDetail.class, DictionaryDetail::getCode, BaseStudentBursariesStudent::getBankType)
|
|
|
.select(BaseStudentBursariesStudent.class, x -> VoToColumnUtil.fieldsToColumns(BaseStudentBursariesApplicantPageVo.class).contains(x.getProperty()))
|
|
|
// .selectAs(BaseStudentBursariesStudent::getGradeName, BaseStudentBursariesApplicantPageVo::getGradeName)
|
|
|
);
|