|
@@ -789,8 +789,8 @@ func (this *SandboxController) ListByQuote() {
|
|
}
|
|
}
|
|
|
|
|
|
if keyword != "" {
|
|
if keyword != "" {
|
|
- condition += ` AND ( a.name LIKE ? OR b.name LIKE ? OR a.chart_permission_name LIKE ? )`
|
|
|
|
- pars = utils.GetLikeKeywordPars(pars, keyword, 3)
|
|
|
|
|
|
+ condition += ` AND ( a.name LIKE ? OR a.chart_permission_name LIKE ? )`
|
|
|
|
+ pars = utils.GetLikeKeywordPars(pars, keyword, 2)
|
|
}
|
|
}
|
|
|
|
|
|
//获取指标信息
|
|
//获取指标信息
|
|
@@ -1795,7 +1795,7 @@ func (this *SandboxController) SaveV2() {
|
|
}
|
|
}
|
|
//缩略图为空时不更新
|
|
//缩略图为空时不更新
|
|
var updateSandboxColumn = []string{}
|
|
var updateSandboxColumn = []string{}
|
|
- if req.PicUrl == ""{
|
|
|
|
|
|
+ if req.PicUrl == "" {
|
|
updateSandboxColumn = []string{"Content", "MindmapData", "ModifyTime", "SandboxClassifyId"}
|
|
updateSandboxColumn = []string{"Content", "MindmapData", "ModifyTime", "SandboxClassifyId"}
|
|
} else {
|
|
} else {
|
|
updateSandboxColumn = []string{"Content", "MindmapData", "PicUrl", "ModifyTime", "SandboxClassifyId"}
|
|
updateSandboxColumn = []string{"Content", "MindmapData", "PicUrl", "ModifyTime", "SandboxClassifyId"}
|
|
@@ -2372,4 +2372,4 @@ func (this *SandboxController) LinkEdbInfoCheck() {
|
|
br.Msg = "检测成功"
|
|
br.Msg = "检测成功"
|
|
br.Success = true
|
|
br.Success = true
|
|
br.Data = resp
|
|
br.Data = resp
|
|
-}
|
|
|
|
|
|
+}
|