Browse Source

fix(已审批列表):不返回已撤回的数据

Roc 4 years ago
parent
commit
5d5347d729
1 changed files with 1 additions and 1 deletions
  1. 1 1
      controllers/approval.go

+ 1 - 1
controllers/approval.go

@@ -53,7 +53,7 @@ func (this *ApprovalCommon) List() {
 
 	if status != "" {
 		if status == "已审批" {
-			condition += ` AND c.approve_status IN('已审批','驳回','已撤回') `
+			condition += ` AND c.approve_status IN('已审批','驳回') `
 		} else {
 			condition += ` AND c.approve_status=? `
 			pars = append(pars, status)