测试修改1.0

feature-LeeD-20221025
李栋 3 years ago
parent 2bd03b8b23
commit 0663b48796

@ -206,7 +206,7 @@ public class WorkflowSyncCronJob extends BaseCronJob {
*/
private void writeTimeNode(String timeNodeTable, String currentTime, String syncType, String timeNodeUse, String formmodeid) throws Exception {
RecordSet recordSet = new RecordSet();
String sql = "SET IDENTITY_INSERT uf_sync_timenode ON insert into " + timeNodeTable + " (id,formmodeid,type,timenode,useto) values (?,?,?,?,?)";
String sql = "SET IDENTITY_INSERT " + timeNodeTable + " ON insert into " + timeNodeTable + " (id,formmodeid,type,timenode,useto) values (?,?,?,?,?)";
recordSet.executeUpdate(sql, IdGenerator.getNextId(timeNodeTable), formmodeid, syncType, currentTime, timeNodeUse);
}
}

Loading…
Cancel
Save