![](https://img-blog.csdnimg.cn/20201014180756926.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
SpringDataJpa
hello world**
shdkahdklasdlajsdkld
展开
-
SpringDataJpa时间查询,是使用between
需求:前端调用后端接口,传递一个 personnelId和dateDTO :/** * 用于 通过 personnelId和 workDay指定某一天的日期 去查询 某一天的工时日报 */public class FindOneWorkHourDTO { private String personnelId; private String workDay;}控制层:重点是@...原创 2018-06-26 10:22:21 · 23752 阅读 · 0 评论 -
SpringDataJPA 相关工作笔记整理
domain层(do层)写法:@Entity(name = "t_customer")public class CustomerDO { @Column(name = "name",length = 100,nullable = false) private String name; @Column(name = "code",length = 200) pri...原创 2018-06-19 15:31:36 · 265 阅读 · 0 评论