mirror of
https://gitee.com/freshday/radar.git
synced 2024-11-29 18:37:42 +08:00
error sql fix.
feihu.wang
This commit is contained in:
parent
bb010c8d0b
commit
4bad6e48c1
@ -75,10 +75,12 @@ public class MD5Utils {
|
||||
|
||||
for (int i = 0; i < byteArray.length; i++) {
|
||||
String hexString = Integer.toHexString(0xFF & byteArray[i]);
|
||||
if (hexString.length() == 1)
|
||||
if (hexString.length() == 1) {
|
||||
md5StrBuff.append("0").append(hexString);
|
||||
else
|
||||
}
|
||||
else {
|
||||
md5StrBuff.append(hexString);
|
||||
}
|
||||
}
|
||||
return md5StrBuff.toString();
|
||||
}
|
||||
|
@ -87,7 +87,7 @@ INSERT INTO `engine_abstraction` VALUES ('129', 'tran_uid_1_day_amt', '1天内
|
||||
INSERT INTO `engine_abstraction` VALUES ('131', 'tran_uid_1_hour_amt', '1小时内用户交易总金额', '103', '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', '', '2016-11-18 11:27:42', '2019-09-11 13:44:32');
|
||||
INSERT INTO `engine_abstraction` VALUES ('133', 'tran_uid_10_min_amt', '10分钟内用户交易总金额', '103', '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', '', '2016-11-18 11:29:42', '2016-11-18 11:29:42');
|
||||
INSERT INTO `engine_abstraction` VALUES ('135', 'tran_uid_ip_1_day_qty', '1天内IP关联用户数', '103', '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', '', '2016-11-18 14:00:10', '2016-11-18 14:00:10');
|
||||
INSERT INTO `engine_abstraction` VALUES ('137', 'tran_did_ip_1_day_qty', '1天内IP关联设备数', '103', '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', '', '2016-11-18 14:01:59', '2016-11-18 14:01:59');
|
||||
INSERT INTO `engine_abstraction` VALUES ('137', 'tran_did_ip_1_day_qty', '1天内IP关联设备数', '103', '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', '', '2016-11-18 14:01:59', '2016-11-18 14:01:59');
|
||||
INSERT INTO `engine_abstraction` VALUES ('139', 'reg_ip_1_day_qty', '1天内IP关联注册数', '101', '1', 'fields.userIP', '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', '', '2016-11-18 15:06:57', '2016-11-18 15:06:57');
|
||||
INSERT INTO `engine_abstraction` VALUES ('141', 'reg_ip_1_hour_qty', '1小时内IP关联注册数', '101', '1', 'fields.userIP', '11', '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', '', '2016-11-18 15:07:51', '2016-11-18 15:08:10');
|
||||
INSERT INTO `engine_abstraction` VALUES ('143', 'reg_ip_10_min_qty', '10分钟内IP关联注册数', '101', '1', 'fields.userIP', '12', '10', '', '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', '', '2016-11-18 15:09:15', '2016-11-18 15:09:15');
|
||||
|
Loading…
Reference in New Issue
Block a user