|
@@ -3890,22 +3890,22 @@ func (this *ChartInfoController) EdbInfoReplace() {
|
|
|
}
|
|
|
|
|
|
// 替换相关性图表配置
|
|
|
- go func() {
|
|
|
- _, _ = data_manage.ReplaceMultipleGraphConfigChartEdb(oldEdbInfo, newEdbInfo)
|
|
|
- /*if err != nil {
|
|
|
- br.Msg = "替换失败"
|
|
|
- br.ErrMsg = "替换失败 replace err:" + err.Error()
|
|
|
- return
|
|
|
- }*/
|
|
|
- }()
|
|
|
+ //go func() {
|
|
|
+ _, _ = data_manage.ReplaceMultipleGraphConfigChartEdb(oldEdbInfo, newEdbInfo)
|
|
|
+ /*if err != nil {
|
|
|
+ br.Msg = "替换失败"
|
|
|
+ br.ErrMsg = "替换失败 replace err:" + err.Error()
|
|
|
+ return
|
|
|
+ }*/
|
|
|
+ //}()
|
|
|
|
|
|
- go func() {
|
|
|
- excel2.ReplaceEdbInExcel(oldEdbInfo, newEdbInfo)
|
|
|
- }()
|
|
|
+ //go func() {
|
|
|
+ excel2.ReplaceEdbInExcel(oldEdbInfo, newEdbInfo)
|
|
|
+ //}()
|
|
|
|
|
|
- go func() {
|
|
|
- sandbox.ReplaceEdbInSandbox(oldEdbInfo.EdbInfoId, newEdbInfo.EdbInfoId)
|
|
|
- }()
|
|
|
+ //go func() {
|
|
|
+ sandbox.ReplaceEdbInSandbox(oldEdbInfo.EdbInfoId, newEdbInfo.EdbInfoId)
|
|
|
+ //}()
|
|
|
br.Msg = "替换成功"
|
|
|
br.ErrMsg = "替换成功"
|
|
|
br.Ret = 200
|