记得上下班打卡 | git大法好,push需谨慎

Commit 8b81ba6c authored by jiangxiulong's avatar jiangxiulong

统一上链时间和哈希值

parent 95dd8198
...@@ -27,8 +27,8 @@ public class GoblinNftOrderListParam { ...@@ -27,8 +27,8 @@ public class GoblinNftOrderListParam {
private String shortOrderCode; private String shortOrderCode;
@ApiModelProperty(value = "订单编号") @ApiModelProperty(value = "订单编号")
private String orderCode; private String orderCode;
@ApiModelProperty(value = "发放HASH") @ApiModelProperty(value = "哈希值")
private String tradingTxhash; private String nftId;
@ApiModelProperty(value = "购买方式") @ApiModelProperty(value = "购买方式")
private Integer orderType; private Integer orderType;
@ApiModelProperty(value = "支付方式") @ApiModelProperty(value = "支付方式")
......
...@@ -27,8 +27,8 @@ public class GoblinNftOrderRefundListParam { ...@@ -27,8 +27,8 @@ public class GoblinNftOrderRefundListParam {
private String shortOrderCode; private String shortOrderCode;
@ApiModelProperty(value = "订单编号") @ApiModelProperty(value = "订单编号")
private String orderCode; private String orderCode;
@ApiModelProperty(value = "发放HASH") @ApiModelProperty(value = "哈希值")
private String tradingTxhash; private String nftId;
@ApiModelProperty(value = "购买方式") @ApiModelProperty(value = "购买方式")
private Integer orderType; private Integer orderType;
@ApiModelProperty(value = "支付方式") @ApiModelProperty(value = "支付方式")
......
...@@ -28,10 +28,10 @@ public class GoblinNftOrderListExcelDto implements Serializable, Cloneable { ...@@ -28,10 +28,10 @@ public class GoblinNftOrderListExcelDto implements Serializable, Cloneable {
private String payTime; private String payTime;
@Excel(name = "藏品名称") @Excel(name = "藏品名称")
private String name; private String name;
@Excel(name = "发放时间") @Excel(name = "上链时间")
private String releaseAt; private String tradingAt;
@Excel(name = "发放HASH") @Excel(name = "哈希值")
private String tradingTxhash; private String nftId;
private static final GoblinNftOrderListExcelDto obj = new GoblinNftOrderListExcelDto(); private static final GoblinNftOrderListExcelDto obj = new GoblinNftOrderListExcelDto();
...@@ -66,8 +66,8 @@ public class GoblinNftOrderListExcelDto implements Serializable, Cloneable { ...@@ -66,8 +66,8 @@ public class GoblinNftOrderListExcelDto implements Serializable, Cloneable {
this.setStatus(DictUtils.getDictLabel("zhengzai_goblin_nft_order_status", String.valueOf(source.getStatus()))); this.setStatus(DictUtils.getDictLabel("zhengzai_goblin_nft_order_status", String.valueOf(source.getStatus())));
this.setPayTime(source.getPayTime()); this.setPayTime(source.getPayTime());
this.setName(source.getName()); this.setName(source.getName());
this.setReleaseAt(source.getReleaseAt()); this.setTradingAt(source.getTradingAt());
this.setTradingTxhash(source.getTradingTxhash()); this.setNftId(source.getNftId());
return this; return this;
} }
} }
...@@ -11,7 +11,8 @@ public class GoblinNftOrderListDto { ...@@ -11,7 +11,8 @@ public class GoblinNftOrderListDto {
private String priceActual; private String priceActual;
private Integer status; private Integer status;
private String payTime; private String payTime;
private String createdAt;
private String name; private String name;
private String releaseAt; private String tradingAt;
private String tradingTxhash; private String nftId;
} }
...@@ -16,7 +16,8 @@ public class GoblinNftOrderRefundListDto { ...@@ -16,7 +16,8 @@ public class GoblinNftOrderRefundListDto {
private Integer orderType; private Integer orderType;
private String payType; private String payType;
private String payTime; private String payTime;
private String orderCreatedAt;
private String name; private String name;
private String releaseAt; private String tradingAt;
private String tradingTxhash; private String nftId;
} }
...@@ -4,9 +4,9 @@ ...@@ -4,9 +4,9 @@
<select id="searchList" resultType="com.liquidnet.service.goblin.dto.admin.GoblinNftOrderListDto"> <select id="searchList" resultType="com.liquidnet.service.goblin.dto.admin.GoblinNftOrderListDto">
select select
a.user_id,a.order_code,a.order_type,a.pay_type,a.price_actual,a.status,a.pay_time, a.user_id,a.order_code,a.order_type,a.pay_type,a.price_actual,a.status,a.pay_time,a.created_at,
b.name, b.name,
c.release_at, c.trading_txhash c.trading_at, c.nft_id
from goblin_nft_order as a from goblin_nft_order as a
left join goblin_goods_sku as b on b.sku_id = a.sku_id left join goblin_goods_sku as b on b.sku_id = a.sku_id
left join goblin_user_digital_artwork as c on c.order_id = a.order_id left join goblin_user_digital_artwork as c on c.order_id = a.order_id
...@@ -23,8 +23,8 @@ ...@@ -23,8 +23,8 @@
<if test="orderCode!=''"> <if test="orderCode!=''">
and a.order_code = #{orderCode} and a.order_code = #{orderCode}
</if> </if>
<if test="tradingTxhash!=''"> <if test="nftId!=''">
and c.trading_txhash = #{tradingTxhash} and c.nft_id = #{nftId}
</if> </if>
<if test="orderType != null and orderType!=''"> <if test="orderType != null and orderType!=''">
and a.order_type = #{orderType} and a.order_type = #{orderType}
......
...@@ -5,9 +5,9 @@ ...@@ -5,9 +5,9 @@
<select id="searchList" resultType="com.liquidnet.service.goblin.dto.admin.GoblinNftOrderRefundListDto"> <select id="searchList" resultType="com.liquidnet.service.goblin.dto.admin.GoblinNftOrderRefundListDto">
select select
d.refund_code,d.price,d.status,d.refund_at,d.error_reason,d.created_at, d.refund_code,d.price,d.status,d.refund_at,d.error_reason,d.created_at,
a.user_id,a.order_code,a.order_type,a.pay_type,a.pay_time, a.user_id,a.order_code,a.order_type,a.pay_type,a.pay_time,a.created_at as order_created_at,
b.name, b.name,
c.release_at, c.trading_txhash c.trading_at, c.nft_id
from goblin_nft_order_refund as d from goblin_nft_order_refund as d
left join goblin_nft_order as a on a.order_id = d.order_id left join goblin_nft_order as a on a.order_id = d.order_id
left join goblin_goods_sku as b on b.sku_id = a.sku_id left join goblin_goods_sku as b on b.sku_id = a.sku_id
...@@ -25,8 +25,8 @@ ...@@ -25,8 +25,8 @@
<if test="orderCode!=''"> <if test="orderCode!=''">
and a.order_code = #{orderCode} and a.order_code = #{orderCode}
</if> </if>
<if test="tradingTxhash!=''"> <if test="nftId!=''">
and c.trading_txhash = #{tradingTxhash} and c.nft_id = #{nftId}
</if> </if>
<if test="orderType != null and orderType!=''"> <if test="orderType != null and orderType!=''">
and a.order_type = #{orderType} and a.order_type = #{orderType}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment