From ef18c978feb9bf6ac81711a8de9b3212d2f7d926 Mon Sep 17 00:00:00 2001 From: wlx Date: Tue, 8 Oct 2013 10:34:14 +0000 Subject: [PATCH] fix sql error --- application/models/Dataorder.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/models/Dataorder.php b/application/models/Dataorder.php index 3cf17a6d..0a96dd04 100644 --- a/application/models/Dataorder.php +++ b/application/models/Dataorder.php @@ -26,7 +26,7 @@ class Dataorder elseif ($statu==-1) $wheresql[] = " (o.pdflink is not null and d.status=-1)"; elseif ($statu == 3) - $wheresql[] = " (o.pdflink is not null and d.status=3 ) "; + $wheresql[] = " (o.applicationform is not null and d.status=3 ) "; elseif ($statu == 5) $wheresql[] = " (o.status=5) "; else