浏览代码

fix:运力实时调度列表查询bug

wangweiyu 4 年之前
父节点
当前提交
d3efd7bc83
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/main/resources/mapper/TruckMapper.xml

+ 1 - 1
src/main/resources/mapper/TruckMapper.xml

@@ -143,7 +143,7 @@
             <when test="param != null and param.spotId != null">
                 tbl.queueNo is null, tbl.queueNo asc
             </when>
-            <when test="param != null and param.sortBy != null">
+            <when test="param != null and param.sortBy != null and param.sortBy != ''">
                 ${param.sortBy} ${param.sortType}
             </when>
             <otherwise>