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"