weicd
2024-12-27 0766c42639d0e9b12d8dc2f93589b4713ced57a6
eladmin-master/eladmin-system/src/main/java/me/zhengjie/modules/treatment/rest/CmnInsuranceController.java
@@ -92,4 +92,13 @@
        cmnInsuranceService.deleteAll(ids);
        return new ResponseEntity<>(HttpStatus.OK);
    }
    @PutMapping("/synchronous")
    @Log("同步五险一金")
    @ApiOperation("同步五险一金")
    @PreAuthorize("@el.check('cmnInsurance:synchronous')")
    public ResponseEntity<Object> updateCmnInsurance(@RequestBody Long[] ids){
        cmnInsuranceService.synchronous(ids);
        return new ResponseEntity<>(HttpStatus.OK);
    }
}