| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051 |
- package cn.com.goldenwater.dcproj.service;
- import cn.com.goldenwater.core.service.CrudService;
- import org.springframework.web.multipart.MultipartFile;
- import javax.servlet.http.HttpServletResponse;
- import java.util.Map;
- /**
- * <p>
- * 批量填报Service
- * </p>
- *
- * @author liyz
- * @date 2019/8/14 11:43
- **/
- public interface ImpDcInfoService extends CrudService {
- // 自定义方法
- /**
- * 下载模板
- *
- * @param response HttpServletResponse
- * @param userId 用户ID
- * @param orgType 督查类型
- * @throws Exception 下载失败
- */
- void downloadTemplate(HttpServletResponse response, String userId, String orgType, String orgIds) throws Exception;
- /**
- * 解析模板
- *
- * @param filePath 存储路径
- * @return 解析后的数据
- */
- Map<String, Object> parseTemplate(String filePath, String userId, String orgType);
- /**
- * 数据入库
- *
- * @param cacheId 缓存ID
- * @param userId 用户ID
- * @param orgType 督查类型
- * @return 入库信息
- */
- String insertTemplateInfo(String cacheId, String userId, String orgType);
- }
|