package com.mcwl.resource.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.mcwl.resource.domain.ModelImage;
import com.mcwl.resource.domain.ModelImageLike;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface ModelImageLikeMapper extends BaseMapper<ModelImageLike> {
    ModelImageLike getLikeImage(@Param("userId") Long userId, @Param("imageId") Long imageId);

    void updateDelFlagById(ModelImageLike modelImageLike);
}
