fix:大额支付订单流水
This commit is contained in:
@@ -0,0 +1,7 @@
|
|||||||
|
package com.cool.store.mapper.wallet;
|
||||||
|
|
||||||
|
import com.cool.store.entity.wallet.WalletLargePaymentDO;
|
||||||
|
import tk.mybatis.mapper.common.Mapper;
|
||||||
|
|
||||||
|
public interface WalletLargePaymentMapper extends Mapper<WalletLargePaymentDO> {
|
||||||
|
}
|
||||||
@@ -0,0 +1,17 @@
|
|||||||
|
<?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.cool.store.mapper.wallet.WalletLargePaymentMapper">
|
||||||
|
<resultMap id="BaseResultMap" type="com.cool.store.entity.wallet.WalletLargePaymentDO">
|
||||||
|
<!--
|
||||||
|
WARNING - @mbg.generated
|
||||||
|
-->
|
||||||
|
<id column="id" jdbcType="BIGINT" property="id" />
|
||||||
|
<result column="store_id" jdbcType="VARCHAR" property="storeId" />
|
||||||
|
<result column="payment_id" jdbcType="VARCHAR" property="paymentId" />
|
||||||
|
<result column="amount" jdbcType="DECIMAL" property="amount" />
|
||||||
|
<result column="expire_time" jdbcType="VARCHAR" property="expireTime" />
|
||||||
|
<result column="order_status" jdbcType="BIT" property="orderStatus" />
|
||||||
|
<result column="create_time" jdbcType="TIMESTAMP" property="createTime" />
|
||||||
|
<result column="update_time" jdbcType="TIMESTAMP" property="updateTime" />
|
||||||
|
</resultMap>
|
||||||
|
</mapper>
|
||||||
@@ -0,0 +1,62 @@
|
|||||||
|
package com.cool.store.entity.wallet;
|
||||||
|
|
||||||
|
import lombok.Data;
|
||||||
|
|
||||||
|
import java.math.BigDecimal;
|
||||||
|
import java.util.Date;
|
||||||
|
import javax.persistence.*;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 钱包大额支付订单
|
||||||
|
*/
|
||||||
|
@Table(name = "zxjp_wallet_large_payment")
|
||||||
|
@Data
|
||||||
|
public class WalletLargePaymentDO {
|
||||||
|
/**
|
||||||
|
* id
|
||||||
|
*/
|
||||||
|
@Id
|
||||||
|
@GeneratedValue(strategy = GenerationType.IDENTITY)
|
||||||
|
private Long id;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 门店id
|
||||||
|
*/
|
||||||
|
@Column(name = "store_id")
|
||||||
|
private String storeId;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 预支付id
|
||||||
|
*/
|
||||||
|
@Column(name = "payment_id")
|
||||||
|
private String paymentId;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 金额
|
||||||
|
*/
|
||||||
|
private BigDecimal amount;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 过期时间
|
||||||
|
*/
|
||||||
|
@Column(name = "expire_time")
|
||||||
|
private String expireTime;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 订单状态:1-成功 2-失败 3-支付中 4-撤销
|
||||||
|
*/
|
||||||
|
@Column(name = "order_status")
|
||||||
|
private Boolean orderStatus;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 创建时间
|
||||||
|
*/
|
||||||
|
@Column(name = "create_time")
|
||||||
|
private Date createTime;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 更新时间
|
||||||
|
*/
|
||||||
|
@Column(name = "update_time")
|
||||||
|
private Date updateTime;
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user