视频,用印回调,裁决书处理
This commit is contained in:
@@ -37,7 +37,7 @@ public class SysDeptController extends BaseController
|
||||
/**
|
||||
* 获取部门列表
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('system:dept:list')")
|
||||
// @PreAuthorize("@ss.hasPermi('system:dept:list')")
|
||||
@GetMapping("/list")
|
||||
public AjaxResult list(SysDept dept)
|
||||
{
|
||||
|
||||
+9
-25
@@ -159,16 +159,7 @@ public class AdjudicationController extends BaseController {
|
||||
return AjaxResult.success(logisticsInfo);
|
||||
}
|
||||
|
||||
/**
|
||||
* 签名(暂时只改案件状态)
|
||||
* @param caseApplication
|
||||
* @return
|
||||
*/
|
||||
@PostMapping("/signature")
|
||||
// @PreAuthorize("@ss.hasPermi('awardManagement:list:sign')")
|
||||
public AjaxResult signature(@Validated @RequestBody CaseApplication caseApplication){
|
||||
return adjudicationService.signature(caseApplication);
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
@@ -222,16 +213,7 @@ public class AdjudicationController extends BaseController {
|
||||
return adjudicationService.serviceBatch(caseApplication.getBatchNumber());
|
||||
}
|
||||
|
||||
/**
|
||||
* 用印(暂时只改案件状态)
|
||||
* @param caseApplication
|
||||
* @return
|
||||
*/
|
||||
@PostMapping("/stamp")
|
||||
// @PreAuthorize("@ss.hasPermi('awardManagement:list:signprint')")
|
||||
public AjaxResult stamp(@Validated @RequestBody CaseApplication caseApplication){
|
||||
return adjudicationService.stamp(caseApplication);
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* 档案详情查询
|
||||
@@ -255,13 +237,15 @@ public class AdjudicationController extends BaseController {
|
||||
}
|
||||
/**
|
||||
* 开庭审理提交,只改变案件状态为CaseApplicationConstants.VERPRIF_ARBITRATION
|
||||
* @param id 案件id
|
||||
* @param caseApplication 案件
|
||||
* @return
|
||||
*/
|
||||
@GetMapping("/changeCaseStatus")
|
||||
public AjaxResult changeCaseStatus(@RequestParam("id") Long id){
|
||||
|
||||
return adjudicationService.changeCaseStatus(id, CaseApplicationConstants.VERPRIF_ARBITRATION);
|
||||
@PostMapping("/changeCaseStatus")
|
||||
public AjaxResult changeCaseStatus(@RequestBody CaseApplication caseApplication){
|
||||
if(caseApplication.getId()==null){
|
||||
return error("参数校验失败");
|
||||
}
|
||||
return adjudicationService.changeCaseStatus(caseApplication.getId(), CaseApplicationConstants.VERPRIF_ARBITRATION);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
+2
-12
@@ -271,7 +271,7 @@ public class CaseApplicationController extends BaseController {
|
||||
@Log(title = "组庭审核", businessType = BusinessType.UPDATE)
|
||||
@PostMapping("/pendTralCheck")
|
||||
public AjaxResult pendTralCheck(@Validated @RequestBody CaseApplication caseApplication) {
|
||||
if(StrUtil.isEmpty(caseApplication.getArbitratorId())|| StrUtil.isEmpty(caseApplication.getArbitratorName())){
|
||||
if(CollectionUtil.isEmpty(caseApplication.getArbitrators())){
|
||||
return error("请选择仲裁员");
|
||||
}
|
||||
return caseApplicationService.pendTralCheck(caseApplication);
|
||||
@@ -454,19 +454,9 @@ public class CaseApplicationController extends BaseController {
|
||||
return success(schemeUrl);
|
||||
}
|
||||
|
||||
/**
|
||||
* 生成庭审笔录
|
||||
* @param arbitrateRecord
|
||||
* @return
|
||||
*/
|
||||
@PostMapping("/creatTrialRecord")
|
||||
// @PreAuthorize("@ss.hasPermi('caseManagement:list:creatTrialRecord')")
|
||||
public AjaxResult creatTrialRecord(@Validated @RequestBody ArbitrateRecord arbitrateRecord){
|
||||
return caseApplicationService.creatTrialRecord(arbitrateRecord);
|
||||
}
|
||||
|
||||
/**
|
||||
* 记录庭审笔录
|
||||
* 确认会议结果
|
||||
* @param arbitrateRecord
|
||||
* @return
|
||||
*/
|
||||
|
||||
+56
@@ -0,0 +1,56 @@
|
||||
package com.ruoyi.web.controller.wisdomarbitrate;
|
||||
|
||||
import com.ruoyi.common.annotation.Anonymous;
|
||||
import com.ruoyi.common.core.controller.BaseController;
|
||||
import com.ruoyi.common.core.domain.AjaxResult;
|
||||
import com.ruoyi.wisdomarbitrate.service.MsSignSealService;
|
||||
import com.ruoyi.wisdomarbitrate.utils.SignVerifyUtils;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.web.bind.annotation.PostMapping;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
|
||||
/**
|
||||
* @Classname MsSignSealController
|
||||
* @Description TODO
|
||||
* @Version 1.0.0
|
||||
* @Date 2024/5/10 15:07
|
||||
* @Created wangqiong
|
||||
*/
|
||||
@RestController
|
||||
@RequestMapping("/mssignSeal")
|
||||
public class MsSignSealController extends BaseController {
|
||||
@Autowired
|
||||
private MsSignSealService msSignSealService;
|
||||
/**
|
||||
* 签名用印回调
|
||||
*/
|
||||
@Anonymous
|
||||
@PostMapping("/signSeaalCaseApplicaCallback")
|
||||
public AjaxResult signSeaalCaseApplicaCallback() throws Exception {
|
||||
boolean checkResult= SignVerifyUtils.checkSignuter();
|
||||
if(checkResult){
|
||||
String reqbodystr =SignVerifyUtils.getRequestBody();
|
||||
return msSignSealService.signSeaalCaseApplicaCallback(reqbodystr);
|
||||
}else {
|
||||
return AjaxResult.error("error");
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* 印章审核回调
|
||||
*/
|
||||
@Anonymous
|
||||
@PostMapping("/sealCheckCallback")
|
||||
public AjaxResult sealCheckCallback() throws Exception {
|
||||
boolean checkResult= SignVerifyUtils.checkSignuter();
|
||||
if(checkResult){
|
||||
String reqbodystr =SignVerifyUtils.getRequestBody();
|
||||
return msSignSealService.sealCheckCallback(reqbodystr);
|
||||
}else {
|
||||
return AjaxResult.error("error");
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user