liuxiulin 2 年之前
父节点
当前提交
43cd3c3ec1
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      services/knowoapi/model/rule_chain.go

+ 1 - 0
services/knowoapi/model/rule_chain.go

@@ -68,6 +68,7 @@ func (a *RuleChain) Update(ruleChain *models.RuleChain) error {
 
 // UpdateChainRoot 设置规则链
 func (a *RuleChain) UpdateChainRoot(vendorId, id string, isRoot int) (data models.RuleChain, err error) {
+	fmt.Printf("+++++++++++++%d+_+++++++++++", isRoot)
 	err = a.db.Model(&data).Where("vendor_id = ? and record_id = ?", vendorId, id).
 		Update("root", isRoot).Error
 	return