admin
2019-11-23 51a4ff5d777028d52a19c314a99f796334cb7b51
fanli/src/main/java/com/yeshi/fanli/service/impl/goods/TaoBaoCouponServiceImpl.java
@@ -86,9 +86,8 @@
   @Override
   public List<TaoBaoCoupon> getTaoBaoCouponListBykeys(List<String> searchKeys, int page) {
      if (searchKeys == null || searchKeys.size() == 0) {
         searchKeys = new ArrayList<String>();
         searchKeys.add("");
      if (searchKeys != null && searchKeys.size() == 0) {
         searchKeys = null;
      }
      
      return taoBaoCouponMapper.getTaoBaoCouponListBykeys((page - 1) * Constant.PAGE_SIZE, Constant.PAGE_SIZE,searchKeys);
@@ -96,11 +95,9 @@
   
   @Override
   public int getCount(List<String> searchKeys) {
      if (searchKeys == null || searchKeys.size() == 0) {
         searchKeys = new ArrayList<String>();
         searchKeys.add("");
      if (searchKeys != null && searchKeys.size() == 0) {
         searchKeys = null;
      }
      return taoBaoCouponMapper.countTaoBaoCouponListBykeys(searchKeys);
   }