1.添加确认时保存app用户录用消息
2.添加岗位发布时给收藏此企业用户移动用户新岗位消息
This commit is contained in:
@@ -36,4 +36,10 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
where del_flag = '0' and user_id = #{userId}
|
||||
order by create_time desc)
|
||||
</select>
|
||||
|
||||
<select id="selectAppuserList" resultType="com.ruoyi.common.core.domain.entity.AppUser">
|
||||
select b.* from company_collection a
|
||||
INNER JOIN app_user b on a.user_id=b.user_id
|
||||
WHERE a.del_flag='0' and b.del_flag='0' and a.company_id=#{companyId}
|
||||
</select>
|
||||
</mapper>
|
||||
@@ -104,4 +104,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
</where>
|
||||
LIMIT 50
|
||||
</select>
|
||||
|
||||
<select id="selectCompanyByJobId" resultType="com.ruoyi.common.core.domain.entity.Company">
|
||||
select a.* from COMPANY a inner join job b on a.company_id=b.company_id and b.job_id=#{jobId} limit 1
|
||||
</select>
|
||||
|
||||
</mapper>
|
||||
@@ -322,4 +322,10 @@
|
||||
<include refid="selectAppUserResult"/>inner join app_user a on e.user_id =a.user_id and a.del_flag='0'
|
||||
where e.del_flag='0' and e.job_id=#{jobId}
|
||||
</select>
|
||||
|
||||
<select id="getJobInfo" resultType="com.ruoyi.cms.domain.Job">
|
||||
SELECT j.*,c.code,c.name as companyName,c.company_id FROM job as j
|
||||
left join company as c on c.company_id = j.company_id and j.del_flag='0' and j.job_id=#{jobId}
|
||||
and c.del_flag='0' limit 1
|
||||
</select>
|
||||
</mapper>
|
||||
@@ -28,4 +28,17 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
</if>
|
||||
</select>
|
||||
|
||||
<insert id="batchInsert" parameterType="java.util.List">
|
||||
INSERT INTO notice (
|
||||
title, notice_type, notice_content,is_read,user_id,sub_title,not_read_count,date,bussiness_id,
|
||||
create_by, create_time, del_flag,remark
|
||||
) VALUES
|
||||
<foreach collection="list" item="item" separator=",">
|
||||
(
|
||||
#{item.title}, #{item.noticeType}, #{item.noticeContent},#{item.isRead},#{item.userId},#{item.subTitle},
|
||||
#{item.notReadCount},sysdate(),#{item.bussinessId},
|
||||
#{item.createBy}, #{item.createTime}, #{item.delFlag},#{item.remark}
|
||||
)
|
||||
</foreach>
|
||||
</insert>
|
||||
</mapper>
|
||||
Reference in New Issue
Block a user