From 2fde2e99c38e8c46f7f7988fce076cc7d16445e4 Mon Sep 17 00:00:00 2001
From: Pu Zhibing <393733352@qq.com>
Date: 星期四, 21 八月 2025 00:23:45 +0800
Subject: [PATCH] 修改bug

---
 ManagementQYTTravel/guns-admin/src/main/java/com/stylefeng/guns/modular/system/dao/mapping/TOrderPrivateCarMapper.xml |   18 ++++++++++++++++++
 1 files changed, 18 insertions(+), 0 deletions(-)

diff --git a/ManagementQYTTravel/guns-admin/src/main/java/com/stylefeng/guns/modular/system/dao/mapping/TOrderPrivateCarMapper.xml b/ManagementQYTTravel/guns-admin/src/main/java/com/stylefeng/guns/modular/system/dao/mapping/TOrderPrivateCarMapper.xml
index c593fd3..80b2701 100644
--- a/ManagementQYTTravel/guns-admin/src/main/java/com/stylefeng/guns/modular/system/dao/mapping/TOrderPrivateCarMapper.xml
+++ b/ManagementQYTTravel/guns-admin/src/main/java/com/stylefeng/guns/modular/system/dao/mapping/TOrderPrivateCarMapper.xml
@@ -273,6 +273,9 @@
         <if test="orderNum != null and orderNum != ''">
             and t1.orderNum  =#{orderNum}
         </if>
+        <if test="activityId != null">
+            and t1.promotionActivityId  =#{activityId}
+        </if>
         <if test="beginTime != null and endTime != null">
             and t1.successTime  between #{beginTime} and #{endTime}
         </if>
@@ -301,6 +304,9 @@
         where t1.promotionActivityId is not null
         <if test="orderNum != null and orderNum != ''">
             and t1.orderNum  =#{orderNum}
+        </if>
+        <if test="activityId != null">
+            and t1.promotionActivityId  =#{activityId}
         </if>
         <if test="beginTime != null and endTime != null">
             and t1.successTime  between #{beginTime} and #{endTime}
@@ -331,6 +337,9 @@
         where t1.promotionActivityId is not null
         <if test="orderNum != null and orderNum != ''">
             and t1.orderNum  =#{orderNum}
+        </if>
+        <if test="activityId != null">
+            and t1.promotionActivityId  =#{activityId}
         </if>
         <if test="beginTime != null and endTime != null">
             and t1.successTime  between #{beginTime} and #{endTime}
@@ -364,6 +373,9 @@
         <if test="orderNum != null and orderNum != ''">
             and t1.orderNum  =#{orderNum}
         </if>
+        <if test="activityId != null">
+            and t1.promotionActivityId  =#{activityId}
+        </if>
         <if test="beginTime != null and endTime != null">
             and t1.successTime  between #{beginTime} and #{endTime}
         </if>
@@ -392,6 +404,9 @@
         where t1.promotionActivityId is not null
         <if test="orderNum != null and orderNum != ''">
             and t1.orderNum  =#{orderNum}
+        </if>
+        <if test="activityId != null">
+            and t1.promotionActivityId  =#{activityId}
         </if>
         <if test="beginTime != null and endTime != null">
             and t1.successTime  between #{beginTime} and #{endTime}
@@ -423,6 +438,9 @@
         <if test="orderNum != null and orderNum != ''">
             and t1.orderNum  =#{orderNum}
         </if>
+        <if test="activityId != null">
+            and t1.promotionActivityId  =#{activityId}
+        </if>
         <if test="beginTime != null and endTime != null">
             and t1.successTime  between #{beginTime} and #{endTime}
         </if>

--
Gitblit v1.7.1