Forráskód Böngészése

新生数据同步调整

dzx 7 hónapja
szülő
commit
30a88b51e5

+ 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;
             }