he2802 vor 3 Jahren
Ursprung
Commit
25e16d17fd

+ 2 - 0
zhongzheng-system/src/main/resources/mapper/modules/exam/ExamApplyMapper.xml

@@ -246,6 +246,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
           and us.user_id = #{userId}
           and us.result = 1
           and us.goods_id = #{goodsId}
+          and us.order_goods_id = #{orderGoodsId}
     </select>
 
     <select id="countApplySubscribe" parameterType="com.zhongzheng.modules.exam.bo.ExamApplyQueryBo" resultType="integer">
@@ -270,6 +271,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
           and us.exam_status = 0
           and subscribe_status = 1
           and us.goods_id = #{goodsId}
+          and us.order_goods_id = #{orderGoodsId}
     </select>
     <select id="selectExamUserApplyVo" parameterType="com.zhongzheng.modules.exam.bo.ExamApplyQueryBo" resultMap="ExamUserApplyVo">
         SELECT