...
|
...
|
@@ -153,6 +153,7 @@ func (systemSettingService *SystemSettingService) UpdateSystemSetting(updateSyst |
|
|
//未找到历史数据,使用默认配置
|
|
|
defaultSet := new(domain.SystemSetting).GetDefaultSetting(updateSystemSettingCommand.SettingCode)
|
|
|
if len(defaultSet) > 0 {
|
|
|
systemSetting= &domain.SystemSetting{}
|
|
|
*systemSetting = defaultSet[0]
|
|
|
systemSetting.CompanyId = updateSystemSettingCommand.CompanyId
|
|
|
}
|
...
|
...
|
|