@Test
public void testBatchInsert(){

	List<InstanceTaskDB> instanceTaskDBList = new ArrayList<InstanceTaskDB>();
	for (int i=0; i<10; i++) {
		InstanceTaskDB instanceDB = new InstanceTaskDB();
		instanceDB.setInstanceFlowId(UUID.randomUUID().toString().replace("-", ""));
		instanceDB.setFileId(100);
		instanceDB.setFileBody("{xxxx}");
		instanceDB.setReadyTime(new Date());
		instanceDB.setStartTime(new Date());
		instanceDB.setEndTime(new Date());
		instanceDB.setStatus(ExecStatus.Success.name());
		instanceDB.setRetriedTimes(2);
		instanceDB.setLog(null);
		instanceDB.setPoolActiveCount(10);
		instanceDB.setPoolQueueSize(10);
		instanceTaskDBList.add(instanceDB);
	}
	instanceTaskService.batchInsert(instanceTaskDBList);
}