摘要: 1.工具类 2.Service类(只给出CommentService) 3.repository类(problem 和 comment 属于 一对多 的关系) 4.Controller类 第一种方式 第二种方式,(懒了,有些内容是放在servic中的。) 通过JpaSpecificationExec 阅读全文
posted @ 2016-05-11 16:25 hjzqyx 阅读(23509) 评论(0) 推荐(0) 编辑