|
@@ -119,7 +119,7 @@ public class WelcomeStudentController implements WelcomeStudentControllerAPI {
|
|
|
return CommonResult.fail(st);
|
|
return CommonResult.fail(st);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
- if (!isr.equals("本科") && !isr.equals("专升本") && !isr.equals("专科")) {
|
|
|
|
|
|
|
+ if (!isr.getBatchValue().equals("本科") && !isr.getBatchValue().equals("专升本") && !isr.getBatchValue().equals("专科")) {
|
|
|
return CommonResult.fail("批次为本科或专升本或专科");
|
|
return CommonResult.fail("批次为本科或专升本或专科");
|
|
|
}
|
|
}
|
|
|
int existCount = welcomeStudentService.existStudentInfo(isr.getAdmissNum(), isr.getCardId());
|
|
int existCount = welcomeStudentService.existStudentInfo(isr.getAdmissNum(), isr.getCardId());
|