Files
notes/resource/java/日常技术点.md
2026-03-01 01:43:46 +08:00

18 lines
500 B
Markdown
Raw Permalink Blame History

This file contains invisible Unicode characters
This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
## Function parser
这里可以把 parser 当作是功能性接口,进行数据处理。
![](../../attachment/images-uuid/0c58238f606c4ccd9f9d6a0b20c94dd7.png)
## QUARTZ
![](../../attachment/images-uuid/35c0ab5bcb3c4443837d240dd69319c6.png)
# @Temporal
如果类中有 Date 类型的属性,数据库中存储的是“yyyy-MM-dd hh:MM:ss”但是查询的时候要获得年月日,在该属性上标注
@Temporal(TemporalType.DATE)
TemporalType 可以控制获得的类型。