岗位列表-添加岗位联系人
This commit is contained in:
@@ -55,4 +55,22 @@
|
||||
</foreach>
|
||||
</insert>
|
||||
|
||||
<select id="selectByJobIds" parameterType="java.util.List" resultMap="jobContactResult">
|
||||
<include refid="JobContactVo"/>
|
||||
<where> del_flag = '0'
|
||||
<if test="jobIds != null and jobIds.size() > 0">
|
||||
AND job_id IN (
|
||||
<foreach collection="jobIds" item="jobId" separator=",">
|
||||
<if test="jobId != null">
|
||||
#{jobId}
|
||||
</if>
|
||||
</foreach>
|
||||
)
|
||||
</if>
|
||||
<if test="jobIds == null or jobIds.size() == 0">
|
||||
AND 1 = 0
|
||||
</if>
|
||||
</where>
|
||||
</select>
|
||||
|
||||
</mapper>
|
||||
|
||||
Reference in New Issue
Block a user