| | |
| | | return Result.ok("操作成过"); |
| | | |
| | | } |
| | | |
| | | @ApiOperation(value = "设定订单场控方向与盈亏百分比(同时生效)") |
| | | @GetMapping("setOrderManualProfitPercent.action") |
| | | public Result<String> setOrderManualProfitPercent(@RequestParam String orderNo, |
| | | @RequestParam Double manualProfitPercent, |
| | | @RequestParam(required = false) String profitLoss) { |
| | | String msg = futuresOrderService.saveOrderManualProfitPercent(orderNo, manualProfitPercent, profitLoss, |
| | | SecurityUtils.getSysUser().getUsername()); |
| | | if (msg != null && !msg.isEmpty()) { |
| | | return Result.failed(msg); |
| | | } |
| | | return Result.ok("操作成功"); |
| | | } |
| | | } |