|
|
@ -86,6 +86,7 @@ public class ImportBuildingInfoListener extends AnalysisEventListener<BuildingIn |
|
|
|
ImportGeneralDTO dto = ConvertUtils.sourceToTarget(data, ImportGeneralDTO.class); |
|
|
|
dto.setNum(num); |
|
|
|
dto.setCustomerId(formDTO.getCustomerId()); |
|
|
|
info.setNum(num); |
|
|
|
if(StringUtils.isBlank(data.getAgencyName())){ |
|
|
|
nums.add(num); |
|
|
|
disposeErrorMsg(info, "所属组织的值未填写"); |
|
|
@ -384,6 +385,7 @@ public class ImportBuildingInfoListener extends AnalysisEventListener<BuildingIn |
|
|
|
public void disposeErrorMsg(BuildingInfoModel data,String msg){ |
|
|
|
BuildingErrorInfoModel err = ConvertUtils.sourceToTarget(data, BuildingErrorInfoModel.class); |
|
|
|
err.setErrorMsg(msg); |
|
|
|
err.setNum(err.getNum() + NumConstant.ONE); |
|
|
|
errorInfos.add(err); |
|
|
|
} |
|
|
|
|
|
|
|