Пример #1
0
 /** 审核职位招聘 */
 public String checkPosts() {
   this.model = postsService.getEntity(sid);
   int sta = model.getApprovalStatus();
   model.setApprovalStatus(status);
   postsService.updateEntity(model);
   model.setApprovalStatus(sta);
   return "checkPostsAction";
 }
Пример #2
0
 /** 用户查询发布的职位 */
 public String findMyPostsList() {
   if (status == 1 || status == -1) {
     model.setApprovalStatus(status);
   }
   this.myPosts = postsService.findMyPostsList(model);
   return "postsFind";
 }
Пример #3
0
 /** 职位详情 */
 public String previewPosts() {
   this.model = postsService.getEntity(sid);
   if (user != null && jobApplicationService.isExistResume(user.getId(), sid)) {
     existResume = true;
   }
   return "previewPosts";
 }
Пример #4
0
 /** 修改职位 */
 public String saveOrUpdatePosts() {
   this.sid = model.getId();
   // 保持关联
   model.setEnterprise(enterprise);
   model.setLastDate(new Date());
   model.setApprovalStatus(-1);
   postsService.saveOrUpdateEntity(model);
   return SUCCESS;
 }
Пример #5
0
 /** 编辑职位 */
 public String editPosts() {
   this.model = postsService.getEntity(sid);
   return "postsPage";
 }
Пример #6
0
 /** 企业查看发布的职位 */
 public String myPosts() {
   this.myPosts = postsService.findMyPosts(enterprise);
   return "myPostsListPage";
 }
Пример #7
0
 /** 删除职位 */
 public String delPosts() {
   this.model = postsService.getEntity(sid);
   postsService.deleteEntity(model);
   return SUCCESS;
 }