xuhy
2024-12-27 167f614976b05fb7bc2c40467f55dc88c7efed4f
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>