From 6dbd3b95671e6ac00a442b9866331397af1b10ba Mon Sep 17 00:00:00 2001 From: Pu Zhibing <393733352@qq.com> Date: 星期五, 08 八月 2025 09:58:46 +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