数据仓库上下架
This commit is contained in:
parent
cca9296f5b
commit
4d08c973fe
|
@ -259,6 +259,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||||
left join users u on a.owner_name = u.login
|
left join users u on a.owner_name = u.login
|
||||||
left join user_extensions ue on u.id = ue.user_id
|
left join user_extensions ue on u.id = ue.user_id
|
||||||
<where>
|
<where>
|
||||||
|
and a.status='1'
|
||||||
<if test="achievementName != null and achievementName != ''"> and a.achievement_name like concat('%', #{achievementName}, '%')</if>
|
<if test="achievementName != null and achievementName != ''"> and a.achievement_name like concat('%', #{achievementName}, '%')</if>
|
||||||
</where>
|
</where>
|
||||||
order by a.create_time desc
|
order by a.create_time desc
|
||||||
|
@ -275,6 +276,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||||
left join user_extensions ue on u.id = ue.user_id
|
left join user_extensions ue on u.id = ue.user_id
|
||||||
left join project_categories c on a.field_1 = c.id
|
left join project_categories c on a.field_1 = c.id
|
||||||
<where>
|
<where>
|
||||||
|
and a.status='1'
|
||||||
<if test="achievementName != null and achievementName != ''"> and a.achievement_name like concat('%', #{achievementName}, '%')</if>
|
<if test="achievementName != null and achievementName != ''"> and a.achievement_name like concat('%', #{achievementName}, '%')</if>
|
||||||
<if test="source != null and source != ''"> and a.source = #{source}</if>
|
<if test="source != null and source != ''"> and a.source = #{source}</if>
|
||||||
<if test='areaQuery != null and areaQuery != "" '>
|
<if test='areaQuery != null and areaQuery != "" '>
|
||||||
|
@ -295,6 +297,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||||
left join user_extensions ue on u.id = ue.user_id
|
left join user_extensions ue on u.id = ue.user_id
|
||||||
left join categories c on a.field_1 = c.id
|
left join categories c on a.field_1 = c.id
|
||||||
<where>
|
<where>
|
||||||
|
and a.status='1'
|
||||||
<if test="achievementName != null and achievementName != ''"> and a.achievement_name like concat('%', #{achievementName}, '%')</if>
|
<if test="achievementName != null and achievementName != ''"> and a.achievement_name like concat('%', #{achievementName}, '%')</if>
|
||||||
<if test="source != null and source != ''"> and a.source = #{source}</if>
|
<if test="source != null and source != ''"> and a.source = #{source}</if>
|
||||||
<if test='areaQuery != null and areaQuery != "" '>
|
<if test='areaQuery != null and areaQuery != "" '>
|
||||||
|
|
Loading…
Reference in New Issue