| | |
| | | /** |
| | | * 查询记录数 |
| | | * |
| | | * @param name 名称 |
| | | * @param name 名称 |
| | | * @param dircode 目录编码 |
| | | * @param type 类别 |
| | | * @return 记录数 |
| | | */ |
| | | public Integer selectCount(String name); |
| | | public Integer selectCount(String name, String dircode, String type); |
| | | |
| | | /** |
| | | * 分页查询 |
| | | * |
| | | * @param name 名称 |
| | | * @param limit 记录数 |
| | | * @param offset 偏移量 |
| | | * @param name 名称 |
| | | * @param dircode 目录编码 |
| | | * @param type 类别 |
| | | * @param limit 记录数 |
| | | * @param offset 偏移量 |
| | | * @return 列表 |
| | | */ |
| | | public List<PublishEntity> selectByPage(String name, Integer limit, Integer offset); |
| | | public List<PublishEntity> selectByPage(String name, String dircode, String type, Integer limit, Integer offset); |
| | | |
| | | /** |
| | | * 查询所有 |
| | |
| | | public List<PublishEntity> selectByIds(String ids); |
| | | |
| | | /** |
| | | * 根据目录查询DOM和DEM的编码 |
| | | * |
| | | * @param dircode 目录 |
| | | * @param isDom 1-DOM,0-DEM |
| | | * @return |
| | | */ |
| | | public List<String> selectCodesForDir(String dircode, Integer isDom); |
| | | |
| | | /** |
| | | * 插入一条 |
| | | * |
| | | * @param entity |