Commit f141c351 by huangshunlin

回退

parent 43e840d5
...@@ -438,9 +438,9 @@ public class Utils { ...@@ -438,9 +438,9 @@ public class Utils {
DateFormat df = new SimpleDateFormat("yyyy-MM-dd"); DateFormat df = new SimpleDateFormat("yyyy-MM-dd");
StringBuilder builder = new StringBuilder(); StringBuilder builder = new StringBuilder();
//oracle 语法 //oracle 语法
builder.append(" to_date('").append(df.format(date)).append("','YYYY-MM-DD')"); // builder.append(" to_date('").append(df.format(date)).append("','YYYY-MM-DD')");
//mysql 语法 //mysql 语法
// builder.append(" date_format('").append(df.format(date)).append("','%y%m%d')"); builder.append(" date_format('").append(df.format(date)).append("','%y%m%d')");
return builder.toString(); return builder.toString();
} }
......
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