123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566 |
- package com.imed.costaccount.service;
- import com.baomidou.mybatisplus.extension.service.IService;
- import com.imed.costaccount.common.util.PageUtils;
- import com.imed.costaccount.model.CostIncomeFile;
- import com.imed.costaccount.model.User;
- import com.imed.costaccount.model.vo.IncomeErrorMessage;
- import org.apache.ibatis.annotations.Param;
- import org.springframework.web.multipart.MultipartFile;
- import java.util.List;
- /**
- * 文件上传记录
- *
- * @author KCYG
- * @email KCYG@xinxicom
- * @date 2021-08-10 14:42:20
- */
- public interface CostIncomeFileService extends IService<CostIncomeFile> {
- /**
- * 保存文件上传记录
- * @param list 文件数据
- * @param user 当前用户
- * @param file 上传文件
- * @param hospId 医院Id
- * @param incomeErrorMessageList 错误信息
- * @param uploadFile 文件路径
- * @return
- */
- CostIncomeFile saveCostIncomeFile(List<List<Object>> list, User user, MultipartFile file, Long hospId, List<IncomeErrorMessage> incomeErrorMessageList, String uploadFile,Integer fileType,Integer year,Integer month);
- /**
- * 分页查询查询记录数据
- * @param current
- * @param pageSize
- * @param fileName
- * @param dateTime
- * @param hospId
- * @return
- */
- PageUtils queryList(Integer current, Integer pageSize, String fileName, String dateTime, Long hospId);
- /**
- * 撤销导入
- * @param id
- * @param hospId
- */
- void deleteImport(Long id, Long hospId);
- /**
- * 错误详情
- * @param id
- * @param hospId
- * @return
- */
- List<IncomeErrorMessage> getErrorList(Long id, Long hospId);
- /**
- * 文件记录删除
- * @param idList
- */
- void deleteByIds(@Param("idList") List<Long> idList);
- }
|