|
@@ -13,6 +13,7 @@ import com.miniframe.model.mdo.MdoProMathfunc;
|
|
|
import com.miniframe.model.mdo.MdoProMathfuncSQLBuilder;
|
|
|
import com.miniframe.model.mdo.dao.MdoProInoutParaMapper;
|
|
|
import com.miniframe.model.mdo.dao.MdoProMathfuncMapper;
|
|
|
+import tk.mybatis.mapper.util.StringUtil;
|
|
|
|
|
|
/**
|
|
|
* 西工大系统,“MatchFuc添加修改”逻辑处理(重新生成不覆盖)。
|
|
@@ -50,8 +51,12 @@ public class MDO0064Service extends MDO0064BaseModel implements ExecProcessFlow
|
|
|
mfcdao.insert(m);
|
|
|
}
|
|
|
delParas(m.getId());
|
|
|
- insetInoutPara(inParams, m.getId(),1,pid);
|
|
|
- insetInoutPara(outParams, m.getId(),2,pid);
|
|
|
+ if(!StringUtil.isEmpty(inParams)){
|
|
|
+ insetInoutPara(inParams, m.getId(),1,pid);
|
|
|
+ }
|
|
|
+ if(!StringUtil.isEmpty(outParams)){
|
|
|
+ insetInoutPara(outParams, m.getId(),2,pid);
|
|
|
+ }
|
|
|
this.getD_mdo0064().setMfcid(m.getId());
|
|
|
}
|
|
|
|