mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-21 03:25:12 +08:00
汇付支付 退款回调记录表
This commit is contained in:
@@ -0,0 +1,293 @@
|
||||
package com.jsowell.pile.domain;
|
||||
|
||||
import com.jsowell.common.annotation.Excel;
|
||||
import com.jsowell.common.core.domain.BaseEntity;
|
||||
import org.apache.commons.lang3.builder.ToStringBuilder;
|
||||
import org.apache.commons.lang3.builder.ToStringStyle;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
|
||||
/**
|
||||
* adapay_refund_record
|
||||
*
|
||||
* @author jsowell
|
||||
* @date 2023-05-31
|
||||
*/
|
||||
public class AdapayRefundRecord extends BaseEntity {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* 主键id
|
||||
*/
|
||||
private Integer id;
|
||||
|
||||
/**
|
||||
* 会员id
|
||||
*/
|
||||
@Excel(name = "会员id")
|
||||
private String memberId;
|
||||
|
||||
/**
|
||||
* 订单编号
|
||||
*/
|
||||
@Excel(name = "订单编号")
|
||||
private String orderCode;
|
||||
|
||||
/**
|
||||
* 状态
|
||||
*/
|
||||
@Excel(name = "状态")
|
||||
private String status;
|
||||
|
||||
/**
|
||||
* 退款id
|
||||
*/
|
||||
@Excel(name = "退款id")
|
||||
private String refundId;
|
||||
|
||||
/**
|
||||
* 退款单号
|
||||
*/
|
||||
@Excel(name = "退款单号")
|
||||
private String refundOrderNo;
|
||||
|
||||
/**
|
||||
* 支付id(支付流水号)
|
||||
*/
|
||||
@Excel(name = "支付id(支付流水号)")
|
||||
private String paymentId;
|
||||
|
||||
/**
|
||||
* 支付单号
|
||||
*/
|
||||
@Excel(name = "支付单号")
|
||||
private String paymentOrderNo;
|
||||
|
||||
/**
|
||||
* 退款金额
|
||||
*/
|
||||
@Excel(name = "退款金额")
|
||||
private BigDecimal refundAmt;
|
||||
|
||||
/**
|
||||
* 手续费金额
|
||||
*/
|
||||
@Excel(name = "手续费金额")
|
||||
private BigDecimal feeAmt;
|
||||
|
||||
/**
|
||||
* $column.columnComment
|
||||
*/
|
||||
@Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
|
||||
private String channelNo;
|
||||
|
||||
/**
|
||||
* 退款创建时间(汇付创建的时间)
|
||||
*/
|
||||
@Excel(name = "退款创建时间", readConverterExp = "汇=付创建的时间")
|
||||
private String createdTime;
|
||||
|
||||
/**
|
||||
* 退款完成时间
|
||||
*/
|
||||
@Excel(name = "退款完成时间")
|
||||
private String succeedTime;
|
||||
|
||||
/**
|
||||
* 汇付商户appId
|
||||
*/
|
||||
@Excel(name = "汇付商户appId")
|
||||
private String appId;
|
||||
|
||||
/**
|
||||
* 原因
|
||||
*/
|
||||
@Excel(name = "原因")
|
||||
private String reason;
|
||||
|
||||
/**
|
||||
* $column.columnComment
|
||||
*/
|
||||
@Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
|
||||
private String prodMode;
|
||||
|
||||
/**
|
||||
* $column.columnComment
|
||||
*/
|
||||
@Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
|
||||
private String object;
|
||||
|
||||
/**
|
||||
* 删除标识(0-正常;1-删除)
|
||||
*/
|
||||
private String delFlag;
|
||||
|
||||
public void setId(Integer id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
public Integer getId() {
|
||||
return id;
|
||||
}
|
||||
|
||||
public void setMemberId(String memberId) {
|
||||
this.memberId = memberId;
|
||||
}
|
||||
|
||||
public String getMemberId() {
|
||||
return memberId;
|
||||
}
|
||||
|
||||
public void setOrderCode(String orderCode) {
|
||||
this.orderCode = orderCode;
|
||||
}
|
||||
|
||||
public String getOrderCode() {
|
||||
return orderCode;
|
||||
}
|
||||
|
||||
public void setStatus(String status) {
|
||||
this.status = status;
|
||||
}
|
||||
|
||||
public String getStatus() {
|
||||
return status;
|
||||
}
|
||||
|
||||
public void setRefundId(String refundId) {
|
||||
this.refundId = refundId;
|
||||
}
|
||||
|
||||
public String getRefundId() {
|
||||
return refundId;
|
||||
}
|
||||
|
||||
public void setRefundOrderNo(String refundOrderNo) {
|
||||
this.refundOrderNo = refundOrderNo;
|
||||
}
|
||||
|
||||
public String getRefundOrderNo() {
|
||||
return refundOrderNo;
|
||||
}
|
||||
|
||||
public void setPaymentId(String paymentId) {
|
||||
this.paymentId = paymentId;
|
||||
}
|
||||
|
||||
public String getPaymentId() {
|
||||
return paymentId;
|
||||
}
|
||||
|
||||
public void setPaymentOrderNo(String paymentOrderNo) {
|
||||
this.paymentOrderNo = paymentOrderNo;
|
||||
}
|
||||
|
||||
public String getPaymentOrderNo() {
|
||||
return paymentOrderNo;
|
||||
}
|
||||
|
||||
public void setRefundAmt(BigDecimal refundAmt) {
|
||||
this.refundAmt = refundAmt;
|
||||
}
|
||||
|
||||
public BigDecimal getRefundAmt() {
|
||||
return refundAmt;
|
||||
}
|
||||
|
||||
public void setFeeAmt(BigDecimal feeAmt) {
|
||||
this.feeAmt = feeAmt;
|
||||
}
|
||||
|
||||
public BigDecimal getFeeAmt() {
|
||||
return feeAmt;
|
||||
}
|
||||
|
||||
public void setChannelNo(String channelNo) {
|
||||
this.channelNo = channelNo;
|
||||
}
|
||||
|
||||
public String getChannelNo() {
|
||||
return channelNo;
|
||||
}
|
||||
|
||||
public void setCreatedTime(String createdTime) {
|
||||
this.createdTime = createdTime;
|
||||
}
|
||||
|
||||
public String getCreatedTime() {
|
||||
return createdTime;
|
||||
}
|
||||
|
||||
public void setSucceedTime(String succeedTime) {
|
||||
this.succeedTime = succeedTime;
|
||||
}
|
||||
|
||||
public String getSucceedTime() {
|
||||
return succeedTime;
|
||||
}
|
||||
|
||||
public void setAppId(String appId) {
|
||||
this.appId = appId;
|
||||
}
|
||||
|
||||
public String getAppId() {
|
||||
return appId;
|
||||
}
|
||||
|
||||
public void setReason(String reason) {
|
||||
this.reason = reason;
|
||||
}
|
||||
|
||||
public String getReason() {
|
||||
return reason;
|
||||
}
|
||||
|
||||
public void setProdMode(String prodMode) {
|
||||
this.prodMode = prodMode;
|
||||
}
|
||||
|
||||
public String getProdMode() {
|
||||
return prodMode;
|
||||
}
|
||||
|
||||
public void setObject(String object) {
|
||||
this.object = object;
|
||||
}
|
||||
|
||||
public String getObject() {
|
||||
return object;
|
||||
}
|
||||
|
||||
public void setDelFlag(String delFlag) {
|
||||
this.delFlag = delFlag;
|
||||
}
|
||||
|
||||
public String getDelFlag() {
|
||||
return delFlag;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return new ToStringBuilder(this, ToStringStyle.JSON_STYLE)
|
||||
.append("id", getId())
|
||||
.append("memberId", getMemberId())
|
||||
.append("orderCode", getOrderCode())
|
||||
.append("status", getStatus())
|
||||
.append("refundId", getRefundId())
|
||||
.append("refundOrderNo", getRefundOrderNo())
|
||||
.append("paymentId", getPaymentId())
|
||||
.append("paymentOrderNo", getPaymentOrderNo())
|
||||
.append("refundAmt", getRefundAmt())
|
||||
.append("feeAmt", getFeeAmt())
|
||||
.append("channelNo", getChannelNo())
|
||||
.append("createdTime", getCreatedTime())
|
||||
.append("succeedTime", getSucceedTime())
|
||||
.append("appId", getAppId())
|
||||
.append("reason", getReason())
|
||||
.append("prodMode", getProdMode())
|
||||
.append("object", getObject())
|
||||
.append("createTime", getCreateTime())
|
||||
.append("delFlag", getDelFlag())
|
||||
.toString();
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,63 @@
|
||||
package com.jsowell.pile.mapper;
|
||||
|
||||
import com.jsowell.pile.domain.AdapayRefundRecord;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 汇付支付 退款回调记录表
|
||||
*
|
||||
* @author jsowell
|
||||
* @date 2023-05-31
|
||||
*/
|
||||
@Repository
|
||||
public interface AdapayRefundRecordMapper {
|
||||
/**
|
||||
* 查询【请填写功能名称】
|
||||
*
|
||||
* @param id 【请填写功能名称】主键
|
||||
* @return 【请填写功能名称】
|
||||
*/
|
||||
public AdapayRefundRecord selectAdapayRefundRecordById(Integer id);
|
||||
|
||||
/**
|
||||
* 查询【请填写功能名称】列表
|
||||
*
|
||||
* @param adapayRefundRecord 【请填写功能名称】
|
||||
* @return 【请填写功能名称】集合
|
||||
*/
|
||||
public List<AdapayRefundRecord> selectAdapayRefundRecordList(AdapayRefundRecord adapayRefundRecord);
|
||||
|
||||
/**
|
||||
* 新增【请填写功能名称】
|
||||
*
|
||||
* @param adapayRefundRecord 【请填写功能名称】
|
||||
* @return 结果
|
||||
*/
|
||||
public int insertAdapayRefundRecord(AdapayRefundRecord adapayRefundRecord);
|
||||
|
||||
/**
|
||||
* 修改【请填写功能名称】
|
||||
*
|
||||
* @param adapayRefundRecord 【请填写功能名称】
|
||||
* @return 结果
|
||||
*/
|
||||
public int updateAdapayRefundRecord(AdapayRefundRecord adapayRefundRecord);
|
||||
|
||||
/**
|
||||
* 删除【请填写功能名称】
|
||||
*
|
||||
* @param id 【请填写功能名称】主键
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteAdapayRefundRecordById(Integer id);
|
||||
|
||||
/**
|
||||
* 批量删除【请填写功能名称】
|
||||
*
|
||||
* @param ids 需要删除的数据主键集合
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteAdapayRefundRecordByIds(Integer[] ids);
|
||||
}
|
||||
@@ -0,0 +1,61 @@
|
||||
package com.jsowell.pile.service;
|
||||
|
||||
import com.jsowell.pile.domain.AdapayRefundRecord;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* Service接口
|
||||
*
|
||||
* @author jsowell
|
||||
* @date 2023-05-31
|
||||
*/
|
||||
public interface IAdapayRefundRecordService {
|
||||
/**
|
||||
* 查询【请填写功能名称】
|
||||
*
|
||||
* @param id 【请填写功能名称】主键
|
||||
* @return 【请填写功能名称】
|
||||
*/
|
||||
public AdapayRefundRecord selectAdapayRefundRecordById(Integer id);
|
||||
|
||||
/**
|
||||
* 查询【请填写功能名称】列表
|
||||
*
|
||||
* @param adapayRefundRecord 【请填写功能名称】
|
||||
* @return 【请填写功能名称】集合
|
||||
*/
|
||||
public List<AdapayRefundRecord> selectAdapayRefundRecordList(AdapayRefundRecord adapayRefundRecord);
|
||||
|
||||
/**
|
||||
* 新增【请填写功能名称】
|
||||
*
|
||||
* @param adapayRefundRecord 【请填写功能名称】
|
||||
* @return 结果
|
||||
*/
|
||||
public int insertAdapayRefundRecord(AdapayRefundRecord adapayRefundRecord);
|
||||
|
||||
/**
|
||||
* 修改【请填写功能名称】
|
||||
*
|
||||
* @param adapayRefundRecord 【请填写功能名称】
|
||||
* @return 结果
|
||||
*/
|
||||
public int updateAdapayRefundRecord(AdapayRefundRecord adapayRefundRecord);
|
||||
|
||||
/**
|
||||
* 批量删除【请填写功能名称】
|
||||
*
|
||||
* @param ids 需要删除的【请填写功能名称】主键集合
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteAdapayRefundRecordByIds(Integer[] ids);
|
||||
|
||||
/**
|
||||
* 删除【请填写功能名称】信息
|
||||
*
|
||||
* @param id 【请填写功能名称】主键
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteAdapayRefundRecordById(Integer id);
|
||||
}
|
||||
@@ -0,0 +1,89 @@
|
||||
package com.jsowell.pile.service.impl;
|
||||
|
||||
import com.jsowell.common.util.DateUtils;
|
||||
import com.jsowell.pile.domain.AdapayRefundRecord;
|
||||
import com.jsowell.pile.mapper.AdapayRefundRecordMapper;
|
||||
import com.jsowell.pile.service.IAdapayRefundRecordService;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 【请填写功能名称】Service业务层处理
|
||||
*
|
||||
* @author jsowell
|
||||
* @date 2023-05-31
|
||||
*/
|
||||
@Service
|
||||
public class AdapayRefundRecordServiceImpl implements IAdapayRefundRecordService {
|
||||
@Autowired
|
||||
private AdapayRefundRecordMapper adapayRefundRecordMapper;
|
||||
|
||||
/**
|
||||
* 查询【请填写功能名称】
|
||||
*
|
||||
* @param id 【请填写功能名称】主键
|
||||
* @return 【请填写功能名称】
|
||||
*/
|
||||
@Override
|
||||
public AdapayRefundRecord selectAdapayRefundRecordById(Integer id) {
|
||||
return adapayRefundRecordMapper.selectAdapayRefundRecordById(id);
|
||||
}
|
||||
|
||||
/**
|
||||
* 查询【请填写功能名称】列表
|
||||
*
|
||||
* @param adapayRefundRecord 【请填写功能名称】
|
||||
* @return 【请填写功能名称】
|
||||
*/
|
||||
@Override
|
||||
public List<AdapayRefundRecord> selectAdapayRefundRecordList(AdapayRefundRecord adapayRefundRecord) {
|
||||
return adapayRefundRecordMapper.selectAdapayRefundRecordList(adapayRefundRecord);
|
||||
}
|
||||
|
||||
/**
|
||||
* 新增【请填写功能名称】
|
||||
*
|
||||
* @param adapayRefundRecord 【请填写功能名称】
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int insertAdapayRefundRecord(AdapayRefundRecord adapayRefundRecord) {
|
||||
adapayRefundRecord.setCreateTime(DateUtils.getNowDate());
|
||||
return adapayRefundRecordMapper.insertAdapayRefundRecord(adapayRefundRecord);
|
||||
}
|
||||
|
||||
/**
|
||||
* 修改【请填写功能名称】
|
||||
*
|
||||
* @param adapayRefundRecord 【请填写功能名称】
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int updateAdapayRefundRecord(AdapayRefundRecord adapayRefundRecord) {
|
||||
return adapayRefundRecordMapper.updateAdapayRefundRecord(adapayRefundRecord);
|
||||
}
|
||||
|
||||
/**
|
||||
* 批量删除【请填写功能名称】
|
||||
*
|
||||
* @param ids 需要删除的【请填写功能名称】主键
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int deleteAdapayRefundRecordByIds(Integer[] ids) {
|
||||
return adapayRefundRecordMapper.deleteAdapayRefundRecordByIds(ids);
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除【请填写功能名称】信息
|
||||
*
|
||||
* @param id 【请填写功能名称】主键
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int deleteAdapayRefundRecordById(Integer id) {
|
||||
return adapayRefundRecordMapper.deleteAdapayRefundRecordById(id);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user