@Test
public void testBatchInsert(){

	List<InstanceFlow> instanceList = new ArrayList<InstanceFlow>();
	for (int i=0; i<10; i++) {
		InstanceFlow instance = new InstanceFlow();
		instance.setInstanceFlowId(UUID.randomUUID().toString().replace("-", ""));
		instance.setSourceTaskId(100);
		instance.setInitTime(new Date());
		instance.setStartTime(new Date());
		instance.setEndTime(new Date());
		instance.setStatus(ExecStatus.Success.name());
		instance.setLog(null);
		instanceList.add(instance);
	}
	instanceFlowService.batchInsert(instanceList);
}