模型bugfix

This commit is contained in:
2025-02-11 21:39:58 +08:00
parent f9f00ea4bd
commit a84ec9dff5
3 changed files with 68 additions and 3 deletions

View File

@@ -81,7 +81,8 @@ public class ModelsServiceImpl extends ServiceImpl<MachineLearningModelsMapper,
String key = RedisUtils.getPrimaryKey(TableEnum.T_MACHINE_LEARNING_MODELS, id);
machineLearningModels = redisManager.getByPrimaryKey(key, MachineLearningModels.class);
} else {
machineLearningModels = this.selectById(id);
// machineLearningModels = this.selectById(id);
machineLearningModels = machineLearningModelsMapper.selectById(id);
}
return machineLearningModels;