This commit is contained in:
2023-07-13 15:50:05 +08:00
parent ee66952ccf
commit 26a9e14ced
2 changed files with 2 additions and 5 deletions

View File

@@ -36,7 +36,6 @@ import java.io.IOException;
import java.math.BigDecimal;
import java.util.List;
import java.util.Map;
import java.util.stream.Collectors;
@Slf4j
@Service
@@ -416,8 +415,7 @@ public class AdapayMemberService {
if (CollectionUtils.isNotEmpty(accountList)) {
Long[] ids = accountList.stream()
.map(AdapayMemberAccount::getId)
.collect(Collectors.toList())
.toArray(new Long[]{});
.toArray(Long[]::new);
adapayMemberAccountService.deleteAdapayMemberAccountByIds(ids);
}