From c06d972894b536cd96b817c922fb73f69c9d1a71 Mon Sep 17 00:00:00 2001
From: zepengdev <lzpsmith@outlook.com>
Date: Wed, 17 Sep 2025 19:28:40 +0800
Subject: [PATCH] fix: 调整店铺与商户绑定方式
---
oying-system/src/main/resources/mapper/rider/RiderIncomeDetailMapper.xml | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/oying-system/src/main/resources/mapper/rider/RiderIncomeDetailMapper.xml b/oying-system/src/main/resources/mapper/rider/RiderIncomeDetailMapper.xml
index 1b05e74..a601655 100644
--- a/oying-system/src/main/resources/mapper/rider/RiderIncomeDetailMapper.xml
+++ b/oying-system/src/main/resources/mapper/rider/RiderIncomeDetailMapper.xml
@@ -31,6 +31,9 @@
<include refid="Base_Column_List"/>
from qs_rider_income_detail
<where>
+ <if test="criteria.riderId != null">
+ and rider_id = #{criteria.riderId}
+ </if>
<if test="criteria.riderName != null">
and rider_name = #{criteria.riderName}
</if>
--
Gitblit v1.9.3