|
@@ -450,6 +450,9 @@ public class ImGroupServiceImpl extends ServiceImpl<ImGroupDao, ImGroup> impleme
|
|
imGroup.setName(courseGroup.getName());
|
|
imGroup.setName(courseGroup.getName());
|
|
imGroup.setType(ImGroupType.COURSE);
|
|
imGroup.setType(ImGroupType.COURSE);
|
|
imGroup.setImg(sysConfigService.findConfigValue(SysConfigConstant.ICON_COURSE_GROUP_DEFAULT));
|
|
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.setCreateTime(now);
|
|
imGroup.setUpdateTime(now);
|
|
imGroup.setUpdateTime(now);
|
|
// String imGroupId = UUID.randomUUID() + imGroup.getType().getCode();
|
|
// String imGroupId = UUID.randomUUID() + imGroup.getType().getCode();
|