All Downloads are FREE. Search and download functionalities are using the official Maven repository.

fun.fengwk.convention4j.springboot.starter.cache.mapper.CacheableMapper Maven / Gradle / Ivy

package fun.fengwk.convention4j.springboot.starter.cache.mapper;

import fun.fengwk.convention4j.springboot.starter.mybatis.BaseMapper;

import java.util.Collection;
import java.util.List;

/**
 * 可缓存的Mapper。
 *
 * @author fengwk
 */
@MapperCacheSupport
public interface CacheableMapper extends BaseMapper {

    /**
     * 通过id集合批量查询。
     *
     * @param ids id集合。
     * @return PO集合。
     */
    List findForUpdateByIdIn(Collection ids);

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy