admin
2020-07-14 eec7e789a87863c25d92c10ad5dfc22ad80c448d
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);
}