yubo
2026-03-11 97816a0fa698c71e7c75033bd6ba5ad3172a17f2
febs-server/febs-server-hr/src/main/java/cc/mrbird/febs/server/hr/controller/EmpLaborTroubleController.java
@@ -51,7 +51,6 @@
    }
    @GetMapping("list")
    @PreAuthorize("hasAuthority('empLabortrouble:list')")
    public FebsResponse empLabortroubleList(QueryRequest request, EmpLaborTrouble empLabortrouble) {
        Map<String, Object> dataTable = FebsUtil.getDataTable(this.empLabortroubleService.findEmpLabortroubles(request, empLabortrouble));
        return new FebsResponse().data(dataTable);
@@ -73,7 +72,7 @@
            this.empLabortroubleService.createEmpLabortrouble(empLabortrouble);
        } 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);
@@ -94,7 +93,6 @@
    }
    @DeleteMapping("{ids}")
    @PreAuthorize("hasAuthority('empLabortrouble:delete')")
    public void logicDeleteEmpLabortrouble(@PathVariable("ids") String ids) throws FebsException {
        try {
            this.empLabortroubleService.logicDelEmpLabortrouble(ids);
@@ -112,7 +110,7 @@
            this.empLabortroubleService.updateEmpLabortrouble(empLabortrouble);
        } 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);