From 9d35ba657fa5e3add766405d76e3ff8c4dcd4ad4 Mon Sep 17 00:00:00 2001 From: admin <weikou2014> Date: 星期六, 04 七月 2020 15:38:00 +0800 Subject: [PATCH] 多系统兼容优化 --- fanli/src/main/java/com/yeshi/fanli/dao/mybatis/help/AppPageNotificationMapper.java | 36 +++++++++++++++++++----------------- 1 files changed, 19 insertions(+), 17 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 efc3132..8020cf6 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 @@ -2,6 +2,7 @@ import java.util.List; +import com.yeshi.fanli.entity.SystemEnum; import org.apache.ibatis.annotations.Param; import com.yeshi.fanli.entity.bus.help.AppPageNotification; @@ -16,21 +17,6 @@ AppPageNotification selectByPrimaryKey(Long id); - /** - * 閫氳繃绫诲瀷鑾峰彇閫氱煡 - * - * @param type - * @return - */ - AppPageNotification selectByType(String type); - - /** - * 閫氳繃绫诲瀷鑾峰彇鏈夋晥閫氱煡 - * - * @param type - * @return - */ - List<AppPageNotification> listValidByType(String type); int updateByPrimaryKeySelective(AppPageNotification record); @@ -44,11 +30,27 @@ int deleteBatchByPrimaryKey(List<Long> list); /** + * 閫氳繃绫诲瀷鑾峰彇閫氱煡 + * + * @param type + * @return + */ + AppPageNotification selectByType(@Param("type") String type,@Param("system") SystemEnum system); + + /** + * 閫氳繃绫诲瀷鑾峰彇鏈夋晥閫氱煡 + * + * @param type + * @return + */ + List<AppPageNotification> listValidByType(@Param("type") String type,@Param("system") SystemEnum system); + + /** * 鍚庣鍒楄〃鏌ヨ * @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("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); + 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