通知站内信

This commit is contained in:
ran.shang
2025-06-26 17:36:59 +08:00
parent 8a77c9179b
commit 881f196ef1
8 changed files with 507 additions and 79 deletions

View File

@@ -244,4 +244,46 @@
</if>
ORDER BY t.id DESC
</sql>
<select id="noticeInvite" resultType="map">
select p.position_name positionName,
pr.create_time createTime,
pr.interview_time interviewTime,
pr.interview_location interviewLocation,
ou.phone interviewPhone,
o.org_name orgName,
u.real_name realName
from hr_position_registration pr
inner join hr_position p on pr.position_id = p.id and p.deleted = 0
inner join xs_org o on p.org_id = o.id and o.deleted = 0
inner join uc_user u on pr.user_id = u.id and u.deleted = 0
inner join uc_user ou on ou.id = #{orgUserId}
where pr.id = #{positionRegistrationId}
and pr.deleted = 0
</select>
<select id="noticeInterview" resultType="map">
select p.position_name positionName,
pr.create_time createTime,
pr.interview_time interviewTime,
pr.interview_location interviewLocation,
pr.induction_time inductionTime,
pr.remark,
ou.phone interviewPhone,
pa.detail_address positionAddress,
o.org_name orgName,
u.real_name realName
from hr_position_registration pr
inner join hr_position p on pr.position_id = p.id and p.deleted = 0
inner join xs_org o on p.org_id = o.id and o.deleted = 0
inner join uc_user u on pr.user_id = u.id and u.deleted = 0
inner join uc_user ou on ou.id = #{orgUserId}
left join hr_position_address pa on p.address_id = pa.id and pa.deleted = 0
where pr.id = #{positionRegistrationId}
and pr.deleted = 0
</select>
</mapper>