From 36e5600e3497d97b42376c5f096d85891f1ad94b Mon Sep 17 00:00:00 2001
From: 龚焕茏 <2842157468@qq.com>
Date: 星期二, 30 四月 2024 16:50:12 +0800
Subject: [PATCH] 改为连表查询

---
 ycl-server/src/main/java/com/ycl/platform/service/ITContractService.java |   14 ++++++++++++++
 1 files changed, 14 insertions(+), 0 deletions(-)

diff --git a/ycl-server/src/main/java/com/ycl/platform/service/ITContractService.java b/ycl-server/src/main/java/com/ycl/platform/service/ITContractService.java
index 338ad78..15d8e8c 100644
--- a/ycl-server/src/main/java/com/ycl/platform/service/ITContractService.java
+++ b/ycl-server/src/main/java/com/ycl/platform/service/ITContractService.java
@@ -1,6 +1,7 @@
 package com.ycl.platform.service;
 
 import com.baomidou.mybatisplus.extension.service.IService;
+import com.ycl.platform.domain.entity.CalculateMoneyRule;
 import com.ycl.platform.domain.entity.TContract;
 import com.ycl.system.AjaxResult;
 import jakarta.servlet.http.HttpServletResponse;
@@ -31,4 +32,17 @@
     AjaxResult importData(MultipartFile file, TContract tContract);
 
     List<TContract> selectAll();
+
+    /**
+     * 鏍规嵁鍚堝悓id鏌ヨ閽辨牳绠楄鍒�
+     * @param contractId 鍚堝悓id
+     * @return 瑙勫垯
+     */
+    List<CalculateMoneyRule> selectMoneyRules(Integer contractId);
+
+    /**
+     * 鏌ヨ鎵�鏈夋鍦ㄤ娇鐢ㄧ殑鍚堝悓
+     * @return 鏁版嵁
+     */
+    List<TContract> selectUsingContract();
 }

--
Gitblit v1.8.0