he2802 2 lat temu
rodzic
commit
b1378fe676

+ 1 - 1
zhongzheng-system/src/main/resources/mapper/modules/goods/GoodsMapper.xml

@@ -531,7 +531,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
 
     <select id="getQuestionNum" parameterType="Long" resultType="Long">
         SELECT
-            count(  question_id ) question_num
+            count(DISTINCT  question_id ) question_num
         FROM
             exam_question
         WHERE