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);
}

View File

@@ -110,7 +110,7 @@ public interface AdapayMemberAccountMapper {
* @param ids 需要删除的数据主键集合
* @return 结果
*/
int deleteAdapayMemberAccountByIds(Long[] ids);
int deleteAdapayMemberAccountByIds(List<String> ids);
AdapayMemberAccount selectByMerchantId(String merchantId);

View File

@@ -57,7 +57,7 @@ public interface AdapayMemberAccountService {
* @param ids 需要删除的【请填写功能名称】主键集合
* @return 结果
*/
int deleteAdapayMemberAccountByIds(Long[] ids);
int deleteAdapayMemberAccountByIds(List<String> ids);
AdapayMemberAccount selectByMerchantId(String merchantId);

View File

@@ -93,7 +93,7 @@ public class AdapayMemberAccountServiceImpl implements AdapayMemberAccountServic
* @return 结果
*/
@Override
public int deleteAdapayMemberAccountByIds(Long[] ids) {
public int deleteAdapayMemberAccountByIds(List<String> ids) {
return adapayMemberAccountMapper.deleteAdapayMemberAccountByIds(ids);
}