mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-07-09 08:27:58 +08:00
update
This commit is contained in:
@@ -609,9 +609,9 @@ public class AdapayService {
|
|||||||
// 逻辑删除原来审核不通过的记录
|
// 逻辑删除原来审核不通过的记录
|
||||||
List<AdapayMemberAccount> accountList = adapayMemberAccountService.selectAdapayMemberAccountList(dto.getMerchantId());
|
List<AdapayMemberAccount> accountList = adapayMemberAccountService.selectAdapayMemberAccountList(dto.getMerchantId());
|
||||||
if (CollectionUtils.isNotEmpty(accountList)) {
|
if (CollectionUtils.isNotEmpty(accountList)) {
|
||||||
Long[] ids = accountList.stream()
|
List<String> ids = accountList.stream()
|
||||||
.map(AdapayMemberAccount::getId)
|
.map(x -> x.getId() + "")
|
||||||
.toArray(Long[]::new);
|
.collect(Collectors.toList());
|
||||||
adapayMemberAccountService.deleteAdapayMemberAccountByIds(ids);
|
adapayMemberAccountService.deleteAdapayMemberAccountByIds(ids);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -110,7 +110,7 @@ public interface AdapayMemberAccountMapper {
|
|||||||
* @param ids 需要删除的数据主键集合
|
* @param ids 需要删除的数据主键集合
|
||||||
* @return 结果
|
* @return 结果
|
||||||
*/
|
*/
|
||||||
int deleteAdapayMemberAccountByIds(Long[] ids);
|
int deleteAdapayMemberAccountByIds(List<String> ids);
|
||||||
|
|
||||||
AdapayMemberAccount selectByMerchantId(String merchantId);
|
AdapayMemberAccount selectByMerchantId(String merchantId);
|
||||||
|
|
||||||
|
|||||||
@@ -57,7 +57,7 @@ public interface AdapayMemberAccountService {
|
|||||||
* @param ids 需要删除的【请填写功能名称】主键集合
|
* @param ids 需要删除的【请填写功能名称】主键集合
|
||||||
* @return 结果
|
* @return 结果
|
||||||
*/
|
*/
|
||||||
int deleteAdapayMemberAccountByIds(Long[] ids);
|
int deleteAdapayMemberAccountByIds(List<String> ids);
|
||||||
|
|
||||||
AdapayMemberAccount selectByMerchantId(String merchantId);
|
AdapayMemberAccount selectByMerchantId(String merchantId);
|
||||||
|
|
||||||
|
|||||||
@@ -93,7 +93,7 @@ public class AdapayMemberAccountServiceImpl implements AdapayMemberAccountServic
|
|||||||
* @return 结果
|
* @return 结果
|
||||||
*/
|
*/
|
||||||
@Override
|
@Override
|
||||||
public int deleteAdapayMemberAccountByIds(Long[] ids) {
|
public int deleteAdapayMemberAccountByIds(List<String> ids) {
|
||||||
return adapayMemberAccountMapper.deleteAdapayMemberAccountByIds(ids);
|
return adapayMemberAccountMapper.deleteAdapayMemberAccountByIds(ids);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -504,7 +504,7 @@
|
|||||||
update adapay_member_account
|
update adapay_member_account
|
||||||
set del_flag = '1'
|
set del_flag = '1'
|
||||||
where id in
|
where id in
|
||||||
<foreach close=")" collection="array" item="id" open="(" separator=",">
|
<foreach close=")" collection="list" item="id" open="(" separator=",">
|
||||||
#{id}
|
#{id}
|
||||||
</foreach>
|
</foreach>
|
||||||
</update>
|
</update>
|
||||||
|
|||||||
Reference in New Issue
Block a user