fuliqi
2024-07-31 f284c5ef6a1aa6e9ba5d4e94e4b2abe83b6ea18c
ycl-server/src/main/java/com/ycl/platform/controller/CalculateRuleController.java
@@ -49,6 +49,16 @@
    }
    /**
     * 根据运维单位查询违约规则列表
     */
    @PreAuthorize("@ss.hasPermi('system:rule:query')")
    @GetMapping("/getRuleListByUnitId")
    public AjaxResult getRuleListByUnitId(Integer unitId)
    {
        return success(defaultRuleService.getRuleListByUnitId(unitId));
    }
    /**
     * 导出违约规则列表
     */
    @PreAuthorize("@ss.hasPermi('system:rule:export')")