| | |
| | | * 得到所有角色 |
| | | * @return 所有角色集合 |
| | | */ |
| | | @SuppressWarnings("unchecked") |
| | | public QueryResultVo<List<BaRole>> selectAll(QueryVo vo){ |
| | | Map<String, Object> params = (Map<String, Object>) PojoUtils.generalize(vo) ; |
| | | public QueryResultVo<List<BaRole>> selectAll(){ |
| | | QueryResultVo<List<BaRole>> rsVo = new QueryResultVo<>() ; |
| | | rsVo.obj = this.dao.selectAll(params) ; |
| | | rsVo.obj = this.dao.selectAll() ; |
| | | return rsVo ; |
| | | } |
| | | |
| | |
| | | */ |
| | | @Transactional |
| | | public int save(BaRole po){ |
| | | return this.dao.insert(po) ; |
| | | return this.dao.putin(po) ; |
| | | } |
| | | |
| | | /** |