小么熊🐻 2 жил өмнө
parent
commit
8dbd2fa94e

+ 2 - 2
nbjk-service/src/main/resources/mapper/vip/VipUserExamMapper.xml

@@ -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>