Просмотр исходного кода

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

codingliang 2 лет назад
Родитель
Сommit
4cd6de0afd
1 измененных файлов с 2 добавлено и 2 удалено
  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},'%')