| | |
| | | } |
| | | for (int i = startRowIndex + 1; i < dataList.size(); i++) { |
| | | rowList = dataList.get(i); |
| | | System.out.println(rowList.toString()); |
| | | recordFse = new FieldSetEntity(); |
| | | recordFse.setTableName(curTemplateFse.getString(CmnConst.FIELD_TABLE_NAME)); |
| | | //字段对应的列 |
| | | int j = 0; |
| | | for (; j < titleList.size(); j++) { |
| | | for (; j < titleList.size() && j<14; j++) { |
| | | if (rowList.size() < (j + 1)) { |
| | | singleValue = null; |
| | | } else { |
| | | singleValue = rowList.get(j); |
| | | } |
| | | curFieldFse = curSubMap.get(titleList.get(j)); |
| | | System.out.println(curFieldFse.getString(CmnConst.FIELD_FIELD_NAME)+":"+singleValue); |
| | | recordFse.setValue(curFieldFse.getString(CmnConst.FIELD_FIELD_NAME), singleValue); |
| | | if (i == 1 || rowList.size() > fieldIndex.size()) { |
| | | fieldIndex.put(curFieldFse.getString(CmnConst.FIELD_FIELD_NAME), String.valueOf(j)); |