瀏覽代碼

Merge branch 'cygx/cygx_12.6.1' of http://8.136.199.33:3000/hongze/hz_crm_api into debug

xingzai 1 年之前
父節點
當前提交
2ff0a8d88b
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      controllers/cygx/tag_management.go

+ 1 - 1
controllers/cygx/tag_management.go

@@ -336,7 +336,7 @@ func (this *TagManagementController) TagSave() {
 	var pars []interface{}
 	condition = " AND tag_name = ? AND tag_id != ?  "
 	pars = append(pars, tagName, tagId)
-	total, err := cygx.GetCygxTagListCount(condition)
+	total, err := cygx.GetCygxTagListCountByCondition(condition, pars)
 	if err != nil {
 		br.Msg = "编辑标签失败"
 		br.ErrMsg = "获取标签总数失败,Err:" + err.Error()