Browse Source

fit 错题集数量更新

change 3 years ago
parent
commit
e2dd5d9d39

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

@@ -64,6 +64,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
         <if test="goodsId != null and goodsId != ''">
             AND uew.goods_id = #{goodsId}
         </if>
+        <if test="orderGoodsId != null and orderGoodsId != ''">
+            AND uew.order_goods_id = #{orderGoodsId}
+        </if>
         <if test="paperId != null and paperId != ''">
             AND e.exam_paper_id = #{paperId}
         </if>