package com.cftech.brand.apply.service;

import com.alibaba.fastjson.JSONArray;
import com.cftech.brand.apply.model.BrandApply;
import com.cftech.brand.apply.model.BrandApplyVo;
import com.cftech.core.generic.GenericService;
import com.cftech.core.sql.Conds;
import com.cftech.core.sql.Sort;

import java.util.List;

/**
* 品牌申请Service
*
* @author faye
* @date 2020/01/14
*/
public interface BrandApplyService extends GenericService<BrandApply> {

    /**
     * 获取导出的数据
     */
    List<BrandApplyVo> getApplyData(String openId,Conds conds, Sort sort,int page,int pageSize);

    /**
     * 分页查询
     */
    List<BrandApplyVo> fetchSearchByPageVo(Conds conds, Sort sort,int page,int pageSize);
    /**
     * 分页查询count
     */
    int countVo(Conds conds);
    void saveData(BrandApply brandApply, JSONArray detailArr);

}
