doc: optimize.

This commit is contained in:
Suomm 2024-02-29 12:04:09 +08:00
parent 496c2b50e2
commit 5df8972abe
2 changed files with 2 additions and 2 deletions

View File

@ -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();

View File

@ -36,7 +36,7 @@ public enum SexEnum {
} }
@EnumValue @EnumValue
public Integer getCode() { public int getCode() {
return code; return code;
} }