| | |
| | | /** |
| | | * 查询记录数 |
| | | * |
| | | * @param name 名称 |
| | | * @param depName 名称 |
| | | * @param name 名称 |
| | | * @param depid 单位ID |
| | | * @return 记录数 |
| | | */ |
| | | public Integer selectCount(String name, String depName); |
| | | public Integer selectCount(String name, Integer depid); |
| | | |
| | | /** |
| | | * 分页查询 |
| | | * |
| | | * @param name 名称 |
| | | * @param depName 名称 |
| | | * @param limit 记录表 |
| | | * @param name 名称 |
| | | * @param depid 单位ID |
| | | * @param limit 记录数 |
| | | * @param offset 偏移量 |
| | | * @return 列表 |
| | | */ |
| | | public List<RoleEntity> selectByPage(String name,String depName, Integer limit, Integer offset); |
| | | public List<RoleEntity> selectByPage(String name, Integer depid, Integer limit, Integer offset); |
| | | |
| | | /** |
| | | * 插入一条 |
| | |
| | | /** |
| | | * 插入多条 |
| | | * |
| | | * @param roleEntity |
| | | * @param list |
| | | * @return |
| | | */ |
| | | public Integer insertRoles(List<RoleEntity> roleEntity); |
| | | public Integer insertRoles(List<RoleEntity> list); |
| | | |
| | | /** |
| | | * 删除一条 |