|
|
@@ -8819,7 +8819,7 @@ public class SmartUserController implements SmartUserControllerAPI {
|
|
|
smartFamilyIndexService.deleteSmartFamilyByCardNo(user.getCardNo());
|
|
|
}
|
|
|
|
|
|
- } else if (user.getIdentityId().intValue() == eIdentityStatu.Teacher.getValue()) {
|
|
|
+ } else if (user.getIdentityId().intValue() != eIdentityStatu.Parent.getValue() && user.getIdentityId().intValue() != eIdentityStatu.Student.getValue()) {
|
|
|
|
|
|
if (ObjectUtils.isNotEmpty(user.getDuties()) && user.getDuties().intValue() == eDuties.ClassTeacher.getValue()) {
|
|
|
if (user.getSchoolClass() == null) {
|