1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677 |
- package com.xjrsoft.module.textbook.service;
- import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
- import com.github.yulichang.base.MPJBaseService;
- import com.xjrsoft.module.textbook.dto.AddTextbookClassWarehouseDto;
- import com.xjrsoft.module.textbook.dto.TextbookPageDto;
- import com.xjrsoft.module.textbook.entity.Textbook;
- import com.xjrsoft.module.textbook.vo.TextbookPageVo;
- import com.xjrsoft.module.textbook.vo.TextbookSubscriptionRecordVo;
- import com.xjrsoft.module.textbook.vo.TextbookVo;
- import java.util.List;
- /**
- * @title: 教材管理
- * @Author dzx
- * @Date: 2023-12-25
- * @Version 1.0
- */
- public interface ITextbookService extends MPJBaseService<Textbook> {
- /**
- * 新增
- *
- * @param textbook
- * @return
- */
- Boolean add(Textbook textbook);
- /**
- * 更新
- *
- * @param textbook
- * @return
- */
- Boolean update(Textbook textbook);
- /**
- * 删除
- *
- * @param ids
- * @return
- */
- Boolean delete(List<Long> ids);
- /**
- * 分页查询
- * @param page
- * @param dto
- * @return
- */
- Page<TextbookPageVo> getPage(Page<TextbookPageDto> page, TextbookPageDto dto);
- Boolean dataHandle(Long dataId);
- /**
- *
- * @param id
- * @return
- */
- List<TextbookSubscriptionRecordVo> subscriptionList(Long id);
- /**
- * 根据书号查询最新一条信息
- * @param issn
- * @return
- */
- TextbookVo getInfoByissn(String issn);
- /**
- * 教材管理入库
- * @param dto
- * @return
- */
- Boolean deliverWarehouse(AddTextbookClassWarehouseDto dto);
- }
|