Przeglądaj źródła

修复userId不为空时,查询提现列表报错问题

codingliang 2 lat temu
rodzic
commit
f405ae44eb
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      src/main/resources/mapper/pay/CashDao.xml

+ 1 - 1
src/main/resources/mapper/pay/CashDao.xml

@@ -237,7 +237,7 @@
             <if test="params.zhifubao != null and params.zhifubao != '' and params.zhifubao != 'null'">
                 and co.zhifubao = #{params.zhifubao}
             </if>
-            <if test="params.userId != null and params.userId != '' and params.userId != 'null'">
+            <if test="params.userId != null">
                 and co.user_id = #{params.userId}
             </if>
             <if test="params.type != null and params.type != '' and params.type != 'null'">