소스 검색

修复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'">