mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-20 19:15:35 +08:00
update
This commit is contained in:
@@ -36,6 +36,7 @@ import java.io.IOException;
|
||||
import java.math.BigDecimal;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
import java.util.stream.Collectors;
|
||||
|
||||
@Slf4j
|
||||
@Service
|
||||
@@ -413,7 +414,10 @@ public class AdapayMemberService {
|
||||
// 逻辑删除原来审核不通过的记录
|
||||
List<AdapayMemberAccount> accountList = adapayMemberAccountService.selectAdapayMemberAccountList(dto.getMerchantId());
|
||||
if (CollectionUtils.isNotEmpty(accountList)) {
|
||||
Long[] ids = (Long[]) accountList.stream().map(AdapayMemberAccount::getId).toArray();
|
||||
Long[] ids = accountList.stream()
|
||||
.map(AdapayMemberAccount::getId)
|
||||
.collect(Collectors.toList())
|
||||
.toArray(new Long[]{});
|
||||
adapayMemberAccountService.deleteAdapayMemberAccountByIds(ids);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user