From fe47ff909096722ba8e9172c3e1f0f7910b16909 Mon Sep 17 00:00:00 2001
From: sinake <sinake1@qq.com>
Date: 星期二, 21 十月 2025 14:49:18 +0800
Subject: [PATCH] 结束出院日期格式
---
smartor/src/main/java/com/smartor/mapper/PatMedOuthospMapper.java | 40 ++++++++++++++++++++++++++++++++++++++++
1 files changed, 40 insertions(+), 0 deletions(-)
diff --git a/smartor/src/main/java/com/smartor/mapper/PatMedOuthospMapper.java b/smartor/src/main/java/com/smartor/mapper/PatMedOuthospMapper.java
index ddd332c..266b9e9 100644
--- a/smartor/src/main/java/com/smartor/mapper/PatMedOuthospMapper.java
+++ b/smartor/src/main/java/com/smartor/mapper/PatMedOuthospMapper.java
@@ -6,6 +6,7 @@
import com.smartor.domain.PatMedReq;
import com.smartor.domain.PatMedRes;
import org.apache.ibatis.annotations.Mapper;
+import org.apache.ibatis.annotations.Param;
/**
* 鎮h�呴棬璇婅褰昅apper鎺ュ彛
@@ -39,6 +40,8 @@
*/
public int insertPatMedOuthosp(PatMedOuthosp patMedOuthosp);
+ public int batchPatMedOuthosp(List<PatMedOuthosp> patMedOuthosps);
+
/**
* 淇敼鎮h�呴棬璇婅褰�
*
@@ -66,4 +69,41 @@
PatMedRes selectPatMedOuthospCount(PatMedReq patMedReq);
public List<PatMedRes> getDeptRanking(PatMedReq patMedReq);
+
+ /**
+ * 鑾峰彇琛ㄧ殑鏁伴噺
+ *
+ * @return
+ */
+ int countPatMedOuthosp();
+
+ /**
+ * 淇敼琛ㄥ悕
+ *
+ * @return
+ */
+ void renameTable(@Param("oldName") String oldName, @Param("newName") String newName);
+
+ /**
+ * 鍒涘缓鏂拌〃
+ *
+ * @param templateName
+ * @param newName
+ */
+ void createPatMedOuthosp(@Param("templateName") String templateName, @Param("newName") String newName);
+
+ void createPatMedOuthospAutoAdd(@Param("newName") String newName);
+
+
+ void setAutoIncrement(@Param("tableName") String tableName, @Param("autoInc") long autoInc);
+
+ // 鏌ヨ鎵�鏈� pat_med_outhosp 寮�澶寸殑琛ㄥ悕
+ List<String> getAllOuthospTableNames();
+
+ // 鏌ヨ鎸囧畾琛ㄧ殑鏈�澶d
+ Long getMaxIdFromTable(@Param("tableName") String tableName);
+
+ void createOrReplaceView(@Param("viewSql") String viewSql);
}
+
+
--
Gitblit v1.9.3