|
@@ -161,7 +161,7 @@ public class GenTableServiceImpl implements IGenTableService {
|
|
|
@Override
|
|
@Override
|
|
|
public void deleteGenTableByIds(Long[] tableIds) {
|
|
public void deleteGenTableByIds(Long[] tableIds) {
|
|
|
List<Long> ids = Arrays.asList(tableIds);
|
|
List<Long> ids = Arrays.asList(tableIds);
|
|
|
- baseMapper.deleteBatchIds(ids);
|
|
|
|
|
|
|
+ baseMapper.deleteByIds(ids);
|
|
|
genTableColumnMapper.delete(new LambdaQueryWrapper<GenTableColumn>().in(GenTableColumn::getTableId, ids));
|
|
genTableColumnMapper.delete(new LambdaQueryWrapper<GenTableColumn>().in(GenTableColumn::getTableId, ids));
|
|
|
}
|
|
}
|
|
|
|
|
|
|
@@ -328,7 +328,7 @@ public class GenTableServiceImpl implements IGenTableService {
|
|
|
if (CollUtil.isNotEmpty(delColumns)) {
|
|
if (CollUtil.isNotEmpty(delColumns)) {
|
|
|
List<Long> ids = StreamUtils.toList(delColumns, GenTableColumn::getColumnId);
|
|
List<Long> ids = StreamUtils.toList(delColumns, GenTableColumn::getColumnId);
|
|
|
if (CollUtil.isNotEmpty(ids)) {
|
|
if (CollUtil.isNotEmpty(ids)) {
|
|
|
- genTableColumnMapper.deleteBatchIds(ids);
|
|
|
|
|
|
|
+ genTableColumnMapper.deleteByIds(ids);
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|