mirror of
https://github.com/dataease/dataease.git
synced 2026-05-16 05:50:45 +08:00
Merge pull request #5148 from dataease/pr@dev@fixextratdata
fix: 识别 mysql BIGINT UNSIGNED
This commit is contained in:
@@ -1414,7 +1414,7 @@ public class ExtractDataService {
|
||||
" }catch (Exception e){}\n" +
|
||||
" }";
|
||||
|
||||
private final static String handleMysqlBIGINTUNSIGNED = "if(filed.equalsIgnoreCase(BIGINTUNSIGNEDFIELD)){\n" +
|
||||
private final static String handleMysqlBIGINTUNSIGNED = "if(filed.equalsIgnoreCase(\"BIGINTUNSIGNEDFIELD\")){\n" +
|
||||
"\t\t\tif(tmp != null && tmp.endsWith(\".0\")){\n" +
|
||||
" \ttry {\n" +
|
||||
" Long.valueOf(tmp.substring(0, tmp.length()-2));\n" +
|
||||
|
||||
Reference in New Issue
Block a user