实现庭审笔录上传
This commit is contained in:
+16
@@ -58,6 +58,22 @@ public class CaseEvidenceController extends BaseController {
|
||||
Long userId = this.getUserId();
|
||||
return caseEvidenceService.uploadEvidence(file, annexType, id, username, userId);
|
||||
}
|
||||
|
||||
/**
|
||||
* 上传庭审笔录
|
||||
*
|
||||
* @param file 附件
|
||||
* @param annexType 附件类型,庭审笔录(7)
|
||||
* @param id 案件申请id
|
||||
* @return
|
||||
*/
|
||||
@PostMapping("/uploadRecord")
|
||||
public AjaxResult uploadRecord(@RequestParam("file") MultipartFile file, Integer annexType, Long id) {
|
||||
String username = this.getUsername();
|
||||
Long userId = this.getUserId();
|
||||
return caseEvidenceService.uploadRecord(file, annexType, id, username, userId);
|
||||
}
|
||||
|
||||
@PostMapping("/batchUpload")
|
||||
public AjaxResult batchUpload(@RequestParam("file") MultipartFile[] file, Integer annexType, Long id) {
|
||||
if(file==null){
|
||||
|
||||
Reference in New Issue
Block a user