mirror of
https://github.com/CodePhiliaX/Chat2DB.git
synced 2025-07-29 02:32:33 +08:00
fix(chat2db-mysql): correct string conversion methods in MysqlTimestampProcessor
This commit is contained in:
@ -19,12 +19,12 @@ public class MysqlTimestampProcessor extends DefaultValueProcessor {
|
||||
|
||||
@Override
|
||||
public String convertJDBCValueByType(JDBCDataValue dataValue) {
|
||||
return new String(dataValue.getBytes());
|
||||
return dataValue.getStringValue();
|
||||
}
|
||||
|
||||
|
||||
@Override
|
||||
public String convertJDBCValueStrByType(JDBCDataValue dataValue) {
|
||||
return EasyStringUtils.quoteString(new String(dataValue.getBytes()));
|
||||
return EasyStringUtils.quoteString(dataValue.getStringValue());
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user