Joburgess пре 5 година
родитељ
комит
104c03e7d4

+ 3 - 1
mec-biz/src/main/java/com/ym/mec/biz/service/impl/VipGroupServiceImpl.java

@@ -1807,7 +1807,9 @@ public class VipGroupServiceImpl extends BaseServiceImpl<Long, VipGroup> impleme
 			imGroupMemberList.add(new ImGroupMember(studentId.toString()));
 		}
 
-		classGroupStudentMapperDao.classGroupStudentsInsert(classGroupStudentMappers);
+		if(!CollectionUtils.isEmpty(classGroupStudentMappers)){
+			classGroupStudentMapperDao.classGroupStudentsInsert(classGroupStudentMappers);
+		}
 
 		classGroupService.updateClassGroupInfo(classGroup.getId());