fix:垃圾代码删除
This commit is contained in:
@@ -369,14 +369,6 @@ public class WalletServiceImpl implements WalletService {
|
|||||||
@Override
|
@Override
|
||||||
public AccountDataVO getAccountList(AccountQueryRequest request) {
|
public AccountDataVO getAccountList(AccountQueryRequest request) {
|
||||||
String storeId = getStoreId(request);
|
String storeId = getStoreId(request);
|
||||||
// 处理shopInfo和store表storeId不一致的问题,使用开店shop_info表的storeId
|
|
||||||
if (StringUtils.isNotBlank(request.getStoreId())) {
|
|
||||||
StoreDO storeDO = storeDao.getByStoreId(request.getStoreId());
|
|
||||||
ShopInfoDO shopInfo = shopInfoDAO.getShopInfoByShopCode(storeDO.getStoreNum());
|
|
||||||
if (Objects.nonNull(shopInfo) && !storeDO.getStoreId().equals(shopInfo.getStoreId())) {
|
|
||||||
storeId = shopInfo.getStoreId();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
List<AccountInfoDTO> accountInfo = walletApiService.getAccountInfo(new OutStoreIdRequest(storeId));
|
List<AccountInfoDTO> accountInfo = walletApiService.getAccountInfo(new OutStoreIdRequest(storeId));
|
||||||
String finalStoreId = storeId;
|
String finalStoreId = storeId;
|
||||||
List<AccountInfoVO> accountList = accountInfo.stream()
|
List<AccountInfoVO> accountList = accountInfo.stream()
|
||||||
|
|||||||
Reference in New Issue
Block a user