1
zj
2024-10-01 ab127c54b099f9f8974b351f5ee5244614fece49
src/main/resources/mapper/UserWithdrawMapper.xml
@@ -235,8 +235,8 @@
    SELECT
    <include refid="Base_Column_List"/>
    FROM user_withdraw
    where agent_id != 1
      <if test="agentId != null">
    where 1=1
      <if test="agentId != null and agentId != ''">
        and ( agent_id = #{agentId}
        or agent_id in (
        select agent_user.id
@@ -245,7 +245,7 @@
        )
        )
      </if>
      <if test="userId != null">
      <if test="userId != null and agentId != ''">
        and user_id = #{userId}
      </if>
      <if test="realName != null and realName != '' ">