applet/src/main/resources/mapping/TStoreMapper.xml
@@ -55,7 +55,11 @@ </if> from t_store where isDelete = ${@com.jilongda.common.enums.DisabledEnum@NO.getCode()} ORDER BY IFNULL(distance,0),createTime DESC ORDER BY <if test="query.lon != null and query.lon != '' and query.lat != null and query.lat != ''"> IFNULL(distance,0), </if> createTime DESC </select> </mapper>