Commit b11276e7 authored by zhaobiyan's avatar zhaobiyan

会员积分列表新增城市字段

parent bf15ac59
......@@ -17,6 +17,8 @@ public class MemberUserScoreQueryVO extends PageParam {
private String key;
@ApiModelProperty(value = "国家")
private Integer country;
@ApiModelProperty(value = "城市")
private Integer city;
@ApiModelProperty(value = "当前积分")
private Integer holdScore;
@ApiModelProperty(value = "当前积分操作")
......
......@@ -12,10 +12,13 @@
re.title_en as countryNameEn,
mus.hold_score as holdScore,
mus.used_score as usedScore,
mu.create_time as createTime
mu.create_time as createTime,
rea.title_zh as cityNameZh,
rea.title_en as cityNameEn,
from member_user mu
left join member_user_score mus on mus.member_id = mu.id
left join ecw_region re on re.id = mu.country
left join ecw_region rea on re.id = mu.city
where 1 = 1
<include refid="scoreCondition"/>
order by mu.id
......@@ -42,6 +45,9 @@
<if test="query.country != null">
and mu.country = #{query.country}
</if>
<if test="query.city != null">
and mu.city = #{query.city}
</if>
<if test="query.startTime != null ">
and mu.create_time &gt;= #{query.startTime}
</if>
......
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