This commit is contained in:
2023-11-30 14:25:57 +08:00
parent 5f5160c92e
commit de7d26ad46
5 changed files with 7 additions and 7 deletions

View File

@@ -609,9 +609,9 @@ public class AdapayService {
// 逻辑删除原来审核不通过的记录
List<AdapayMemberAccount> accountList = adapayMemberAccountService.selectAdapayMemberAccountList(dto.getMerchantId());
if (CollectionUtils.isNotEmpty(accountList)) {
Long[] ids = accountList.stream()
.map(AdapayMemberAccount::getId)
.toArray(Long[]::new);
List<String> ids = accountList.stream()
.map(x -> x.getId() + "")
.collect(Collectors.toList());
adapayMemberAccountService.deleteAdapayMemberAccountByIds(ids);
}