Browse Source

修改申请列表状态

tuoling805 2 years ago
parent
commit
af82e60531
1 changed files with 2 additions and 2 deletions
  1. 2 2
      controllers/business_trip/business_apply.go

+ 2 - 2
controllers/business_trip/business_apply.go

@@ -483,8 +483,8 @@ func (this *BusinessTrip) ApplyList() {
 	}
 
 	if status != "" {
-		if status == "已审批" {
-			condition += ` AND status IN('已审批','已驳回') `
+		if status == "已处理" {
+			condition += ` AND status <> '待审批' `
 		} else {
 			condition += ` AND status=? `
 			pars = append(pars, status)