From 5d32465af99fa8a6333766a446567d2f1285f651 Mon Sep 17 00:00:00 2001
From: xiangpei <xiangpei@timesnew.cn>
Date: 星期五, 26 四月 2024 16:25:53 +0800
Subject: [PATCH] sql备份
---
ycl-server/src/main/java/com/ycl/platform/service/ITContractService.java | 58 +++++++++++++++-------------------------------------------
1 files changed, 15 insertions(+), 43 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 dae7f78..338ad78 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,62 +1,34 @@
package com.ycl.platform.service;
+import com.baomidou.mybatisplus.extension.service.IService;
import com.ycl.platform.domain.entity.TContract;
+import com.ycl.system.AjaxResult;
+import jakarta.servlet.http.HttpServletResponse;
+import org.springframework.web.multipart.MultipartFile;
import java.util.List;
/**
* 銆愯濉啓鍔熻兘鍚嶇О銆慡ervice鎺ュ彛
- *
+ *
* @author ruoyi
* @date 2024-03-12
*/
-public interface ITContractService
-{
- /**
- * 鏌ヨ銆愯濉啓鍔熻兘鍚嶇О銆�
- *
- * @param id 銆愯濉啓鍔熻兘鍚嶇О銆戜富閿�
- * @return 銆愯濉啓鍔熻兘鍚嶇О銆�
- */
- public TContract selectTContractById(Long id);
+public interface ITContractService extends IService<TContract> {
/**
- * 鏌ヨ銆愯濉啓鍔熻兘鍚嶇О銆戝垪琛�
- *
- * @param tContract 銆愯濉啓鍔熻兘鍚嶇О銆�
- * @return 銆愯濉啓鍔熻兘鍚嶇О銆戦泦鍚�
+ * 瀵煎叆鍚堝悓妯℃澘
+ * @param response 缁撴灉
*/
- public List<TContract> selectTContractList(TContract tContract);
+ void importTemplate(HttpServletResponse response);
/**
- * 鏂板銆愯濉啓鍔熻兘鍚嶇О銆�
- *
- * @param tContract 銆愯濉啓鍔熻兘鍚嶇О銆�
- * @return 缁撴灉
+ * 瀵煎叆鍚堝悓鏁版嵁
+ * @param file 鏂囦欢
+ * @param tContract 鍚堝悓淇℃伅
+ * @return 瀵煎叆缁撴灉
*/
- public int insertTContract(TContract tContract);
+ AjaxResult importData(MultipartFile file, TContract tContract);
- /**
- * 淇敼銆愯濉啓鍔熻兘鍚嶇О銆�
- *
- * @param tContract 銆愯濉啓鍔熻兘鍚嶇О銆�
- * @return 缁撴灉
- */
- public int updateTContract(TContract tContract);
-
- /**
- * 鎵归噺鍒犻櫎銆愯濉啓鍔熻兘鍚嶇О銆�
- *
- * @param ids 闇�瑕佸垹闄ょ殑銆愯濉啓鍔熻兘鍚嶇О銆戜富閿泦鍚�
- * @return 缁撴灉
- */
- public int deleteTContractByIds(Long[] ids);
-
- /**
- * 鍒犻櫎銆愯濉啓鍔熻兘鍚嶇О銆戜俊鎭�
- *
- * @param id 銆愯濉啓鍔熻兘鍚嶇О銆戜富閿�
- * @return 缁撴灉
- */
- public int deleteTContractById(Long id);
+ List<TContract> selectAll();
}
--
Gitblit v1.8.0