封禁原因继承+封禁设备
This commit is contained in:
@@ -9,7 +9,6 @@ import java.util.List;
|
||||
public interface AccountLoginRecordMapperExpand {
|
||||
|
||||
List<Long> getRecentLoginUids(@Param("startDay") Date startDay, @Param("partitionId") Integer partitionId);
|
||||
|
||||
List<String> listUserLoginDevice(Long uid);
|
||||
|
||||
List<Long> getUidByRecent60Day(@Param("channel") String channel, @Param("ignoreVersion") String ignoreVersion, @Param("ignoreChannel") String ignoreChannel, @Param("partitionId") Integer partitionId, @Param("index") Integer index, @Param("offset") Integer offset);
|
||||
@@ -42,4 +41,6 @@ public interface AccountLoginRecordMapperExpand {
|
||||
* @return
|
||||
*/
|
||||
List<AccountLoginRecord> getLoginType(@Param("uidList") List<Long> uidList);
|
||||
|
||||
List<String> getRecentLoginDevices(@Param("startDay") Date startDay, @Param("uid") Long uid);
|
||||
}
|
@@ -74,4 +74,8 @@
|
||||
)
|
||||
</select>
|
||||
|
||||
<select id="getRecentLoginDevices" resultType="java.lang.String">
|
||||
SELECT DISTINCT(device_uid) FROM account_login_record
|
||||
WHERE create_time >= #{startDay} and uid = #{uid}
|
||||
</select>
|
||||
</mapper>
|
Reference in New Issue
Block a user