From 2753e28d5fb4f3a706ed20e4568e3667afccff71 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AD=A3=E5=9C=A3=E5=8D=8E?= <752718920@qq.com> Date: Mon, 12 Aug 2019 22:50:36 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=95=86=E5=93=81=E5=92=8C?= =?UTF-8?q?=E4=BE=9B=E5=BA=94=E5=95=86=E6=A8=A1=E5=9D=97=E7=9A=84=E6=8E=92?= =?UTF-8?q?=E5=BA=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/resources/mapper_xml/MaterialMapperEx.xml | 6 +++--- src/main/resources/mapper_xml/SupplierMapperEx.xml | 1 + 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/main/resources/mapper_xml/MaterialMapperEx.xml b/src/main/resources/mapper_xml/MaterialMapperEx.xml index 2f58665d..1ff82b5d 100644 --- a/src/main/resources/mapper_xml/MaterialMapperEx.xml +++ b/src/main/resources/mapper_xml/MaterialMapperEx.xml @@ -26,7 +26,7 @@ and m.CategoryId in (${categoryIds}) and ifnull(m.delete_Flag,'0') !='1' - order by m.id asc + order by m.id desc limit #{offset},#{rows} @@ -70,7 +70,7 @@ left join jsh_unit u on m.UnitId=u.id and ifnull(u.delete_Flag,'0') !='1' where m.enabled=1 and ifnull(m.delete_Flag,'0') !='1' - ORDER BY Id asc + ORDER BY Id desc @@ -106,7 +106,7 @@ and m.CategoryId in (${categoryIds}) and ifnull(m.delete_Flag,'0') !='1' - order by m.id asc + order by m.id desc