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