| | |
| | | FuturesPara futuresById = futuresParaService.getById(id); |
| | | if (null == futuresById) { |
| | | log.info("futures is null ,id:{}", id); |
| | | throw new YamiShopBindException("合约参数不存在"); |
| | | throw new YamiShopBindException("Contract parameter does not exist"); |
| | | } |
| | | logContent += MessageFormat.format(",管理员修改交割参数,币种:{0},原时间长度:{1},原时间单位:{2},原最低购买金额:{3},原手续费:{4},原浮动最小收益率:{5},原浮动最大收益率:{6}", |
| | | futuresById.getSymbol(), futuresById.getTimenum(), futuresById.getTimeunit(), futuresById.getUnitAmount(), futuresById.getUnitFee(), futuresById.getProfitRatio(), futuresById.getProfitRatioMax()); |
| | |
| | | |
| | | FuturesPara entity = futuresParaService.getById(id); |
| | | if (null == entity) { |
| | | throw new YamiShopBindException("交易参数不存在"); |
| | | throw new YamiShopBindException("Trading parameter does not exist"); |
| | | } |
| | | String logContent = "ip:" + ip; |
| | | logContent += MessageFormat.format(",管理员删除交割参数,币种:{0},时间长度:{1},时间单位:{2},最低购买金额:{3},手续费:{4},浮动最小收益率:{5},浮动最大收益率:{6}", |