zoujiajian 1 год назад
Родитель
Сommit
b643c190e3
1 измененных файлов с 1 добавлено и 0 удалено
  1. 1 0
      netflix-dao/src/main/resources/mapper/GroupRelationMapper.xml

+ 1 - 0
netflix-dao/src/main/resources/mapper/GroupRelationMapper.xml

@@ -82,6 +82,7 @@
           and gt.status = 'validity'
           and gr.status = 'validity'
           and gr.yhs_id = #{yhsId}
+        and gr.expiry_time > now()
     </select>
 
     <select id="getGroupRelationViewByUserIdAndRelationId"