|
|
@@ -280,8 +280,17 @@ interview_distribution = values(interview_distribution)
|
|
|
</foreach>
|
|
|
</if>
|
|
|
<if test="shareType !=null">
|
|
|
- and a.share_type = #{shareType}
|
|
|
+ and a.share_type = #{shareType}
|
|
|
+ </if>
|
|
|
+ <if test="businessScope !=null">
|
|
|
+ and find_in_set(#{businessScope},b.business_scope)
|
|
|
</if>
|
|
|
+ <if test="industry !=null">
|
|
|
+ and b.industry in
|
|
|
+ <foreach collection="industry" item="item" separator="," open="(" close=")">
|
|
|
+ #{item}
|
|
|
+ </foreach>
|
|
|
+ </if>
|
|
|
</where>
|
|
|
order by a.transfer_time desc
|
|
|
<if test="page_sql != null">
|
|
|
@@ -291,6 +300,7 @@ interview_distribution = values(interview_distribution)
|
|
|
<select id="selectUserArchivesCount" resultType="java.lang.Integer">
|
|
|
select count(*)
|
|
|
from user a
|
|
|
+ left join organization_identity b on a.id =b.uid
|
|
|
left join user_mid d on a.id =d.uid
|
|
|
<where>
|
|
|
<if test="newChannel !=null">
|
|
|
@@ -311,6 +321,15 @@ interview_distribution = values(interview_distribution)
|
|
|
<if test="shareType !=null">
|
|
|
and a.share_type = #{shareType}
|
|
|
</if>
|
|
|
+ <if test="businessScope !=null">
|
|
|
+ and find_in_set(#{businessScope},b.business_scope)
|
|
|
+ </if>
|
|
|
+ <if test="industry !=null">
|
|
|
+ and b.industry in
|
|
|
+ <foreach collection="industry" item="item" separator="," open="(" close=")">
|
|
|
+ #{item}
|
|
|
+ </foreach>
|
|
|
+ </if>
|
|
|
</where>
|
|
|
</select>
|
|
|
</mapper>
|