批量修改更改清单的文件
This commit is contained in:
parent
7dadf6acf3
commit
59f76bca40
@ -24,9 +24,13 @@ public class UpdateKnowJobs implements IJob {
|
||||
@Override
|
||||
public void execute(JobExecutionContext jobExecutionContext) throws JobExecutionException {
|
||||
Connection open = DBSql.open();
|
||||
List<BO> list = SDK.getBOAPI().query("BO_ACT_COE_PUBLISH", true).addQuery("SEND_SCOP=", "1").addQuery("SEND_SCOPE_ORG IS NULL", null).list();
|
||||
List<BO> list = SDK.getBOAPI().query("BO_ACT_COE_PUBLISH", true).addQuery("ISEND=","1").addQuery("SEND_SCOP=", "1").addQuery("SEND_SCOPE_ORG IS NULL", null).list();
|
||||
for (BO bo:list) {
|
||||
String bindid = bo.getString("BINDID");
|
||||
ProcessInstance instanceById = SDK.getProcessAPI().getInstanceById(bindid);
|
||||
boolean end = instanceById.isEnd();
|
||||
if (end) {
|
||||
|
||||
List<BO> bo_act_coe_publish_n = SDK.getBOAPI().query("BO_ACT_COE_PUBLISH_N", true).addQuery("BINDID = ", bindid).list();
|
||||
for (BO bo1 : bo_act_coe_publish_n) {
|
||||
String publishfileid = bo1.getString("PUBLISHFILEID");
|
||||
@ -67,6 +71,7 @@ public class UpdateKnowJobs implements IJob {
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public boolean AddKnwlAC(JSONArray jsonArray, String sid,
|
||||
String knwlId) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user