From d6811336d546e4963a9af3bd7cd8654d14193bce Mon Sep 17 00:00:00 2001 From: liujie <liujie> Date: 星期四, 31 八月 2023 11:58:57 +0800 Subject: [PATCH] broker 卡车公司端 49码头 --- src/main/java/com/stylefeng/guns/modular/system/dao/mapping/TOrderMapper.xml | 7 ++++++- 1 files changed, 6 insertions(+), 1 deletions(-) diff --git a/src/main/java/com/stylefeng/guns/modular/system/dao/mapping/TOrderMapper.xml b/src/main/java/com/stylefeng/guns/modular/system/dao/mapping/TOrderMapper.xml index 58da649..f5caa11 100644 --- a/src/main/java/com/stylefeng/guns/modular/system/dao/mapping/TOrderMapper.xml +++ b/src/main/java/com/stylefeng/guns/modular/system/dao/mapping/TOrderMapper.xml @@ -182,7 +182,7 @@ LEFT JOIN t_user t3 on t1.user_id =t3.id LEFT JOIN t_port t4 on t1.`port` = t4.id LEFT JOIN t_group t5 on t3.group_id = t5.id - where t1.company_id = #{companyId} and t1.order_type=#{type} + where t1.company_id = #{companyId} and t1.order_type=#{type} and t1.status != 17 <if test="sTime !=null"> and (t1.shipment_date between #{sTime} and #{eTime} or t1.delivery_date between #{sTime} and #{eTime}) </if> @@ -203,6 +203,7 @@ </if> GROUP BY t1.id + order by t1.create_time desc </select> @@ -225,4 +226,8 @@ WHERE too.STATUS = 1 </select> + <select id="getLonLat" resultType="java.util.Map"> + select lon,lat from t_order_lonlat where orderId =#{orderId} + </select> + </mapper> -- Gitblit v1.7.1