Commit 16fc3d08 by 范富荣

添加退单校验车架号方法

1 parent 62b728c9
......@@ -112,6 +112,20 @@ public class ChannelEquityOrderController {
return RopResponse.error(rpcResponse.getMessage());
}
@ServiceMethod(method = "scrm.api.equity.service.channel.order.check.charge.back", needInSession = NeedInSessionType.YES)
@ApiOperation("校验合同是否允许退单")
public RopResponse<ChargeBackCheckResultDTO> checkChargeBackAllowed(ChargeBackCheckRequest request) throws Exception {
ChargeBackCheckDTO dto = new ChargeBackCheckDTO();
dto.setVin(request.getVin());
dto.setSource(request.getSource());
dto.setLoginAccount(LoginUserInfoUtils.getLoginUser() != null ? LoginUserInfoUtils.getLoginUser().getPhone() : null);
RpcResponse<ChargeBackCheckResultDTO> rpcResponse = channelServiceEquityOrderRemote.checkChargeBackAllowed(dto);
if (rpcResponse.isSuccess()) {
return RopResponse.success(rpcResponse.getResult());
}
return RopResponse.error(rpcResponse.getMessage());
}
@ServiceMethod(method = "scrm.api.equity.service.channel.order.aduit", needInSession = NeedInSessionType.YES)
@ApiOperation("合同审核")
public RopResponse<Boolean> aduit(ServiceEquityAduitRequest request) throws Exception {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!