Ver Fonte

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

wangweiyu há 4 anos atrás
pai
commit
d3efd7bc83
1 ficheiros alterados com 1 adições e 1 exclusões
  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>