|
|
@@ -4572,7 +4572,7 @@ public class SmartUserController implements SmartUserControllerAPI {
|
|
|
if (useXw == 1) {
|
|
|
CommonResult updateStudent = SeewoUpdateStudent(seewoClient, su);
|
|
|
if (!updateStudent.isSuccess()) {
|
|
|
- if (updateStudent.getMessage().equals("学生不存在")) {
|
|
|
+ if (updateStudent.getMessage().contains("学生不存在")) {
|
|
|
CommonResult<String> insertStudent = SeewoInsertStudent(seewoClient, su.getName(), su.getCardNo(), su.getSexId(), su.getPhone(), classData.getClassUid());
|
|
|
if (!insertStudent.isSuccess()) {
|
|
|
return CommonResult.fail("希沃平台:" + insertStudent.getMessage());
|
|
|
@@ -4616,7 +4616,7 @@ public class SmartUserController implements SmartUserControllerAPI {
|
|
|
String endTime = queryGraduationYear(gradeData.getGradeNo());
|
|
|
CommonResult updateBsStudent = bsUpdateStudent(su, classData.getBsClassNo(), startTime, endTime);
|
|
|
if (!updateBsStudent.isSuccess()) {
|
|
|
- if (updateBsStudent.getMessage().equals("人员不存在或已删除")) {
|
|
|
+ if (updateBsStudent.getMessage().contains("人员不存在或已删除")) {
|
|
|
//region 百胜新增学生信息
|
|
|
CommonResult<String> insertBsStudent = bsInsertStudent(usur.getName(), usur.getCardNo(), usur.getSexId(), usur.getHeadImage(), usur.getTimeGroupId(), classData.getBsClassNo(), startTime, endTime, usur.getIdCard());
|
|
|
if (!insertBsStudent.isSuccess()) {
|