| | |
| | | } |
| | | } |
| | | |
| | | //通知单编码 |
| | | cell = row.getCell(cellNum++); |
| | | if(cell == null || cell.getCellType() == CellType.BLANK){ |
| | | resultData.setNoticeId(""); |
| | | }else { |
| | | cell.setCellType(CellType.STRING); |
| | | String noticeId = cell.getStringCellValue().trim(); |
| | | if(StringUtils.isNotEmpty(noticeId)){ |
| | | resultData.setNoticeId(noticeId); |
| | | } |
| | | } |
| | | |
| | | //装卸仓库 |
| | | cell = row.getCell(cellNum++); |
| | | if(cell == null || cell.getCellType() == CellType.BLANK){ |
| | |
| | | } |
| | | } |
| | | |
| | | if(null != resultData.getFullWeight() && null != resultData.getEmptyWeight()){ |
| | | resultData.setNetWeight(resultData.getFullWeight() - resultData.getEmptyWeight()); |
| | | } |
| | | return resultData; |
| | | } |
| | | |