|
@@ -37,8 +37,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
|
|
|
|
|
|
|
|
|
- <select id="getUserExamByByUnionIdAndGoodsId" resultType="int">
|
|
|
- select from vip_user_exam where exam_id = #{goodsId} and union_id = #{unionId}
|
|
|
+ <select id="getUserExamByUnionIdAndGoodsId" resultType="int">
|
|
|
+ select count(1) from vip_user_exam where exam_id = #{goodsId} and union_id = #{unionId}
|
|
|
</select>
|
|
|
|
|
|
|