public interface IMysqlDeleteMapperPlus<T>
Modifier and Type | Method and Description |
---|---|
Integer |
delSomeByCondition(T condition)
根据条件,删除指定记录集合
注意:condition 是否为null,condition中是否部分属性为null,空字符串;condition中是否全部属性为null,空字符串 入参均不得为null或者为空,为防止造成误删除数据,目前采用SQL语句错误方式处理(“where”后面无内容) |
Integer |
delSomeByPk(String key,
String... ids)
指定主键名称(Java类字段名字符串),主键集合,删除指定记录集合
注意:key 是否 null,是否 空字符串。ids 是否 null,是否部分含有空字符串,是否全部空字符串,是否长度为 0 入参均不得为null或者为空,为防止造成误删除数据,目前采用SQL语句错误方式处理(“where”后面无内容) |
@DeleteProvider(type=DeleteMapperPlusProvider.class, method="dynamicSQL") Integer delSomeByPk(@Param(value="key") String key, @Param(value="ids") String... ids)
key
- ids
- @DeleteProvider(type=DeleteMapperPlusProvider.class, method="dynamicSQL") Integer delSomeByCondition(T condition)
condition
- Copyright © 2018. All rights reserved.