he2802 2 年之前
父节点
当前提交
c1f38fb9e9
共有 1 个文件被更改,包括 3 次插入0 次删除
  1. 3 0
      zhongzheng-system/src/main/resources/mapper/modules/user/UserBankRecordMapper.xml

+ 3 - 0
zhongzheng-system/src/main/resources/mapper/modules/user/UserBankRecordMapper.xml

@@ -218,6 +218,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
         <if test="examId != null and examId != ''">
             AND ubr.exam_id = #{examId}
         </if>
+        <if test="type != null and type != ''">
+            AND ubr.`type` = #{type}
+        </if>
         AND ubr.user_id = #{userId}
         AND ubr.current_status = 1
     </select>