| @@ -136,9 +136,6 @@ public class SaxRowRead extends ImportBaseService implements ISaxRowRead { | |||||
| addListContinue(object, param, datas, titlemap, targetId, params); | addListContinue(object, param, datas, titlemap, targetId, params); | ||||
| } | } | ||||
| } else { | } else { | ||||
| if (object != null && hanlder != null) { | |||||
| hanlder.handler(object); | |||||
| } | |||||
| object = PoiPublicUtil.createObject(pojoClass, targetId); | object = PoiPublicUtil.createObject(pojoClass, targetId); | ||||
| SaxReadCellEntity entity; | SaxReadCellEntity entity; | ||||
| for (int i = 0, le = datas.size(); i < le; i++) { | for (int i = 0, le = datas.size(); i < le; i++) { | ||||
| @@ -148,6 +145,9 @@ public class SaxRowRead extends ImportBaseService implements ISaxRowRead { | |||||
| saveFieldValue(params, object, entity, excelParams, titleString); | saveFieldValue(params, object, entity, excelParams, titleString); | ||||
| } | } | ||||
| } | } | ||||
| if (object != null && hanlder != null) { | |||||
| hanlder.handler(object); | |||||
| } | |||||
| for (ExcelCollectionParams param : excelCollection) { | for (ExcelCollectionParams param : excelCollection) { | ||||
| addListContinue(object, param, datas, titlemap, targetId, params); | addListContinue(object, param, datas, titlemap, targetId, params); | ||||
| } | } | ||||