浏览代码

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

codingliang 2 年之前
父节点
当前提交
f405ae44eb
共有 1 个文件被更改,包括 1 次插入1 次删除
  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'">