add destroyAllByExample
This commit is contained in:
@@ -162,4 +162,12 @@ public interface BaseMapper<T, P> {
|
||||
*/
|
||||
@DeleteProvider(type = SQLProvider.class, method = "destroy")
|
||||
void destroy(P id);
|
||||
|
||||
/**
|
||||
* 根据示例批量销毁(物理删除)
|
||||
*
|
||||
* @param t 示例对象
|
||||
*/
|
||||
@UpdateProvider(type = SQLProvider.class, method = "destroyAllByExample")
|
||||
void destroyAllByExample(T t);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user