Explorar o código

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

wangweiyu %!s(int64=4) %!d(string=hai) anos
pai
achega
d3efd7bc83
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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>