|
|
@@ -64,18 +64,18 @@ public class BaseStudentAssessmentInspectionController {
|
|
|
@SaCheckPermission("basestudentassessmentinspection:detail")
|
|
|
public RT<PageOutput<BaseStudentAssessmentInspectionPageVo>> page(@Valid BaseStudentAssessmentInspectionPageDto dto){
|
|
|
|
|
|
- //未传流程状态不返回数据
|
|
|
- if(ObjectUtil.isNull(dto) || ObjectUtil.isNull(dto.getStatus())){
|
|
|
- PageOutput<BaseStudentAssessmentInspectionPageVo> result = ConventPage.getPageOutputNull(BaseStudentAssessmentInspectionPageVo.class);
|
|
|
- return RT.ok(result);
|
|
|
- }
|
|
|
+// //未传流程状态不返回数据
|
|
|
+// if(ObjectUtil.isNull(dto) || ObjectUtil.isNull(dto.getStatus())){
|
|
|
+// PageOutput<BaseStudentAssessmentInspectionPageVo> result = ConventPage.getPageOutputNull(BaseStudentAssessmentInspectionPageVo.class);
|
|
|
+// return RT.ok(result);
|
|
|
+// }
|
|
|
IPage<BaseStudentAssessmentInspectionPageVo> page = baseStudentAssessmentInspectionService.selectJoinListPage(ConventPage.getPage(dto), BaseStudentAssessmentInspectionPageVo.class,
|
|
|
MPJWrappers.<BaseStudentAssessmentInspection>lambdaJoin()
|
|
|
.like(StrUtil.isNotEmpty(dto.getCreateUserName()), XjrUser::getName, dto.getCreateUserName())
|
|
|
.like(StrUtil.isNotEmpty(dto.getModifyUserName()), XjrUser::getName, dto.getModifyUserName())
|
|
|
- .eq(BaseStudentAssessmentInspection::getStatus, dto.getStatus())
|
|
|
.eq(StrUtil.isNotEmpty(dto.getEnrollType()), BaseClass::getEnrollType, dto.getEnrollType())
|
|
|
.eq(ObjectUtil.isNotNull(dto.getGradeId()), BaseClass::getGradeId, dto.getGradeId())
|
|
|
+ .eq(BaseStudentAssessmentInspection::getStatus, 1)
|
|
|
.in(ObjectUtil.isNotNull(dto.getBaseStudentAssessmentProjectIds()), BaseStudentAssessmentInspection::getBaseStudentAssessmentProjectId, dto.getBaseStudentAssessmentProjectIds())
|
|
|
.between(ObjectUtil.isNotNull(dto.getStartDate()) && ObjectUtil.isNotNull(dto.getEndDate()), BaseStudentAssessmentInspection::getCreateDate,dto.getStartDate(),dto.getEndDate())
|
|
|
.in(ObjectUtil.isNotNull(dto.getBaseStudentAssessmentProjectIds()), BaseStudentAssessmentInspection::getBaseStudentAssessmentProjectId, dto.getBaseStudentAssessmentProjectIds())
|