| Line 17... |
Line 17... |
| 17 |
import com.spice.profitmandi.dao.repository.fofo.SalesRatingRepository;
|
17 |
import com.spice.profitmandi.dao.repository.fofo.SalesRatingRepository;
|
| 18 |
import com.spice.profitmandi.dao.repository.transaction.LoanRepository;
|
18 |
import com.spice.profitmandi.dao.repository.transaction.LoanRepository;
|
| 19 |
import com.spice.profitmandi.dao.repository.transaction.TransactionRepository;
|
19 |
import com.spice.profitmandi.dao.repository.transaction.TransactionRepository;
|
| 20 |
import com.spice.profitmandi.dao.repository.user.UserRepository;
|
20 |
import com.spice.profitmandi.dao.repository.user.UserRepository;
|
| 21 |
import com.spice.profitmandi.service.transaction.SDCreditService;
|
21 |
import com.spice.profitmandi.service.transaction.SDCreditService;
|
| 22 |
import com.spice.profitmandi.service.wallet.WalletService;
|
- |
|
| 23 |
import org.apache.logging.log4j.LogManager;
|
22 |
import org.apache.logging.log4j.LogManager;
|
| 24 |
import org.apache.logging.log4j.Logger;
|
23 |
import org.apache.logging.log4j.Logger;
|
| 25 |
import org.springframework.beans.factory.annotation.Autowired;
|
24 |
import org.springframework.beans.factory.annotation.Autowired;
|
| 26 |
import org.springframework.beans.factory.annotation.Value;
|
25 |
import org.springframework.beans.factory.annotation.Value;
|
| 27 |
import org.springframework.mail.javamail.JavaMailSender;
|
26 |
import org.springframework.mail.javamail.JavaMailSender;
|
| Line 70... |
Line 69... |
| 70 |
SalesRatingRepository salesRatingRepository;
|
69 |
SalesRatingRepository salesRatingRepository;
|
| 71 |
|
70 |
|
| 72 |
@Autowired
|
71 |
@Autowired
|
| 73 |
FofoStoreRepository fofoStoreRepository;
|
72 |
FofoStoreRepository fofoStoreRepository;
|
| 74 |
|
73 |
|
| 75 |
@Autowired
|
- |
|
| 76 |
WalletService walletService;
|
- |
|
| 77 |
|
- |
|
| 78 |
public void test() throws Exception {
|
74 |
public void test() throws Exception {
|
| - |
|
75 |
System.out.println("test start");
|
| - |
|
76 |
this.sendRbmFeedbackSummaryEmail();
|
| - |
|
77 |
this.sendSalesFeedbackSummaryEmail();
|
| - |
|
78 |
System.out.println("test end");
|
| 79 |
|
79 |
|
| 80 |
walletService.getUserWalletHistoryByUserId(175140109);
|
- |
|
| 81 |
}
|
80 |
}
|
| 82 |
|
81 |
|
| 83 |
public void createLoanForBillingByTransactionIdAndInvoiceNumber(int transactionId, double invoiceAmount, String invoiceNumber) throws Exception {
|
82 |
public void createLoanForBillingByTransactionIdAndInvoiceNumber(int transactionId, double invoiceAmount, String invoiceNumber) throws Exception {
|
| 84 |
sdCreditService.createLoanForBilling(transactionId, invoiceAmount, invoiceNumber);
|
83 |
sdCreditService.createLoanForBilling(transactionId, invoiceAmount, invoiceNumber);
|
| 85 |
|
84 |
|