Просмотр исходного кода

[活动报名][修改][查询我的活动]

release_toaliyun_real
gongbiao 7 лет назад
Родитель
Сommit
8ae6808ee1
1 измененных файлов: 3 добавлений и 3 удалений
  1. +3
    -3
      mallinkService/src/main/resources/mapper/WxActivityJoinMapper.xml

+ 3
- 3
mallinkService/src/main/resources/mapper/WxActivityJoinMapper.xml Просмотреть файл

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


Загрузка…
Отмена
Сохранить