| | |
| | | sheet = ImportExcelUtils.getSheet(workbook, "白单流水 导入新模板"); |
| | | List<Object[]> oList = ImportExcelUtils.listFromSheet(sheet); |
| | | PropertyWhiteListFlowDto white = null; |
| | | List<Map<String, Object>> maps = BeanConvertUtil.beanCovertMapListC(communityInnerServiceSMOImpl.queryCommunitys(new CommunityDto())); |
| | | for (int osIndex = 0; osIndex < oList.size(); osIndex++) { |
| | | Object[] os = oList.get(osIndex); |
| | | if (osIndex == 0) { // 第一行是 头部信息 直接跳过 |
| | |
| | | inputTime = Vtil.defaultValueToDate(os[24]); |
| | | } |
| | | white.setChargeTime(chargeTime);//收费时间 |
| | | white.setInvoiceReceiptNo(Vtil.defaultValueToDate(os[4]));//发票 |
| | | white.setInvoiceReceiptNo(Vtil.defaultValue(os[4]));//发票 |
| | | white.setRoomId(os[5] == null ? null : os[5].toString());//房号 |
| | | white.setPropertyAddress(os[5] == null ? null : os[5].toString());//业主地址 |
| | | white.setDoorRoomNum((os[6] == null ? "" : os[6].toString() + "-") + (os[7] == null ? "" : os[7].toString() + "-") + (os[8] == null ? "" : os[8].toString()) );//门市号 |
| | | if (white.getDoorRoomNum().isEmpty()){ |
| | | white.setDoorRoomNum(null); |
| | | } |
| | | List<Map<String, Object>> maps = BeanConvertUtil.beanCovertMapListC(communityInnerServiceSMOImpl.queryCommunitys(new CommunityDto())); |
| | | setCommunityId(white, os, maps); |
| | | white.setSecondaryFeeTypeCd(os[13] == null ? null : os[13].toString());//收费内容 |
| | | white.setChargeAmount(os[14] == null ? null : os[14].toString());//收费金额 |