wangmiaomiao 10 maanden geleden
bovenliggende
commit
5f5cdc6a89

+ 1 - 1
slibra-admin/src/main/java/com/slibra/web/controller/business/GRPCController.java

@@ -206,7 +206,7 @@ public class GRPCController extends BaseController {
         chatReq.setCreateBy(username);
         chatReq.setCreateTime(DateUtils.getNowDate());
         //todo 现在测试,暂时注释掉。 等测试完毕,打开注释。
-//            this.xinyiChatRecordMapper.insertTXinyiChatRecord(chatReq);
+        this.xinyiChatRecordMapper.insertTXinyiChatRecord(chatReq);
     }
 
     private List<DecisionReq> getDecisionReqs() {

+ 0 - 5
slibra-quartz/src/main/java/com/slibra/quartz/task/RyTask.java

@@ -331,11 +331,6 @@ public class RyTask
             //判断是否触发告警、接触告警、保存决策等等
 //            this.handleWarning(industry);
             //2024年5月30日18:29:20  改为异步处理
-            try {
-                TimeUnit.SECONDS.sleep(5);
-            } catch (InterruptedException e) {
-                throw new RuntimeException(e);
-            }
             asyncTask.handleWarning(industry);
         });
 

+ 1 - 1
slibra-system/src/main/resources/mapper/business/TXinyiIndustryMapper.xml

@@ -511,6 +511,6 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
             1 = 1
         ORDER BY
             a.ID DESC
-            LIMIT 1,10
+            LIMIT 0,10
     </select>
 </mapper>