Commit a53c0813 authored by zhaobiyan's avatar zhaobiyan

兑换列表新增币种信息

parents 01cb5194 8ae0129b
...@@ -27,4 +27,8 @@ public class RewardRedeemPageRespVO extends RewardRedeemBaseVO { ...@@ -27,4 +27,8 @@ public class RewardRedeemPageRespVO extends RewardRedeemBaseVO {
private String creatorName; private String creatorName;
@ApiModelProperty(value = "更新人时间") @ApiModelProperty(value = "更新人时间")
private String updaterName; private String updaterName;
@ApiModelProperty(value = "币种名称中文")
private String currencyTitleZh;
@ApiModelProperty(value = "币种名称英文")
private String currencyTitleEn;
} }
...@@ -46,6 +46,8 @@ ...@@ -46,6 +46,8 @@
er.points_require*err.reward_count as totalCount, er.points_require*err.reward_count as totalCount,
suc.username as creatorName, suc.username as creatorName,
suu.username as updaterName, suu.username as updaterName,
cc.title_zh as currencyTitleZh,
cc.title_en as currencyTitleEn,
(select username from system_user where id = er.updater) as updaterName (select username from system_user where id = er.updater) as updaterName
from ecw_reward_redeem err from ecw_reward_redeem err
left join ecw_reward er on err.reward_id = er.id left join ecw_reward er on err.reward_id = er.id
...@@ -53,6 +55,7 @@ ...@@ -53,6 +55,7 @@
left join ecw_node en on er.node_id = en.id left join ecw_node en on er.node_id = en.id
left join system_user suc on suc.id = er.creator left join system_user suc on suc.id = er.creator
left join system_user suu on suu.id = er.updater left join system_user suu on suu.id = er.updater
left join ecw_currency cc on err.currency = cc.id
where 1=1 where 1=1
<include refid="pageCondition"/> <include refid="pageCondition"/>
order by er.create_time desc order by er.create_time desc
......
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