Эх сурвалжийг харах

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

Roc 4 жил өмнө
parent
commit
5d5347d729

+ 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)