소스 검색

修改申请列表状态

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 == "已审批" {
-			condition += ` AND status IN('已审批','已驳回') `
+		if status == "已处理" {
+			condition += ` AND status <> '待审批' `
 		} else {
 			condition += ` AND status=? `
 			pars = append(pars, status)