From 8a9ece9db22194b53ba29b0e943242d29c7e29c4 Mon Sep 17 00:00:00 2001 From: shilei <1780848749@qq.com> Date: Fri, 29 Nov 2019 16:16:40 +0800 Subject: [PATCH] =?UTF-8?q?[bug=E4=BF=AE=E5=A4=8D]=E5=BD=93=E8=AE=A1?= =?UTF-8?q?=E5=88=92=E7=BB=91=E5=AE=9A=E5=A4=9A=E4=B8=AA=E9=A1=B9=E7=9B=AE?= =?UTF-8?q?=E6=97=B6=EF=BC=8C=E8=AE=A1=E5=88=92=E5=88=97=E8=A1=A8=E6=98=BE?= =?UTF-8?q?=E7=A4=BA=E7=9A=84=E6=80=BB=E6=9D=A1=E6=95=B0(recTotal)?= =?UTF-8?q?=E4=B8=8D=E6=AD=A3=E7=A1=AE=EF=BC=8C=E9=9C=80=E8=BF=9B=E8=A1=8C?= =?UTF-8?q?=E5=8E=BB=E9=87=8D=E5=A4=84=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- module/productplan/model.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/productplan/model.php b/module/productplan/model.php index 87c9a0fb81..82b29958e4 100644 --- a/module/productplan/model.php +++ b/module/productplan/model.php @@ -88,7 +88,7 @@ class productplanModel extends model ->beginIF($browseType == 'unexpired')->andWhere('t1.end')->ge($date)->fi() ->beginIF($browseType == 'overdue')->andWhere('t1.end')->lt($date)->fi() ->orderBy($orderBy) - ->page($pager) + ->page($pager, 't1.id') ->fetchAll('id'); if(!empty($plans))