实现解析压缩包功能

This commit is contained in:
qitz
2023-10-24 10:25:37 +08:00
parent 0c6e6b1231
commit 437b672446
4 changed files with 269 additions and 2 deletions
@@ -96,6 +96,8 @@ public class CaseApplicationController extends BaseController {
return toAjax(caseApplicationService.submitCaseApplication(batchCaseApplication.getIds()));
}
/**
* 删除立案数据
*/
@@ -158,6 +160,21 @@ public class CaseApplicationController extends BaseController {
return success(sealUrlRecordselect);
}
/**
* 案件证据材料压缩包上传
*
* @param file 附件
* @param id 案件申请id
* @return
*/
@PostMapping("/upload")
public AjaxResult uploadZipFile(@RequestParam("file") MultipartFile file, Long id) {
String username = this.getUsername();
Long userId = this.getUserId();
return caseApplicationService.uploadZipFile(file, id, username, userId);
}
/**
* 立案申请导入模板下载
*/