|
@@ -292,15 +292,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
AND ueg.goods_id = #{goodsId}
|
|
AND ueg.goods_id = #{goodsId}
|
|
|
</select>
|
|
</select>
|
|
|
|
|
|
|
|
- <select id="beforeSubscribeNext" parameterType="long" resultType="integer">
|
|
|
|
|
- SELECT
|
|
|
|
|
- COUNT(eb.before_id)
|
|
|
|
|
- FROM
|
|
|
|
|
- exam_before eb
|
|
|
|
|
- LEFT JOIN exam_before_goods ebg on eb.before_id=ebg.before_id
|
|
|
|
|
- WHERE
|
|
|
|
|
- ebg.goods_id =#{goodsId}
|
|
|
|
|
- and eb.`status`=1
|
|
|
|
|
|
|
+ <select id="beforeSubscribeNext" parameterType="com.zhongzheng.modules.exam.bo.ExamApplyQueryBo" resultType="integer">
|
|
|
|
|
+ SELECT COUNT(1) FROM exam_site es where es.apply_id = #{applyId} and es.status = 2
|
|
|
</select>
|
|
</select>
|
|
|
|
|
|
|
|
<select id="subscribeApplySite" parameterType="com.zhongzheng.modules.exam.bo.ExamApplyQueryBo" resultMap="ExamUserApplySiteVo">
|
|
<select id="subscribeApplySite" parameterType="com.zhongzheng.modules.exam.bo.ExamApplyQueryBo" resultMap="ExamUserApplySiteVo">
|