|
|
|
@ -93,9 +93,11 @@ public class WorkflowSyncCronJob extends BaseCronJob {
|
|
|
|
|
String workflowSql = "SELECT DISTINCT workflowselect as flowCode,workflowname as flowName,effective FROM " + workflowAuthTable +
|
|
|
|
|
" WHERE effective IN (SELECT DISTINCT effective FROM " + workflowAuthTable + ")";
|
|
|
|
|
if (StringUtils.isNotEmpty(timeCondition)) {
|
|
|
|
|
workflowSql += " AND modedatamodifydatetime >=" + timeCondition;
|
|
|
|
|
workflowSql += " AND modedatamodifydatetime >= ?";
|
|
|
|
|
recordSet.execute(workflowSql, timeCondition);
|
|
|
|
|
} else {
|
|
|
|
|
recordSet.execute(workflowSql);
|
|
|
|
|
}
|
|
|
|
|
recordSet.execute(workflowSql);
|
|
|
|
|
//区分有效和无效的流程
|
|
|
|
|
while (recordSet.next()) {
|
|
|
|
|
String effective = recordSet.getString("effective");
|
|
|
|
|