1
zj
2025-06-20 079e004fd2e65357aecc725a7be3cfe109978b0d
src/main/java/project/project/web/api/ContractApplyOrderController.java
@@ -246,13 +246,13 @@
            throw new BusinessException("请稍后再试");
         }
         List<Map<String, Object>> list = this.contractOrderService.findSubmittedRedis(partyId, symbol);
         if(ObjectUtils.isNotEmpty(list)) {
            for(Map<String, Object> map :list) {
               if(!direction.equals(map.get("direction"))) {
                  throw new BusinessException("同一币种不允许多空双开");
               }
            }
         }
//         if(ObjectUtils.isNotEmpty(list)) {
//            for(Map<String, Object> map :list) {
//               if(!direction.equals(map.get("direction"))) {
//                  throw new BusinessException("同一币种不允许多空双开");
//               }
//            }
//         }
         if (StringUtils.isNullOrEmpty(lever_rate)) {
            lever_rate = "1";
         }