|
|
@@ -86,7 +86,7 @@ public class BaseStudentInfoController {
|
|
|
|
|
|
@GetMapping(value = "/info")
|
|
|
@ApiOperation(value = "根据id查询详情信息")
|
|
|
- @SaCheckPermission("room:detail")
|
|
|
+ @SaCheckPermission("basestudentpost:detail")
|
|
|
@XjrLog(value = "根据id查询详情信息", saveResponseData = true)
|
|
|
public RT<BaseStudentInfoDetailVo> info(@RequestParam Long id) {
|
|
|
BaseStudentInfoDetailDto dto = new BaseStudentInfoDetailDto();
|
|
|
@@ -103,7 +103,7 @@ public class BaseStudentInfoController {
|
|
|
|
|
|
@GetMapping(value = "/studentinfoByKeyWord")
|
|
|
@ApiOperation(value = "根据姓名或者身份证号查询详情信息")
|
|
|
- @SaCheckPermission("room:detail")
|
|
|
+ @SaCheckPermission("basestudentpost:detail")
|
|
|
@XjrLog(value = "根据姓名或者身份证号查询详情信息")
|
|
|
public RT<List<BaseStudentSompleInfoVo>> info(@Valid BaseStudentSimpleInfoDto dto) {
|
|
|
dto.setArchivesStatus(ArchivesStatusEnum.FB2901.getCode());
|
|
|
@@ -111,9 +111,20 @@ public class BaseStudentInfoController {
|
|
|
return RT.ok(infos);
|
|
|
}
|
|
|
|
|
|
+ @GetMapping(value = "/studentinfoByKeyWordNotReading")
|
|
|
+ @ApiOperation(value = "根据姓名或者身份证号查询不在读学生详情信息")
|
|
|
+ @SaCheckPermission("basestudentpost:detail")
|
|
|
+ @XjrLog(value = "根据姓名或者身份证号查询不在读学生详情信息")
|
|
|
+ public RT<List<BaseStudentSompleInfoVo>> studentinfoByKeyWordNotReading(@Valid BaseStudentSimpleInfoDto dto) {
|
|
|
+ dto.setFindNewStudent(0);
|
|
|
+ dto.setIsNotReading(1);
|
|
|
+ List<BaseStudentSompleInfoVo> infos = baseStudentSchoolRollService.getInfosByParam(dto);
|
|
|
+ return RT.ok(infos);
|
|
|
+ }
|
|
|
+
|
|
|
@GetMapping(value = "/getWhitelistInfo")
|
|
|
@ApiOperation(value = "根据userId查询白名单信息(不传默认查询登录者)")
|
|
|
- @SaCheckPermission("room:detail")
|
|
|
+ @SaCheckPermission("basestudentpost:detail")
|
|
|
@XjrLog(value = "根据userId查询白名单信息(不传默认查询登录者)", saveResponseData = true)
|
|
|
public RT<WhitelistInfoVo> getWhitelistInfo(Long userId) {
|
|
|
if (userId == null) {
|