yaozc2021
2025-04-01 379dc731efb3dbe2f4fb5dc4e2fa38a99360bab9
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);
    }
}