ApplicantBeisenListHandler.java 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. package com.kingdee.eas.custom.recuritment.handler;
  2. import com.kingdee.bos.Context;
  3. import com.kingdee.eas.custom.recuritment.task.RecuritmentFacadeFactory;
  4. import com.kingdee.shr.base.syssetting.context.SHRContext;
  5. import com.kingdee.shr.base.syssetting.exception.SHRWebException;
  6. import com.kingdee.shr.base.syssetting.exception.ShrWebBizException;
  7. import com.kingdee.shr.base.syssetting.web.handler.ListHandler;
  8. import org.springframework.ui.ModelMap;
  9. import javax.servlet.http.HttpServletRequest;
  10. import javax.servlet.http.HttpServletResponse;
  11. /**
  12. * @author qingwu
  13. * @date 2025/7/2
  14. * @apiNote
  15. */
  16. public class ApplicantBeisenListHandler extends ListHandler {
  17. /**
  18. * ͬ²½±±É­¼òÀú
  19. *
  20. * @param request
  21. * @param response
  22. * @param modelMap
  23. * @throws SHRWebException
  24. */
  25. public void syncBeisenResumeAction(HttpServletRequest request, HttpServletResponse response, ModelMap modelMap) throws SHRWebException {
  26. Context ctx = SHRContext.getInstance().getContext();
  27. String billId = getBillId(request);
  28. try {
  29. RecuritmentFacadeFactory.getLocalInstance(ctx).syncBeisenResume(billId);
  30. } catch (Exception e) {
  31. e.printStackTrace();
  32. throw new ShrWebBizException(e);
  33. }
  34. }
  35. }