正在显示
1 个修改的文件
包含
1 行增加
和
0 行删除
| @@ -153,6 +153,7 @@ func (systemSettingService *SystemSettingService) UpdateSystemSetting(updateSyst | @@ -153,6 +153,7 @@ func (systemSettingService *SystemSettingService) UpdateSystemSetting(updateSyst | ||
| 153 | //未找到历史数据,使用默认配置 | 153 | //未找到历史数据,使用默认配置 |
| 154 | defaultSet := new(domain.SystemSetting).GetDefaultSetting(updateSystemSettingCommand.SettingCode) | 154 | defaultSet := new(domain.SystemSetting).GetDefaultSetting(updateSystemSettingCommand.SettingCode) |
| 155 | if len(defaultSet) > 0 { | 155 | if len(defaultSet) > 0 { |
| 156 | + systemSetting= &domain.SystemSetting{} | ||
| 156 | *systemSetting = defaultSet[0] | 157 | *systemSetting = defaultSet[0] |
| 157 | systemSetting.CompanyId = updateSystemSettingCommand.CompanyId | 158 | systemSetting.CompanyId = updateSystemSettingCommand.CompanyId |
| 158 | } | 159 | } |
-
请 注册 或 登录 后发表评论