Interface DeleteByPropertyMapper<T>
- Type Parameters:
T- 泛型
public interface DeleteByPropertyMapper<T>
删除
- Since:
- Java 17+
- Author:
- Kimi Liu
-
Method Summary
Modifier and TypeMethodDescriptionintdeleteBetweenByProperty(org.miaixz.bus.core.center.function.FunctionX<T, ?> fn, Object begin, Object end) 根据属性及对应值进行删除,删除条件使用 betweenintdeleteByProperty(org.miaixz.bus.core.center.function.FunctionX<T, ?> fn, Object value) 根据实体中的属性删除,条件使用等号intdeleteInByProperty(org.miaixz.bus.core.center.function.FunctionX<T, ?> fn, Object value) 根据实体中的属性删除,条件使用 in
-
Method Details
-
deleteByProperty
@DeleteProvider(type=DeletePropertyProvider.class, method="dynamicSQL") int deleteByProperty(@Param("fn") org.miaixz.bus.core.center.function.FunctionX<T, ?> fn, @Param("value") Object value) 根据实体中的属性删除,条件使用等号- Parameters:
fn- 属性value- 属性值- Returns:
- the int
-
deleteInByProperty
@DeleteProvider(type=DeletePropertyProvider.class, method="dynamicSQL") int deleteInByProperty(@Param("fn") org.miaixz.bus.core.center.function.FunctionX<T, ?> fn, @Param("values") Object value) 根据实体中的属性删除,条件使用 in- Parameters:
fn- 属性value- 属性值- Returns:
- the int
-
deleteBetweenByProperty
@SelectProvider(type=DeletePropertyProvider.class, method="dynamicSQL") int deleteBetweenByProperty(@Param("fn") org.miaixz.bus.core.center.function.FunctionX<T, ?> fn, @Param("begin") Object begin, @Param("end") Object end) 根据属性及对应值进行删除,删除条件使用 between- Parameters:
fn- 属性begin- 开始值end- 开始值- Returns:
- the int
-