mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-05-04 01:50:17 +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);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,139 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<!DOCTYPE mapper
|
||||
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
||||
<mapper namespace="com.jsowell.pile.mapper.AdapayRefundRecordMapper">
|
||||
|
||||
<resultMap type="com.jsowell.pile.domain.AdapayRefundRecord" id="AdapayRefundRecordResult">
|
||||
<result property="id" column="id" />
|
||||
<result property="memberId" column="member_id" />
|
||||
<result property="orderCode" column="order_code" />
|
||||
<result property="status" column="status" />
|
||||
<result property="refundId" column="refund_id" />
|
||||
<result property="refundOrderNo" column="refund_order_no" />
|
||||
<result property="paymentId" column="payment_id" />
|
||||
<result property="paymentOrderNo" column="payment_order_no" />
|
||||
<result property="refundAmt" column="refund_amt" />
|
||||
<result property="feeAmt" column="fee_amt" />
|
||||
<result property="channelNo" column="channel_no" />
|
||||
<result property="createdTime" column="created_time" />
|
||||
<result property="succeedTime" column="succeed_time" />
|
||||
<result property="appId" column="app_id" />
|
||||
<result property="reason" column="reason" />
|
||||
<result property="prodMode" column="prod_mode" />
|
||||
<result property="object" column="object" />
|
||||
<result property="createTime" column="create_time" />
|
||||
<result property="delFlag" column="del_flag" />
|
||||
</resultMap>
|
||||
|
||||
<sql id="selectAdapayRefundRecordVo">
|
||||
select id, member_id, order_code, status, refund_id, refund_order_no, payment_id, payment_order_no, refund_amt, fee_amt, channel_no, created_time, succeed_time, app_id, reason, prod_mode, object, create_time, del_flag from adapay_refund_record
|
||||
</sql>
|
||||
|
||||
<select id="selectAdapayRefundRecordList" parameterType="com.jsowell.pile.domain.AdapayRefundRecord" resultMap="AdapayRefundRecordResult">
|
||||
<include refid="selectAdapayRefundRecordVo"/>
|
||||
<where>
|
||||
<if test="memberId != null and memberId != ''"> and member_id = #{memberId}</if>
|
||||
<if test="orderCode != null and orderCode != ''"> and order_code = #{orderCode}</if>
|
||||
<if test="status != null and status != ''"> and status = #{status}</if>
|
||||
<if test="refundId != null and refundId != ''"> and refund_id = #{refundId}</if>
|
||||
<if test="refundOrderNo != null and refundOrderNo != ''"> and refund_order_no = #{refundOrderNo}</if>
|
||||
<if test="paymentId != null and paymentId != ''"> and payment_id = #{paymentId}</if>
|
||||
<if test="paymentOrderNo != null and paymentOrderNo != ''"> and payment_order_no = #{paymentOrderNo}</if>
|
||||
<if test="refundAmt != null "> and refund_amt = #{refundAmt}</if>
|
||||
<if test="feeAmt != null "> and fee_amt = #{feeAmt}</if>
|
||||
<if test="channelNo != null and channelNo != ''"> and channel_no = #{channelNo}</if>
|
||||
<if test="createdTime != null and createdTime != ''"> and created_time = #{createdTime}</if>
|
||||
<if test="succeedTime != null and succeedTime != ''"> and succeed_time = #{succeedTime}</if>
|
||||
<if test="appId != null and appId != ''"> and app_id = #{appId}</if>
|
||||
<if test="reason != null and reason != ''"> and reason = #{reason}</if>
|
||||
<if test="prodMode != null and prodMode != ''"> and prod_mode = #{prodMode}</if>
|
||||
<if test="object != null and object != ''"> and object = #{object}</if>
|
||||
</where>
|
||||
</select>
|
||||
|
||||
<select id="selectAdapayRefundRecordById" parameterType="Integer" resultMap="AdapayRefundRecordResult">
|
||||
<include refid="selectAdapayRefundRecordVo"/>
|
||||
where id = #{id}
|
||||
</select>
|
||||
|
||||
<insert id="insertAdapayRefundRecord" parameterType="com.jsowell.pile.domain.AdapayRefundRecord" useGeneratedKeys="true" keyProperty="id">
|
||||
insert into adapay_refund_record
|
||||
<trim prefix="(" suffix=")" suffixOverrides=",">
|
||||
<if test="memberId != null">member_id,</if>
|
||||
<if test="orderCode != null">order_code,</if>
|
||||
<if test="status != null">status,</if>
|
||||
<if test="refundId != null">refund_id,</if>
|
||||
<if test="refundOrderNo != null">refund_order_no,</if>
|
||||
<if test="paymentId != null">payment_id,</if>
|
||||
<if test="paymentOrderNo != null">payment_order_no,</if>
|
||||
<if test="refundAmt != null">refund_amt,</if>
|
||||
<if test="feeAmt != null">fee_amt,</if>
|
||||
<if test="channelNo != null">channel_no,</if>
|
||||
<if test="createdTime != null">created_time,</if>
|
||||
<if test="succeedTime != null">succeed_time,</if>
|
||||
<if test="appId != null">app_id,</if>
|
||||
<if test="reason != null">reason,</if>
|
||||
<if test="prodMode != null">prod_mode,</if>
|
||||
<if test="object != null">object,</if>
|
||||
<if test="createTime != null">create_time,</if>
|
||||
<if test="delFlag != null">del_flag,</if>
|
||||
</trim>
|
||||
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
||||
<if test="memberId != null">#{memberId},</if>
|
||||
<if test="orderCode != null">#{orderCode},</if>
|
||||
<if test="status != null">#{status},</if>
|
||||
<if test="refundId != null">#{refundId},</if>
|
||||
<if test="refundOrderNo != null">#{refundOrderNo},</if>
|
||||
<if test="paymentId != null">#{paymentId},</if>
|
||||
<if test="paymentOrderNo != null">#{paymentOrderNo},</if>
|
||||
<if test="refundAmt != null">#{refundAmt},</if>
|
||||
<if test="feeAmt != null">#{feeAmt},</if>
|
||||
<if test="channelNo != null">#{channelNo},</if>
|
||||
<if test="createdTime != null">#{createdTime},</if>
|
||||
<if test="succeedTime != null">#{succeedTime},</if>
|
||||
<if test="appId != null">#{appId},</if>
|
||||
<if test="reason != null">#{reason},</if>
|
||||
<if test="prodMode != null">#{prodMode},</if>
|
||||
<if test="object != null">#{object},</if>
|
||||
<if test="createTime != null">#{createTime},</if>
|
||||
<if test="delFlag != null">#{delFlag},</if>
|
||||
</trim>
|
||||
</insert>
|
||||
|
||||
<update id="updateAdapayRefundRecord" parameterType="com.jsowell.pile.domain.AdapayRefundRecord">
|
||||
update adapay_refund_record
|
||||
<trim prefix="SET" suffixOverrides=",">
|
||||
<if test="memberId != null">member_id = #{memberId},</if>
|
||||
<if test="orderCode != null">order_code = #{orderCode},</if>
|
||||
<if test="status != null">status = #{status},</if>
|
||||
<if test="refundId != null">refund_id = #{refundId},</if>
|
||||
<if test="refundOrderNo != null">refund_order_no = #{refundOrderNo},</if>
|
||||
<if test="paymentId != null">payment_id = #{paymentId},</if>
|
||||
<if test="paymentOrderNo != null">payment_order_no = #{paymentOrderNo},</if>
|
||||
<if test="refundAmt != null">refund_amt = #{refundAmt},</if>
|
||||
<if test="feeAmt != null">fee_amt = #{feeAmt},</if>
|
||||
<if test="channelNo != null">channel_no = #{channelNo},</if>
|
||||
<if test="createdTime != null">created_time = #{createdTime},</if>
|
||||
<if test="succeedTime != null">succeed_time = #{succeedTime},</if>
|
||||
<if test="appId != null">app_id = #{appId},</if>
|
||||
<if test="reason != null">reason = #{reason},</if>
|
||||
<if test="prodMode != null">prod_mode = #{prodMode},</if>
|
||||
<if test="object != null">object = #{object},</if>
|
||||
<if test="createTime != null">create_time = #{createTime},</if>
|
||||
<if test="delFlag != null">del_flag = #{delFlag},</if>
|
||||
</trim>
|
||||
where id = #{id}
|
||||
</update>
|
||||
|
||||
<delete id="deleteAdapayRefundRecordById" parameterType="Integer">
|
||||
delete from adapay_refund_record where id = #{id}
|
||||
</delete>
|
||||
|
||||
<delete id="deleteAdapayRefundRecordByIds" parameterType="String">
|
||||
delete from adapay_refund_record where id in
|
||||
<foreach item="id" collection="array" open="(" separator="," close=")">
|
||||
#{id}
|
||||
</foreach>
|
||||
</delete>
|
||||
</mapper>
|
||||
Reference in New Issue
Block a user