| | |
| | | throw new YamiShopBindException("无网络"); |
| | | } |
| | | } |
| | | List<Map<String, Object>> list = this.contractOrderService.findSubmittedRedis(partyId, openAction.getSymbol()); |
| | | /*List<Map<String, Object>> list = this.contractOrderService.findSubmittedRedis(partyId, openAction.getSymbol()); |
| | | if (ObjectUtils.isNotEmpty(list)) { |
| | | for (Map<String, Object> map :list) { |
| | | if(!openAction.getDirection().equals(map.get("direction"))) { |
| | | throw new YamiShopBindException("同一币种不允许多空双开"); |
| | | } |
| | | } |
| | | } |
| | | }*/ |
| | | |
| | | ContractApplyOrder order = new ContractApplyOrder(); |
| | | order.setPartyId(partyId); |