fix(shop): 调整经销商订单查询条件
- 移除了 third_user_id 的查询条件 - 保留了 user_id、first_user_id 和 second_user_id 的查询逻辑
This commit is contained in:
@@ -19,7 +19,7 @@
|
||||
AND a.user_id = #{param.userId}
|
||||
</if>
|
||||
<if test="param.resourceId != null">
|
||||
AND ( a.user_id = #{param.resourceId} OR a.first_user_id = #{param.resourceId} OR a.second_user_id = #{param.resourceId} OR a.third_user_id = #{param.resourceId} )
|
||||
AND ( a.user_id = #{param.resourceId} OR a.first_user_id = #{param.resourceId} OR a.second_user_id = #{param.resourceId} )
|
||||
</if>
|
||||
<if test="param.month != null">
|
||||
AND a.month = #{param.month}
|
||||
|
||||
Reference in New Issue
Block a user