fuliqi
2024-09-10 7d5ea3631d163343b652bd6bd40b94b34c4194eb
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')")