|
|
@@ -6,7 +6,6 @@ import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
|
|
|
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
|
|
import com.xjrsoft.common.annotation.XjrLog;
|
|
|
import com.xjrsoft.common.model.result.RT;
|
|
|
-import com.xjrsoft.common.page.ConventPage;
|
|
|
import com.xjrsoft.common.page.PageOutput;
|
|
|
import com.xjrsoft.module.internship.dto.AddInternshipPlanManageParticipantDto;
|
|
|
import com.xjrsoft.module.internship.dto.EvaluateInternshipPlanManageParticipantDto;
|
|
|
@@ -16,7 +15,6 @@ import com.xjrsoft.module.internship.entity.InternshipPlanManageParticipant;
|
|
|
import com.xjrsoft.module.internship.service.IInternshipPlanManageParticipantService;
|
|
|
import com.xjrsoft.module.internship.vo.InternshipPlanManageParticipantPageVo;
|
|
|
import com.xjrsoft.module.internship.vo.InternshipPlanManageParticipantVo;
|
|
|
-import com.xjrsoft.module.student.vo.BaseStudentInfoPageVo;
|
|
|
import io.swagger.annotations.Api;
|
|
|
import io.swagger.annotations.ApiOperation;
|
|
|
import lombok.AllArgsConstructor;
|
|
|
@@ -47,11 +45,20 @@ public class InternshipPlanManageParticipantController {
|
|
|
|
|
|
private final IInternshipPlanManageParticipantService internshipPlanManageParticipantService;
|
|
|
|
|
|
+ @GetMapping(value = "/page")
|
|
|
+ @ApiOperation(value="所有参与人(分页)")
|
|
|
+ @SaCheckPermission("internshipplanmanageparticipant:detail")
|
|
|
+ @XjrLog(value = "所有参与人(分页)")
|
|
|
+ public RT<PageOutput<InternshipPlanManageParticipantPageVo>> page(@Valid InternshipPlanManageParticipantPageDto dto){
|
|
|
+ PageOutput<InternshipPlanManageParticipantPageVo> pageOutput = internshipPlanManageParticipantService.getPage(new Page<>(dto.getLimit(), dto.getSize()), dto);
|
|
|
+ return RT.ok(pageOutput);
|
|
|
+ }
|
|
|
+
|
|
|
@GetMapping(value = "/team-student-page")
|
|
|
@ApiOperation(value="实习计划参与人表列表(分页)")
|
|
|
@SaCheckPermission("internshipplanmanageparticipant:detail")
|
|
|
@XjrLog(value = "实习计划参与人表列表(分页)")
|
|
|
- public RT<PageOutput<InternshipPlanManageParticipantPageVo>> page(@Valid InternshipPlanManageParticipantPageDto dto){
|
|
|
+ public RT<PageOutput<InternshipPlanManageParticipantPageVo>> teamStudentPage(@Valid InternshipPlanManageParticipantPageDto dto){
|
|
|
PageOutput<InternshipPlanManageParticipantPageVo> pageOutput = internshipPlanManageParticipantService.getTeamStudentPage(new Page<>(dto.getLimit(), dto.getSize()), dto);
|
|
|
return RT.ok(pageOutput);
|
|
|
}
|