From ed02b20b31e013159c55ab14b81772e41b36649c Mon Sep 17 00:00:00 2001
From: Pu Zhibing <393733352@qq.com>
Date: 星期六, 26 七月 2025 17:37:59 +0800
Subject: [PATCH] 修改下单逻辑和抢单等相关逻辑

---
 DriverQYTTravel/guns-admin/src/main/java/com/stylefeng/guns/modular/system/dao/mapping/PushOrderMapper.xml |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/DriverQYTTravel/guns-admin/src/main/java/com/stylefeng/guns/modular/system/dao/mapping/PushOrderMapper.xml b/DriverQYTTravel/guns-admin/src/main/java/com/stylefeng/guns/modular/system/dao/mapping/PushOrderMapper.xml
index 04d7e4c..d68cc89 100644
--- a/DriverQYTTravel/guns-admin/src/main/java/com/stylefeng/guns/modular/system/dao/mapping/PushOrderMapper.xml
+++ b/DriverQYTTravel/guns-admin/src/main/java/com/stylefeng/guns/modular/system/dao/mapping/PushOrderMapper.xml
@@ -6,6 +6,7 @@
     <resultMap id="BaseResultMap" type="com.stylefeng.guns.modular.system.model.PushOrder">
         <id column="id" property="id"/>
         <result column="companyId" property="companyId"/>
+        <result column="openCityId" property="openCityId"/>
         <result column="pushDistance" property="pushDistance"/>
         <result column="pushTime" property="pushTime"/>
         <result column="driverProportion" property="driverProportion"/>
@@ -18,12 +19,13 @@
         select
         id as id,
         companyId as companyId,
+        openCityId as openCityId,
         pushDistance as pushDistance,
         pushTime as pushTime,
         driverProportion as driverProportion,
         `type` as `type`,
         pushType as pushType
-        from t_sys_push_order where companyId = #{companyId}
+        from t_sys_push_order where openCityId = #{openCityId}
         <if test="null != type">
             and `type` = #{type}
         </if>

--
Gitblit v1.7.1