From 27df1079c1d230fab29f565f5209f2a02e0def8a Mon Sep 17 00:00:00 2001
From: liusheng <337615773@qq.com>
Date: 星期一, 20 七月 2026 16:56:51 +0800
Subject: [PATCH] 省立同德的功能
---
smartor/src/main/java/com/smartor/mapper/MedicationItemMapper.java | 63 +++++++++++++++++++++++++++++++
1 files changed, 63 insertions(+), 0 deletions(-)
diff --git a/smartor/src/main/java/com/smartor/mapper/MedicationItemMapper.java b/smartor/src/main/java/com/smartor/mapper/MedicationItemMapper.java
new file mode 100644
index 0000000..e09c3a9
--- /dev/null
+++ b/smartor/src/main/java/com/smartor/mapper/MedicationItemMapper.java
@@ -0,0 +1,63 @@
+package com.smartor.mapper;
+
+import java.util.List;
+import org.apache.ibatis.annotations.Mapper;
+import com.smartor.domain.MedicationItem;
+
+/**
+ * 鑽搧淇℃伅Mapper鎺ュ彛
+ *
+ * @author lihu
+ * @date 2026-07-17
+ */
+@Mapper
+public interface MedicationItemMapper
+{
+ /**
+ * 鏌ヨ鑽搧淇℃伅
+ *
+ * @param id 鑽搧淇℃伅涓婚敭
+ * @return 鑽搧淇℃伅
+ */
+ public MedicationItem selectMedicationItemById(Long id);
+
+ /**
+ * 鏌ヨ鑽搧淇℃伅鍒楄〃
+ *
+ * @param medicationItem 鑽搧淇℃伅
+ * @return 鑽搧淇℃伅闆嗗悎
+ */
+ public List<MedicationItem> selectMedicationItemList(MedicationItem medicationItem);
+
+ /**
+ * 鏂板鑽搧淇℃伅
+ *
+ * @param medicationItem 鑽搧淇℃伅
+ * @return 缁撴灉
+ */
+ public int insertMedicationItem(MedicationItem medicationItem);
+
+ /**
+ * 淇敼鑽搧淇℃伅
+ *
+ * @param medicationItem 鑽搧淇℃伅
+ * @return 缁撴灉
+ */
+ public int updateMedicationItem(MedicationItem medicationItem);
+
+ /**
+ * 鍒犻櫎鑽搧淇℃伅
+ *
+ * @param id 鑽搧淇℃伅涓婚敭
+ * @return 缁撴灉
+ */
+ public int deleteMedicationItemById(Long id);
+
+ /**
+ * 鎵归噺鍒犻櫎鑽搧淇℃伅
+ *
+ * @param ids 闇�瑕佸垹闄ょ殑鏁版嵁涓婚敭闆嗗悎
+ * @return 缁撴灉
+ */
+ public int deleteMedicationItemByIds(Long[] ids);
+}
--
Gitblit v1.9.3