zoujiajian 1 년 전
부모
커밋
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"