浏览代码

Merge branch 'BI_Dashboard' of eta_gn_server/eta_api into dm

鲍自强 6 月之前
父节点
当前提交
1d86178fdc
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      services/bi_approve/bi_approve.go

+ 1 - 1
services/bi_approve/bi_approve.go

@@ -543,7 +543,7 @@ func SolvedBiApprove(adminId, classifyId, timeType, sortField, sortRule, approve
 		order = fmt.Sprintf("%s %s", orderField, orderRule)
 	}
 	if approveState > 0 {
-		cond += fmt.Sprintf(` AND a.%s = ?`, biapprove.BiApproveRecordCols.State)
+		cond += fmt.Sprintf(` AND a.%s = ?`, biapprove.BiApproveRecordCols.NodeState)
 		pars = append(pars, approveState)
 	}
 	total, e := biapprove.GetApprovedBiApproveCount(cond, pars)