实现用印申请
This commit is contained in:
+14
@@ -1,8 +1,10 @@
|
||||
package com.ruoyi.web.controller.wisdomarbitrate.mscase;
|
||||
|
||||
import cn.hutool.core.util.StrUtil;
|
||||
import com.ruoyi.common.core.controller.BaseController;
|
||||
import com.ruoyi.common.core.domain.AjaxResult;
|
||||
import com.ruoyi.common.exception.EsignDemoException;
|
||||
import com.ruoyi.wisdomarbitrate.domain.dto.mscase.MsSignSealDTO;
|
||||
import com.ruoyi.wisdomarbitrate.domain.vo.mscase.MsCaseApplicationVO;
|
||||
import com.ruoyi.wisdomarbitrate.service.mscase.MsSignSealService;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
@@ -28,6 +30,18 @@ public class MsSignSealController extends BaseController {
|
||||
return msSignSealService.sureMediationSeal(caseApplication);
|
||||
}
|
||||
|
||||
/**
|
||||
* 用印申请
|
||||
*/
|
||||
@PostMapping("/sealApply")
|
||||
public AjaxResult sealApply(@RequestBody MsSignSealDTO dto ) {
|
||||
if ((dto.getCaseId() == null && StrUtil.isEmpty(dto.getBatchNumber()))
|
||||
|| dto.getCaseFlowId() == null) {
|
||||
return error("参数校验失败");
|
||||
}
|
||||
return msSignSealService.sealApply(dto);
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user