Browse Source

版本数据为空异常处理

dev-complex-computation
chenzhihang 1 year ago
parent
commit
3242805ecf
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      ruoyi-modules/management-platform/src/main/java/com/ruoyi/platform/service/impl/ModelsServiceImpl.java

+ 2
- 0
ruoyi-modules/management-platform/src/main/java/com/ruoyi/platform/service/impl/ModelsServiceImpl.java View File

@@ -1122,6 +1122,8 @@ public class ModelsServiceImpl implements ModelsService {
versionVos.add(versionVo);
}
modelsVo.setModelVersionVos(versionVos);
} else {
throw new Exception("版本数据为空");
}

return modelsVo;


Loading…
Cancel
Save