tuoling805 пре 2 година
родитељ
комит
af82e60531
1 измењених фајлова са 2 додато и 2 уклоњено
  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 != "" {
-		if status == "已审批" {
-			condition += ` AND status IN('已审批','已驳回') `
+		if status == "已处理" {
+			condition += ` AND status <> '待审批' `
 		} else {
 		} else {
 			condition += ` AND status=? `
 			condition += ` AND status=? `
 			pars = append(pars, status)
 			pars = append(pars, status)