Subversion Repositories SmartDukaan

Rev

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

Rev 25251 Rev 25506
Line 9... Line 9...
9
import java.util.stream.Collectors;
9
import java.util.stream.Collectors;
10
 
10
 
11
import javax.mail.internet.InternetAddress;
11
import javax.mail.internet.InternetAddress;
12
import javax.mail.internet.MimeMessage;
12
import javax.mail.internet.MimeMessage;
13
import javax.servlet.http.HttpServletRequest;
13
import javax.servlet.http.HttpServletRequest;
-
 
14
import javax.swing.SortOrder;
14
import javax.transaction.Transactional;
15
import javax.transaction.Transactional;
15
 
16
 
16
import org.apache.logging.log4j.LogManager;
17
import org.apache.logging.log4j.LogManager;
17
import org.apache.logging.log4j.Logger;
18
import org.apache.logging.log4j.Logger;
18
import org.json.JSONObject;
19
import org.json.JSONObject;
Line 595... Line 596...
595
			@RequestParam(name = "limit", required = false, defaultValue = "30") int limit, Model model)
596
			@RequestParam(name = "limit", required = false, defaultValue = "30") int limit, Model model)
596
			throws Exception {
597
			throws Exception {
597
 
598
 
598
		UserWallet userWallet = userWalletRepository.selectByRetailerId(fofoId);
599
		UserWallet userWallet = userWalletRepository.selectByRetailerId(fofoId);
599
		List<UserWalletHistory> userWalletHistory = userWalletHistoryRepository
600
		List<UserWalletHistory> userWalletHistory = userWalletHistoryRepository
600
				.selectPaginatedByWalletIdReferenceType(userWallet.getId(), referenceType, offset, limit);
601
				.selectPaginatedByWalletIdReferenceType(userWallet.getId(), referenceType, SortOrder.DESCENDING, offset, limit);
601
 
602
 
602
		CustomRetailer customretailer = retailerService.getFofoRetailer(fofoId);
603
		CustomRetailer customretailer = retailerService.getFofoRetailer(fofoId);
603
 
604
 
604
		model.addAttribute("userWallet", userWallet);
605
		model.addAttribute("userWallet", userWallet);
605
		model.addAttribute("customretailer", customretailer);
606
		model.addAttribute("customretailer", customretailer);