mirror of
https://gitee.com/mybatis-flex/mybatis-flex.git
synced 2025-12-06 16:48:24 +08:00
doc: optimize.
This commit is contained in:
parent
496c2b50e2
commit
5df8972abe
@ -49,7 +49,7 @@ Page<Row> rowPage=Db.paginate("tb_account",3,10,query);
|
||||
// 新增 Row 构建
|
||||
DbChain.table("tb_account")
|
||||
.setId(RowKey.AUTO)
|
||||
.set("user_name","王帅")
|
||||
.set("user_name","zhangsan")
|
||||
.set("age",18)
|
||||
.set("birthday",new Date())
|
||||
.save();
|
||||
|
||||
@ -36,7 +36,7 @@ public enum SexEnum {
|
||||
}
|
||||
|
||||
@EnumValue
|
||||
public Integer getCode() {
|
||||
public int getCode() {
|
||||
return code;
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user