From 172862b89d944a852209a50cf48204e3cbc4f362 Mon Sep 17 00:00:00 2001 From: Helius <wangdoubleone@gmail.com> Date: Fri, 10 Jul 2020 18:57:58 +0800 Subject: [PATCH] modify --- src/main/resources/templates/febs/views/modules/agent/member.html | 4 ++-- src/main/resources/mapper/modules/AgentReturnDao.xml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/resources/mapper/modules/AgentReturnDao.xml b/src/main/resources/mapper/modules/AgentReturnDao.xml index bb1fdfe..1126df7 100644 --- a/src/main/resources/mapper/modules/AgentReturnDao.xml +++ b/src/main/resources/mapper/modules/AgentReturnDao.xml @@ -33,6 +33,6 @@ and (c.phone=#{record.account} or c.email=#{record.account} or c.invite_id=#{record.account}) </if> </where> - order by order_no, referer_id asc + order by create_time desc </select> </mapper> \ No newline at end of file diff --git a/src/main/resources/templates/febs/views/modules/agent/member.html b/src/main/resources/templates/febs/views/modules/agent/member.html index 6918e0d..374935d 100644 --- a/src/main/resources/templates/febs/views/modules/agent/member.html +++ b/src/main/resources/templates/febs/views/modules/agent/member.html @@ -87,8 +87,8 @@ <script type="text/html" id="account-type"> {{# var accountType = { - 2: {title: '正常账号'}, - 1: {title: '测试账号'} + 1: {title: '正常账号'}, + 2: {title: '测试账号'} }[d.accountType]; }} <span>{{ accountType.title }}</span> -- Gitblit v1.9.1