Browse Source

新生数据同步调整

dzx 7 months ago
parent
commit
30a88b51e5
1 changed files with 4 additions and 1 deletions
  1. 4 1
      src/main/java/com/xjrsoft/module/job/BaseNewStudentTask.java

+ 4 - 1
src/main/java/com/xjrsoft/module/job/BaseNewStudentTask.java

@@ -154,7 +154,10 @@ public class BaseNewStudentTask {
                 existsNewStudent.setGender(GenderDictionaryEnum.getCode(feeobjupdate.getSex()));
                 existsNewStudent.setModifyDate(new Date());
                 existsNewStudent.setEnrollmentPlanId(planId);
-                existsNewStudent.setStatus(0);
+                if(!planId.equals(existsNewStudent.getEnrollmentPlanId())){
+                    existsNewStudent.setStatus(0);
+                }
+
                 updateList.add(existsNewStudent);
                 continue;
             }