|
@@ -56,6 +56,9 @@
|
|
|
</otherwise>
|
|
|
</choose>
|
|
|
IFNULL(ar.unit_, t.unit_) AS unit
|
|
|
+ FROM activity_user_reward t
|
|
|
+ left join activity_reward ar on ar.id_ = t.reward_id_
|
|
|
+ left join sys_user su on t.user_id_ = su.id_
|
|
|
<where>
|
|
|
<if test="param.activityId != null">
|
|
|
and t.activity_id_ = #{param.activityId}
|