|
@@ -36,7 +36,7 @@ public class StudentFaceInfoApi {
|
|
|
|
|
|
@ApiOperation(value="按身份证查询",notes="查询")
|
|
@ApiOperation(value="按身份证查询",notes="查询")
|
|
@GetMapping("/identityNumber")
|
|
@GetMapping("/identityNumber")
|
|
- public ResponseEntity findByIdentityNumber(@RequestParam Long orgId,@RequestParam String identityNumber){
|
|
|
|
|
|
+ public ResponseEntity findByIdentityNumber(@RequestParam String identityNumber){
|
|
Student student = studentRepo.findByIdentityNumber(identityNumber);
|
|
Student student = studentRepo.findByIdentityNumber(identityNumber);
|
|
if(student == null){
|
|
if(student == null){
|
|
return new ResponseEntity(new ErrorMsg("该学生不存在"),HttpStatus.OK);
|
|
return new ResponseEntity(new ErrorMsg("该学生不存在"),HttpStatus.OK);
|