对于已发布的文件,被修改状态后,删除知识索引以及取消发布知识后,重新修改状态后,知识文件不发布问题,以及修改文件状态为设计的时候,删除知识索引并且取消发布知识
This commit is contained in:
parent
c297e62873
commit
a6dac891a4
@ -108,6 +108,11 @@ public class UpateFileStateController {
|
|||||||
}
|
}
|
||||||
if (state.equals("1")){
|
if (state.equals("1")){
|
||||||
createFile(plId,me);
|
createFile(plId,me);
|
||||||
|
}else{
|
||||||
|
String sql = "select EXT4 from APP_ACT_COE_PAL_REPOSITORY where ID = '"+plId+"'";
|
||||||
|
String ext4 = DBSql.getString(sql);
|
||||||
|
ProcessInstance processInstance = SDK.getProcessAPI().createProcessInstance("obj_a228b4816a7b4f58a862b9612299948c", "admin", "");
|
||||||
|
CancelPublishKnwl(processInstance,me.getSessionId(),ext4);
|
||||||
}
|
}
|
||||||
|
|
||||||
} else if ("2".equals(type)) {
|
} else if ("2".equals(type)) {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user