9.21日开发提交
This commit is contained in:
+23
@@ -0,0 +1,23 @@
|
||||
package com.ruoyi.web.controller.wisdomarbitrate;
|
||||
|
||||
import com.ruoyi.common.core.controller.BaseController;
|
||||
import com.ruoyi.common.core.domain.AjaxResult;
|
||||
import com.ruoyi.wisdomarbitrate.domain.CaseApplication;
|
||||
import com.ruoyi.wisdomarbitrate.service.IAdjudicationService;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.validation.annotation.Validated;
|
||||
import org.springframework.web.bind.annotation.PostMapping;
|
||||
import org.springframework.web.bind.annotation.RequestBody;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
|
||||
@RestController
|
||||
@RequestMapping("/adjudication")
|
||||
public class AdjudicationController extends BaseController {
|
||||
@Autowired
|
||||
private IAdjudicationService adjudicationService;
|
||||
@PostMapping("/document")
|
||||
public AjaxResult createDocument(@Validated @RequestBody CaseApplication caseApplication){
|
||||
return adjudicationService.createDocument(caseApplication);
|
||||
}
|
||||
}
|
||||
+6
-8
@@ -16,22 +16,20 @@ public class CaseArbitrateController extends BaseController {
|
||||
private ICaseArbitrateService caseArbitrateService;
|
||||
|
||||
/**
|
||||
* 确定仲裁方式
|
||||
* 审核仲裁方式
|
||||
* @param caseApplication
|
||||
* @param arbitratMethod
|
||||
* @param opinion 1同意,0拒绝
|
||||
* @return
|
||||
*/
|
||||
@PutMapping("/method")
|
||||
public AjaxResult chooseArbitrateMethod(@Validated @RequestBody CaseApplication caseApplication
|
||||
,Integer arbitratMethod){
|
||||
return caseArbitrateService.chooseArbitrateMethod(caseApplication,arbitratMethod);
|
||||
public AjaxResult examineArbitrateMethod(@Validated @RequestBody CaseApplication caseApplication
|
||||
,Integer opinion){
|
||||
return caseArbitrateService.examineArbitrateMethod(caseApplication,opinion);
|
||||
}
|
||||
|
||||
/**
|
||||
* 书面审理
|
||||
* @param caseApplication
|
||||
* @param accidentDescription
|
||||
* @param arbitrationResult
|
||||
* @param arbitrateRecord
|
||||
* @return
|
||||
*/
|
||||
@PostMapping("/writtenHear")
|
||||
|
||||
+5
-1
@@ -80,7 +80,11 @@ public class CaseEvidenceController extends BaseController {
|
||||
return caseEvidenceService.evidenceConfirmation(caseApplication);
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* 案件质证
|
||||
* @param caseEvidenceDTO
|
||||
* @return
|
||||
*/
|
||||
@PostMapping("/crossexami")
|
||||
public AjaxResult caseCrossexamination(@Validated @RequestBody CaseEvidenceDTO caseEvidenceDTO){
|
||||
return caseEvidenceService.caseCrossexamination(caseEvidenceDTO);
|
||||
|
||||
Reference in New Issue
Block a user