소스 검색

更改

master
liangchao 2 일 전
부모
커밋
8e8b1afdb5

+ 3
- 2
zhywpt-app-iaw/src/main/java/cn/com/taiji/iaw/api/issue/OrderController.java 파일 보기

@@ -21,6 +21,7 @@ import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.validation.Valid;
import java.io.IOException;

/**
* @Author:ChenChao
@@ -123,14 +124,14 @@ public class OrderController extends MyValidController {
}
@ApiOperation(value = "12.发行指令申请")
@PostMapping(value = "/issueApply")
public ApiResponse<InstApplyResponse> processIssueApply(@Valid @RequestBody InstApplyRequest reqDto) throws ManagerException {
public ApiResponse<InstApplyResponse> processIssueApply(@Valid @RequestBody InstApplyRequest reqDto) throws ManagerException, IOException {
InstApplyResponse resDto = issueOrderManage.issueApply(reqDto);
return ApiResponse.of(resDto).setMessage("申请成功");
}

@ApiOperation(value = "13.发行指令回传")
@PostMapping(value = "/issueCallback")
public ApiResponse<InstCallBackResponse> processIssueCallback(@Valid @RequestBody InstCallBackRequest reqDto) throws ManagerException {
public ApiResponse<InstCallBackResponse> processIssueCallback(@Valid @RequestBody InstCallBackRequest reqDto) throws ManagerException, IOException {
InstCallBackResponse resDto = issueOrderManage.issueCallback(reqDto);
return ApiResponse.of(resDto).setMessage("发行指令回传成功");
}

+ 4
- 2
zhywpt-app-iaw/src/main/java/cn/com/taiji/iaw/manager/issue/IssueOrderManage.java 파일 보기

@@ -14,6 +14,8 @@ import cn.com.taiji.core.model.comm.protocol.inss.inst.InstCallBackResponse;
import cn.com.taiji.iaw.dto.CommRequestDTO;
import cn.com.taiji.iaw.dto.issue.order.*;

import java.io.IOException;

/**
* @Author:ChenChao
* @Date:2025/6/12 11:18
@@ -39,9 +41,9 @@ public interface IssueOrderManage {

SignQueryResponseDTO signQuery(SignQueryRequest reqDto) throws ManagerException;

InstApplyResponse issueApply(InstApplyRequest reqDto) throws ManagerException;
InstApplyResponse issueApply(InstApplyRequest reqDto) throws ManagerException, IOException;

InstCallBackResponse issueCallback(InstCallBackRequest reqDto) throws ManagerException;
InstCallBackResponse issueCallback(InstCallBackRequest reqDto) throws ManagerException, IOException;

void changeApply(ChangeApplyReqDTO reqDto) throws ManagerException;


+ 4
- 4
zhywpt-app-iaw/src/main/java/cn/com/taiji/iaw/manager/issue/IssueOrderManageImpl.java 파일 보기

@@ -315,13 +315,13 @@ public class IssueOrderManageImpl extends AbstractIawManager implements IssueOrd
}

@Override
public InstApplyResponse issueApply(InstApplyRequest reqDto) throws ManagerException {
return jsonPostRepeat(reqDto);
public InstApplyResponse issueApply(InstApplyRequest reqDto) throws ManagerException, IOException {
return jsonPostRepeat(reqDto,1);
}

@Override
public InstCallBackResponse issueCallback(InstCallBackRequest reqDto) throws ManagerException {
return jsonPostRepeat(reqDto);
public InstCallBackResponse issueCallback(InstCallBackRequest reqDto) throws ManagerException, IOException {
return jsonPostRepeat(reqDto,1);
}

@Override

Loading…
취소
저장