支持文件选择全部状态/表单去掉图/去掉输出/pal打包

This commit is contained in:
zhal 2022-10-26 16:03:21 +08:00
parent db82ee8528
commit 4c0cf05bd9
4 changed files with 7 additions and 10 deletions

View File

@ -128,9 +128,9 @@ public class CoeDesignerDefaultDao {
JSONObject definition = JSONObject.parseObject(define);
} catch (Exception e) {
e.printStackTrace();
System.out.println("-----------错误信息输出Start-----------");
/*System.out.println("-----------错误信息输出Start-----------");
SDK.getLogAPI().consoleErr(define);
System.out.println("-----------错误信息输出End-----------");
System.out.println("-----------错误信息输出End-----------");*/
}

View File

@ -894,12 +894,11 @@ public class DesignerRelationShapeWeb extends ActionWeb {
JSONObject jsonObject = objects.getJSONObject(i);
String isParent = jsonObject.getString("isParent");
if (isParent != null) {
if (isParent.equals("false")) {
RowMap isPublishRowMap = DBSql.getMap("SELECT ISPUBLISH FROM APP_ACT_COE_PAL_REPOSITORY WHERE PLNAME=? AND ISUSE=?", jsonObject.getString("name"), 1);
if(isPublishRowMap.getString("ISPUBLISH").equals("0")){
/*if(isPublishRowMap.getString("ISPUBLISH").equals("0")){*/
//过滤废止数据
RowMap rowMap = DBSql.getMap("SELECT ISSTOP FROM APP_ACT_COE_PAL_REPOSITORY WHERE PLNAME=? AND ISUSE=?", jsonObject.getString("name"), 1);
String isstop=rowMap.getString("ISSTOP");
@ -909,7 +908,7 @@ public class DesignerRelationShapeWeb extends ActionWeb {
jsonObject.put("nocheck", false);
jsonArr_new.add(jsonObject);
}
}
/*}*/
} else {
@ -1338,10 +1337,8 @@ public class DesignerRelationShapeWeb extends ActionWeb {
node.put("nocheck", true);
result.add(node);
}else if(isParent.equals("false")){
if(rowMap.getString("ISPUBLISH").equals("0")) {
node.put("nocheck", false);
result.add(node);
}
node.put("nocheck", false);
result.add(node);
}

View File

@ -8593,7 +8593,7 @@ public class CoeProcessLevelWeb extends ActionWeb {
graphTitle="角色";
}else if(methodId.equals("data.form")){
//如果新建表单图需与当前模型建立在同一级目录下
titleName="表单";
titleName="表单";
shapName="form";
parentId=plparentid;
category="data";