// ============================
// 将生成的item对象合并到结果对象中
private synchronized void merge(Identity identity, Map<Class, BatchObject> data, Object item) {
Class clazz = item.getClass();
BatchObject batchObject = data.get(clazz);
// 初始化一下对象
if (batchObject == null) {
batchObject = initBatchObject(identity, clazz);
data.put(clazz, batchObject);
}