mirror of
https://gitee.com/mybatis-flex/mybatis-flex.git
synced 2025-12-07 00:58:24 +08:00
!466 新增mysql date函数
Merge pull request !466 from 时间淡忘一切/mysql-date-function
This commit is contained in:
commit
d6cb94b3e2
@ -2660,4 +2660,12 @@ public class QueryMethods {
|
||||
return new FunctionQueryColumn(GROUP_CONCAT, columnX);
|
||||
}
|
||||
|
||||
/**
|
||||
* date 函数
|
||||
* @return
|
||||
*/
|
||||
public static FunctionQueryColumn date(QueryColumn column) {
|
||||
return new FunctionQueryColumn("DATE", column);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user