绩效编号判断调整/提示语修改/发布代码打包

This commit is contained in:
zhal 2022-09-14 14:20:32 +08:00
parent 5e9b754db7
commit 0c63edf9ed
4 changed files with 7 additions and 4 deletions

View File

@ -716,11 +716,14 @@ public class PublishExecuteListenerInterfaceImpl extends ExecuteListener impleme
recordBO.set("PUBDATE", publishDate);
//回填绩效编号操作
if (getid.equals("Process_performance_indicator_Number")) {
if(UtilString.isNotEmpty(value)){
if(UtilString.isEmpty(value)){
attributesJsonArray.getJSONObject(i).put("value", "MA." + before + after +"."+ currentnumber);
}
recordBO.set("PROCESS_PERFORMANCE_IND_NUM","MA." + before + after +"."+ currentnumber);
}
}
}
}
SDK.getBOAPI().create("BO_EU_PER_IND_LIB", recordBO, processInst.getId(), "");

View File

@ -102,7 +102,7 @@ public class PublishFormBeforeSaveEvent extends InterruptListener implements Int
}
if(list2.size()==0){
sb.append("模型名称:").append(shape.get("plName")).append("[").append("节点名称:").append("'"+shape.get("name")+"'").append("未上传附件,请检查").append("]").append(",");
sb.append(rowData.getString("PUBLISHFILENAME")).append("关联模型名称:").append("").append(shape.get("plName")).append("").append("节点名称:").append(""+shape.get("name")+"").append("未上传附件,请检查!!!").append(",");
}
}

View File

@ -123,7 +123,7 @@ public class PublishProcessAfterCompleteEvent extends ExecuteListener implements
//回填绩效编号操作
if (getid.equals("Process_performance_indicator_Number")) {
if (UtilString.isNotEmpty(value)) {
if (UtilString.isEmpty(value)) {
//获取当前MP绩效最新排序数值
BO performanceNumberBO = SDK.getBOAPI().query("BO_EU_PERFORMANCE_NUMBER").addQuery("PERFORMANCE_TYPE=", "control.ma").addQuery("PROCESS_NUMBER=", value).detail();