Authored by csgyoho

商家管理

@@ -253,7 +253,10 @@ public class MerchantServiceImpl { @@ -253,7 +253,10 @@ public class MerchantServiceImpl {
253 for(SellerWalletDetail detail : beanList) { 253 for(SellerWalletDetail detail : beanList) {
254 MerchantOrderAttachInfo info = exchange(detail); 254 MerchantOrderAttachInfo info = exchange(detail);
255 info.setOrderCode(detail.getOrderCode()); 255 info.setOrderCode(detail.getOrderCode());
256 - info.setMerchantName((String)storedSellerMap.get(detail.getUid()).get("cert_name")); 256 + Map<String,Object> storedSellerDataMap = storedSellerMap.get(detail.getUid());
  257 + if(null != storedSellerDataMap){
  258 + info.setMerchantName((String)storedSellerDataMap.get("cert_name"));
  259 + }
257 boList.add(info); 260 boList.add(info);
258 } 261 }
259 PageResponseBO<MerchantOrderAttachInfo> result=new PageResponseBO<>(); 262 PageResponseBO<MerchantOrderAttachInfo> result=new PageResponseBO<>();