From bb010c8d0bd32ca3449f9273ef970547d5ca2f91 Mon Sep 17 00:00:00 2001 From: "feihu.wang" Date: Sun, 14 Aug 2022 15:53:40 +0800 Subject: [PATCH] error sql fix. feihu.wang --- sql/radar-init.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sql/radar-init.sql b/sql/radar-init.sql index 308b630..364ca1b 100644 --- a/sql/radar-init.sql +++ b/sql/radar-init.sql @@ -117,7 +117,7 @@ INSERT INTO `engine_abstraction` VALUES ('470', 'tran_uid_1_day_amt', '1天内 INSERT INTO `engine_abstraction` VALUES ('471', 'tran_uid_1_hour_amt', '1小时内用户交易总金额', '224', '3', 'fields.userId', '11', '1', 'fields.amount', 'class AbstractionCheckScript {\n public boolean check(def data, def lists) { if ((data.fields.userId))\n return true;\n else\n return false;\n}}', '{\"linking\":\"All\",\"conditions\":[{\"class\":\"SMPL\",\"expressions\":[{\"column\":\"fields.userId\",\"type\":\"STRING\",\"class\":\"ENTATTR\"}],\"enabled\":true,\"operator\":\"IsNotNull\"}],\"class\":\"PDCT\",\"enabled\":true}', '1', '', '2019-09-11 18:05:35', '2019-09-11 18:05:35'); INSERT INTO `engine_abstraction` VALUES ('472', 'tran_uid_10_min_amt', '10分钟内用户交易总金额', '224', '3', 'fields.userId', '12', '10', 'fields.amount', 'class AbstractionCheckScript {\n public boolean check(def data, def lists) { if (data.fields.userId)\n return true;\n else\n return false;\n}}', '{\"linking\":\"All\",\"conditions\":[{\"class\":\"SMPL\",\"expressions\":[{\"column\":\"fields.userId\",\"type\":\"STRING\",\"class\":\"ENTATTR\"}],\"enabled\":true,\"operator\":\"IsNotNull\"}],\"class\":\"PDCT\",\"enabled\":true}', '1', '', '2019-09-11 18:05:35', '2019-09-11 18:05:35'); INSERT INTO `engine_abstraction` VALUES ('473', 'tran_uid_ip_1_day_qty', '1天内IP关联用户数', '224', '2', 'fields.userIP', '5', '1', 'fields.userId', 'class AbstractionCheckScript {\n public boolean check(def data, def lists) { if (data.fields.userIP)\n return true;\n else\n return false;\n}}', '{\"linking\":\"All\",\"conditions\":[{\"class\":\"SMPL\",\"expressions\":[{\"column\":\"fields.userIP\",\"type\":\"STRING\",\"class\":\"ENTATTR\"}],\"enabled\":true,\"operator\":\"IsNotNull\"}],\"class\":\"PDCT\",\"enabled\":true}', '1', '', '2019-09-11 18:05:35', '2019-09-11 18:05:35'); -INSERT INTO `engine_abstraction` VALUES ('474', 'tran_did_ip_1_day_qty', '1天内IP关联设备数', '224', '2', 'fields.deviceId', '5', '1', '', 'class AbstractionCheckScript {\n public boolean check(def data, def lists) { if (data.fields.userIP)\n return true;\n else\n return false;\n}}', '{\"linking\":\"All\",\"conditions\":[{\"class\":\"SMPL\",\"expressions\":[{\"column\":\"fields.userIP\",\"type\":\"STRING\",\"class\":\"ENTATTR\"}],\"enabled\":true,\"operator\":\"IsNotNull\"}],\"class\":\"PDCT\",\"enabled\":true}', '1', '', '2019-09-11 18:05:35', '2019-09-11 18:05:35'); +INSERT INTO `engine_abstraction` VALUES ('474', 'tran_did_ip_1_day_qty', '1天内IP关联设备数', '224', '2', 'fields.userIP', '5', '1', 'fields.deviceId', 'class AbstractionCheckScript {\n public boolean check(def data, def lists) { if (data.fields.userIP)\n return true;\n else\n return false;\n}}', '{\"linking\":\"All\",\"conditions\":[{\"class\":\"SMPL\",\"expressions\":[{\"column\":\"fields.userIP\",\"type\":\"STRING\",\"class\":\"ENTATTR\"}],\"enabled\":true,\"operator\":\"IsNotNull\"}],\"class\":\"PDCT\",\"enabled\":true}', '1', '', '2019-09-11 18:05:35', '2019-09-11 18:05:35'); -- ---------------------------- -- Table structure for engine_activation -- Gitee