Browse Source

函数错误

huangxingxing 3 months ago
parent
commit
20d7c357f5
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/main/java/com/miniframe/bisiness/mdo/MDO0039Service.java

+ 1 - 1
src/main/java/com/miniframe/bisiness/mdo/MDO0039Service.java

@@ -140,7 +140,7 @@ public class MDO0039Service extends MDO0039BaseModel implements ExecProcessFlow
 			//创建run.py
 			TemplateGenerator.createRunpy2(pid);
 			runqt(pid);
-		}else if(cspvo.getMathfunc()!=null){
+		}else if(cspvo!=null&&cspvo.getMathfunc()!=null){
 			//创建workflow
 			String workflowPath =TemplateGenerator.createcWorkflowXmlT(pid,wvo);
 			List<Solver> solvers =new ArrayList<>();