|
@@ -32,7 +32,7 @@ import com.baomidou.mybatisplus.core.metadata.TableInfo;
|
|
|
public class DeleteById extends AbstractMethod {
|
|
|
|
|
|
@Override
|
|
|
- MappedStatement injectMappedStatement(Class<?> mapperClass, Class<?> modelClass, TableInfo tableInfo) {
|
|
|
+ public MappedStatement injectMappedStatement(Class<?> mapperClass, Class<?> modelClass, TableInfo tableInfo) {
|
|
|
SqlMethod sqlMethod = SqlMethod.DELETE_BY_ID;
|
|
|
SqlSource sqlSource = languageDriver.createSqlSource(configuration, String.format(sqlMethod.getSql(),
|
|
|
tableInfo.getTableName(), tableInfo.getKeyColumn(), tableInfo.getKeyProperty()), modelClass);
|