06 2022 档案

摘要:由于需要用到session时,每次都需要用到 HttpServletRequest request的这些内容 employee.setCreateTime(LocalDateTime.now()); employee.setUpdateTime(LocalDateTime.now()); Long 阅读全文
posted @ 2022-06-29 00:40 Yellow98 阅读(485) 评论(0) 推荐(0)
摘要:@TableFiled:mybatisPlus提供的注解—自动填充策略,在此类中统一为公共字段赋值 例如: @TableField(fill = FieldFill.INSERT) //插入时填充字段 private LocalDateTime createTime; @TableField(fil 阅读全文
posted @ 2022-06-28 16:36 Yellow98 阅读(136) 评论(0) 推荐(0)