cc преди 1 седмица
родител
ревизия
5d469adad8

+ 2 - 2
ai-server/src/main/java/com/zsjz/ai/module/agent/tools/AgentToolRegistry.java

@@ -187,7 +187,7 @@ public class AgentToolRegistry {
             "get_person_call_profile", "stat_person_call_station", "stat_person_call_top10",
             "stat_call_record_summary",
             "get_person_trans_profile", "stat_person_trans_top10", "stat_trans_record_summary",
-             "get_trans_bank_card_info",
+            "get_trans_bank_card_info",
             "stat_trans_amount_trend_month", "stat_trans_amount_trend_year",
             "stat_intimacy_summary",
             "list_persons");
@@ -321,7 +321,7 @@ public class AgentToolRegistry {
         toolkit.registerTool(new TransAnalysisTool(transBigService, transCardHoldService,
                 transCashFlowService, transContinuousService, transFastFundFlowService,
                 transFinancialService, transFixedDepositService, transFrequencyService,
-                transFundFlowService, transRecordService, transSensitiveService, sqlResultStore));
+                transRecordService, transSensitiveService, sqlResultStore));
         toolkit.registerTool(new TrackAnalysisTool(trackCellTowerService, trackEnLocalService,
                 trackExpressInfoService, trackMeetService, trackTogetherLiveService,
                 trackTogetherTravelService, sqlResultStore));

+ 1 - 4
ai-server/src/main/java/com/zsjz/ai/module/agent/tools/TransAnalysisTool.java

@@ -109,7 +109,6 @@ public class TransAnalysisTool {
     private final TransFinancialService transFinancialService;
     private final TransFixedDepositService transFixedDepositService;
     private final TransFrequencyService transFrequencyService;
-    private final TransFundFlowService transFundFlowService;
     private final TransRecordService transRecordService;
     private final TransSensitiveService transSensitiveService;
     private final SqlResultStore sqlResultStore;
@@ -122,7 +121,6 @@ public class TransAnalysisTool {
                              TransFinancialService transFinancialService,
                              TransFixedDepositService transFixedDepositService,
                              TransFrequencyService transFrequencyService,
-                             TransFundFlowService transFundFlowService,
                              TransRecordService transRecordService,
                              TransSensitiveService transSensitiveService,
                              SqlResultStore sqlResultStore) {
@@ -134,7 +132,6 @@ public class TransAnalysisTool {
         this.transFinancialService = transFinancialService;
         this.transFixedDepositService = transFixedDepositService;
         this.transFrequencyService = transFrequencyService;
-        this.transFundFlowService = transFundFlowService;
         this.transRecordService = transRecordService;
         this.transSensitiveService = transSensitiveService;
         this.sqlResultStore = sqlResultStore;
@@ -280,7 +277,7 @@ public class TransAnalysisTool {
                 return ToolResults.error("groupId 不能为空(人员分组ID,可用 list_person_groups 工具查询)");
             }
             StatTransCardHoldQuery q = new StatTransCardHoldQuery();
-            q.setGroupId(spec.groupId.longValue());
+            q.setGroupId(spec.groupId);
             q.setTransAmount(toDecimal(spec.transAmount));
             q.setTransAmountSymbol(parseSymbol(spec.transAmountSymbol, "transAmountSymbol"));
             q.setSamePhoneCards(cleanList(spec.samePhoneCards));