|
|
|
@ -39,8 +39,8 @@ public class WorkflowSyncCronJob extends BaseCronJob {
|
|
|
|
|
String catalogueCode = bb.getPropValue("PORTAL_INFO", "catalogueCode");
|
|
|
|
|
String workflowAuthTable = bb.getPropValue("PORTAL_INFO", "workflowAuthTable");
|
|
|
|
|
String timeNodeTable = bb.getPropValue("PORTAL_INFO", "timeNodeTable");
|
|
|
|
|
String accountName = bb.getPropValue("PORTAL_INFO", "accountName");
|
|
|
|
|
String password = bb.getPropValue("PORTAL_INFO", "password");
|
|
|
|
|
String accountName = bb.getPropValue("PORTAL_INFO", "username");
|
|
|
|
|
String password = bb.getPropValue("PORTAL_INFO", "passwd");
|
|
|
|
|
String timeNodeFormModeId = bb.getPropValue("PORTAL_INFO", "timeNodeFormModeId");
|
|
|
|
|
//全量同步使用全量同步方法
|
|
|
|
|
if (SYNC_ALL.equals(syncType)) {
|
|
|
|
@ -202,7 +202,7 @@ public class WorkflowSyncCronJob extends BaseCronJob {
|
|
|
|
|
*/
|
|
|
|
|
private void writeTimeNode(String timeNodeTable, String currentTime, String syncType, String timeNodeUse, String formmodeid) {
|
|
|
|
|
RecordSet recordSet = new RecordSet();
|
|
|
|
|
String sql = "insert into " + timeNodeTable + "(id,formmodeid,tblx,tbsj,zy) values(?,?,?,?,?)";
|
|
|
|
|
String sql = "insert into " + timeNodeTable + "(id,formmodeid,type,timenode,useto) values(?,?,?,?,?)";
|
|
|
|
|
recordSet.executeUpdate(sql, UUID.randomUUID(), formmodeid, syncType, currentTime, timeNodeUse);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|