Authored by Lixiaodi

容错处理

... ... @@ -350,7 +350,8 @@ public class MerchantServiceImpl {
info.setLockEarnestMoney(null == lockMoney?null:lockMoney.toString());
info.setAvailEarnestMoney(null == amount?null:amount.toString());
info.setUid(sellerWallet.getUid());
info.setMerchantName((String)storedSellerMap.get(sellerWallet.getUid()).get("cert_name"));
Map<String,Object> certInfo = storedSellerMap.get(sellerWallet.getUid());
info.setMerchantName(certInfo==null?"":(String)certInfo.get("cert_name"));
infos.add(info);
}
return infos;
... ...