操作两张表得到第三张表(分表有对应的实体)
public List findByYearAndMonth(Integer year,Integer month){
Criteria criteria = cpmlFxbPzDao.createCriteria();
criteria.add(Restrictions.eq("year", year));
criteria.add(Restrictions.eq("month", mon
原创
2014-07-27 23:15:13 ·
1008 阅读 ·
0 评论