绩效代码完善
This commit is contained in:
parent
3d3ecad7df
commit
be4c1cc53b
@ -800,7 +800,7 @@ public class PublishExecuteListenerInterfaceImpl extends ExecuteListener impleme
|
||||
String getid1 = attributesJsonArray.getJSONObject(c).getString("id");
|
||||
String value1 = attributesJsonArray.getJSONObject(c).getString("value");
|
||||
if (getid1.equals("Process_performance_indicator_Number")) {
|
||||
if (UtilString.isEmpty(value1) || !value1.contains("MA")) {
|
||||
if (UtilString.isEmpty(value1) || !value1.contains("MP")) {
|
||||
insertFlag = true;
|
||||
}
|
||||
}
|
||||
@ -833,9 +833,9 @@ public class PublishExecuteListenerInterfaceImpl extends ExecuteListener impleme
|
||||
}
|
||||
currentnumber++;
|
||||
|
||||
attributesJsonArray.getJSONObject(i).put("value", "MA." + before + after + "." + currentnumber);
|
||||
attributesJsonArray.getJSONObject(i).put("value", "MP." + before + after + "." + currentnumber);
|
||||
|
||||
recordBO.set("PROCESS_PERFORMANCE_IND_NUM", "MA." + before + after + "." + currentnumber);
|
||||
recordBO.set("PROCESS_PERFORMANCE_IND_NUM", "MP." + before + after + "." + currentnumber);
|
||||
|
||||
|
||||
if (performanceNumberBO != null) {
|
||||
|
||||
@ -132,9 +132,7 @@ public class PublishFormBeforeSaveEvent extends InterruptListener implements Int
|
||||
boolean publish = onemodel.isPublish();
|
||||
//如果状态是未发布
|
||||
if (isUse == true && publish == false) {
|
||||
if(onemodel.getMethodId().equals("data.form")) {
|
||||
fileElements = CoeDesignerUtil.getShapeMessageJson4(onemodel.getId());
|
||||
}
|
||||
RowMap publishNrowMap = DBSql.getMap("SELECT T1.* FROM BO_ACT_COE_PUBLISH_N T1 LEFT JOIN APP_ACT_COE_PAL_REPOSITORY T2 on T1.PUBLISHFILEID=T2.ID WHERE T1.BINDID=? AND T1.PUBLISHFILEID=? AND T2.ISPUBLISH=0", bindid, splitRelationFileId[i]);
|
||||
|
||||
|
||||
@ -156,10 +154,8 @@ public class PublishFormBeforeSaveEvent extends InterruptListener implements Int
|
||||
|
||||
if(isUseV==true && isPublishV==false) {
|
||||
|
||||
if(onemodel.getMethodId().equals("data.form")) {
|
||||
fileElements = CoeDesignerUtil.getShapeMessageJson4(onemodel.getId());
|
||||
|
||||
}
|
||||
RowMap publishCrowMap = DBSql.getMap("SELECT T1.* FROM BO_ACT_COE_PUBLISH_C T1 LEFT JOIN APP_ACT_COE_PAL_REPOSITORY T2 on T1.CHANGEDFILEIDNEW=T2.ID WHERE T1.BINDID=? AND T1.CHANGEDFILEIDNEW=? AND T2.ISPUBLISH=0", bindid, splitRelationFileId[0]);
|
||||
|
||||
|
||||
@ -181,9 +177,8 @@ public class PublishFormBeforeSaveEvent extends InterruptListener implements Int
|
||||
boolean isPublishV=versions.get(k).isPublish();
|
||||
|
||||
if(isUseV==true && isPublishV==false) {
|
||||
if(onemodel.getMethodId().equals("data.form")) {
|
||||
|
||||
fileElements = CoeDesignerUtil.getShapeMessageJson4(onemodel.getId());
|
||||
}
|
||||
RowMap publishCrowMap = DBSql.getMap("SELECT T1.* FROM BO_ACT_COE_PUBLISH_C T1 LEFT JOIN APP_ACT_COE_PAL_REPOSITORY T2 on T1.CHANGEDFILEIDNEW=T2.ID WHERE T1.BINDID=? AND T1.CHANGEDFILEIDNEW=? AND T2.ISPUBLISH=0", bindid, splitRelationFileId[0]);
|
||||
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user