This commit is contained in:
2023-06-13 11:28:15 +08:00
parent 0ba0b55cd7
commit b99d5f075e
19 changed files with 121 additions and 31 deletions

View File

@@ -2,6 +2,8 @@ package com.jsowell.pile.domain;
import com.jsowell.common.annotation.Excel;
import com.jsowell.common.core.domain.BaseEntity;
import lombok.Getter;
import lombok.Setter;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
@@ -11,6 +13,8 @@ import org.apache.commons.lang3.builder.ToStringStyle;
* @author jsowell
* @date 2023-06-12
*/
@Getter
@Setter
public class AdapaySettleAccount extends BaseEntity {
private static final long serialVersionUID = 1L;
@@ -31,6 +35,12 @@ public class AdapaySettleAccount extends BaseEntity {
@Excel(name = "汇付会员id")
private String adapayMemberId;
/**
* 结算账户对象 id
*/
@Excel(name = "结算账户对象id")
private String settleAccountId;
/**
* 银行卡号
*/

View File

@@ -1,6 +1,7 @@
package com.jsowell.pile.mapper;
import com.jsowell.pile.domain.AdapaySettleAccount;
import org.springframework.stereotype.Repository;
import java.util.List;
@@ -10,6 +11,7 @@ import java.util.List;
* @author jsowell
* @date 2023-06-12
*/
@Repository
public interface AdapaySettleAccountMapper {
/**
* 查询汇付结算账户
@@ -58,4 +60,6 @@ public interface AdapaySettleAccountMapper {
* @return 结果
*/
public int deleteAdapaySettleAccountByIds(Long[] ids);
AdapaySettleAccount selectByMerchantId(String merchantId);
}

View File

@@ -58,4 +58,6 @@ public interface IAdapaySettleAccountService {
* @return 结果
*/
public int deleteAdapaySettleAccountById(Long id);
AdapaySettleAccount selectByMerchantId(String merchantId);
}

View File

@@ -87,4 +87,9 @@ public class AdapaySettleAccountServiceImpl implements IAdapaySettleAccountServi
public int deleteAdapaySettleAccountById(Long id) {
return adapaySettleAccountMapper.deleteAdapaySettleAccountById(id);
}
@Override
public AdapaySettleAccount selectByMerchantId(String merchantId) {
return adapaySettleAccountMapper.selectByMerchantId(merchantId);
}
}