调宿审批模块-申请调宿权限修改,取消学生权限,由辅导员发起
This commit is contained in:
@@ -11,12 +11,7 @@ import com.srs.system.service.ISysDeptMapService;
|
||||
import com.srs.system.service.ISysPostService;
|
||||
import com.srs.web.controller.common.RoleBool;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.web.bind.annotation.GetMapping;
|
||||
import org.springframework.web.bind.annotation.PostMapping;
|
||||
import org.springframework.web.bind.annotation.PathVariable;
|
||||
import org.springframework.web.bind.annotation.RequestBody;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
import org.springframework.web.bind.annotation.*;
|
||||
import io.swagger.annotations.*;
|
||||
import org.springframework.security.access.prepost.PreAuthorize;
|
||||
|
||||
@@ -64,6 +59,8 @@ public class DmsManageApplicationController extends BaseController {
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
@PostMapping("/stuChange")
|
||||
public AjaxResult stuChange(@RequestBody DmsManageApplication param) {
|
||||
return dmsManageApplicationService.stuChange(param);
|
||||
@@ -173,5 +170,15 @@ public class DmsManageApplicationController extends BaseController {
|
||||
return dmsManageApplicationService.stuDel(ids);
|
||||
}
|
||||
|
||||
/**
|
||||
* 根据学号获取学生当前宿舍信息
|
||||
*/
|
||||
@GetMapping("/studentDormitoryInfo")
|
||||
@ApiOperation("根据学号获取学生当前宿舍信息")
|
||||
public AjaxResult getStudentDormitoryInfo(@RequestParam String studentNo) {
|
||||
// 调用service层方法获取学生宿舍信息
|
||||
return dmsManageApplicationService.getStudentDormitoryInfo(studentNo);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user