io.github.nichetoolkit.mybatis.MybatisDeleteLinkMapper Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of mybatis-toolkit-starter Show documentation
Show all versions of mybatis-toolkit-starter Show documentation
mybatis toolkit starter project for Spring Boot
package io.github.nichetoolkit.mybatis;
import io.github.nichetoolkit.rice.RestId;
import io.github.nichetoolkit.rice.mapper.DeleteLinkMapper;
import org.apache.ibatis.annotations.DeleteProvider;
import org.apache.ibatis.annotations.Lang;
import org.apache.ibatis.annotations.Param;
import java.util.Collection;
/**
* MybatisDeleteLinkMapper
* The mybatis delete link mapper interface.
* @param {@link io.github.nichetoolkit.rice.RestId} The generic parameter is RestId
type.
* @param {@link java.lang.Object} The parameter can be of any type.
* @param {@link java.lang.Object} The parameter can be of any type.
* @author Cyan ([email protected])
* @see io.github.nichetoolkit.rice.RestId
* @see io.github.nichetoolkit.mybatis.MybatisMapper
* @see io.github.nichetoolkit.mybatis.MybatisDeleteMapper
* @see io.github.nichetoolkit.rice.mapper.DeleteLinkMapper
* @since Jdk1.8
*/
public interface MybatisDeleteLinkMapper, L, I> extends MybatisMapper, MybatisDeleteMapper, DeleteLinkMapper {
@Lang(MybatisSqlSourceCaching.class)
@DeleteProvider(MybatisSqlProviderResolver.class)
Integer deleteByLinkId(@Param("linkId") L linkId);
@Lang(MybatisSqlSourceCaching.class)
@DeleteProvider(MybatisSqlProviderResolver.class)
Integer deleteDynamicByLinkId(@Param("tablename") String tablename, @Param("linkId") L linkId);
@Lang(MybatisSqlSourceCaching.class)
@DeleteProvider(MybatisSqlProviderResolver.class)
Integer deleteAllByLinkIds(@Param("linkIdList") Collection linkIdList);
@Lang(MybatisSqlSourceCaching.class)
@DeleteProvider(MybatisSqlProviderResolver.class)
Integer deleteDynamicAllByLinkIds(@Param("tablename") String tablename, @Param("linkIdList") Collection linkIdList);
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy