|
@@ -274,9 +274,10 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
ba.sort
|
|
ba.sort
|
|
|
FROM
|
|
FROM
|
|
|
bm_application ba
|
|
bm_application ba
|
|
|
|
|
+ left join vip_application v on ba.appId = v.appId and v.user_id = #{params.userId}
|
|
|
WHERE
|
|
WHERE
|
|
|
ba.visible='1'
|
|
ba.visible='1'
|
|
|
- and ba.create_by= #{params.userId}
|
|
|
|
|
|
|
+ and (ba.create_by= #{params.userId} or v.user_id is not null)
|
|
|
<if test="typeId != null and typeId != ''">
|
|
<if test="typeId != null and typeId != ''">
|
|
|
AND ba.type_id = #{typeId}
|
|
AND ba.type_id = #{typeId}
|
|
|
</if>
|
|
</if>
|