From f8010e800102087bc93eac14a20f5c29a29e2f81 Mon Sep 17 00:00:00 2001 From: huangdeliang Date: Wed, 9 Dec 2020 22:09:07 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=95=B0=E6=8D=AE=E6=9F=A5?= =?UTF-8?q?=E8=AF=A2=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../mapper/custom/SysWxUserInfoMapper.xml | 45 +++++++++---------- .../mapper/custom/SysWxUserLogMapper.xml | 6 +-- 2 files changed, 24 insertions(+), 27 deletions(-) diff --git a/stdiet-custom/src/main/resources/mapper/custom/SysWxUserInfoMapper.xml b/stdiet-custom/src/main/resources/mapper/custom/SysWxUserInfoMapper.xml index 0d594c189..36c1fd1d3 100644 --- a/stdiet-custom/src/main/resources/mapper/custom/SysWxUserInfoMapper.xml +++ b/stdiet-custom/src/main/resources/mapper/custom/SysWxUserInfoMapper.xml @@ -5,20 +5,20 @@ - - - - - - - - - - - - - - + + + + + + + + + + + + + + @@ -28,21 +28,18 @@ diff --git a/stdiet-custom/src/main/resources/mapper/custom/SysWxUserLogMapper.xml b/stdiet-custom/src/main/resources/mapper/custom/SysWxUserLogMapper.xml index c22964621..c95bf7cf2 100644 --- a/stdiet-custom/src/main/resources/mapper/custom/SysWxUserLogMapper.xml +++ b/stdiet-custom/src/main/resources/mapper/custom/SysWxUserLogMapper.xml @@ -50,7 +50,7 @@ and openid = #{openid} - and phone = #{phone} + or phone = #{phone} order by create_time desc @@ -59,9 +59,9 @@ and openid = #{openid} - and phone = #{phone} + or phone = #{phone} - order by create_time asc + order by log_time asc