|
@@ -6,6 +6,7 @@ import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
|
import com.xjrsoft.common.model.result.RT;
|
|
import com.xjrsoft.common.model.result.RT;
|
|
import com.xjrsoft.common.page.ConventPage;
|
|
import com.xjrsoft.common.page.ConventPage;
|
|
import com.xjrsoft.common.page.PageOutput;
|
|
import com.xjrsoft.common.page.PageOutput;
|
|
|
|
+import com.xjrsoft.module.banding.dto.ChangeClassDto;
|
|
import com.xjrsoft.module.student.dto.BaseStudentSimpleInfoDto;
|
|
import com.xjrsoft.module.student.dto.BaseStudentSimpleInfoDto;
|
|
import com.xjrsoft.module.student.dto.BaseStudentInfoDetailDto;
|
|
import com.xjrsoft.module.student.dto.BaseStudentInfoDetailDto;
|
|
import com.xjrsoft.module.student.dto.BaseStudentInfoPageDto;
|
|
import com.xjrsoft.module.student.dto.BaseStudentInfoPageDto;
|
|
@@ -22,6 +23,7 @@ import io.swagger.annotations.Api;
|
|
import io.swagger.annotations.ApiOperation;
|
|
import io.swagger.annotations.ApiOperation;
|
|
import lombok.AllArgsConstructor;
|
|
import lombok.AllArgsConstructor;
|
|
import org.springframework.web.bind.annotation.GetMapping;
|
|
import org.springframework.web.bind.annotation.GetMapping;
|
|
|
|
+import org.springframework.web.bind.annotation.PostMapping;
|
|
import org.springframework.web.bind.annotation.PutMapping;
|
|
import org.springframework.web.bind.annotation.PutMapping;
|
|
import org.springframework.web.bind.annotation.RequestBody;
|
|
import org.springframework.web.bind.annotation.RequestBody;
|
|
import org.springframework.web.bind.annotation.RequestMapping;
|
|
import org.springframework.web.bind.annotation.RequestMapping;
|
|
@@ -102,4 +104,11 @@ public class BaseStudentInfoController {
|
|
List<BaseStudentSompleInfoVo> infos = baseStudentSchoolRollService.getInfosByParam(dto);
|
|
List<BaseStudentSompleInfoVo> infos = baseStudentSchoolRollService.getInfosByParam(dto);
|
|
return RT.ok(infos);
|
|
return RT.ok(infos);
|
|
}
|
|
}
|
|
|
|
+
|
|
|
|
+ @PostMapping("/change-class")
|
|
|
|
+ @ApiOperation(value = "调整班级")
|
|
|
|
+ @SaCheckPermission("bandingTaskClass:change-class")
|
|
|
|
+ public RT<Boolean> changeClass(@Valid @RequestBody ChangeClassDto dto){
|
|
|
|
+ return RT.ok(true);
|
|
|
|
+ }
|
|
}
|
|
}
|