From e691b98e02153c9c439d7f5acb468924572d75d9 Mon Sep 17 00:00:00 2001 From: dengzedong <dengzedong@email> Date: 星期四, 09 一月 2025 17:31:17 +0800 Subject: [PATCH] item动态时间粒度 --- iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/model/mcs/pre/service/impl/MmModelArithSettingsServiceImpl.java | 7 +++++++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git a/iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/model/mcs/pre/service/impl/MmModelArithSettingsServiceImpl.java b/iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/model/mcs/pre/service/impl/MmModelArithSettingsServiceImpl.java index 8059a9f..dc13a83 100644 --- a/iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/model/mcs/pre/service/impl/MmModelArithSettingsServiceImpl.java +++ b/iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/model/mcs/pre/service/impl/MmModelArithSettingsServiceImpl.java @@ -53,4 +53,11 @@ modelIdMap.put(modelId, list); return list; } + + @Override + public void updatePyFile(String pyModule, String fileName) { + baseMapper.updatePyFile(pyModule + "." + fileName.substring(0,fileName.lastIndexOf("_")+1),pyModule + "." + fileName); + // 清空缓存 + modelIdMap.clear(); + } } -- Gitblit v1.9.3