Browse Source

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

wangweiyu 4 năm trước cách đây
mục cha
commit
d3efd7bc83
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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>