package com.njcn.product.advance.responsility.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;

import com.njcn.common.pojo.dto.SelectOption;
import com.njcn.product.advance.responsility.pojo.bo.UserDataExcel;
import com.njcn.product.advance.responsility.pojo.po.RespUserData;
import com.njcn.web.pojo.param.BaseParam;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletResponse;
import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author hongawen
 * @since 2023-07-13
 */
public interface IRespUserDataService extends IService<RespUserData> {

    /**
     * 解析用采数据并保存
     * @author hongawen
     * @date 2023/7/13 19:48
     * @param file 用采数据
     */
    void uploadUserData(MultipartFile file, HttpServletResponse response);

    Page<RespUserData> userDataList(BaseParam queryParam);

    List<SelectOption> userDataSelect();

    void deleteUserDataByIds(List<String> ids);

    List<UserDataExcel> getUserDataExcelList(String userDataId);
}
