package top.tqx.demo_1.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import top.tqx.demo_1.entity.OperationLog;

import java.util.List;

@Mapper
public interface OperationLogMapper extends BaseMapper<OperationLog> {

    List<OperationLog> selectByUserId(Long userId);

    List<OperationLog> selectByTargetId(Long targetId, String targetType);
}
