|
@@ -3,6 +3,7 @@ package com.zsjz.ai.module.agent.tools;
|
|
|
import com.fasterxml.jackson.annotation.JsonInclude;
|
|
import com.fasterxml.jackson.annotation.JsonInclude;
|
|
|
import io.agentscope.core.tool.ToolParam;
|
|
import io.agentscope.core.tool.ToolParam;
|
|
|
|
|
|
|
|
|
|
+import java.math.BigDecimal;
|
|
|
import java.util.List;
|
|
import java.util.List;
|
|
|
|
|
|
|
|
/**
|
|
/**
|
|
@@ -49,7 +50,7 @@ public final class TransToolSpecs {
|
|
|
/** 交易金额阈值 */
|
|
/** 交易金额阈值 */
|
|
|
@ToolParam(name = "transAmount", description = "交易金额阈值,配合 transAmountSymbol 使用(如 50000 表示金额 ≥ 5 万)",
|
|
@ToolParam(name = "transAmount", description = "交易金额阈值,配合 transAmountSymbol 使用(如 50000 表示金额 ≥ 5 万)",
|
|
|
required = false)
|
|
required = false)
|
|
|
- public Number transAmount;
|
|
|
|
|
|
|
+ public BigDecimal transAmount;
|
|
|
|
|
|
|
|
/** 金额比较符 */
|
|
/** 金额比较符 */
|
|
|
@ToolParam(name = "transAmountSymbol", description = "金额比较符,取值 GE(>=,默认) / LE(<=) / GT(>) / LT(<) / EQ(=)",
|
|
@ToolParam(name = "transAmountSymbol", description = "金额比较符,取值 GE(>=,默认) / LE(<=) / GT(>) / LT(<) / EQ(=)",
|
|
@@ -58,7 +59,7 @@ public final class TransToolSpecs {
|
|
|
|
|
|
|
|
/** 交易次数阈值 */
|
|
/** 交易次数阈值 */
|
|
|
@ToolParam(name = "transCount", description = "交易次数阈值,配合 transCountSymbol 使用", required = false)
|
|
@ToolParam(name = "transCount", description = "交易次数阈值,配合 transCountSymbol 使用", required = false)
|
|
|
- public Number transCount;
|
|
|
|
|
|
|
+ public Integer transCount;
|
|
|
|
|
|
|
|
/** 次数比较符 */
|
|
/** 次数比较符 */
|
|
|
@ToolParam(name = "transCountSymbol", description = "次数比较符,取值 GE(>=,默认) / LE(<=) / GT(>) / LT(<) / EQ(=)",
|
|
@ToolParam(name = "transCountSymbol", description = "次数比较符,取值 GE(>=,默认) / LE(<=) / GT(>) / LT(<) / EQ(=)",
|
|
@@ -75,7 +76,7 @@ public final class TransToolSpecs {
|
|
|
|
|
|
|
|
/** 每页行数 */
|
|
/** 每页行数 */
|
|
|
@ToolParam(name = "pageSize", description = "返回给模型的首屏行数,默认 50,上限 500", required = false)
|
|
@ToolParam(name = "pageSize", description = "返回给模型的首屏行数,默认 50,上限 500", required = false)
|
|
|
- public Number pageSize;
|
|
|
|
|
|
|
+ public Long pageSize;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
/**
|
|
@@ -89,11 +90,11 @@ public final class TransToolSpecs {
|
|
|
|
|
|
|
|
/** 人员分组ID */
|
|
/** 人员分组ID */
|
|
|
@ToolParam(name = "groupId", description = "人员分组ID(必填);可用 list_person_groups 工具查询分组列表")
|
|
@ToolParam(name = "groupId", description = "人员分组ID(必填);可用 list_person_groups 工具查询分组列表")
|
|
|
- public Number groupId;
|
|
|
|
|
|
|
+ public Long groupId;
|
|
|
|
|
|
|
|
/** 金额阈值 */
|
|
/** 金额阈值 */
|
|
|
@ToolParam(name = "transAmount", description = "单笔交易金额阈值,配合 transAmountSymbol", required = false)
|
|
@ToolParam(name = "transAmount", description = "单笔交易金额阈值,配合 transAmountSymbol", required = false)
|
|
|
- public Number transAmount;
|
|
|
|
|
|
|
+ public BigDecimal transAmount;
|
|
|
|
|
|
|
|
/** 金额比较符 */
|
|
/** 金额比较符 */
|
|
|
@ToolParam(name = "transAmountSymbol", description = "金额比较符,取值 GE(>=,默认) / LE(<=) / GT(>) / LT(<) / EQ(=)",
|
|
@ToolParam(name = "transAmountSymbol", description = "金额比较符,取值 GE(>=,默认) / LE(<=) / GT(>) / LT(<) / EQ(=)",
|
|
@@ -103,7 +104,7 @@ public final class TransToolSpecs {
|
|
|
/** 天数间隔阈值 */
|
|
/** 天数间隔阈值 */
|
|
|
@ToolParam(name = "dayGap", description = "共同交易的时间间隔(天)阈值,配合 daySymbol;如 dayGap=3 表示 3 天内共同交易",
|
|
@ToolParam(name = "dayGap", description = "共同交易的时间间隔(天)阈值,配合 daySymbol;如 dayGap=3 表示 3 天内共同交易",
|
|
|
required = false)
|
|
required = false)
|
|
|
- public Number dayGap;
|
|
|
|
|
|
|
+ public Integer dayGap;
|
|
|
|
|
|
|
|
/** 天数比较符 */
|
|
/** 天数比较符 */
|
|
|
@ToolParam(name = "daySymbol", description = "天数比较符,取值 GE(>=) / LE(<=) / GT(>) / LT(<) / EQ(=)",
|
|
@ToolParam(name = "daySymbol", description = "天数比较符,取值 GE(>=) / LE(<=) / GT(>) / LT(<) / EQ(=)",
|
|
@@ -113,7 +114,7 @@ public final class TransToolSpecs {
|
|
|
/** 交易卡数阈值 */
|
|
/** 交易卡数阈值 */
|
|
|
@ToolParam(name = "cardNum", description = "涉及交易卡数量阈值,配合 cardNumSymbol(服务端在内存中按此过滤)",
|
|
@ToolParam(name = "cardNum", description = "涉及交易卡数量阈值,配合 cardNumSymbol(服务端在内存中按此过滤)",
|
|
|
required = false)
|
|
required = false)
|
|
|
- public Number cardNum;
|
|
|
|
|
|
|
+ public Integer cardNum;
|
|
|
|
|
|
|
|
/** 卡数比较符 */
|
|
/** 卡数比较符 */
|
|
|
@ToolParam(name = "cardNumSymbol", description = "卡数比较符,取值 GE(>=) / LE(<=) / GT(>) / LT(<) / EQ(=)",
|
|
@ToolParam(name = "cardNumSymbol", description = "卡数比较符,取值 GE(>=) / LE(<=) / GT(>) / LT(<) / EQ(=)",
|
|
@@ -134,7 +135,7 @@ public final class TransToolSpecs {
|
|
|
|
|
|
|
|
/** 每页行数 */
|
|
/** 每页行数 */
|
|
|
@ToolParam(name = "pageSize", description = "返回给模型的首屏行数,默认 50,上限 500", required = false)
|
|
@ToolParam(name = "pageSize", description = "返回给模型的首屏行数,默认 50,上限 500", required = false)
|
|
|
- public Number pageSize;
|
|
|
|
|
|
|
+ public Long pageSize;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
/**
|
|
@@ -147,11 +148,11 @@ public final class TransToolSpecs {
|
|
|
|
|
|
|
|
/** 人员分组ID */
|
|
/** 人员分组ID */
|
|
|
@ToolParam(name = "groupId", description = "人员分组ID(必填);可用 list_person_groups 工具查询分组列表")
|
|
@ToolParam(name = "groupId", description = "人员分组ID(必填);可用 list_person_groups 工具查询分组列表")
|
|
|
- public Number groupId;
|
|
|
|
|
|
|
+ public Long groupId;
|
|
|
|
|
|
|
|
/** 金额阈值 */
|
|
/** 金额阈值 */
|
|
|
@ToolParam(name = "transAmount", description = "交易金额阈值,配合 transAmountSymbol", required = false)
|
|
@ToolParam(name = "transAmount", description = "交易金额阈值,配合 transAmountSymbol", required = false)
|
|
|
- public Number transAmount;
|
|
|
|
|
|
|
+ public BigDecimal transAmount;
|
|
|
|
|
|
|
|
/** 金额比较符 */
|
|
/** 金额比较符 */
|
|
|
@ToolParam(name = "transAmountSymbol", description = "金额比较符,取值 GE(>=,默认) / LE(<=) / GT(>) / LT(<) / EQ(=)",
|
|
@ToolParam(name = "transAmountSymbol", description = "金额比较符,取值 GE(>=,默认) / LE(<=) / GT(>) / LT(<) / EQ(=)",
|
|
@@ -201,7 +202,7 @@ public final class TransToolSpecs {
|
|
|
|
|
|
|
|
/** 金额阈值 */
|
|
/** 金额阈值 */
|
|
|
@ToolParam(name = "transAmount", description = "单笔交易金额阈值,配合 transAmountSymbol", required = false)
|
|
@ToolParam(name = "transAmount", description = "单笔交易金额阈值,配合 transAmountSymbol", required = false)
|
|
|
- public Number transAmount;
|
|
|
|
|
|
|
+ public BigDecimal transAmount;
|
|
|
|
|
|
|
|
/** 金额比较符 */
|
|
/** 金额比较符 */
|
|
|
@ToolParam(name = "transAmountSymbol", description = "金额比较符,取值 GE(>=,默认) / LE(<=) / GT(>) / LT(<) / EQ(=)",
|
|
@ToolParam(name = "transAmountSymbol", description = "金额比较符,取值 GE(>=,默认) / LE(<=) / GT(>) / LT(<) / EQ(=)",
|
|
@@ -210,7 +211,7 @@ public final class TransToolSpecs {
|
|
|
|
|
|
|
|
/** 次数阈值 */
|
|
/** 次数阈值 */
|
|
|
@ToolParam(name = "transCount", description = "交易次数阈值,配合 transCountSymbol", required = false)
|
|
@ToolParam(name = "transCount", description = "交易次数阈值,配合 transCountSymbol", required = false)
|
|
|
- public Number transCount;
|
|
|
|
|
|
|
+ public Integer transCount;
|
|
|
|
|
|
|
|
/** 次数比较符 */
|
|
/** 次数比较符 */
|
|
|
@ToolParam(name = "transCountSymbol", description = "次数比较符,取值 GE(>=,默认) / LE(<=) / GT(>) / LT(<) / EQ(=)",
|
|
@ToolParam(name = "transCountSymbol", description = "次数比较符,取值 GE(>=,默认) / LE(<=) / GT(>) / LT(<) / EQ(=)",
|
|
@@ -227,7 +228,7 @@ public final class TransToolSpecs {
|
|
|
|
|
|
|
|
/** 每页行数 */
|
|
/** 每页行数 */
|
|
|
@ToolParam(name = "pageSize", description = "返回给模型的首屏行数,默认 50,上限 500", required = false)
|
|
@ToolParam(name = "pageSize", description = "返回给模型的首屏行数,默认 50,上限 500", required = false)
|
|
|
- public Number pageSize;
|
|
|
|
|
|
|
+ public Long pageSize;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
/**
|
|
@@ -257,15 +258,15 @@ public final class TransToolSpecs {
|
|
|
|
|
|
|
|
/** 连续月份阈值 */
|
|
/** 连续月份阈值 */
|
|
|
@ToolParam(name = "monthVal", description = "连续月份阈值:只统计连续交易月数 ≥ 该值的对象,默认 1", required = false)
|
|
@ToolParam(name = "monthVal", description = "连续月份阈值:只统计连续交易月数 ≥ 该值的对象,默认 1", required = false)
|
|
|
- public Number monthVal;
|
|
|
|
|
|
|
+ public Integer monthVal;
|
|
|
|
|
|
|
|
/** 最小金额 */
|
|
/** 最小金额 */
|
|
|
@ToolParam(name = "minTransMoney", description = "单笔金额下限(含)", required = false)
|
|
@ToolParam(name = "minTransMoney", description = "单笔金额下限(含)", required = false)
|
|
|
- public Number minTransMoney;
|
|
|
|
|
|
|
+ public BigDecimal minTransMoney;
|
|
|
|
|
|
|
|
/** 最大金额 */
|
|
/** 最大金额 */
|
|
|
@ToolParam(name = "maxTransMoney", description = "单笔金额上限(含)", required = false)
|
|
@ToolParam(name = "maxTransMoney", description = "单笔金额上限(含)", required = false)
|
|
|
- public Number maxTransMoney;
|
|
|
|
|
|
|
+ public BigDecimal maxTransMoney;
|
|
|
|
|
|
|
|
/** 开始日期 */
|
|
/** 开始日期 */
|
|
|
@ToolParam(name = "startDate", description = "交易日期下限,格式 yyyy-MM-dd(含当天)", required = false)
|
|
@ToolParam(name = "startDate", description = "交易日期下限,格式 yyyy-MM-dd(含当天)", required = false)
|
|
@@ -277,7 +278,7 @@ public final class TransToolSpecs {
|
|
|
|
|
|
|
|
/** 每页行数 */
|
|
/** 每页行数 */
|
|
|
@ToolParam(name = "pageSize", description = "返回给模型的首屏行数,默认 50,上限 500", required = false)
|
|
@ToolParam(name = "pageSize", description = "返回给模型的首屏行数,默认 50,上限 500", required = false)
|
|
|
- public Number pageSize;
|
|
|
|
|
|
|
+ public Long pageSize;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
/**
|
|
@@ -302,11 +303,11 @@ public final class TransToolSpecs {
|
|
|
/** 时间窗口小时数 */
|
|
/** 时间窗口小时数 */
|
|
|
@ToolParam(name = "hour", description = "「先收后支」的时间窗口小时数,如 24 表示 24 小时内进出;建议传,否则结果偏多",
|
|
@ToolParam(name = "hour", description = "「先收后支」的时间窗口小时数,如 24 表示 24 小时内进出;建议传,否则结果偏多",
|
|
|
required = false)
|
|
required = false)
|
|
|
- public Number hour;
|
|
|
|
|
|
|
+ public Integer hour;
|
|
|
|
|
|
|
|
/** 金额阈值 */
|
|
/** 金额阈值 */
|
|
|
@ToolParam(name = "transAmount", description = "单笔金额阈值,配合 transAmountSymbol", required = false)
|
|
@ToolParam(name = "transAmount", description = "单笔金额阈值,配合 transAmountSymbol", required = false)
|
|
|
- public Number transAmount;
|
|
|
|
|
|
|
+ public BigDecimal transAmount;
|
|
|
|
|
|
|
|
/** 金额比较符 */
|
|
/** 金额比较符 */
|
|
|
@ToolParam(name = "transAmountSymbol", description = "金额比较符,取值 GE(>=,默认) / LE(<=) / GT(>) / LT(<) / EQ(=)",
|
|
@ToolParam(name = "transAmountSymbol", description = "金额比较符,取值 GE(>=,默认) / LE(<=) / GT(>) / LT(<) / EQ(=)",
|
|
@@ -357,7 +358,7 @@ public final class TransToolSpecs {
|
|
|
|
|
|
|
|
/** 每页行数 */
|
|
/** 每页行数 */
|
|
|
@ToolParam(name = "pageSize", description = "返回给模型的首屏行数,默认 50,上限 500", required = false)
|
|
@ToolParam(name = "pageSize", description = "返回给模型的首屏行数,默认 50,上限 500", required = false)
|
|
|
- public Number pageSize;
|
|
|
|
|
|
|
+ public Long pageSize;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
/**
|
|
@@ -386,7 +387,7 @@ public final class TransToolSpecs {
|
|
|
/** 每页行数 */
|
|
/** 每页行数 */
|
|
|
@ToolParam(name = "pageSize", description = "返回给模型的首屏行数,默认 50,上限 500(仅第二层明细用)",
|
|
@ToolParam(name = "pageSize", description = "返回给模型的首屏行数,默认 50,上限 500(仅第二层明细用)",
|
|
|
required = false)
|
|
required = false)
|
|
|
- public Number pageSize;
|
|
|
|
|
|
|
+ public Long pageSize;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
/**
|
|
@@ -414,7 +415,7 @@ public final class TransToolSpecs {
|
|
|
|
|
|
|
|
/** 次数阈值 */
|
|
/** 次数阈值 */
|
|
|
@ToolParam(name = "transCount", description = "交易次数阈值,配合 transCountSymbol", required = false)
|
|
@ToolParam(name = "transCount", description = "交易次数阈值,配合 transCountSymbol", required = false)
|
|
|
- public Number transCount;
|
|
|
|
|
|
|
+ public Integer transCount;
|
|
|
|
|
|
|
|
/** 次数比较符 */
|
|
/** 次数比较符 */
|
|
|
@ToolParam(name = "transCountSymbol", description = "次数比较符,取值 GE(>=,默认) / LE(<=) / GT(>) / LT(<) / EQ(=)",
|
|
@ToolParam(name = "transCountSymbol", description = "次数比较符,取值 GE(>=,默认) / LE(<=) / GT(>) / LT(<) / EQ(=)",
|
|
@@ -431,7 +432,7 @@ public final class TransToolSpecs {
|
|
|
|
|
|
|
|
/** 每页行数 */
|
|
/** 每页行数 */
|
|
|
@ToolParam(name = "pageSize", description = "返回给模型的首屏行数,默认 50,上限 500", required = false)
|
|
@ToolParam(name = "pageSize", description = "返回给模型的首屏行数,默认 50,上限 500", required = false)
|
|
|
- public Number pageSize;
|
|
|
|
|
|
|
+ public Long pageSize;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
/**
|
|
@@ -468,15 +469,15 @@ public final class TransToolSpecs {
|
|
|
|
|
|
|
|
/** 金额下限 */
|
|
/** 金额下限 */
|
|
|
@ToolParam(name = "minTransAmount", description = "单笔金额下限(含)", required = false)
|
|
@ToolParam(name = "minTransAmount", description = "单笔金额下限(含)", required = false)
|
|
|
- public Number minTransAmount;
|
|
|
|
|
|
|
+ public BigDecimal minTransAmount;
|
|
|
|
|
|
|
|
/** 金额上限 */
|
|
/** 金额上限 */
|
|
|
@ToolParam(name = "maxTransAmount", description = "单笔金额上限(含)", required = false)
|
|
@ToolParam(name = "maxTransAmount", description = "单笔金额上限(含)", required = false)
|
|
|
- public Number maxTransAmount;
|
|
|
|
|
|
|
+ public BigDecimal maxTransAmount;
|
|
|
|
|
|
|
|
/** 金额阈值 */
|
|
/** 金额阈值 */
|
|
|
@ToolParam(name = "transAmount", description = "单笔金额阈值,配合 transAmountSymbol", required = false)
|
|
@ToolParam(name = "transAmount", description = "单笔金额阈值,配合 transAmountSymbol", required = false)
|
|
|
- public Number transAmount;
|
|
|
|
|
|
|
+ public Integer transAmount;
|
|
|
|
|
|
|
|
/** 金额比较符 */
|
|
/** 金额比较符 */
|
|
|
@ToolParam(name = "transAmountSymbol", description = "金额比较符,取值 GE(>=,默认) / LE(<=) / GT(>) / LT(<) / EQ(=)",
|
|
@ToolParam(name = "transAmountSymbol", description = "金额比较符,取值 GE(>=,默认) / LE(<=) / GT(>) / LT(<) / EQ(=)",
|
|
@@ -498,7 +499,7 @@ public final class TransToolSpecs {
|
|
|
/** 是否只看现金交易 */
|
|
/** 是否只看现金交易 */
|
|
|
@ToolParam(name = "cashOnly", description = "是否只看现金类交易:1=是(按「现金关键词」配置匹配交易扩展字段),不传=否",
|
|
@ToolParam(name = "cashOnly", description = "是否只看现金类交易:1=是(按「现金关键词」配置匹配交易扩展字段),不传=否",
|
|
|
required = false)
|
|
required = false)
|
|
|
- public Number cashOnly;
|
|
|
|
|
|
|
+ public Integer cashOnly;
|
|
|
|
|
|
|
|
/** 开始日期 */
|
|
/** 开始日期 */
|
|
|
@ToolParam(name = "startDate", description = "交易日期下限,格式 yyyy-MM-dd(含当天)", required = false)
|
|
@ToolParam(name = "startDate", description = "交易日期下限,格式 yyyy-MM-dd(含当天)", required = false)
|
|
@@ -510,110 +511,7 @@ public final class TransToolSpecs {
|
|
|
|
|
|
|
|
/** 每页行数 */
|
|
/** 每页行数 */
|
|
|
@ToolParam(name = "pageSize", description = "返回给模型的首屏行数,默认 50,上限 500", required = false)
|
|
@ToolParam(name = "pageSize", description = "返回给模型的首屏行数,默认 50,上限 500", required = false)
|
|
|
- public Number pageSize;
|
|
|
|
|
- }
|
|
|
|
|
-
|
|
|
|
|
- /**
|
|
|
|
|
- * 资金流向图展开入参({@code stat_trans_flow_graph})
|
|
|
|
|
- *
|
|
|
|
|
- * <p>口径:以「某笔交易」为起点,向前(资金从哪来)或向后(资金流向哪去)逐层展开,
|
|
|
|
|
- * 层数与时间窗口可控,可只看现金交易。
|
|
|
|
|
- */
|
|
|
|
|
- @JsonInclude(JsonInclude.Include.NON_NULL)
|
|
|
|
|
- public static class TransFlowGraphSpec {
|
|
|
|
|
-
|
|
|
|
|
- /** 本方卡号 */
|
|
|
|
|
- @ToolParam(name = "personCardNos", description = "起点交易的「本方卡号」列表;从 get_trans_fund_flow 结果里取 personCardNos",
|
|
|
|
|
- required = false)
|
|
|
|
|
- public List<String> personCardNos;
|
|
|
|
|
-
|
|
|
|
|
- /** 对方姓名 */
|
|
|
|
|
- @ToolParam(name = "otherName", description = "起点交易的「对方姓名」;从 get_trans_fund_flow 结果里取",
|
|
|
|
|
- required = false)
|
|
|
|
|
- public String otherName;
|
|
|
|
|
-
|
|
|
|
|
- /** 对方卡号 */
|
|
|
|
|
- @ToolParam(name = "otherCardNo", description = "起点交易的「对方卡号」列表;从 get_trans_fund_flow 结果里取",
|
|
|
|
|
- required = false)
|
|
|
|
|
- public List<String> otherCardNo;
|
|
|
|
|
-
|
|
|
|
|
- /** 收付方向 */
|
|
|
|
|
- @ToolParam(name = "debitCreditFlag", description = "起点交易的收付方向,取值「收入」或「支出」;决定资金流向的判定",
|
|
|
|
|
- required = false)
|
|
|
|
|
- public String debitCreditFlag;
|
|
|
|
|
-
|
|
|
|
|
- /** 交易时间 */
|
|
|
|
|
- @ToolParam(name = "transDateTime",
|
|
|
|
|
- description = "起点交易的交易时间,格式 yyyy-MM-dd HH:mm:ss(从 get_trans_fund_flow 结果里取);建议传,用于时间窗口计算",
|
|
|
|
|
- required = false)
|
|
|
|
|
- public String transDateTime;
|
|
|
|
|
-
|
|
|
|
|
- /** 展开方向 */
|
|
|
|
|
- @ToolParam(name = "direction", description = "展开方向:1=向后(资金流向哪去),其他=向前(资金从哪来);默认 1",
|
|
|
|
|
- required = false)
|
|
|
|
|
- public Number direction;
|
|
|
|
|
-
|
|
|
|
|
- /** 展开层数 */
|
|
|
|
|
- @ToolParam(name = "level", description = "展开层数,1-4;1=只到起点,2=展开一层;默认 2", required = false)
|
|
|
|
|
- public Number level;
|
|
|
|
|
-
|
|
|
|
|
- /** 时间窗口天数 */
|
|
|
|
|
- @ToolParam(name = "timeGap", description = "每层展开的时间窗口(天),如 3 表示只看 3 天内的后续交易;默认 3",
|
|
|
|
|
- required = false)
|
|
|
|
|
- public Number timeGap;
|
|
|
|
|
-
|
|
|
|
|
- /** 是否只看现金 */
|
|
|
|
|
- @ToolParam(name = "cashOnly", description = "是否只看现金交易:1=是(需先配置「现金关键词」),默认 0",
|
|
|
|
|
- required = false)
|
|
|
|
|
- public Number cashOnly;
|
|
|
|
|
- }
|
|
|
|
|
-
|
|
|
|
|
- /**
|
|
|
|
|
- * 资金流向追踪入参({@code stat_trans_flow_trace})
|
|
|
|
|
- *
|
|
|
|
|
- * <p>口径:以「一笔起点交易」为起点,按指定方向继续追踪,返回追踪路径的树形结构。
|
|
|
|
|
- */
|
|
|
|
|
- @JsonInclude(JsonInclude.Include.NON_NULL)
|
|
|
|
|
- public static class TransFlowTraceSpec {
|
|
|
|
|
-
|
|
|
|
|
- /** 本方卡号 */
|
|
|
|
|
- @ToolParam(name = "personCardNos", description = "起点交易的「本方卡号」列表", required = false)
|
|
|
|
|
- public List<String> personCardNos;
|
|
|
|
|
-
|
|
|
|
|
- /** 对方姓名 */
|
|
|
|
|
- @ToolParam(name = "otherName", description = "起点交易的「对方姓名」", required = false)
|
|
|
|
|
- public String otherName;
|
|
|
|
|
-
|
|
|
|
|
- /** 对方卡号 */
|
|
|
|
|
- @ToolParam(name = "otherCardNo", description = "起点交易的「对方卡号」列表", required = false)
|
|
|
|
|
- public List<String> otherCardNo;
|
|
|
|
|
-
|
|
|
|
|
- /** 收付方向 */
|
|
|
|
|
- @ToolParam(name = "debitCreditFlag", description = "起点交易的收付方向,取值「收入」或「支出」", required = false)
|
|
|
|
|
- public String debitCreditFlag;
|
|
|
|
|
-
|
|
|
|
|
- /** 交易时间 */
|
|
|
|
|
- @ToolParam(name = "transDateTime",
|
|
|
|
|
- description = "起点交易的交易时间,格式 yyyy-MM-dd HH:mm:ss;建议传,用于时间窗口计算",
|
|
|
|
|
- required = false)
|
|
|
|
|
- public String transDateTime;
|
|
|
|
|
-
|
|
|
|
|
- /** 追踪方向 */
|
|
|
|
|
- @ToolParam(name = "traceDirection", description = "追踪方向:1=向后(资金流向哪去),其他=向前(资金从哪来);默认 1",
|
|
|
|
|
- required = false)
|
|
|
|
|
- public Number traceDirection;
|
|
|
|
|
-
|
|
|
|
|
- /** 层数 */
|
|
|
|
|
- @ToolParam(name = "level", description = "追踪层数,默认 2", required = false)
|
|
|
|
|
- public Number level;
|
|
|
|
|
-
|
|
|
|
|
- /** 时间窗口天数 */
|
|
|
|
|
- @ToolParam(name = "timeGap", description = "每层追踪的时间窗口(天),默认 3", required = false)
|
|
|
|
|
- public Number timeGap;
|
|
|
|
|
-
|
|
|
|
|
- /** 是否只看现金 */
|
|
|
|
|
- @ToolParam(name = "cashOnly", description = "是否只看现金交易:1=是,默认 0", required = false)
|
|
|
|
|
- public Number cashOnly;
|
|
|
|
|
|
|
+ public Long pageSize;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
/**
|
|
@@ -651,6 +549,6 @@ public final class TransToolSpecs {
|
|
|
|
|
|
|
|
/** 每页行数 */
|
|
/** 每页行数 */
|
|
|
@ToolParam(name = "pageSize", description = "返回给模型的首屏行数,默认 50,上限 500", required = false)
|
|
@ToolParam(name = "pageSize", description = "返回给模型的首屏行数,默认 50,上限 500", required = false)
|
|
|
- public Number pageSize;
|
|
|
|
|
|
|
+ public Long pageSize;
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|