|
|
@ -379,19 +379,19 @@ public class FieldxController extends JeecgController<Fieldx, IFieldxService> { |
|
|
|
} else if (type == 2) { |
|
|
|
} else if (type == 2) { |
|
|
|
if (length != null) { |
|
|
|
if (length != null) { |
|
|
|
return "smallint" + "(" + length + ")"; |
|
|
|
return "smallint" + "(" + length + ")"; |
|
|
|
} else return "smallint" + "(" + length + ")"; |
|
|
|
} else return "smallint"; |
|
|
|
} else if (type == 3) { |
|
|
|
} else if (type == 3) { |
|
|
|
if (length != null) { |
|
|
|
if (length != null) { |
|
|
|
return "mediumint" + "(" + length + ")"; |
|
|
|
return "mediumint" + "(" + length + ")"; |
|
|
|
} else return "mediumint" + "(" + length + ")"; |
|
|
|
} else return "mediumint"; |
|
|
|
} else if (type == 4) { |
|
|
|
} else if (type == 4) { |
|
|
|
if (length != null) { |
|
|
|
if (length != null) { |
|
|
|
return "int" + "(" + length + ")"; |
|
|
|
return "int" + "(" + length + ")"; |
|
|
|
} else return "int" + "(" + length + ")"; |
|
|
|
} else return "int"; |
|
|
|
} else if (type == 5) { |
|
|
|
} else if (type == 5) { |
|
|
|
if (length != null) { |
|
|
|
if (length != null) { |
|
|
|
return "bigint" + "(" + length + ")"; |
|
|
|
return "bigint" + "(" + length + ")"; |
|
|
|
} else return "bigint" + "(" + length + ")"; |
|
|
|
} else return "bigint"; |
|
|
|
} else if (type == 6) { |
|
|
|
} else if (type == 6) { |
|
|
|
if (length != null) { |
|
|
|
if (length != null) { |
|
|
|
if (accuracy != null) { |
|
|
|
if (accuracy != null) { |
|
|
|