|
|
|
@@ -76,13 +76,13 @@ |
|
|
|
from wx_activity_join aj left join wx_activity a on aj.activity_id=a.id |
|
|
|
where aj.user_id=#{user_id} |
|
|
|
<if test=" null != tenantId "> |
|
|
|
and `tenant_id` = #{tenantId} |
|
|
|
and aj.`tenant_id` = #{tenantId} |
|
|
|
</if> |
|
|
|
<if test=" null != statusStr and ''!=statusStr"> |
|
|
|
and `status` in (${statusStr}) |
|
|
|
and aj.`status` in (${statusStr}) |
|
|
|
</if> |
|
|
|
<if test=" null != status"> |
|
|
|
and `status`= #{status} |
|
|
|
and aj.`status`= #{status} |
|
|
|
</if> |
|
|
|
<if test=" null != sortColumns">order by ${sortColumns}</if> |
|
|
|
</select> |
|
|
|
|