实现机构认证功能
This commit is contained in:
+1
-1
@@ -252,7 +252,7 @@ public class CaseApplicationController extends BaseController {
|
||||
@PostMapping("/checkArbitrateRecord")
|
||||
public AjaxResult checkArbitrateRecord(@Validated @RequestBody CaseApplication caseApplication) {
|
||||
|
||||
return toAjax(caseApplicationService.checkArbitrateRecord(caseApplication));
|
||||
return caseApplicationService.checkArbitrateRecord(caseApplication);
|
||||
}
|
||||
|
||||
|
||||
|
||||
+56
@@ -0,0 +1,56 @@
|
||||
package com.ruoyi.web.controller.wisdomarbitrate;
|
||||
|
||||
import com.ruoyi.common.annotation.Log;
|
||||
import com.ruoyi.common.core.controller.BaseController;
|
||||
import com.ruoyi.common.core.domain.AjaxResult;
|
||||
import com.ruoyi.common.core.page.TableDataInfo;
|
||||
import com.ruoyi.common.enums.BusinessType;
|
||||
import com.ruoyi.common.exception.EsignDemoException;
|
||||
import com.ruoyi.wisdomarbitrate.domain.CaseApplication;
|
||||
import com.ruoyi.wisdomarbitrate.domain.DeptIdentify;
|
||||
import com.ruoyi.wisdomarbitrate.domain.SealSignRecord;
|
||||
import com.ruoyi.wisdomarbitrate.service.IDeptIdentifyService;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.validation.annotation.Validated;
|
||||
import org.springframework.web.bind.annotation.*;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
@RestController
|
||||
@RequestMapping("/deptIdentify")
|
||||
public class DeptIdentifyController extends BaseController {
|
||||
@Autowired
|
||||
private IDeptIdentifyService deptIdentifyService;
|
||||
|
||||
/**
|
||||
* 查询部门认证数据
|
||||
*/
|
||||
@GetMapping("/list")
|
||||
public TableDataInfo list(DeptIdentify deptIdentify) {
|
||||
startPage();
|
||||
List<DeptIdentify> list = deptIdentifyService.selectDeptIdentify(deptIdentify);
|
||||
return getDataTable(list);
|
||||
}
|
||||
|
||||
/**
|
||||
* 查询机构认证链接
|
||||
*/
|
||||
@PostMapping("/selectDeptIndefiUrl")
|
||||
public AjaxResult selectDeptIndefiUrl(@Validated @RequestBody DeptIdentify deptIdentify) throws EsignDemoException {
|
||||
DeptIdentify deptIdentifyselect = deptIdentifyService.selectDeptIndefiUrl(deptIdentify);
|
||||
return success(deptIdentifyselect);
|
||||
}
|
||||
|
||||
/**
|
||||
* 启用
|
||||
*/
|
||||
@PostMapping("/enableDept")
|
||||
public AjaxResult enableDept(@Validated @RequestBody DeptIdentify deptIdentify) {
|
||||
return deptIdentifyService.enableDept(deptIdentify);
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user