mirror of
https://gitee.com/mybatis-flex/mybatis-flex.git
synced 2025-12-07 00:58: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 构建
|
// 新增 Row 构建
|
||||||
DbChain.table("tb_account")
|
DbChain.table("tb_account")
|
||||||
.setId(RowKey.AUTO)
|
.setId(RowKey.AUTO)
|
||||||
.set("user_name","王帅")
|
.set("user_name","zhangsan")
|
||||||
.set("age",18)
|
.set("age",18)
|
||||||
.set("birthday",new Date())
|
.set("birthday",new Date())
|
||||||
.save();
|
.save();
|
||||||
|
|||||||
@ -36,7 +36,7 @@ public enum SexEnum {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@EnumValue
|
@EnumValue
|
||||||
public Integer getCode() {
|
public int getCode() {
|
||||||
return code;
|
return code;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user