Skip to content

Commit

Permalink
update:修改@PrevInsert文档的措辞
Browse files Browse the repository at this point in the history
  • Loading branch information
wendal committed Jun 18, 2019
1 parent 741aca8 commit a807cec
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doc/manual/dao/next_prev.man
Expand Up @@ -64,8 +64,8 @@
{{{<JAVA>
@Name
@Prev(els={@EL("uuid()")} // 使用dao.fastInsert(list)会出现name为null,因为@Prev不执行
@PrevInsert(@EL("uuid()"} // 使用dao.fastInsert(list)依然正常,@PrevUpdate会执行
private String name;
@PrevInsert(@EL("uuid()"} // 使用dao.fastInsert(list)依然正常,@PrevInsert会执行
private String name; // 一个字段上不要同时写@Prev和@PrevInsert,上述示例只是为了说明功能

@PrevUpdate(now=true) // 执行update时,自动设置为当前时间
private Date updateTime;
Expand Down

0 comments on commit a807cec

Please sign in to comment.