MrShi
2025-06-04 9a31250d5318970e3b387a80388e6cdaf8d73854
server/company/src/main/java/com/doumee/api/business/InsuranceController.java
@@ -99,7 +99,9 @@
    @ApiOperation("根据ID查询")
    @GetMapping("/{id}")
    @RequiresPermissions("business:insurance:query")
    public ApiResponse findById(@PathVariable Integer id) {
        return ApiResponse.success(insuranceService.findById(id));
    public ApiResponse findById(@PathVariable Integer id,Integer type) {
        return ApiResponse.success(insuranceService.findByIdAndType(id,type));
    }
}