|
|
@@ -42,7 +42,7 @@ public class MeetingSettingsManage { |
|
|
|
MeetingSettingsSaveReq result = new MeetingSettingsSaveReq(); |
|
|
|
result.setEnable(settings.getEnable()); |
|
|
|
result.setSettingsType(settings.getSettingsType()); |
|
|
|
result.setSettingsContent(settings.getSettingsContent()); |
|
|
|
result.setSettingsContent(JSONUtil.parseObj(settings.getSettingsContent())); |
|
|
|
return result; |
|
|
|
} |
|
|
|
|
|
|
@@ -50,10 +50,10 @@ public class MeetingSettingsManage { |
|
|
|
MeetingSettings settings = getBySettingsType(req.getSettingsType()); |
|
|
|
if (settings == null) { |
|
|
|
settings = new MeetingSettings(); |
|
|
|
settings.setSettingsContent(req.getSettingsType().name()); |
|
|
|
settings.setEnable(req.getEnable()); |
|
|
|
settings.setSettingsContent(JSONUtil.toJsonStr(req.getSettingsContent())); |
|
|
|
} |
|
|
|
settings.setSettingsType(req.getSettingsType()); |
|
|
|
settings.setEnable(req.getEnable()); |
|
|
|
settings.setSettingsContent(JSONUtil.toJsonStr(req.getSettingsContent())); |
|
|
|
meetingSettingsService.saveOrUpdate(settings); |
|
|
|
} |
|
|
|
|
|
|
|