From f8889f7364adae89e45a5ec3fcf4b38e430cf389 Mon Sep 17 00:00:00 2001 From: xiangpei <xiangpei@timesnew.cn> Date: 星期二, 10 九月 2024 10:41:18 +0800 Subject: [PATCH] 工单详情 --- ycl-server/src/main/java/com/ycl/platform/controller/CalculateRuleController.java | 20 ++++++++++++++++++++ 1 files changed, 20 insertions(+), 0 deletions(-) diff --git a/ycl-server/src/main/java/com/ycl/platform/controller/CalculateRuleController.java b/ycl-server/src/main/java/com/ycl/platform/controller/CalculateRuleController.java index efc2f01..30d5dc4 100644 --- a/ycl-server/src/main/java/com/ycl/platform/controller/CalculateRuleController.java +++ b/ycl-server/src/main/java/com/ycl/platform/controller/CalculateRuleController.java @@ -39,6 +39,26 @@ } /** + * 鏍规嵁鍚堝悓id鏌ヨ杩濈害瑙勫垯鍒楄〃 + */ + @PreAuthorize("@ss.hasPermi('system:rule:query')") + @GetMapping("/getRuleListByContractId") + public AjaxResult getRuleListByContractId(Integer contractId) + { + return success(defaultRuleService.getRuleListByContractId(contractId)); + } + + /** + * 鏍规嵁杩愮淮鍗曚綅鏌ヨ杩濈害瑙勫垯鍒楄〃 + */ + @PreAuthorize("@ss.hasPermi('system:rule:query')") + @GetMapping("/getRuleListByUnitId") + public AjaxResult getRuleListByUnitId(Integer unitId) + { + return success(defaultRuleService.getRuleListByUnitId(unitId)); + } + + /** * 瀵煎嚭杩濈害瑙勫垯鍒楄〃 */ @PreAuthorize("@ss.hasPermi('system:rule:export')") -- Gitblit v1.8.0