绩效编号判断调整/提示语修改/发布代码打包
This commit is contained in:
parent
5e9b754db7
commit
0c63edf9ed
Binary file not shown.
@ -716,11 +716,14 @@ public class PublishExecuteListenerInterfaceImpl extends ExecuteListener impleme
|
|||||||
recordBO.set("PUBDATE", publishDate);
|
recordBO.set("PUBDATE", publishDate);
|
||||||
//回填绩效编号操作
|
//回填绩效编号操作
|
||||||
if (getid.equals("Process_performance_indicator_Number")) {
|
if (getid.equals("Process_performance_indicator_Number")) {
|
||||||
if(UtilString.isNotEmpty(value)){
|
if(UtilString.isEmpty(value)){
|
||||||
attributesJsonArray.getJSONObject(i).put("value", "MA." + before + after +"."+ currentnumber);
|
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(), "");
|
SDK.getBOAPI().create("BO_EU_PER_IND_LIB", recordBO, processInst.getId(), "");
|
||||||
|
|||||||
@ -102,7 +102,7 @@ public class PublishFormBeforeSaveEvent extends InterruptListener implements Int
|
|||||||
}
|
}
|
||||||
|
|
||||||
if(list2.size()==0){
|
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(",");
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@ -123,7 +123,7 @@ public class PublishProcessAfterCompleteEvent extends ExecuteListener implements
|
|||||||
//回填绩效编号操作
|
//回填绩效编号操作
|
||||||
if (getid.equals("Process_performance_indicator_Number")) {
|
if (getid.equals("Process_performance_indicator_Number")) {
|
||||||
|
|
||||||
if (UtilString.isNotEmpty(value)) {
|
if (UtilString.isEmpty(value)) {
|
||||||
|
|
||||||
//获取当前MP绩效最新排序数值
|
//获取当前MP绩效最新排序数值
|
||||||
BO performanceNumberBO = SDK.getBOAPI().query("BO_EU_PERFORMANCE_NUMBER").addQuery("PERFORMANCE_TYPE=", "control.ma").addQuery("PROCESS_NUMBER=", value).detail();
|
BO performanceNumberBO = SDK.getBOAPI().query("BO_EU_PERFORMANCE_NUMBER").addQuery("PERFORMANCE_TYPE=", "control.ma").addQuery("PROCESS_NUMBER=", value).detail();
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user