yangdamao há 1 ano atrás
pai
commit
777fd00eec

+ 1 - 1
zhongzheng-system/src/main/resources/mapper/modules/grade/ClassGradeUserMapper.xml

@@ -2070,7 +2070,7 @@
         <if test="goodsName != null and goodsName !='' ">
             AND g.goods_name like concat('%', #{goodsName}, '%'))
         </if>
-        <if test="subscribeStatus != null and subscribeStatus != 1">
+        <if test="subscribeStatus != null and subscribeStatus == 1">
             AND us.subscribe_status = 1 AND (TIME_TO_SEC(us.apply_site_end_time) + us.apply_site_exam_time) &gt; UNIX_TIMESTAMP()
         </if>
         <if test="subscribeStatus != null and subscribeStatus == 2">