本文整理了Java中org.apache.ibatis.annotations.DeleteProvider.<init>()
方法的一些代码示例,展示了DeleteProvider.<init>()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。DeleteProvider.<init>()
方法的具体详情如下:
包路径:org.apache.ibatis.annotations.DeleteProvider
类名称:DeleteProvider
方法名:<init>
暂无
代码示例来源:origin: abel533/Mapper
/**
* 根据实体属性作为条件进行删除,查询条件使用等号
*
* @param record
* @return
*/
@DeleteProvider(type = BaseDeleteProvider.class, method = "dynamicSQL")
int delete(T record);
代码示例来源:origin: abel533/Mapper
/**
* 根据Example条件删除数据
*
* @param example
* @return
*/
@DeleteProvider(type = ExampleProvider.class, method = "dynamicSQL")
int deleteByExample(Object example);
代码示例来源:origin: abel533/Mapper
/**
* 根据Condition条件删除数据
*
* @param condition
* @return
*/
@DeleteProvider(type = ConditionProvider.class, method = "dynamicSQL")
int deleteByCondition(Object condition);
代码示例来源:origin: abel533/Mapper
/**
* 根据实体属性作为条件进行删除,查询条件使用等号
*
* @param record
* @return
*/
@DeleteProvider(type = BaseDeleteProvider.class, method = "dynamicSQL")
int delete(T record);
代码示例来源:origin: abel533/Mapper
/**
* 根据Example条件删除数据
*
* @param example
* @return
*/
@DeleteProvider(type = ExampleProvider.class, method = "dynamicSQL")
int deleteByExample(Object example);
代码示例来源:origin: abel533/Mapper
/**
* 根据主键字符串进行删除,类中只有存在一个带有@Id注解的字段
*
* @param ids 如 "1,2,3,4"
* @return
*/
@DeleteProvider(type = IdsProvider.class, method = "dynamicSQL")
int deleteByIds(String ids);
代码示例来源:origin: abel533/Mapper
/**
* 根据Condition条件删除数据
*
* @param condition
* @return
*/
@DeleteProvider(type = ConditionProvider.class, method = "dynamicSQL")
int deleteByCondition(Object condition);
代码示例来源:origin: abel533/Mapper
/**
* 根据主键字段进行删除,方法参数必须包含完整的主键属性
*
* @param key
* @return
*/
@DeleteProvider(type = BaseDeleteProvider.class, method = "dynamicSQL")
int deleteByPrimaryKey(Object key);
代码示例来源:origin: abel533/Mapper
/**
* 根据主键字段进行删除,方法参数必须包含完整的主键属性
*
* @param key
* @return
*/
@DeleteProvider(type = BaseDeleteProvider.class, method = "dynamicSQL")
int deleteByPrimaryKey(Object key);
代码示例来源:origin: abel533/Mapper
/**
* 根据主键字符串进行删除,类中只有存在一个带有@Id注解的字段
*
* @param ids 如 "1,2,3,4"
* @return
*/
@DeleteProvider(type = IdsProvider.class, method = "dynamicSQL")
int deleteByIds(String ids);
代码示例来源:origin: codingapi/tx-lcn
@DeleteProvider(type = TxExceptionMapperProvider.class, method = "deleteByIdList")
void deleteByIdList(List<Long> ids);
}
代码示例来源:origin: abel533/Mapper
/**
* 根据主键字符串进行删除,类中只有存在一个带有@Id注解的字段
*
* @param idList
* @return
*/
@DeleteProvider(type = IdListProvider.class, method = "dynamicSQL")
int deleteByIdList(@Param("idList") List<PK> idList);
代码示例来源:origin: abel533/Mapper
/**
* 根据主键字符串进行删除,类中只有存在一个带有@Id注解的字段
*
* @param idList
* @return
*/
@DeleteProvider(type = IdListProvider.class, method = "dynamicSQL")
int deleteByIdList(@Param("idList") List<PK> idList);
代码示例来源:origin: rhwayfun/spring-boot-learning-examples
@DeleteProvider(type = UserSqlProvider.class, method = "deleteSql")
int remove(Long userId);
代码示例来源:origin: mybatis-book/book
@DeleteProvider(type = PrivilegeProvider.class, method = "deleteById")
int deleteById(Long id);
代码示例来源:origin: tk.mybatis/mapper-base
/**
* 根据主键字符串进行删除,类中只有存在一个带有@Id注解的字段
*
* @param ids 如 "1,2,3,4"
* @return
*/
@DeleteProvider(type = IdsProvider.class, method = "dynamicSQL")
int deleteByIds(String ids);
代码示例来源:origin: com.hand.hap.cloud/hap-mybatis-mapper-starter
/**
* 根据主键字段进行删除,方法参数必须包含完整的主键属性
*
* @param key
* @return
*/
@DeleteProvider(type = BaseDeleteProvider.class, method = "dynamicSQL")
int deleteByPrimaryKey(Object key);
代码示例来源:origin: tk.mybatis/mapper-base
/**
* 根据Condition条件删除数据
*
* @param condition
* @return
*/
@DeleteProvider(type = ConditionProvider.class, method = "dynamicSQL")
int deleteByCondition(Object condition);
代码示例来源:origin: com.gitee.hengboy/mybatis-enhance-core
/**
* 根据数组的形式删除
*
* @param ids 编号数组
* @throws EnhanceFrameworkException 增强框架异常
*/
@DeleteProvider(type = OrmDeleteArrayProvider.class, method = "empty")
void deleteArray(@Param("array") Id... ids) throws EnhanceFrameworkException;
}
代码示例来源:origin: com.gitee.hengboy/mybatis-enhance-core
/**
* 根据指定的sql删除
*
* @param sql 传递的动态删除的sql
* @param params 参数列表
* @throws EnhanceFrameworkException 增强框架异常
*/
@DeleteProvider(type = OrmDeleteDslProvider.class, method = "empty")
void deleteBySql(@Param("sql") String sql, @Param("param") Map<String, Object> params) throws EnhanceFrameworkException;
}
内容来源于网络,如有侵权,请联系作者删除!