package com.yuchen.saas.park.service.service;


import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.yuchen.saas.park.api.entity.park.PmgBatParkSnapshotNewspaper;
import com.yuchen.saas.park.api.vo.park.SnapshotNewspaperDealVo;
import com.yuchen.saas.park.api.vo.park.SnapshotNewspaperDetailVo;
import com.yuchen.saas.park.api.vo.park.SnapshotNewspaperPageVo;
import com.yuchen.saas.park.api.vo.request.PmgBatParkSnapshotNewspaperAddRequest;
import com.yuchen.saas.park.api.vo.request.PmgBatParkSnapshotNewspaperDealRequest;

import javax.servlet.http.HttpServletResponse;

/**
 * <p>
 * 随手拍管理表 服务类
 * </p>
 *
 * @author cxj
 * @since 2023-07-20
 */
public interface IPmgBatParkSnapshotNewspaperService extends IService<PmgBatParkSnapshotNewspaper> {

    /**
     * 小程序提交
     * @param addRequest
     * @return
     */
    Boolean submit(PmgBatParkSnapshotNewspaperAddRequest addRequest);

    IPage<PmgBatParkSnapshotNewspaper>  pageByApp(Integer newspaperType, Integer handleState, String beginDate, String endDate, String openId, int current, int size);


    IPage<SnapshotNewspaperPageVo> queryPage(Integer type, Long code, Integer newspaperType, Integer  handleState, String beginDate, String endDate, int current, int size);


    SnapshotNewspaperDealVo deal(PmgBatParkSnapshotNewspaperDealRequest dealRequest);

    SnapshotNewspaperDetailVo getDetailById(Long id);

    void export(Integer type, Long code, Integer newspaperType, Integer  handleState, String beginDate, String endDate, HttpServletResponse response);

}
