Commit 59d59db7 authored by 张永's avatar 张永

Merge branch 'master' of http://gitlab.egolm.com/key/common.git

parents 4a9692aa 4152889d
package com.egolm.common;
import java.text.DateFormat;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
......
......@@ -14,7 +14,7 @@ import com.egolm.common.jdbc.dialect.bean.Desc;
* @author 曲欣亮
* @since 2012-12-14
*/
public class MySqlDialect extends AbstractDialect {
public class MySqlDialect implements Dialect {
public static final String FMT_MYSQL_TIME = "%Y-%m-%d %H:%i:%s";
public static final String FMT_MYSQL_DATE = "%Y-%m-%d";
......
......@@ -13,7 +13,7 @@ import com.egolm.common.jdbc.dialect.bean.Desc;
* @author 曲欣亮
* @since 2012-12-14
*/
public class OracleDialect extends AbstractDialect {
public class OracleDialect implements Dialect {
public static final String FMT_ORACLE_TIME = "yyyy-mm-dd hh24:mi:ss";
public static final String FMT_ORACLE_DATE = "yyyy-mm-dd";
......
......@@ -14,7 +14,7 @@ import com.egolm.common.jdbc.dialect.bean.Desc;
* @author 曲欣亮
* @since 2012-12-14
*/
public class SqlServerDialect extends AbstractDialect {
public class SqlServerDialect implements Dialect {
public static final String FMT_SQLSERVER_TIME = "120";
public static final String FMT_SQLSERVER_DATE = "23";
......
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