成果全部支持领域查询

This commit is contained in:
xxq250 2026-06-17 15:38:43 +08:00
parent 8601e91125
commit bd153dec44
1 changed files with 3 additions and 0 deletions

View File

@ -294,6 +294,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
and a.status='1'
<if test="achievementName != null and achievementName != ''"> and a.achievement_name like concat('%', #{achievementName}, '%')</if>
<if test="showAchievementName != null and showAchievementName != ''"> and a.show_ach_name like concat('%', #{showAchievementName}, '%')</if>
<if test='areaQuery != null and areaQuery != "" '>
and (a.field_1 = #{areaQuery} or a.field_2 = #{areaQuery} or a.field_3 = #{areaQuery})
</if>
</where>
order by a.create_time desc
</if>