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