瀏覽代碼

修改申请列表状态

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)