mirror of
https://github.com/continew-org/continew-admin.git
synced 2025-10-26 18:58:37 +08:00
refactor: 优化部分 Mapper 方法使用 (替换为 MP 新增方法)
This commit is contained in:
@@ -197,7 +197,7 @@ public class GeneratorServiceImpl implements GeneratorService {
|
||||
}
|
||||
fieldConfig.setTableName(tableName);
|
||||
}
|
||||
fieldConfigMapper.insertBatch(fieldConfigList);
|
||||
fieldConfigMapper.insert(fieldConfigList);
|
||||
// 保存或更新生成配置信息
|
||||
GenConfigDO newGenConfig = req.getGenConfig();
|
||||
GenConfigDO oldGenConfig = genConfigMapper.selectById(tableName);
|
||||
|
||||
Reference in New Issue
Block a user