|
|
@@ -38,7 +38,7 @@ public class CaseEvidenceController extends BaseController {
|
|
38
|
38
|
@GetMapping("/{id}")
|
|
39
|
39
|
public AjaxResult getCaseDetailsById(@PathVariable Long id) {
|
|
40
|
40
|
String username = this.getUsername();
|
|
41
|
|
- return caseEvidenceService.getCaseDetailsById(id,username);
|
|
|
41
|
+ return caseEvidenceService.getCaseDetailsById(id, username);
|
|
42
|
42
|
}
|
|
43
|
43
|
|
|
44
|
44
|
/**
|
|
|
@@ -53,16 +53,17 @@ public class CaseEvidenceController extends BaseController {
|
|
53
|
53
|
public AjaxResult uploadEvidence(@RequestParam("file") MultipartFile file, Integer annexType, Long id) {
|
|
54
|
54
|
String username = this.getUsername();
|
|
55
|
55
|
Long userId = this.getUserId();
|
|
56
|
|
- return caseEvidenceService.uploadEvidence(file, annexType, id,username,userId);
|
|
|
56
|
+ return caseEvidenceService.uploadEvidence(file, annexType, id, username, userId);
|
|
57
|
57
|
}
|
|
58
|
58
|
|
|
59
|
59
|
/**
|
|
60
|
60
|
* 查询当前用户案件列表
|
|
|
61
|
+ *
|
|
61
|
62
|
* @param identityNum
|
|
62
|
63
|
* @return
|
|
63
|
64
|
*/
|
|
64
|
65
|
@GetMapping("/all")
|
|
65
|
|
- public TableDataInfo getCaseListAll(@RequestParam String identityNum) {
|
|
|
66
|
+ public TableDataInfo getCaseListAll(@RequestParam(required = false) String identityNum) {
|
|
66
|
67
|
startPage();
|
|
67
|
68
|
List<CaseEvidenceVO> list = caseEvidenceService.getCaseListAll(identityNum);
|
|
68
|
69
|
if (list != null) {
|
|
|
@@ -73,21 +74,23 @@ public class CaseEvidenceController extends BaseController {
|
|
73
|
74
|
|
|
74
|
75
|
/**
|
|
75
|
76
|
* 证据确认
|
|
|
77
|
+ *
|
|
76
|
78
|
* @param caseApplication 案件对象
|
|
77
|
79
|
* @return 统一返回结果
|
|
78
|
80
|
*/
|
|
79
|
81
|
@PutMapping("/confirm")
|
|
80
|
|
- public AjaxResult evidenceConfirmation(@Validated @RequestBody CaseApplication caseApplication){
|
|
|
82
|
+ public AjaxResult evidenceConfirmation(@Validated @RequestBody CaseApplication caseApplication) {
|
|
81
|
83
|
return caseEvidenceService.evidenceConfirmation(caseApplication);
|
|
82
|
84
|
}
|
|
83
|
85
|
|
|
84
|
86
|
/**
|
|
85
|
87
|
* 案件质证
|
|
|
88
|
+ *
|
|
86
|
89
|
* @param caseEvidenceDTO
|
|
87
|
90
|
* @return
|
|
88
|
91
|
*/
|
|
89
|
92
|
@PostMapping("/crossexami")
|
|
90
|
|
- public AjaxResult caseCrossexamination(@Validated @RequestBody CaseEvidenceDTO caseEvidenceDTO){
|
|
|
93
|
+ public AjaxResult caseCrossexamination(@Validated @RequestBody CaseEvidenceDTO caseEvidenceDTO) {
|
|
91
|
94
|
return caseEvidenceService.caseCrossexamination(caseEvidenceDTO);
|
|
92
|
95
|
}
|
|
93
|
96
|
}
|