Pārlūkot izejas kodu

补充配送订单查询时状态为2条件;

codingliang 2 gadi atpakaļ
vecāks
revīzija
4cd6de0afd
1 mainītis faili ar 2 papildinājumiem un 2 dzēšanām
  1. 2 2
      src/main/resources/mapper/errand/TbIndentMapper.xml

+ 2 - 2
src/main/resources/mapper/errand/TbIndentMapper.xml

@@ -81,7 +81,7 @@
         (st_distance (point (ti.shop_lng,ti.shop_lat),point(#{riderLng},#{riderLat}) ) *111195) AS distancess,
         (st_distance (point (ti.user_lng,ti.user_lat),point(#{riderLng},#{riderLat}) ) *111195) AS distancessd
         from tb_indent ti
-        <!-- todo where ti.indent_state = 2 -->
+        where ti.indent_state = 2
         ) a
         where
         user_city like concat('%',#{address},'%')
@@ -97,7 +97,7 @@
         (st_distance (point (ti.shop_lng,ti.shop_lat),point(#{queryDTO.riderLng},#{queryDTO.riderLat}) ) * 111195) AS distancess,
         (st_distance (point (ti.user_lng,ti.user_lat),point(#{queryDTO.riderLng},#{queryDTO.riderLat}) ) * 111195) AS distancessd
         from tb_indent ti
-        <!-- todo where ti.indent_state = 2-->
+        where ti.indent_state = 2
         ) a
         where
         user_city like concat('%',#{queryDTO.city},'%')