From 1f2740829d4e7e1198a2070f66849873b18b4c22 Mon Sep 17 00:00:00 2001
From: admin <weikou2014>
Date: 星期一, 31 五月 2021 18:50:00 +0800
Subject: [PATCH] 特价消息完善
---
fanli/src/main/java/com/yeshi/fanli/dao/mybatis/help/AppPageNotificationMapper.java | 36 +++++++++++++++++++++++++++++++++---
1 files changed, 33 insertions(+), 3 deletions(-)
diff --git a/fanli/src/main/java/com/yeshi/fanli/dao/mybatis/help/AppPageNotificationMapper.java b/fanli/src/main/java/com/yeshi/fanli/dao/mybatis/help/AppPageNotificationMapper.java
index 3b65dd9..2297e2e 100644
--- a/fanli/src/main/java/com/yeshi/fanli/dao/mybatis/help/AppPageNotificationMapper.java
+++ b/fanli/src/main/java/com/yeshi/fanli/dao/mybatis/help/AppPageNotificationMapper.java
@@ -1,5 +1,10 @@
package com.yeshi.fanli.dao.mybatis.help;
+import java.util.List;
+
+import com.yeshi.fanli.entity.SystemEnum;
+import org.apache.ibatis.annotations.Param;
+
import com.yeshi.fanli.entity.bus.help.AppPageNotification;
public interface AppPageNotificationMapper {
@@ -12,15 +17,40 @@
AppPageNotification selectByPrimaryKey(Long id);
+
+ int updateByPrimaryKeySelective(AppPageNotification record);
+
+ int updateByPrimaryKey(AppPageNotification record);
+
+ /**
+ * 鏍规嵁涓婚敭鎵归噺鍒犻櫎
+ * @param list
+ * @return
+ */
+ int deleteBatchByPrimaryKey(List<Long> list);
+
/**
* 閫氳繃绫诲瀷鑾峰彇閫氱煡
*
* @param type
* @return
*/
- AppPageNotification selectByType(String type);
+ AppPageNotification selectByType(@Param("type") String type,@Param("system") SystemEnum system);
- int updateByPrimaryKeySelective(AppPageNotification record);
+ /**
+ * 閫氳繃绫诲瀷鑾峰彇鏈夋晥閫氱煡
+ *
+ * @param type
+ * @return
+ */
+ List<AppPageNotification> listValidByType(@Param("type") String type,@Param("system") SystemEnum system);
- int updateByPrimaryKey(AppPageNotification record);
+ /**
+ * 鍚庣鍒楄〃鏌ヨ
+ * @return
+ */
+ List<AppPageNotification> listQuery(@Param("start") long start, @Param("count") int count, @Param("key") String key,
+ @Param("show") Integer show, @Param("canClose") Integer canClose,@Param("system") SystemEnum system);
+
+ long countQuery(@Param("key") String key, @Param("show") Integer show, @Param("canClose") Integer canClose,@Param("system") SystemEnum system);
}
\ No newline at end of file
--
Gitblit v1.8.0