From 0b99371d3e543532608e691e2bdfda3e65e1912c Mon Sep 17 00:00:00 2001
From: xiangpei <xiangpei@timesnew.cn>
Date: 星期五, 20 九月 2024 10:18:24 +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