|
@@ -439,6 +439,9 @@ public class ImGroupServiceImpl extends ServiceImpl<ImGroupDao, ImGroup> impleme
|
|
|
imGroup.setName(courseGroup.getName());
|
|
|
imGroup.setType(ImGroupType.COURSE);
|
|
|
imGroup.setImg(sysConfigService.findConfigValue(SysConfigConstant.ICON_COURSE_GROUP_DEFAULT));
|
|
|
+ if (courseGroup.getType().equals(CourseScheduleEnum.GROUP.name())) {
|
|
|
+ imGroup.setImg(sysConfigService.findConfigValue(SysConfigConstant.GOOD_LOGO_GROUP));
|
|
|
+ }
|
|
|
imGroup.setCreateTime(now);
|
|
|
imGroup.setUpdateTime(now);
|
|
|
// String imGroupId = UUID.randomUUID() + imGroup.getType().getCode();
|