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:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
@@ -110,7 +110,7 @@ public interface AdapayMemberAccountMapper {
|
||||
* @param ids 需要删除的数据主键集合
|
||||
* @return 结果
|
||||
*/
|
||||
int deleteAdapayMemberAccountByIds(Long[] ids);
|
||||
int deleteAdapayMemberAccountByIds(List<String> ids);
|
||||
|
||||
AdapayMemberAccount selectByMerchantId(String merchantId);
|
||||
|
||||
|
||||
@@ -57,7 +57,7 @@ public interface AdapayMemberAccountService {
|
||||
* @param ids 需要删除的【请填写功能名称】主键集合
|
||||
* @return 结果
|
||||
*/
|
||||
int deleteAdapayMemberAccountByIds(Long[] ids);
|
||||
int deleteAdapayMemberAccountByIds(List<String> ids);
|
||||
|
||||
AdapayMemberAccount selectByMerchantId(String merchantId);
|
||||
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user