Commit 2836425e authored by Quxl's avatar Quxl

修改工具BUG

parent 1553db84
......@@ -42,7 +42,7 @@ public class ReverseUtil {
if (columnType.equalsIgnoreCase("datetime") || columnType.equalsIgnoreCase("date")) {
sb.append("import java.util.Date;" + "\n\n");
break;
} else if (columnType.equalsIgnoreCase("decimal") || columnType.equalsIgnoreCase("numeric")) {
} else if (columnType.contains("decimal") || columnType.contains("numeric")) {
sb.append("import java.math.BigDecimal;" + "\n\n");
break;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment