From 640ccb9229224642515527daf87f308a7aa9bdf4 Mon Sep 17 00:00:00 2001
From: zj <1772600164@qq.com>
Date: Wed, 10 Jun 2026 11:47:26 +0800
Subject: [PATCH] 1

---
 trading-order-service/src/main/java/com/yami/trading/service/etf/KlineConfigService.java |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/trading-order-service/src/main/java/com/yami/trading/service/etf/KlineConfigService.java b/trading-order-service/src/main/java/com/yami/trading/service/etf/KlineConfigService.java
index 6e62401..7021424 100644
--- a/trading-order-service/src/main/java/com/yami/trading/service/etf/KlineConfigService.java
+++ b/trading-order-service/src/main/java/com/yami/trading/service/etf/KlineConfigService.java
@@ -86,7 +86,7 @@
             KlineConfig config = this.getBaseMapper().selectById(id);
             if (config != null) {
                 if (config.getOpenTimeTs() <= currentTimeMillis && config.getCloseTimeTs() >= currentTimeMillis) {
-                    throw new YamiShopBindException("当前为开市时间,不能删除");
+                    throw new YamiShopBindException("Market is open, deletion is not allowed");
                 }
                 removeById(id);
 
@@ -106,7 +106,7 @@
         List<RobotModel> robotModels = new LambdaQueryChainWrapper<>(robotModelMapper).between(RobotModel::getPercent, divide.subtract(new BigDecimal(0.5)), divide.add(new BigDecimal(0.5))).list();
 
         if (CollectionUtil.isEmpty(robotModels)) {
-            throw new YamiShopBindException("没有满足条件的趋势图");
+            throw new YamiShopBindException("No trend chart matching the criteria");
         }
 
 
@@ -574,11 +574,11 @@
 //        List<KlineConfig> klineConfigs = this.baseMapper.selectList(queryWrapper);
 //
 //        if (CollectionUtils.isEmpty(klineConfigs)) {
-//            throw new YamiShopBindException("未查询到当天配置的秒级K线图");
+//            throw new YamiShopBindException("No second-level K-line configured for today");
 //        }
 //
 //        if (klineConfigs.size() > 1) {
-//            throw new YamiShopBindException("查询到多个当天配置的秒级K线图");
+//            throw new YamiShopBindException("Multiple second-level K-lines configured for today");
 //        }
 //
 //        KlineConfig klineConfig = klineConfigs.get(0);

--
Gitblit v1.9.3