ソースを参照

fix 定时更换车票时额外车位数量

zoujiajian 3 年 前
コミット
848581ac52
1 ファイル変更2 行追加2 行削除
  1. 2 2
      netflix-dao/src/main/resources/mapper/GroupsMapper.xml

+ 2 - 2
netflix-dao/src/main/resources/mapper/GroupsMapper.xml

@@ -46,9 +46,9 @@
         and a.expiry_time >= #{expiryTime}
         and a.expiry_time <= #{betDay}
         and (select count(*) from groups_relation gr where gr.status ='outside' and gr.groups_id = gt.id and
-        gr.user_id = 0) <=
+        gr.user_id != 0) <
         <choose>
-            <when test="isOverTen">
+            <when test="!isOverTen">
                 10
             </when>
             <otherwise>