Digital Office Automation System Backend
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

BaseDataService.java 844B

1234567891011121314151617181920212223242526
  1. package com.ruoyi.tjfx.service;
  2. import com.ruoyi.tjfx.common.ApiResponse;
  3. import com.ruoyi.tjfx.common.PageResponse;
  4. import com.ruoyi.tjfx.entity.BaseData;
  5. import com.ruoyi.tjfx.entity.BaseDataVO;
  6. import org.springframework.web.multipart.MultipartFile;
  7. import javax.servlet.http.HttpServletResponse;
  8. import java.util.List;
  9. public interface BaseDataService {
  10. List<BaseData> listAll();
  11. BaseData getById(Long id);
  12. void add(BaseData baseData);
  13. void update(Long id, BaseData baseData);
  14. void delete(Long id);
  15. void deleteBatch(List<Long> ids);
  16. // 分页查询
  17. PageResponse<BaseDataVO> getPage(Integer page, Integer pageSize, String productCode, String productName, Long categoryId);
  18. void importExcel(MultipartFile file, Long categoryId);
  19. void exportExcel(Long categoryId, HttpServletResponse response);
  20. }