|  |  |  | 
|---|
|  |  |  | import com.xcong.excoin.modules.contract.parameter.dto.*; | 
|---|
|  |  |  | import com.xcong.excoin.modules.contract.parameter.vo.ContractMoneyInfoVo; | 
|---|
|  |  |  | import com.xcong.excoin.modules.contract.parameter.vo.HoldOrderListVo; | 
|---|
|  |  |  | import com.xcong.excoin.modules.contract.parameter.vo.OrderListVo; | 
|---|
|  |  |  | import com.xcong.excoin.modules.contract.service.ContractHoldOrderService; | 
|---|
|  |  |  | import com.xcong.excoin.modules.contract.service.ContractOrderService; | 
|---|
|  |  |  | import com.xcong.excoin.rabbit.producer.OrderProducer; | 
|---|
|  |  |  | 
|---|
|  |  |  | return contractHoldOrderService.changeBond(changeBondDto); | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | @ApiOperation(value = "未完成--分页查询历史订单列表") | 
|---|
|  |  |  | @GetMapping(value = "/findHistoryOrderList") | 
|---|
|  |  |  | @ApiOperation(value = "分页查询历史订单列表") | 
|---|
|  |  |  | @ApiResponses({ | 
|---|
|  |  |  | @ApiResponse(code = 0, message = "success", response = OrderListVo.class) | 
|---|
|  |  |  | }) | 
|---|
|  |  |  | @PostMapping(value = "/findHistoryOrderList") | 
|---|
|  |  |  | public Result findHistoryOrderList(@RequestBody @Validated OrderListDto orderListDto) { | 
|---|
|  |  |  | return null; | 
|---|
|  |  |  | return contractHoldOrderService.findOrderList(orderListDto); | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | @ApiOperation(value = "获取合约页面资产信息") | 
|---|
|  |  |  | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | @ApiOperation(value = "调整杠杆") | 
|---|
|  |  |  | @GetMapping(value = "/changeLeverRate") | 
|---|
|  |  |  | @PostMapping(value = "/changeLeverRate") | 
|---|
|  |  |  | public Result changeLeverRate(@RequestBody @Validated ChangeLeverRateDto changeLeverRateDto) { | 
|---|
|  |  |  | return contractHoldOrderService.changeLeverRate(changeLeverRateDto); | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | @ApiOperation(value = "查询历史委托订单详情") | 
|---|
|  |  |  | @GetMapping(value = "/findOrderDetailById") | 
|---|
|  |  |  | public Result findOrderDetailById(@ApiParam(name = "id", value = "订单id", required = true, example = "1") @RequestParam(value = "id") Long id) { | 
|---|
|  |  |  | return contractHoldOrderService.findOrderDetailById(id); | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | } | 
|---|