AppService.java 723 Bytes
Newer Older
zhangxiaoyan committed
1 2 3
package common.service;

import common.model.AppInfo;
zhangxiaoyan committed
4
import net.sf.json.JSONArray;
zhangxiaoyan committed
5 6 7
import org.springframework.data.domain.Page;

import java.util.List;
zhangxiaoyan committed
8 9
import java.util.Map;
import java.util.concurrent.ExecutionException;
zhangxiaoyan committed
10 11 12 13 14 15

/**
 * Created by zxy on 2017/12/27.
 */
public interface AppService
{
zhangxiaoyan committed
16 17
    Map findAppList(AppInfo app, int pageNum, int pageSize, String sort, Integer isASC, String searchString, String startDate, String endDate)
            throws ExecutionException, InterruptedException;
zhangxiaoyan committed
18 19 20 21

    List<String> findAllCategoryByLevel(int level);

    List<String> findCity();
zhangxiaoyan committed
22

zhangxiaoyan committed
23
    JSONArray findAppDataList(String startDate, String endDate, List<String> pkgNameList, Integer isASC, Integer startNum, Integer size);
zhangxiaoyan committed
24
}