1.我的面试添加邀约未读数,增加邀约已读接口,批量已读接口
2.管理端面试列表菜单添加已接受,已拒绝的红标数
This commit is contained in:
@@ -53,6 +53,7 @@
|
||||
<if test="userId != null and userId != ''"> and user_id = #{userId}</if>
|
||||
<if test="applyId != null and applyId != ''"> and apply_id = #{applyId}</if>
|
||||
<if test="status != null and status != ''"> and status = #{status}</if>
|
||||
<if test="isRead != null and isRead != ''"> and is_read = #{isRead}</if>
|
||||
</where>
|
||||
order by create_time desc
|
||||
</select>
|
||||
@@ -81,8 +82,16 @@
|
||||
<if test="userId != null and userId != ''"> and t.user_id = #{userId}</if>
|
||||
<if test="applyId != null and applyId != ''"> and t.apply_id = #{applyId}</if>
|
||||
<if test="status != null and status != ''"> and t.status = #{status}</if>
|
||||
<if test="isRead != null and isRead != ''"> and t.is_read = #{isRead}</if>
|
||||
</where>
|
||||
order by t.create_time desc
|
||||
</select>
|
||||
|
||||
<select id="selectMsyyhbs" resultMap="com.ruoyi.cms.domain.vo.InviteCountDTO">
|
||||
select count(1) total,sum(case when t.status='accepted' then 1 else 0 END) jss,
|
||||
sum(case when t.status='rejected' then 1 else 0 END) jjs from interview_invitation t
|
||||
INNER join company cp on t.company_id=cp.company_id
|
||||
where cp.code=#{idCard}
|
||||
</select>
|
||||
|
||||
</mapper>
|
||||
|
||||
Reference in New Issue
Block a user