he2802 2 年之前
父節點
當前提交
52bf7d07fe
共有 1 個文件被更改,包括 3 次插入0 次删除
  1. 3 0
      zhongzheng-system/src/main/resources/mapper/modules/user/UserStudyRecordMapper.xml

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

@@ -1378,6 +1378,9 @@
         user_bank_record
         WHERE
         1=1
+        <if test="examId != null and examId !='' ">
+            AND exam_id = #{examId}
+        </if>
         <if test="userId != null and userId !='' ">
             AND user_id = #{userId}
         </if>