| | |
| | | this.empUnemploymentService.createEmpUnemployment(empUnemployment); |
| | | } catch (Exception e) { |
| | | String message = "新增失业金领取表失败"; |
| | | if (!StrUtil.equals(e.getMessage(), MyConstant.MESSAGE)){ |
| | | if (StrUtil.equals(e.getMessage(), MyConstant.MESSAGE)){ |
| | | message = e.getMessage(); |
| | | } |
| | | log.error(message, e); |
| | |
| | | } |
| | | |
| | | @DeleteMapping("{ids}") |
| | | @PreAuthorize("hasAuthority('empUnemployment:delete')") |
| | | public void logicDeleteEmpUnemployment(@PathVariable("ids") String ids) throws FebsException { |
| | | try { |
| | | this.empUnemploymentService.logicDelEmpUnemployment(ids); |
| | |
| | | this.empUnemploymentService.updateEmpUnemployment(empUnemployment); |
| | | } catch (Exception e) { |
| | | String message = "修改失业金领取表失败"; |
| | | if (!StrUtil.equals(e.getMessage(), MyConstant.MESSAGE)){ |
| | | if (StrUtil.equals(e.getMessage(), MyConstant.MESSAGE)){ |
| | | message = e.getMessage(); |
| | | } |
| | | log.error(message, e); |