use of com.nb6868.onex.common.jpa.injector.methods.LogicDeleteByWrapperWithFill in project onex-boot by zhangchaoxu.
the class MySqlInjector method getMethodList.
@Override
public List<AbstractMethod> getMethodList(Class<?> mapperClass, TableInfo tableInfo) {
List<AbstractMethod> methodList = super.getMethodList(mapperClass, tableInfo);
// 增加自动填充逻辑删除
methodList.add(new LogicDeleteByIdWithFill());
methodList.add(new LogicDeleteBatchByIdsWithFill());
methodList.add(new LogicDeleteByWrapperWithFill());
methodList.add(new SelectCountById());
return methodList;
}
Aggregations