...
|
...
|
@@ -36,6 +36,7 @@ import com.yoho.order.dal.ZhimaCertMapper; |
|
|
import com.yoho.order.model.InvestUserBO;
|
|
|
import com.yoho.order.model.SellerReqBO;
|
|
|
import com.yoho.order.model.SellerWallet;
|
|
|
import com.yoho.order.model.StoredSeller;
|
|
|
import com.yoho.order.model.StoredSellerReqVo;
|
|
|
import com.yoho.order.model.TradeBills;
|
|
|
import com.yoho.order.model.TradeBillsReq;
|
...
|
...
|
@@ -154,6 +155,10 @@ public class TradeBillsServiceImpl implements ITradeBillsService { |
|
|
List<StoredSellerRespVo> respList = Lists.newArrayList();
|
|
|
List<SellerWallet> sws = sellerWalletMapper.selectByUidAndMerchantUids(null, CollectionUtil.distinct(ls, ZhimaCert::getUid), 0, ls.size());
|
|
|
Map<Integer, SellerWallet> swsMap = CollectionUtil.extractMap(sws, SellerWallet::getUid);
|
|
|
List<Integer> uidList = ls.stream().map(ZhimaCert::getUid).collect(Collectors.toList());
|
|
|
List<StoredSeller> storedSellerList = storedSellerMapper.selectByUids(uidList);
|
|
|
Map<Integer, StoredSeller> storedSellerMap = CollectionUtil.extractMap(storedSellerList, StoredSeller::getUid);
|
|
|
|
|
|
for (ZhimaCert item : ls) {
|
|
|
StoredSellerRespVo resp = new StoredSellerRespVo();
|
|
|
resp.setUid(item.getUid());
|
...
|
...
|
@@ -180,6 +185,10 @@ public class TradeBillsServiceImpl implements ITradeBillsService { |
|
|
|
|
|
//招商人
|
|
|
resp.setInvestName(item.getInvestName());
|
|
|
|
|
|
//升级入驻卖家PLUS操作信息
|
|
|
resp.setOperatorName(null == storedSellerMap.get(item.getUid()).getOperatorName() ? "-" : storedSellerMap.get(item.getUid()).getOperatorName());
|
|
|
resp.setUpdateTime(null == storedSellerMap.get(item.getUid()).getOperatorName() ? "-" : DateUtil.long2DateStr(storedSellerMap.get(item.getUid()).getUpdateTime()*1000, "yyyy-MM-dd"));
|
|
|
respList.add(resp);
|
|
|
}
|
|
|
return respList;
|
...
|
...
|
|