Browse Source

更改

master
liangchao 3 days ago
parent
commit
8e8b1afdb5

+ 3
- 2
zhywpt-app-iaw/src/main/java/cn/com/taiji/iaw/api/issue/OrderController.java View File

import org.springframework.web.bind.annotation.RestController; import org.springframework.web.bind.annotation.RestController;


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


/** /**
* @Author:ChenChao * @Author:ChenChao
} }
@ApiOperation(value = "12.发行指令申请") @ApiOperation(value = "12.发行指令申请")
@PostMapping(value = "/issueApply") @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); InstApplyResponse resDto = issueOrderManage.issueApply(reqDto);
return ApiResponse.of(resDto).setMessage("申请成功"); return ApiResponse.of(resDto).setMessage("申请成功");
} }


@ApiOperation(value = "13.发行指令回传") @ApiOperation(value = "13.发行指令回传")
@PostMapping(value = "/issueCallback") @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); InstCallBackResponse resDto = issueOrderManage.issueCallback(reqDto);
return ApiResponse.of(resDto).setMessage("发行指令回传成功"); return ApiResponse.of(resDto).setMessage("发行指令回传成功");
} }

+ 4
- 2
zhywpt-app-iaw/src/main/java/cn/com/taiji/iaw/manager/issue/IssueOrderManage.java View File

import cn.com.taiji.iaw.dto.CommRequestDTO; import cn.com.taiji.iaw.dto.CommRequestDTO;
import cn.com.taiji.iaw.dto.issue.order.*; import cn.com.taiji.iaw.dto.issue.order.*;


import java.io.IOException;

/** /**
* @Author:ChenChao * @Author:ChenChao
* @Date:2025/6/12 11:18 * @Date:2025/6/12 11:18


SignQueryResponseDTO signQuery(SignQueryRequest reqDto) throws ManagerException; 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; void changeApply(ChangeApplyReqDTO reqDto) throws ManagerException;



+ 4
- 4
zhywpt-app-iaw/src/main/java/cn/com/taiji/iaw/manager/issue/IssueOrderManageImpl.java View File

} }


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


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


@Override @Override

Loading…
Cancel
Save