he2802 3 سال پیش
والد
کامیت
355c9d183c
1فایلهای تغییر یافته به همراه1 افزوده شده و 0 حذف شده
  1. 1 0
      zhongzheng-system/src/main/resources/mapper/modules/user/UserMapper.xml

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

@@ -245,6 +245,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
         WHERE
             us.user_id = #{userId}
           AND us.subscribe_status = 1
+          and (us.exam_expend  is null or us.exam_expend = 0)
     </select>
 
     <select id="informSum" parameterType="Long" resultType="Long">