소스 검색

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>