Skip to content

Commit

Permalink
Update AccountController.java
Browse files Browse the repository at this point in the history
  • Loading branch information
leslie52 authored Sep 19, 2016
1 parent abe2ac7 commit fa37ee0
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,10 @@ public String getAccountInfo(HttpServletRequest request) {
String userNo = rpUserInfo.getUserNo();
RpAccount rpAccount = rpAccountService.getDataByUserNo(userNo);
RpUserPayConfig rpUserPayConfig = rpUserPayConfigService.getByUserNo(userNo);
List<RpPayWay> rpPayWayList = rpPayWayService.listByProductCode(rpUserPayConfig.getProductCode());
List<RpPayWay> rpPayWayList = new ArrayList<RpPayWay>();
if(rpUserPayConfig != null){
rpPayWayList = rpPayWayService.listByProductCode(rpUserPayConfig.getProductCode());
}


request.setAttribute("rpAccount", rpAccount);
Expand Down

0 comments on commit fa37ee0

Please sign in to comment.