瀏覽代碼

fix 报考

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

+ 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