admin
2019-08-02 90b211c63f9d596aa90b508f76eb916a30b68731
fanli/src/main/java/com/yeshi/fanli/service/impl/config/HotSearchServiceImpl.java
@@ -47,15 +47,16 @@
      HotSearch updateSearch = new HotSearch(hotSearch.getId());
      updateSearch.setName(hotSearch.getName());
      updateSearch.setOrderby(hotSearch.getOrderby());
      updateSearch.setUseType(hotSearch.getUseType());
      hotSearchMapper.updateByPrimaryKeySelective(updateSearch);
   }
   
   @Override
   public List<HotSearch> listQuery(int start, int count, String key, Long systemId) throws Exception {
   public List<HotSearch> listQuery(int start, int count, String key, Long systemId, Integer useType) throws Exception {
      
      List<HotSearch> listObj = hotSearchMapper.listQuery(start, count, key, systemId);
      List<HotSearch> listObj = hotSearchMapper.listQuery(start, count, key, systemId, useType);
      if (listObj == null || listObj.size() == 0) {
         return null;
@@ -119,8 +120,8 @@
   }
   
   @Override
   public int countList(String key, Long systemId) {
      return hotSearchMapper.countQuery(key, systemId);
   public int countList(String key, Long systemId, Integer useType) {
      return hotSearchMapper.countQuery(key, systemId, useType);
   }
}