From 5b419f40537fb107cad33c53d3506b47be1282f6 Mon Sep 17 00:00:00 2001 From: sunyuchao Date: Mon, 26 Apr 2021 09:37:00 +0800 Subject: [PATCH 1/3] =?UTF-8?q?=E6=89=80=E6=9C=89=E5=B0=8F=E7=BB=84?= =?UTF-8?q?=E5=88=97=E8=A1=A8=E6=8E=92=E5=BA=8F=E8=B0=83=E6=95=B4=EF=BC=9A?= =?UTF-8?q?=E4=BA=BA=E5=91=98=E6=80=BB=E6=95=B0=EF=BC=8C=E5=88=9B=E5=BB=BA?= =?UTF-8?q?=E6=97=B6=E9=97=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/resources/mapper/group/ResiGroupDao.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/epmet-module/resi-group/resi-group-server/src/main/resources/mapper/group/ResiGroupDao.xml b/epmet-module/resi-group/resi-group-server/src/main/resources/mapper/group/ResiGroupDao.xml index 299c7122da..f1b0327b3c 100644 --- a/epmet-module/resi-group/resi-group-server/src/main/resources/mapper/group/ResiGroupDao.xml +++ b/epmet-module/resi-group/resi-group-server/src/main/resources/mapper/group/ResiGroupDao.xml @@ -545,7 +545,7 @@ AND rg.grid_id = #{gridId} AND rg.state = 'approved' ORDER BY - totalMember DESC + totalMember DESC, rg.CREATED_TIME DESC LIMIT #{pageNo}, #{pageSize} From b4417561a26ce363841ab9824ba8abd3dade7863 Mon Sep 17 00:00:00 2001 From: sunyuchao Date: Mon, 26 Apr 2021 10:11:29 +0800 Subject: [PATCH 2/3] =?UTF-8?q?=E8=BF=90=E8=90=A5=E7=AB=AF=E5=AE=A2?= =?UTF-8?q?=E6=88=B7=E7=AE=A1=E7=90=86=E3=80=81=E5=AE=A2=E6=88=B7=E5=AE=9A?= =?UTF-8?q?=E5=88=B6=E5=8C=96=E9=A1=B5=E9=9D=A2=E6=9F=A5=E8=AF=A2=E5=AE=A2?= =?UTF-8?q?=E6=88=B7=E5=88=97=E8=A1=A8=E6=8E=A5=E5=8F=A3=E8=B0=83=E6=95=B4?= =?UTF-8?q?=E6=8C=89=E5=AE=A2=E6=88=B7=E5=88=9B=E5=BB=BA=E6=97=B6=E9=97=B4?= =?UTF-8?q?=E9=99=8D=E5=BA=8F=E5=B1=95=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/resources/mapper/CustomerDao.xml | 20 +++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-) diff --git a/epmet-module/oper-crm/oper-crm-server/src/main/resources/mapper/CustomerDao.xml b/epmet-module/oper-crm/oper-crm-server/src/main/resources/mapper/CustomerDao.xml index 7ef7c8261d..791a9f0aaf 100644 --- a/epmet-module/oper-crm/oper-crm-server/src/main/resources/mapper/CustomerDao.xml +++ b/epmet-module/oper-crm/oper-crm-server/src/main/resources/mapper/CustomerDao.xml @@ -69,6 +69,8 @@ AND customer_name LIKE concat('%', trim(#{customerName}), '%') + ORDER BY + created_time DESC SELECT - ID AS "customerId", - CUSTOMER_NAME, - TITLE, - VALIDITY_TIME, - ORGANIZATION_LEVEL, - LOGO, - GRID_NUMBER + id AS "customerId", + customer_name, + title, + validity_time, + organization_level, + logo, + grid_number FROM customer WHERE - DEL_FLAG = '0' + del_flag = '0' AND customer_name LIKE concat('%', trim(#{customerName}), '%') + ORDER BY + created_time DESC