| Line 214... |
Line 214... |
| 214 |
|
214 |
|
| 215 |
@RequestMapping(value = "payment/gateway/sddirect/summary", method = RequestMethod.GET, produces = MediaType.APPLICATION_JSON_VALUE)
|
215 |
@RequestMapping(value = "payment/gateway/sddirect/summary", method = RequestMethod.GET, produces = MediaType.APPLICATION_JSON_VALUE)
|
| 216 |
public ResponseEntity<?> getSdDirectLoan(HttpServletRequest request) throws ProfitMandiBusinessException {
|
216 |
public ResponseEntity<?> getSdDirectLoan(HttpServletRequest request) throws ProfitMandiBusinessException {
|
| 217 |
int userId = (int) request.getAttribute(ProfitMandiConstants.USER_ID);
|
217 |
int userId = (int) request.getAttribute(ProfitMandiConstants.USER_ID);
|
| 218 |
int retailerId = userAccountRepository.selectRetailerIdByUserId(userId);
|
218 |
int retailerId = userAccountRepository.selectRetailerIdByUserId(userId);
|
| 219 |
FofoStore fs = fofoStoreRepository.selectByRetailerId(retailerId);
|
- |
|
| 220 |
SDCreditResponseOut sdCreditResponseOut = sdCreditService.sdDirectService(retailerId);
|
219 |
SDCreditResponseOut sdCreditResponseOut = sdCreditService.sdDirectService(retailerId);
|
| 221 |
return responseSender.ok(sdCreditResponseOut);
|
220 |
return responseSender.ok(sdCreditResponseOut);
|
| 222 |
}
|
221 |
}
|
| 223 |
|
222 |
|
| 224 |
}
|
223 |
}
|
| 225 |
|
224 |
|