package com.kingdee.eas.custom.sendmessage.handler;

import com.kingdee.bos.BOSException;
import com.kingdee.bos.Context;
import com.kingdee.eas.common.EASBizException;
import com.kingdee.eas.custom.sendmessage.utils.SendMessageUtils;
import com.kingdee.shr.base.syssetting.context.SHRContext;
import com.kingdee.shr.base.syssetting.exception.SHRWebException;
import com.kingdee.shr.empCertification.web.handler.EmpCertificationBillHRListHandler;
import org.springframework.ui.ModelMap;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

/**
 * @author qingwu
 * @date 2024/11/19
 * @apiNote
 * 员工在职证明办理列表
 */
public class EmpCertificationBillHRListHandlerEx extends EmpCertificationBillHRListHandler {
    
    /**
     * 发送消息
     *
     * @param request
     * @param response
     * @param modelMap
     * @throws SHRWebException
     */
    public void sendMessageAction(HttpServletRequest request, HttpServletResponse response, ModelMap modelMap) throws SHRWebException, BOSException, EASBizException {
        String billId = this.getBillId(request);
        Context ctx = SHRContext.getInstance().getContext();
        SendMessageUtils.sendMessage(ctx, billId);
    }
}
