Subversion Repositories SmartDukaan

Rev

Rev 1744 | Rev 3125 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1744 Rev 1790
Line 148... Line 148...
148
			commSerialNo++;
148
			commSerialNo++;
149
			Row commContentRow = commSheet.createRow(commSerialNo);
149
			Row commContentRow = commSheet.createRow(commSerialNo);
150
			
150
			
151
			try {
151
			try {
152
				User user = userClient.getUserById(userComm.getUserId());
152
				User user = userClient.getUserById(userComm.getUserId());
153
				if (user.getUserId() == -1) {
153
				if (user.getUserId() != -1) {
154
					commContentRow.createCell(0).setCellValue(user.getEmail());
154
					commContentRow.createCell(0).setCellValue(user.getEmail());
155
					commContentRow.createCell(1).setCellValue(user.getName());
155
					commContentRow.createCell(1).setCellValue(user.getName());
156
					commContentRow.createCell(2).setCellValue(user.getCommunicationEmail());
156
					commContentRow.createCell(2).setCellValue(user.getCommunicationEmail());
157
					commContentRow.createCell(3).setCellValue(user.getDateOfBirth());
157
					commContentRow.createCell(3).setCellValue(user.getDateOfBirth());
158
					commContentRow.createCell(4).setCellValue(user.getMobileNumber());
158
					commContentRow.createCell(4).setCellValue(user.getMobileNumber());