|
|
@@ -65,6 +65,10 @@ public class TableDateServiceImpl implements ITableDateService {
|
|
|
|
|
|
@Override
|
|
|
public void delOutIds(String tableName, List<String> ids) {
|
|
|
- tableDataMapper.delOutIds(tableName, ids);
|
|
|
+ if (ids.size() != 0) {
|
|
|
+ tableDataMapper.delOutIds(tableName, ids);
|
|
|
+ } else {
|
|
|
+ tableDataMapper.clearTable(tableName);
|
|
|
+ }
|
|
|
}
|
|
|
}
|