瀏覽代碼

fix 我的题库

tanzh 3 年之前
父節點
當前提交
8011a13232
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      zhongzheng-system/src/main/resources/mapper/modules/user/UserExamRecordMapper.xml

+ 1 - 1
zhongzheng-system/src/main/resources/mapper/modules/user/UserExamRecordMapper.xml

@@ -163,7 +163,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
 
     <select id="selectDoNum" parameterType="com.zhongzheng.modules.user.bo.UserExamRecordQueryBo" resultType="Long">
         SELECT
-            IFNULL( COUNT(*), 0 ) num
+            COUNT(1) num
         FROM
             (
                 SELECT