| | |
| | | importRoomFee.setUserId(paramIn.getString("userId")); |
| | | importRoomFee.setStoreId(paramIn.getString("storeId")); |
| | | importRoomFee.setCommunityId(paramIn.getString("communityId")); |
| | | importRoomFee.setImportFileName(paramIn.getString("importFileName")); |
| | | // importRoomFee.setFeeTypeCd(paramIn.getString("feeTypeCd")); |
| | | } |
| | | return importRoomFees; |
| | |
| | | for (int osIndex = 0; osIndex < oList.size(); osIndex++) { |
| | | Object[] os = oList.get(osIndex); |
| | | if (osIndex == 0 || osIndex == 1) { // 第一行是 头部信息 直接跳过 |
| | | continue; |
| | | } |
| | | if (os.length < 9){ |
| | | continue; |
| | | } |
| | | if((os[0] == null && os[2] == null && os[1] == null)){ |
| | |
| | | importRoomFee.setExpenseSubject(os[2] == null?null:os[2].toString()); |
| | | } |
| | | importRoomFee.setIsContractFee(os[0] != null && os[1] ==null && os[2] != null ? "O" : null); |
| | | importRoomFee.setObjType(os[2] != null ? "7777" : null); |
| | | if(os[2] != null){ |
| | | importRoomFee.setObjType("7777"); |
| | | } |
| | | importRoomFee.setContractId(os[0] != null && os[1] ==null && os[2] != null ? os[2].toString() : null); |
| | | importRoomFee.setFeeTypeCd(os[3] == null ? null : os[3].toString()); |
| | | importRoomFee.setFeeName(os[4] == null ? null : os[4].toString()); |