Explorar o código

修改申请列表状态

tuoling805 %!s(int64=2) %!d(string=hai) anos
pai
achega
af82e60531
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  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)